/* varcovchapres.am («Վարձով չապրես») · v3-platform — rental site + local partners network.
   2026-10-28: simplified for users 50+ — 18px body, nothing readable below .95rem, dark muted text, 54px+
   buttons, plain stacked grids, no horizontal rails. White / cool grey, navy #0a2040, gold #d9a93a, 20px
   cards, tabular numbers, bottom tab bar on mobile. Role colours: tenant green, owner navy, partner gold.
   Fonts, tokens, base, type, buttons, chips, header (5 links + account pill), bottom nav, drawer, footer,
   overlays, forms, cards, toast, FAQ, login + gateway skins. No blur / backdrop filters anywhere. */

/* ---------- fonts ---------- */
@font-face { font-family: 'BI Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/noto-sans-armenian-armenian.woff2) format('woff2'); unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17; }
@font-face { font-family: 'BI Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/noto-sans-armenian-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'BI Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/noto-sans-armenian-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'BI Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/noto-sans-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'BI Sans'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/noto-sans-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: 'BI Serif'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/noto-serif-armenian-armenian.woff2) format('woff2'); unicode-range: U+0308, U+0530-058F, U+2010, U+2024, U+25CC, U+FB13-FB17; }
@font-face { font-family: 'BI Serif'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/noto-serif-armenian-latin-ext.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'BI Serif'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/noto-serif-armenian-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face { font-family: 'BI Serif'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/noto-serif-cyrillic-ext.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; }
@font-face { font-family: 'BI Serif'; font-style: normal; font-weight: 100 900; font-display: swap; src: url(../assets/fonts/noto-serif-cyrillic.woff2) format('woff2'); unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }

/* ---------- tokens ---------- */
:root {
  --white: #ffffff;
  --grey: #f2f4f8;
  --grey-2: #e7ebf2;
  --grey-3: #d9dfe9;
  --ink: #0b1b33;
  --navy: #0a2040;
  --navy-2: #143766;
  --navy-soft: rgba(10, 32, 64, .07);
  --gold: #d9a93a;
  --gold-2: #f2c75c;
  --gold-ink: #7a5a10;
  --gold-soft: rgba(217, 169, 58, .16);
  --ok: #1f8a4c;
  --ok-bg: #e3f4e9;
  --err: #c43d3d;
  --err-bg: #fde8e8;
  --muted: #3d4c63; /* 8.6:1 on white: secondary text stays readable */
  --faint: #5b6b84;
  --line: rgba(10, 32, 64, .1);
  --line-2: rgba(10, 32, 64, .2);
  --r: 20px;
  --r-sm: 12px;
  --hdr: 72px;
  --bnav: 68px;
  /* who acts: the role colour system */
  --tenant: #1f8a4c; --tenant-soft: #e3f4e9;
  --owner: #0a2040; --owner-soft: rgba(10, 32, 64, .08);
  --partner: #d9a93a; --partner-soft: rgba(217, 169, 58, .18); --partner-ink: #7a5a10;
  --platform: #3d4c63; --platform-soft: #e7ebf2;
  --sans: 'BI Sans', 'Noto Sans Armenian', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --serif: 'BI Serif', 'Noto Serif Armenian', Georgia, serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
  --spring: cubic-bezier(.34, 1.4, .64, 1);
  --shadow: 0 24px 60px -36px rgba(10, 32, 64, .4);
  --shadow-sm: 0 10px 30px -22px rgba(10, 32, 64, .35);
  --gutter: clamp(16px, 4vw, 40px);
  /* login skin (shared/account.js renderLogin) */
  --au-surface: #fff; --au-ink: #0b1b33; --au-line: rgba(10, 32, 64, .12); --au-shadow: 0 10px 30px -22px rgba(10, 32, 64, .35);
  --au-input: #f2f4f8; --au-soft: #f2f4f8; --au-accent: #d9a93a; --au-accent-soft: rgba(217, 169, 58, .16); --au-accent-ink: #7a5a10;
  --au-btn: #0a2040; --au-btn-ink: #fff; --au-err: #c43d3d;
  /* gateway skin (shared/pay.js) */
  --pg-surface: #fff; --pg-ink: #0b1b33; --pg-line: rgba(10, 32, 64, .1); --pg-shadow: 0 10px 30px -22px rgba(10, 32, 64, .35);
  --pg-input: #f2f4f8; --pg-accent: #0a2040; --pg-accent-soft: rgba(10, 32, 64, .07); --pg-btn: #0a2040; --pg-btn-ink: #fff;
  --pg-mock-bg: #fff6d6; --pg-mock-ink: #6b4c00; --pg-ok: #1f8a4c; --pg-ok-bg: #e3f4e9; --pg-err: #c43d3d; --pg-err-bg: #fde8e8; --pg-rc: #f7f8fb;
  color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--hdr) + 16px); }
html.lock { overflow: hidden; }
body { margin: 0; background: var(--grey); color: var(--ink); font: 400 18px/1.6 var(--sans); -webkit-font-smoothing: antialiased; overflow-x: hidden; min-height: 100vh; padding-top: var(--hdr); }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
button:disabled { cursor: not-allowed; opacity: .6; }
h1, h2, h3, h4 { margin: 0; font-weight: 800; line-height: 1.1; letter-spacing: -.01em; }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
table { border-collapse: collapse; }
[hidden] { display: none !important; }
::selection { background: var(--gold); color: var(--navy); }
:focus-visible { outline: 2px solid var(--navy); outline-offset: 3px; border-radius: 6px; }
.skip { position: fixed; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 16px; border-radius: 10px; font-weight: 700; }
.skip:focus { top: 12px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.num, .big, .kpi b, td.num { font-variant-numeric: tabular-nums; }

.wrap { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 var(--gutter); }
.wrap-sm { width: 100%; max-width: 860px; margin: 0 auto; padding: 0 var(--gutter); }
.sec { padding: clamp(40px, 6vw, 80px) 0; position: relative; }
.sec-sm { padding: clamp(24px, 4vw, 48px) 0; }
.band { background: var(--navy); color: #fff; }
.band .muted { color: rgba(255, 255, 255, .72); }
.white { background: var(--white); }

/* ---------- type ---------- */
.h1 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -.02em; }
.h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); line-height: 1.15; letter-spacing: -.01em; }
.h3 { font-size: clamp(1.25rem, 1.6vw, 1.45rem); line-height: 1.25; }
.lead { font-size: clamp(1.1rem, 1.3vw, 1.25rem); color: var(--muted); max-width: 56ch; line-height: 1.55; }
.band .lead { color: rgba(255, 255, 255, .75); }
.muted { color: var(--muted); }
.small { font-size: .95rem; }
.sec-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; margin-bottom: clamp(18px, 3vw, 32px); flex-wrap: wrap; }
.sec-head .h2 { max-width: 24ch; }
.sec-head .lead { margin-top: 10px; }
.more { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--navy); white-space: nowrap; min-height: 48px; font-size: 1.05rem; text-decoration: underline; text-underline-offset: 4px; }
.more svg { width: 20px; height: 20px; }
.band .more { color: var(--gold-2); }
.serif { font-family: var(--serif); font-weight: 500; letter-spacing: 0; }
.center { text-align: center; }
.center .lead, .center .h2 { margin-inline: auto; }

/* ---------- buttons / chips / tags ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 1.05rem; border: 1.5px solid transparent; transition: background .2s, color .2s, border-color .2s, box-shadow .3s; white-space: nowrap; line-height: 1.2; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:active { transform: scale(.98); }
.btn-primary { background: var(--navy); color: #fff; box-shadow: 0 12px 26px -16px rgba(10, 32, 64, .8); }
.btn-primary:hover { background: var(--navy-2); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 12px 26px -16px rgba(217, 169, 58, .9); }
.btn-gold:hover { background: var(--gold-2); }
.btn-ghost { border-color: var(--line-2); color: var(--ink); background: transparent; }
.btn-ghost:hover { border-color: var(--navy); background: var(--white); }
.band .btn-ghost { border-color: rgba(255, 255, 255, .35); color: #fff; }
.band .btn-ghost:hover { border-color: #fff; background: rgba(255, 255, 255, .08); }
.btn-soft { background: var(--grey); color: var(--navy); }
.btn-soft:hover { background: var(--grey-2); }
.btn-white { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-wa { background: #25d366; color: #fff; }
.btn-lg { min-height: 60px; padding: 14px 32px; font-size: 1.15rem; }
.btn-xl { min-height: 68px; padding: 16px 40px; font-size: 1.3rem; }
.btn-xl svg { width: 24px; height: 24px; }
.btn-sm { min-height: 48px; padding: 8px 18px; font-size: 1rem; }
.btn-block { width: 100%; }
.icon-btn { width: 48px; height: 48px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: var(--grey); color: var(--ink); position: relative; transition: background .2s, color .2s; flex: none; }
.icon-btn svg { width: 20px; height: 20px; }
.icon-btn:hover { background: var(--grey-2); }
.chip { display: inline-flex; align-items: center; gap: 8px; min-height: 52px; padding: 8px 20px; border-radius: 999px; border: 1.5px solid var(--line-2); color: var(--ink); background: var(--white); font-weight: 700; font-size: 1rem; white-space: nowrap; transition: border-color .2s, color .2s, background .2s; }
.chip svg { width: 20px; height: 20px; }
.chip:hover { border-color: var(--navy); }
.chip[aria-pressed="true"], .chip.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.tag { display: inline-flex; align-items: center; gap: 5px; padding: 6px 12px; border-radius: 999px; font-size: .9rem; font-weight: 700; line-height: 1.2; background: var(--navy); color: #fff; }
.tag.gold { background: var(--gold); color: var(--navy); }
.tag.soft { background: var(--grey); color: var(--ink); }
.tag.ok { background: var(--ok-bg); color: var(--ok); }
.tag.dim { background: rgba(11, 27, 51, .7); color: #fff; }
.tag.white { background: var(--white); color: var(--ink); }
.tag svg { width: 15px; height: 15px; }

/* ---------- header ---------- */
.hdr { position: fixed; inset: 0 0 auto 0; z-index: 100; height: var(--hdr); background: var(--white); border-bottom: 1px solid var(--line); }
.hdr-in { height: 100%; display: flex; align-items: center; gap: 10px; }
.logo { display: inline-flex; align-items: center; flex-shrink: 0; min-height: 48px; }
.logo img { height: 40px; width: auto; }
.logo .logo-mark { display: none; }
.nav { display: none; gap: 0; margin-left: 6px; align-items: center; }
.nav a { display: inline-flex; align-items: center; gap: 6px; min-height: 48px; padding: 8px 10px; border-radius: 999px; font-weight: 700; font-size: 1rem; white-space: nowrap; color: var(--ink); transition: color .2s, background .2s; }
.nav a:hover { color: var(--navy); background: var(--grey); }
.nav a[aria-current="page"] { color: var(--navy); background: var(--navy-soft); }
.nav a.nav-post { background: var(--gold); color: var(--navy); padding: 8px 14px; margin: 0 2px; }
.nav a.nav-post svg { width: 18px; height: 18px; }
.nav a.nav-post:hover, .nav a.nav-post[aria-current="page"] { background: var(--gold-2); color: var(--navy); }
.hdr-right { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.langs { display: inline-flex; background: var(--grey); border-radius: 999px; padding: 3px; }
.langs button { min-width: 40px; height: 40px; padding: 0 6px; border-radius: 999px; font-size: .95rem; font-weight: 700; color: var(--muted); transition: background .2s, color .2s; }
.langs button[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.acc-pill { display: inline-flex; align-items: center; gap: 8px; min-height: 48px; padding: 0 16px 0 6px; border-radius: 999px; border: 1.5px solid var(--line-2); font-weight: 700; font-size: 1rem; white-space: nowrap; transition: border-color .2s, background .2s; max-width: 240px; }
.acc-pill i { width: 34px; height: 34px; border-radius: 50%; background: var(--grey); display: inline-flex; align-items: center; justify-content: center; flex: none; }
.acc-pill i svg { width: 18px; height: 18px; }
.acc-pill span { overflow: hidden; text-overflow: ellipsis; }
.acc-pill small { font-weight: 600; font-size: .9rem; opacity: .85; padding-left: 6px; border-left: 1px solid rgba(255, 255, 255, .3); }
.acc-pill:hover { border-color: var(--navy); }
.acc-pill.on { background: var(--navy); border-color: var(--navy); color: #fff; }
.acc-pill.on i { background: var(--gold); color: var(--navy); }
.burger { width: 48px; height: 48px; border-radius: 50%; background: var(--grey); position: relative; display: inline-flex; flex: none; }
.burger span, .burger span::before, .burger span::after { content: ''; position: absolute; left: 14px; width: 20px; height: 2.5px; background: var(--ink); border-radius: 2px; transition: transform .3s var(--ease), opacity .2s; }
.burger span { top: 23px; }
.burger span::before { top: -6px; left: 0; }
.burger span::after { top: 6px; left: 0; }
.burger[aria-expanded="true"] span { background: transparent; }
.burger[aria-expanded="true"] span::before { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span::after { transform: translateY(-6px) rotate(-45deg); }
/* desktop nav from 1440px (five Armenian labels at 1rem need ~930px); below that the burger + drawer,
   with the language pill and the account pill still in the header */
.nav .nl-short { display: none; }
@media (min-width: 1024px) { .nav { display: flex; } .burger { display: none; } }
@media (min-width: 1024px) and (max-width: 1439px) { .nav .nl-full { display: none; } .nav .nl-short { display: inline; } .nav a { padding: 8px 9px; } }
@media (min-width: 1024px) and (max-width: 1199px) { .acc-pill { padding: 0 5px; max-width: 48px; width: 44px; justify-content: center; } .acc-pill span, .acc-pill small { display: none; } }
.hdr .wrap { max-width: 1560px; padding: 0 20px; }
@media (max-width: 1023px) { .nav { display: none; } }
@media (max-width: 760px) {
  .acc-pill { padding: 0 5px; max-width: 48px; width: 44px; justify-content: center; }
  .acc-pill span, .acc-pill small { display: none; }
  .langs { display: none; }
  .logo img { height: 36px; }
}
@media (max-width: 599px) { .btn { white-space: normal; line-height: 1.2; text-align: center; } }

/* ---------- bottom tab bar (mobile): Home / Listings / Post / Account ---------- */
.bnav { position: fixed; left: 0; right: 0; bottom: 0; z-index: 95; height: calc(var(--bnav) + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--white); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); }
.bnav a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px; font-size: 13px; font-weight: 700; color: var(--muted); min-height: 48px; padding: 0 4px; }
.bnav a span { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bnav a i { display: flex; width: 52px; height: 30px; align-items: center; justify-content: center; border-radius: 999px; transition: background .2s; }
.bnav a svg { width: 24px; height: 24px; }
.bnav a[aria-current="page"] { color: var(--navy); }
.bnav a[aria-current="page"] i { background: var(--gold-soft); color: var(--navy); }
.bnav a.bn-post i { background: var(--gold); color: var(--navy); }
body { padding-bottom: calc(var(--bnav) + env(safe-area-inset-bottom)); }
body[data-page="pay"] { padding-bottom: 0; }
@media (min-width: 900px) { .bnav { display: none; } body { padding-bottom: 0; } }

/* ---------- drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 110; overflow: hidden; background: rgba(11, 27, 51, .5); opacity: 0; pointer-events: none; transition: opacity .3s; }
.drawer.open { opacity: 1; pointer-events: auto; }
.drawer-in { position: absolute; top: 0; right: 0; height: 100%; width: min(360px, 88vw); background: var(--white); padding: 14px 20px 28px; display: flex; flex-direction: column; gap: 14px; transform: translateX(100%); transition: transform .4s var(--ease); overflow: auto; }
.drawer.open .drawer-in { transform: none; }
.d-top { display: flex; align-items: center; justify-content: space-between; min-height: 40px; }
.d-nav { display: flex; flex-direction: column; }
.d-link { display: flex; align-items: center; justify-content: space-between; min-height: 56px; padding: 12px 4px; border-bottom: 1px solid var(--line); font-size: 1.15rem; font-weight: 700; }
.d-link svg { width: 20px; height: 20px; color: var(--faint); }
.d-link[aria-current="page"] { color: var(--navy); }
.d-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; }
.d-foot .langs { align-self: flex-start; }
.d-phones { display: grid; gap: 6px; }
.d-phones a { display: flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 12px; border-radius: 12px; background: var(--grey); font-weight: 600; font-size: 1rem; overflow-wrap: anywhere; }
.d-phones svg { width: 18px; height: 18px; color: var(--navy); }

/* ---------- footer ---------- */
.ftr { background: var(--navy); color: #fff; padding: clamp(40px, 6vw, 72px) 0 24px; margin-top: clamp(24px, 4vw, 48px); }
.ftr-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1.4fr; gap: 32px; }
.ftr h4 { font-size: 1.05rem; color: var(--gold); margin-bottom: 14px; font-weight: 700; }
.ftr li { margin-bottom: 10px; color: rgba(255, 255, 255, .86); font-size: 1rem; }
.ftr li a { display: inline-block; min-height: 32px; }
.ftr li a:hover { color: var(--gold-2); }
.ftr-logo { display: inline-flex; align-items: center; gap: 10px; }
.ftr-logo svg { width: 40px; height: 40px; }
.ftr-logo b { display: flex; flex-direction: column; line-height: 1.05; font-size: .98rem; letter-spacing: .04em; }
.ftr-logo b small { font-size: .74rem; color: var(--gold); letter-spacing: .14em; font-weight: 700; }
.ftr-brand p { color: rgba(255, 255, 255, .86); max-width: 38ch; margin-top: 14px; font-size: 1rem; }
.ftr-social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; }
.ftr-social a { width: 48px; height: 48px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .2); display: inline-flex; align-items: center; justify-content: center; }
.ftr-social a:hover { border-color: var(--gold); color: var(--gold-2); }
.ftr-social svg { width: 20px; height: 20px; }
.ftr-contact li { display: flex; gap: 10px; align-items: flex-start; }
.ftr-contact svg { width: 18px; height: 18px; flex: none; margin-top: 4px; color: var(--gold); }
.ftr-bottom { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .14); display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; font-size: .95rem; color: rgba(255, 255, 255, .75); }
.ftr-bottom a:hover { color: var(--gold-2); }
.ftr-demo { padding: 2px 10px; border: 1px dashed rgba(217, 169, 58, .5); border-radius: 999px; color: var(--gold); }
.fab-wa { position: fixed; right: 18px; bottom: 18px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; color: #fff; display: flex; align-items: center; justify-content: center; box-shadow: 0 14px 30px -10px rgba(37, 211, 102, .7); transition: transform .3s var(--spring); }
.fab-wa svg { width: 28px; height: 28px; }
.fab-wa:hover { transform: scale(1.06); }
@media (max-width: 899px) { .fab-wa { width: 48px; height: 48px; right: 14px; bottom: calc(var(--bnav) + 14px + env(safe-area-inset-bottom)); } .fab-wa svg { width: 24px; height: 24px; } .ftr-grid { grid-template-columns: 1fr 1fr; gap: 24px; } }
@media (max-width: 560px) { .ftr-grid { grid-template-columns: 1fr; } }

/* ---------- overlays ---------- */
.modal { position: fixed; inset: 0; z-index: 120; display: flex; align-items: flex-end; justify-content: center; padding: 0; background: rgba(11, 27, 51, .6); opacity: 0; pointer-events: none; transition: opacity .3s; }
.modal.open { opacity: 1; pointer-events: auto; }
.modal-box { width: 100%; max-height: calc(100dvh - 24px); overflow: auto; background: var(--white); border-radius: 24px 24px 0 0; transform: translateY(40px); transition: transform .45s var(--ease); position: relative; overscroll-behavior: contain; }
.modal.open .modal-box { transform: none; }
.modal-x { position: absolute; top: 12px; right: 12px; z-index: 3; background: var(--white); box-shadow: var(--shadow-sm); }
@media (min-width: 760px) {
  .modal { align-items: center; padding: 20px; }
  .modal-box { width: min(1060px, 100%); max-height: calc(100dvh - 40px); border-radius: var(--r); transform: translateY(24px) scale(.98); }
}
.empty { text-align: center; padding: 40px 12px; color: var(--muted); }
.empty svg { width: 48px; height: 48px; margin: 0 auto 12px; color: var(--navy); }
.empty p { font-size: 1.1rem; margin-bottom: 14px; }

/* ---------- cards ---------- */
.card { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); box-shadow: var(--shadow-sm); }
.card-p { padding: clamp(18px, 2.4vw, 26px); }
.tile { background: var(--white); border-radius: var(--r); border: 1px solid var(--line); padding: 18px 20px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.tile i { width: 40px; height: 40px; border-radius: 12px; background: var(--navy-soft); color: var(--navy); display: inline-flex; align-items: center; justify-content: center; margin-bottom: 6px; }
.tile i svg { width: 20px; height: 20px; }
.tile b { font-size: 1.2rem; line-height: 1.25; }
.tile span { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.kpi { display: flex; flex-direction: column; gap: 2px; }
.kpi b { font-size: clamp(1.5rem, 3vw, 2.2rem); line-height: 1.05; letter-spacing: -.02em; }
.kpi b small { font-size: .55em; font-weight: 700; color: var(--muted); margin-left: 2px; }
.kpi span { font-size: 1rem; color: var(--muted); line-height: 1.35; }
.band .kpi span { color: rgba(255, 255, 255, .7); }
.grid-2 { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
@media (max-width: 1000px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .grid-3, .grid-2 { grid-template-columns: 1fr; } .grid-4 { grid-template-columns: 1fr 1fr; gap: 10px; } }
.photo { border-radius: var(--r); overflow: hidden; background: var(--grey-2); position: relative; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo .tag { position: absolute; left: 12px; bottom: 12px; }
.prog { height: 8px; border-radius: 999px; background: var(--grey-2); overflow: hidden; }
.prog i { display: block; height: 100%; width: var(--w, 0%); border-radius: 999px; background: var(--gold); transition: width 1s var(--ease); }
.band .prog { background: rgba(255, 255, 255, .15); }

/* ---------- offer card ---------- */
.oc { position: relative; display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--spring), box-shadow .4s; min-width: 0; }
.oc:hover { box-shadow: var(--shadow); }
.oc-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: var(--grey-2); display: block; }
.oc-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.oc-badges { position: absolute; top: 10px; left: 10px; right: 10px; display: flex; gap: 6px; flex-wrap: wrap; z-index: 1; }
.oc-render { position: absolute; right: 10px; bottom: 10px; z-index: 1; }
.oc-body { padding: 16px 18px 18px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.oc-type { font-size: .8rem; color: var(--muted); font-weight: 600; display: flex; justify-content: space-between; gap: 8px; }
.oc h3 { font-size: 1.02rem; font-weight: 700; line-height: 1.3; }
.oc-price { display: flex; flex-direction: column; gap: 1px; }
.oc-price b { font-size: 1.3rem; letter-spacing: -.01em; line-height: 1.1; }
.oc-price small { color: var(--muted); font-size: .8rem; }
.oc-price small em { font-style: normal; color: var(--ink); font-weight: 700; }
.oc-specs { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .84rem; color: var(--muted); }
.oc-specs span { display: inline-flex; align-items: center; gap: 5px; }
.oc-specs svg { width: 14px; height: 14px; color: var(--navy); }
.oc-foot { margin-top: auto; display: flex; align-items: center; justify-content: space-between; gap: 10px; padding-top: 8px; }
.oc-foot .more { font-size: .9rem; min-height: 36px; }

/* ---------- post card ---------- */
.pc { display: flex; flex-direction: column; background: var(--white); border-radius: var(--r); border: 1px solid var(--line); overflow: hidden; transition: transform .4s var(--spring), box-shadow .4s; min-width: 0; }
.pc:hover { box-shadow: var(--shadow); }
.pc-media { aspect-ratio: 16 / 10; overflow: hidden; display: block; position: relative; background: var(--grey-2); }
.pc-media img { width: 100%; height: 100%; object-fit: cover; }
.pc-media .tag { position: absolute; left: 10px; bottom: 10px; }
.pc-body { padding: 16px 18px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.pc-meta { display: flex; gap: 10px; align-items: center; font-size: .95rem; color: var(--muted); flex-wrap: wrap; }
.pc h3 { font-size: 1.2rem; font-weight: 700; line-height: 1.3; }
.pc p { color: var(--muted); font-size: 1rem; }
.pc .more { margin-top: auto; }

/* ---------- forms ---------- */
.form { display: grid; gap: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 1rem; font-weight: 600; }
.field input, .field select, .field textarea, .sel { width: 100%; min-height: 56px; padding: 12px 16px; border-radius: 12px; border: 1.5px solid var(--line-2); background: var(--white); color: var(--ink); transition: border-color .2s, background .2s; font-weight: 500; font-size: 1.1rem; }
.field textarea { min-height: 120px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .sel:focus { outline: none; border-color: var(--navy); background: var(--white); }
.field input[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--err); }
.field-error { color: var(--err); font-weight: 500; }
.field .hint { color: var(--muted); font-weight: 400; font-size: .95rem; }
.check { display: flex; align-items: flex-start; gap: 12px; font-weight: 500; font-size: 1.02rem; cursor: pointer; line-height: 1.45; }
.check input { width: 26px; height: 26px; margin-top: 1px; accent-color: var(--navy); flex: none; }
.switch { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 6px 16px 6px 10px; border-radius: 999px; border: 1.5px solid var(--line-2); background: var(--white); font-weight: 600; font-size: 1rem; cursor: pointer; white-space: nowrap; }
.switch input { appearance: none; width: 34px; height: 20px; border-radius: 999px; background: var(--grey-3); position: relative; transition: background .2s; margin: 0; flex: none; cursor: pointer; }
.switch input::after { content: ''; position: absolute; top: 2px; left: 2px; width: 16px; height: 16px; border-radius: 50%; background: #fff; transition: transform .25s var(--spring); box-shadow: 0 1px 3px rgba(0, 0, 0, .25); }
.switch input:checked { background: var(--ok); }
.switch input:checked::after { transform: translateX(14px); }
.form-success { text-align: center; padding: 36px 20px; border-radius: var(--r); background: var(--ok-bg); }
.form-success .ok { width: 64px; height: 64px; margin: 0 auto 14px; border-radius: 50%; background: var(--ok); color: #fff; display: flex; align-items: center; justify-content: center; }
.form-success .ok svg { width: 30px; height: 30px; }
.form-success h3, .form-success h2 { font-size: 1.5rem; margin-bottom: 8px; }
.form-success p { color: var(--muted); max-width: 46ch; margin-inline: auto; }
.form-success .btn-wa { margin-top: 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.range { -webkit-appearance: none; appearance: none; width: 100%; height: 6px; border-radius: 999px; background: var(--grey-3); outline: none; margin: 14px 0; }
.range::-webkit-slider-thumb { -webkit-appearance: none; width: 26px; height: 26px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; box-shadow: 0 2px 8px rgba(10, 32, 64, .35); cursor: pointer; }
.range::-moz-range-thumb { width: 22px; height: 22px; border-radius: 50%; background: var(--navy); border: 3px solid #fff; cursor: pointer; }
.range:focus-visible { outline: 2px solid var(--navy); outline-offset: 6px; }

/* ---------- toast ---------- */
#bi-toast { position: fixed; left: 50%; bottom: 24px; z-index: 300; transform: translate(-50%, 20px); opacity: 0; background: var(--ink); color: #fff; padding: 14px 24px; border-radius: 999px; font-weight: 700; box-shadow: var(--shadow); transition: transform .35s var(--ease), opacity .3s; pointer-events: none; max-width: calc(100vw - 32px); text-align: center; font-size: 1.05rem; }
#bi-toast.show { transform: translate(-50%, 0); opacity: 1; }
#bi-toast.ok { background: var(--ok); }
#bi-toast.err { background: var(--err); }
@media (max-width: 899px) { #bi-toast { bottom: calc(var(--bnav) + 14px + env(safe-area-inset-bottom)); } }

/* ---------- FAQ ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 16px; margin-bottom: 10px; }
.faq summary { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 18px 20px; font-weight: 700; cursor: pointer; list-style: none; min-height: 64px; font-size: 1.1rem; line-height: 1.35; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary i { width: 36px; height: 36px; border-radius: 50%; background: var(--grey); display: inline-flex; align-items: center; justify-content: center; flex: none; transition: transform .3s var(--ease), background .2s; }
.faq summary i svg { width: 18px; height: 18px; }
.faq details[open] summary i { transform: rotate(45deg); background: var(--navy); color: #fff; }
.faq details p { padding: 0 20px 20px; color: var(--ink); line-height: 1.6; font-size: 1.05rem; }

/* ---------- login skin (extra rules over shared .au-*) ---------- */
.au { font-family: inherit; }
.au-f input, .au-f select { background: var(--grey) !important; border-color: transparent !important; font-weight: 500; }
.au-f input:focus, .au-f select:focus { background: #fff !important; outline-color: var(--navy) !important; }
.au-btn { font-weight: 700; }
.au-roles label:has(input:checked) { border-color: var(--navy) !important; background: var(--navy-soft) !important; }

/* ---------- role chip: who acts ---------- */
.who { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .9rem; font-weight: 700; line-height: 1.2; white-space: nowrap; }
.who svg { width: 15px; height: 15px; }
.who-tenant { background: var(--tenant-soft); color: var(--tenant); }
.who-owner { background: var(--owner-soft); color: var(--owner); }
.who-partner { background: var(--partner-soft); color: var(--partner-ink); }
.who-platform { background: var(--platform-soft); color: var(--platform); }
.band .who-owner { background: rgba(255, 255, 255, .14); color: #fff; }
.tags { display: flex; gap: 6px; flex-wrap: wrap; align-items: center; }
.rl-no { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: 8px; background: var(--grey); color: var(--ink); font-size: .95rem; font-weight: 700; letter-spacing: .02em; }

/* ---------- gateway skin (extra rules over shared .pg-*) ---------- */
.gateway .pg-card { border-radius: var(--r); }
.gateway .pg-methods { display: flex; background: var(--grey); border-radius: 14px; padding: 4px; gap: 4px; }
.gateway .pg-m { flex: 1; justify-content: center; border: 0; border-radius: 10px; padding: 8px 6px; font-size: 1rem; min-height: 52px; color: var(--muted); }
.gateway .pg-m svg { color: currentColor; }
.gateway .pg-m[aria-pressed="true"] { background: var(--white); color: var(--navy); box-shadow: var(--shadow-sm); }
.gateway .pg-f input { border-color: transparent; font-weight: 500; }
.gateway .pg-f input:focus { background: #fff; }
.gateway .pg-btn { font-weight: 700; }
.gateway .pg-btn:hover { box-shadow: 0 18px 34px -18px rgba(10, 32, 64, .8); }
.gateway .pg-tot { font-variant-numeric: tabular-nums; }
.gateway .pg-tot span { color: var(--navy); font-size: 1.7rem; }
.gateway .pg-rc { background: var(--grey); border-style: solid; border-color: var(--line); }
.gateway .pg-terms input { accent-color: var(--navy); }
.gateway .pg-result .pg-ico { background: var(--ok-bg); color: var(--ok); }
@media (max-width: 480px) { .gateway .pg-methods { display: grid; grid-template-columns: 1fr 1fr; } }
