/* ==========================================================================
   Real estate website — frontend styles
   Palette: iBuySell brand — blue primary, orange call-to-action, red highlights, navy surfaces.
   ========================================================================== */
:root {
  --basalt: #0a3fae;
  --navy: #0b1d45;
  --navy-2: #13295c;
  --red: #e8302a;
  --red-soft: #fde8e7;
  --basalt-2: #1f2d52;
  --basalt-3: #45526f;
  --apricot: #ff8a00;
  --apricot-dk: #e67300;
  --apricot-soft: #fff1e0;
  --mist: #eef2f9;
  --mist-2: #e2e8f3;
  --line: #d9e0ec;
  --stone: #63708a;
  --ink: #141a2b;
  --paper: #ffffff;
  --ok: #2f7d5b;
  --err: #b4412f;

  --f-display: "Bricolage Grotesque", "Segoe UI", system-ui, sans-serif;
  --f-body: "Figtree", "Segoe UI", system-ui, -apple-system, sans-serif;

  --r-lg: 20px;
  --r-md: 14px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(11, 29, 69, .05), 0 8px 24px -12px rgba(11, 29, 69, .18);
  --shadow-lg: 0 24px 60px -24px rgba(11, 29, 69, .35);
  --wrap: 1280px;
  --gutter: clamp(16px, 4vw, 32px);
  --header-h: 116px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  margin: 0; font-family: var(--f-body); font-size: 16px; line-height: 1.55; color: var(--ink);
  background: var(--paper); -webkit-font-smoothing: antialiased; overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
p a, .prose a, .notice a, .form__note a, .auth__alt a, .muted a { color: var(--apricot-dk); text-decoration: underline; text-underline-offset: 2px; }
button { font: inherit; color: inherit; cursor: pointer; }
input, select, textarea { font: inherit; color: inherit; }
h1, h2, h3, h4 { font-family: var(--f-display); font-weight: 600; line-height: 1.15; margin: 0; letter-spacing: -.01em; }
p { margin: 0 0 1em; }
:focus-visible { outline: 2px solid var(--apricot); outline-offset: 2px; border-radius: 6px; }
[hidden] { display: none !important; }
.sr-only, .hp { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 8px; }
.skip-link:focus { top: 12px; }

.i { width: 20px; height: 20px; flex: none; display: inline-block; vertical-align: middle; }
.i-xs { width: 12px; height: 12px; } .i-sm { width: 16px; height: 16px; } .i-xl { width: 40px; height: 40px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.wrap.narrow { max-width: 920px; }
.center { text-align: center; }
.muted { color: var(--stone); } .small { font-size: 14px; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 28px; } .mt-4 { margin-top: 48px; } .mb-3 { margin-bottom: 28px; }

.h1 { font-size: clamp(30px, 4.4vw, 48px); }
.h2 { font-size: clamp(24px, 3vw, 34px); }
.h3 { font-size: 21px; }

/* ---------- Buttons ---------- */
.btn {
  --bh: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: var(--bh); padding: 0 22px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 600; font-size: 15px; white-space: nowrap; transition: background .18s, color .18s, border-color .18s, transform .18s;
}
.btn:active { transform: translateY(1px); }
.btn--sm { --bh: 40px; padding: 0 16px; font-size: 14px; }
.btn--lg { --bh: 56px; padding: 0 34px; font-size: 16px; }
.btn--block { width: 100%; }
.btn--dark { background: var(--basalt); color: #fff; }
.btn--dark:hover { background: var(--navy); }
.btn--accent { background: var(--apricot); color: var(--navy); }
.btn--accent:hover { background: var(--apricot-dk); color: var(--navy); }
.btn--outline { border-color: var(--line); background: var(--paper); color: var(--basalt); }
.btn--outline:hover { border-color: var(--basalt); }
.btn--ghost { background: transparent; color: var(--basalt); }
.btn--ghost:hover { background: var(--mist); }
.btn--light { background: rgba(255,255,255,.94); color: var(--basalt); box-shadow: var(--shadow); }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; display: inline-grid; place-items: center; border: 0; background: transparent; color: var(--basalt); }
.icon-btn:hover { background: var(--mist); }
.round-btn { width: 44px; height: 44px; border-radius: 50%; display: inline-grid; place-items: center; border: 1.5px solid var(--line); background: var(--paper); color: var(--basalt); transition: border-color .15s; }
.round-btn:hover { border-color: var(--basalt); }
.link-more { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; color: var(--basalt); border-bottom: 2px solid var(--apricot); padding-bottom: 1px; background: none; border-top: 0; border-left: 0; border-right: 0; }
.linkish { background: none; border: 0; padding: 0; color: var(--stone); font-weight: 600; }

.badge { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; line-height: 1; }
.badge--accent { background: var(--red); color: #fff; }
.badge--dark { background: var(--navy); color: #fff; }
.badge--glass { background: rgba(11,29,69,.55); color: #fff; backdrop-filter: blur(6px); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--basalt-2); font-size: 12.5px; font-weight: 600; }
.tag--dark { background: var(--basalt); color: #fff; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--paper); transition: box-shadow .2s; }
.site-header.is-scrolled { box-shadow: 0 6px 24px -16px rgba(11,29,69,.4); }
.topbar { background: var(--navy); color: #c9d4ee; font-size: 13.5px; }
.topbar__inner { display: flex; justify-content: space-between; align-items: center; height: 40px; gap: 12px; }
.topbar__contacts, .topbar__tools { display: flex; align-items: center; gap: 18px; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.topbar a:hover { color: #fff; }
.topbar .i { width: 15px; height: 15px; opacity: .75; }
.topbar__link { font-weight: 500; }
.currency-btn { background: rgba(255,255,255,.08); border: 0; color: #fff; padding: 4px 10px; border-radius: 999px; font-size: 13px; display: inline-flex; align-items: center; gap: 4px; }
.navbar { border-bottom: 1px solid var(--line); }
.navbar__inner { display: flex; align-items: center; height: 76px; gap: 24px; }
.brand { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.brand__img { height: 34px; width: auto; max-width: 220px; }
.brand__name { font-family: var(--f-display); font-weight: 700; font-size: 21px; letter-spacing: -.02em; color: var(--basalt); }
.brand--light .brand__name { color: #fff; }
.mainnav { flex: 1; }
.mainnav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 2px; justify-content: center; }
.mainnav li { position: relative; }
.mainnav__link { display: inline-flex; align-items: center; gap: 4px; padding: 10px 14px; border-radius: 999px; font-weight: 600; font-size: 15px; background: none; border: 0; color: var(--ink); }
.mainnav__link:hover, .mainnav li.is-open > .mainnav__link { background: var(--mist); }
.navbar__actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.menu-btn { display: none; }

.dropdown { position: relative; }
.dropdown__menu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 220px; z-index: 60; padding: 8px;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  opacity: 0; visibility: hidden; transform: translateY(-4px); transition: opacity .15s, transform .15s, visibility .15s;
}
.dropdown__menu--right { left: auto; right: 0; min-width: 140px; color: var(--ink); }
.is-open > .dropdown__menu { opacity: 1; visibility: visible; transform: none; }
.dropdown__menu a { display: block; padding: 9px 12px; border-radius: 8px; font-size: 15px; color: var(--ink); }
.dropdown__menu a:hover, .dropdown__menu a.is-active { background: var(--mist); }
.dropdown__all { font-weight: 600; border-bottom: 1px solid var(--line); border-radius: 8px 8px 0 0 !important; margin-bottom: 4px; }

.drawer { position: fixed; inset: 0; z-index: 120; background: rgba(11,29,69,.45); }
.drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(380px, 88vw); background: var(--paper); display: flex; flex-direction: column; animation: slideIn .22s ease-out; }
@keyframes slideIn { from { transform: translateX(30px); opacity: .4; } }
.drawer__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.drawer__body { padding: 10px 18px 30px; overflow-y: auto; }
.drawer__link, .drawer__group summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; border-bottom: 1px solid var(--mist-2); font-weight: 600; font-size: 17px; list-style: none; cursor: pointer; }
.drawer__group summary::-webkit-details-marker { display: none; }
.drawer__group[open] summary .i { transform: rotate(180deg); }
.drawer__group a { display: block; padding: 10px 14px; color: var(--basalt-2); }

/* ---------- Hero ---------- */
.hero { position: relative; color: #fff; isolation: isolate; }
.hero__bg { position: absolute; inset: 0; z-index: -1; background: var(--navy) center/cover no-repeat; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(11,29,69,.86) 0%, rgba(11,29,69,.55) 50%, rgba(11,29,69,.15) 100%), linear-gradient(0deg, rgba(11,29,69,.55), transparent 45%); }
.hero__inner { min-height: clamp(560px, 78vh, 760px); display: flex; flex-direction: column; justify-content: flex-end; padding-top: 70px; padding-bottom: 44px; gap: 36px; }
.hero__copy { max-width: 760px; }
.hero__title { font-size: clamp(36px, 6vw, 72px); font-weight: 600; letter-spacing: -.03em; line-height: 1.02; text-wrap: balance; animation: rise .7s cubic-bezier(.2,.7,.2,1) both; }
.hero__lead { font-size: clamp(17px, 1.6vw, 20px); color: #dbe3f5; max-width: 560px; margin: 18px 0 0; animation: rise .7s .08s cubic-bezier(.2,.7,.2,1) both; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.rating-chip { display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 10px; margin-bottom: 22px; border-radius: 999px; background: rgba(255,255,255,.12); backdrop-filter: blur(8px); font-size: 14px; color: #e6ecf8; }
.rating-chip b { color: #fff; }

.stars { --r: 5; --size: 15px; display: inline-block; width: calc(var(--size) * 5); height: var(--size); flex: none;
  background: linear-gradient(90deg, var(--apricot) calc(var(--r) / 5 * 100%), rgba(160,170,190,.45) 0);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.7 5.6 6.1.8-4.5 4.2 1.1 6.1L12 16.8l-5.4 2.9 1.1-6.1-4.5-4.2 6.1-.8z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m12 3 2.7 5.6 6.1.8-4.5 4.2 1.1 6.1L12 16.8l-5.4 2.9 1.1-6.1-4.5-4.2 6.1-.8z'/%3E%3C/svg%3E") 0 0 / var(--size) var(--size) repeat-x; }
.stars--lg { --size: 22px; }

.hsearch { background: var(--paper); color: var(--ink); border-radius: var(--r-lg); padding: 8px; box-shadow: var(--shadow-lg); max-width: 1080px; animation: rise .7s .16s cubic-bezier(.2,.7,.2,1) both; }
.hsearch__tabs { display: flex; gap: 4px; padding: 4px 4px 8px; }
.hsearch__tab input { position: absolute; opacity: 0; }
.hsearch__tab span { display: block; padding: 8px 18px; border-radius: 999px; font-weight: 600; cursor: pointer; color: var(--stone); }
.hsearch__tab input:checked + span { background: var(--basalt); color: #fff; }
.hsearch__tab input:focus-visible + span { outline: 2px solid var(--apricot); }
.hsearch__row { display: grid; grid-template-columns: repeat(4, 1fr) auto; gap: 0; background: var(--mist); border-radius: var(--r-md); }
.hsearch__field { padding: 10px 16px; border-right: 1px solid var(--line); min-width: 0; }
.hsearch__field label { display: block; font-size: 12.5px; font-weight: 600; color: var(--stone); }
.hsearch__field select, .hsearch__field input { width: 100%; border: 0; background: transparent; padding: 2px 0; font-size: 16px; font-weight: 600; outline: none; appearance: none; -webkit-appearance: none; text-overflow: ellipsis; }
.hsearch__field select:disabled { color: var(--stone); font-weight: 500; }
.hsearch__go { margin: 6px; height: auto; border-radius: var(--r-sm); padding: 0 28px; }

.catbar { border-bottom: 1px solid var(--line); background: var(--paper); }
.catbar__inner { display: flex; gap: 8px; overflow-x: auto; padding-top: 16px; padding-bottom: 16px; scrollbar-width: none; }
.catbar__inner::-webkit-scrollbar { display: none; }
.catbar__item { flex: none; display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 999px; border: 1.5px solid var(--line); font-weight: 600; font-size: 14.5px; transition: border-color .15s; }
.catbar__item:hover { border-color: var(--basalt); }
.catbar__item em { font-style: normal; font-size: 12.5px; color: var(--stone); background: var(--mist); padding: 1px 8px; border-radius: 999px; }
.catbar__item--accent { background: var(--red-soft); border-color: transparent; color: var(--red); }

/* ---------- Sections ---------- */
.section { padding: clamp(48px, 7vw, 88px) 0; }
.section--tight { padding: clamp(20px, 3vw, 32px) 0; }
.section--flush { padding: 24px 0 72px; }
.section--mist { background: var(--mist); }
.section__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 28px; flex-wrap: wrap; }
.section__head--sm { margin-bottom: 18px; align-items: center; }
.section__sub { color: var(--stone); margin: 8px 0 0; }
.rail-nav { display: flex; align-items: center; gap: 8px; }
.rail-nav .link-more { margin-left: 10px; }

.rail { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 20px) / 4); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 12px; margin: -4px -2px 0; }
.rail::-webkit-scrollbar { display: none; }
.rail__item { scroll-snap-align: start; min-width: 0; }

.grid-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px 20px; }
.grid-cards--listing { grid-template-columns: repeat(3, 1fr); }
.empty { color: var(--stone); padding: 24px 0; }

/* ---------- Property card ---------- */
.pcard { position: relative; display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-md); height: 100%; }
.pcard__media { position: relative; display: block; aspect-ratio: 4 / 3; border-radius: var(--r-md); overflow: hidden; background: var(--mist); }
.pcard__slides, .pcard__slides img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pcard__slides img { transition: opacity .25s; }
.pcard__slides img[data-slide-hidden] { opacity: 0; }
.pcard__media:hover .pcard__slides img:first-child { transform: scale(1.02); }
.pcard__slides img:first-child { transition: transform .5s ease, opacity .25s; }
.pcard__dots { position: absolute; bottom: 10px; left: 0; right: 0; display: flex; justify-content: center; gap: 4px; }
.pcard__dots i { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.55); }
.pcard__dots i.on { background: #fff; }
.pcard__badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; flex-wrap: wrap; }
.pcard__fav { position: absolute; top: 10px; right: 10px; z-index: 2; }
.fav-btn { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 0; background: rgba(255,255,255,.92); color: var(--basalt); box-shadow: 0 2px 8px rgba(11,29,69,.15); }
.round-btn.fav-btn { box-shadow: none; border: 1.5px solid var(--line); width: 44px; height: 44px; }
.fav-btn .i-on { display: none; color: var(--red); }
.fav-btn.is-saved .i-on { display: inline-block; animation: pop .3s ease; }
.fav-btn.is-saved .i-off { display: none; }
@keyframes pop { 50% { transform: scale(1.3); } }
.pcard__body { display: flex; flex-direction: column; padding: 14px 4px 4px; flex: 1; }
.pcard__price { font-family: var(--f-display); font-weight: 700; font-size: 22px; letter-spacing: -.01em; color: var(--basalt); }
.pcard__title { font-family: var(--f-body); font-size: 15px; font-weight: 600; margin: 4px 0 2px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.pcard__addr { display: flex; gap: 5px; align-items: flex-start; color: var(--stone); font-size: 14px; margin: 0 0 10px; }
.pcard__addr .i { margin-top: 2px; }
.pcard__specs { list-style: none; padding: 10px 0 0; margin: 0 0 10px; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14px; color: var(--basalt-2); border-top: 1px solid var(--mist-2); }
.pcard__specs li { display: inline-flex; align-items: center; gap: 5px; }
.pcard__specs .i { color: var(--stone); }
.pcard__foot { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-top: auto; }
.pcard__id { font-size: 12.5px; color: var(--stone); margin-right: auto; }

/* ---------- Banners ---------- */
.banner-slider { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--navy); }
.banner-slider__track { position: relative; aspect-ratio: 21 / 7; min-height: 300px; }
.banner { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .6s ease, visibility .6s; }
.banner.is-active { opacity: 1; visibility: visible; }
.banner__img { width: 100%; height: 100%; object-fit: cover; }
.banner::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,29,69,.82), rgba(11,29,69,.1) 70%); }
.banner__copy { position: absolute; z-index: 1; left: clamp(24px, 5vw, 64px); top: 50%; transform: translateY(-50%); max-width: 520px; color: #fff; }
.banner__title { font-size: clamp(24px, 3.2vw, 40px); letter-spacing: -.02em; margin-bottom: 12px; }
.banner__copy p { color: #dbe3f5; margin-bottom: 22px; }
.banner-slider__dots { position: absolute; z-index: 2; bottom: 18px; left: clamp(24px, 5vw, 64px); display: flex; gap: 6px; }
.banner-slider__dots button { width: 28px; height: 4px; border: 0; border-radius: 4px; background: rgba(255,255,255,.35); padding: 0; }
.banner-slider__dots button.on { background: var(--apricot); }

/* ---------- Segmented control / tabs ---------- */
.seg { display: inline-flex; padding: 4px; background: var(--mist); border-radius: 999px; gap: 2px; }
.seg__btn, .seg__opt span { display: inline-flex; align-items: center; justify-content: center; padding: 8px 18px; border-radius: 999px; font-weight: 600; font-size: 14.5px; border: 0; background: none; color: var(--stone); cursor: pointer; }
.seg__btn.is-active, .seg__opt input:checked + span { background: var(--paper); color: var(--basalt); box-shadow: 0 1px 4px rgba(11,29,69,.12); }
.seg__opt { flex: 1; } .seg__opt input { position: absolute; opacity: 0; }
.seg__opt input:focus-visible + span { outline: 2px solid var(--apricot); }
.seg--block { display: flex; width: 100%; }
.seg--block .seg__opt span { width: 100%; }

/* ---------- Services ---------- */
.services { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 72px); align-items: center; }
.services__media { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4 / 5; max-height: 600px; }
.services__media img { width: 100%; height: 100%; object-fit: cover; }
.services__list .h2 { margin-bottom: 16px; }
.service { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.service:last-child { border-bottom: 0; }
.service h3 { font-size: 26px; margin-bottom: 6px; }
.service p { margin: 0; color: var(--basalt-3); max-width: 420px; }

/* ---------- About ---------- */
.about-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.about-card { display: grid; grid-template-rows: 260px 1fr; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.about-card img { width: 100%; height: 100%; object-fit: cover; }
.about-card__body { padding: 28px clamp(22px, 3vw, 36px) 32px; }
.about-card h3 { font-size: 28px; margin-bottom: 8px; }
.about-card__lead { font-weight: 600; font-size: 17px; }
.about-card p { color: var(--basalt-3); }
.about-card--dark { background: var(--navy); color: #fff; }
.about-card--dark p { color: #b9c5e0; } .about-card--dark .about-card__lead { color: #fff; }
.about-card--dark .link-more { color: #fff; }

/* ---------- CTA ---------- */
.cta { display: grid; grid-template-columns: .9fr 1.1fr; background: var(--apricot-soft); border-radius: var(--r-lg); overflow: hidden; }
.cta__media { min-height: 280px; } .cta__media img { width: 100%; height: 100%; object-fit: cover; }
.cta__body { padding: clamp(28px, 5vw, 56px); align-self: center; }
.cta__text { color: var(--basalt-3); font-size: 17px; margin: 10px 0 22px; }
.cta__actions { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---------- Reviews ---------- */
.reviews { display: grid; grid-template-columns: 250px 1fr; gap: 20px; align-items: stretch; }
.reviews__summary { background: var(--navy); color: #fff; border-radius: var(--r-lg); padding: 28px 24px; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.reviews__summary p { color: #b9c5e0; margin: 0 0 10px; }
.reviews__summary .btn--outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.3); }
.reviews__score { font-family: var(--f-display); font-size: 64px; font-weight: 700; line-height: 1; }
.rail--reviews { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
.review { margin: 0; background: var(--mist); border-radius: var(--r-lg); padding: 24px; display: flex; flex-direction: column; gap: 12px; }
.review blockquote { margin: 0; flex: 1; font-size: 15.5px; display: -webkit-box; -webkit-line-clamp: 7; -webkit-box-orient: vertical; overflow: hidden; }
.review figcaption b { display: block; } .review figcaption span { color: var(--stone); font-size: 13.5px; }

/* ---------- Posts ---------- */
.grid-posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.post-card { display: flex; flex-direction: column; background: var(--paper); border-radius: var(--r-lg); overflow: hidden; height: 100%; }
.post-card__img { aspect-ratio: 16 / 10; background: var(--mist-2); } .post-card__img img { width: 100%; height: 100%; object-fit: cover; }
.post-card__body { padding: 20px 22px 24px; }
.post-card__meta { font-size: 13px; color: var(--stone); }
.post-card h3 { font-size: 20px; margin: 6px 0 8px; }
.post-card p { color: var(--basalt-3); margin: 0; font-size: 15px; }
.section:not(.section--mist) .post-card { border: 1px solid var(--line); }

/* ---------- Page heads / breadcrumbs ---------- */
.page-head { padding: 36px 0 32px; background: var(--mist); }
.page-head--slim { padding: 24px 0 22px; }
.page-head--image { position: relative; color: #fff; padding: 90px 0 52px; background: var(--navy) var(--bg) center/cover; isolation: isolate; }
.page-head--image::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(11,29,69,.85), rgba(11,29,69,.35)); }
.page-head--image .crumbs, .page-head--image .crumbs a { color: #dbe3f5; }
.page-head__lead { font-size: 18px; color: var(--basalt-3); max-width: 680px; margin: 10px 0 0; }
.page-head--image .page-head__lead { color: #dbe3f5; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; font-size: 13.5px; color: var(--stone); margin-bottom: 12px; }
.crumbs a:hover { color: var(--basalt); text-decoration: underline; }
.quick-links { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 16px; }
.quick-links a { padding: 6px 14px; border-radius: 999px; background: var(--paper); font-size: 14px; font-weight: 500; }
.quick-links a:hover { background: var(--basalt); color: #fff; }

/* ---------- Listing ---------- */
.listing { display: grid; grid-template-columns: 300px 1fr; gap: 32px; padding-top: 28px; padding-bottom: 72px; align-items: start; }
.listing__side { position: sticky; top: calc(var(--header-h) + 16px); }
.listing__bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 20px; }
.listing__count { margin: 0; color: var(--stone); } .listing__count b { color: var(--ink); }
.listing__tools { display: flex; gap: 8px; align-items: center; }
.filters-toggle { display: none; }
.sort select { height: 40px; border: 1.5px solid var(--line); border-radius: 999px; padding: 0 36px 0 16px; font-weight: 600; font-size: 14px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23141a2b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat; appearance: none; -webkit-appearance: none; }

.filters { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); max-height: calc(100vh - var(--header-h) - 32px); display: flex; flex-direction: column; }
.filters__head { display: flex; justify-content: space-between; align-items: center; padding: 18px 20px 4px; }
.filters__head h2 { font-size: 20px; }
.filters__close { display: none; }
.filters__body { padding: 10px 20px; overflow-y: auto; flex: 1; }
.filters__foot { display: flex; gap: 8px; padding: 14px 20px; border-top: 1px solid var(--line); }
.filters__foot .btn { flex: 1; }
.filters__more { margin: 6px 0 14px; }
.filters__more summary { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; cursor: pointer; list-style: none; padding: 6px 0 10px; color: var(--basalt); }
.filters__more summary::-webkit-details-marker { display: none; }
.filters__more[open] summary .i { transform: rotate(180deg); }
.filters-backdrop { display: none; }
.checklist { max-height: 220px; overflow-y: auto; display: grid; gap: 2px; padding-right: 4px; }

/* ---------- Forms ---------- */
.form { display: grid; gap: 16px; }
.form fieldset { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 20px; }
.form fieldset:disabled { opacity: .55; }
.field { display: grid; gap: 6px; margin-bottom: 14px; min-width: 0; align-content: start; }
.form .field { margin-bottom: 0; }
.field > label, .field__label { font-size: 14px; font-weight: 600; color: var(--basalt-2); }
.field i { color: var(--err); font-style: normal; }
.field input:not([type=checkbox]):not([type=radio]):not([type=file]), .field select, .field textarea, .input-group input, .range input {
  width: 100%; min-height: 48px; padding: 11px 14px; border: 1.5px solid var(--line); border-radius: var(--r-sm); background: var(--paper);
  font-size: 16px; transition: border-color .15s, box-shadow .15s; outline: none;
}
.field select { appearance: none; -webkit-appearance: none; padding-right: 38px; background: var(--paper) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23141a2b' stroke-width='2.5'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 14px center no-repeat; }
.field select:disabled { background-color: var(--mist); color: var(--stone); }
.field textarea { min-height: 110px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus, .range input:focus, .input-group input:focus { border-color: var(--basalt); box-shadow: 0 0 0 3px rgba(255,138,0,.28); }
.field.has-error input, .field.has-error select, .field.has-error textarea, .field input.is-invalid { border-color: var(--err); }
.field__error { color: var(--err); font-size: 13.5px; margin: 0; }
.form__note { font-size: 13px; color: var(--stone); margin: 0; }
.input-icon { position: relative; } .input-icon .i { position: absolute; left: 14px; top: 50%; transform: translateY(-50%); color: var(--stone); }
.input-icon input { padding-left: 42px !important; }
.input-group { display: flex; } .input-group input { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.input-group select { width: auto !important; flex: none; border-left: 0 !important; border-radius: 0 var(--r-sm) var(--r-sm) 0 !important; background-color: var(--mist) !important; min-height: 48px; border: 1.5px solid var(--line); padding: 0 34px 0 12px; font-weight: 600; }
.range { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.check { display: flex; align-items: flex-start; gap: 10px; padding: 6px 0; cursor: pointer; font-size: 15px; }
.check input { width: 18px; height: 18px; margin: 2px 0 0; accent-color: var(--basalt); flex: none; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; }
.chip input { position: absolute; opacity: 0; }
.chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 40px; padding: 0 14px; border: 1.5px solid var(--line); border-radius: 999px; font-weight: 600; font-size: 14px; cursor: pointer; transition: all .12s; user-select: none; }
.chip span:hover { border-color: var(--basalt-3); }
.chip input:checked + span { background: var(--basalt); border-color: var(--basalt); color: #fff; }
.chip input:focus-visible + span { outline: 2px solid var(--apricot); outline-offset: 2px; }
.chips--lg .chip span { height: 46px; padding: 0 18px; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.grid-2--tight { gap: 10px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

.form-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(20px, 3vw, 32px); display: grid; gap: 16px; }
.form-card__title { display: flex; align-items: center; gap: 12px; font-size: 21px; }
.step { width: 30px; height: 30px; border-radius: 50%; background: var(--basalt); color: #fff; display: grid; place-items: center; font-size: 14px; font-family: var(--f-body); flex: none; }
.submit-form { padding: 28px 0 60px; }
.submit-bar { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.dropzone { display: grid; justify-items: center; gap: 6px; text-align: center; padding: 34px 20px; border: 2px dashed var(--line); border-radius: var(--r-md); cursor: pointer; color: var(--stone); transition: border-color .15s, background .15s; position: relative; }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone b { color: var(--basalt); font-size: 17px; }
.dropzone.is-over, .dropzone:hover { border-color: var(--apricot); background: var(--apricot-soft); }
.thumbs { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 8px; }
.thumbs figure { margin: 0; position: relative; aspect-ratio: 1; border-radius: var(--r-sm); overflow: hidden; background: var(--mist); }
.thumbs img { width: 100%; height: 100%; object-fit: cover; }
.thumbs figcaption { position: absolute; left: 6px; bottom: 6px; font-size: 11px; background: rgba(11,29,69,.7); color: #fff; padding: 1px 6px; border-radius: 6px; }
[data-only], [data-hide] { transition: opacity .15s; }

.notice { padding: 14px 18px; border-radius: var(--r-md); background: var(--mist); margin: 20px 0 0; }
.notice--warn { background: var(--apricot-soft); }
.notice--error { background: #f8e3df; color: #7c2a1d; }

/* ---------- Property page ---------- */
.prop { padding-top: 20px; }
.gallery { position: relative; display: grid; gap: 8px; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 230px 230px; border-radius: var(--r-lg); overflow: hidden; }
.gallery__cell { position: relative; padding: 0; border: 0; background: var(--mist); overflow: hidden; cursor: zoom-in; }
.gallery__cell img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }

.gallery__cell:first-child { grid-row: span 2; }
.gallery--n1 { grid-template-columns: 1fr; grid-template-rows: 470px; }
.gallery--n2 { grid-template-columns: 2fr 1fr; grid-template-rows: 470px; } .gallery--n2 .gallery__cell:first-child { grid-row: auto; }
.gallery--n3 { grid-template-columns: 2fr 1fr; }
.gallery--n4 .gallery__cell:last-of-type { grid-column: span 2; }
.gallery__more { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(11,29,69,.55); color: #fff; font-weight: 600; font-size: 18px; }
.gallery__badges { position: absolute; top: 16px; left: 16px; display: flex; gap: 6px; }
.gallery__all { position: absolute; right: 16px; bottom: 16px; }

.prop__layout { display: grid; grid-template-columns: 1fr 380px; gap: 48px; margin-top: 32px; align-items: start; }
.prop__tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 12px; }
.prop__title { font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -.02em; }
.prop__addr { display: flex; gap: 6px; align-items: center; color: var(--stone); margin: 10px 0 0; }
.prop__price-row { display: flex; justify-content: space-between; align-items: flex-end; gap: 16px; margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--line); }
.prop__price { font-family: var(--f-display); font-size: clamp(30px, 4vw, 42px); font-weight: 700; letter-spacing: -.02em; color: var(--basalt); line-height: 1; }
.prop__ppsqm { color: var(--stone); margin-top: 6px; font-size: 15px; }
.prop__actions { display: flex; gap: 8px; }
.currency-mini { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 10px; font-size: 13.5px; color: var(--stone); }
.prop__section { padding: 30px 0; border-top: 1px solid var(--line); }
.prop__section:first-of-type { margin-top: 28px; }
.prop__section .h3 { margin-bottom: 18px; }
.specs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 0; }
.spec { display: grid; grid-template-columns: auto 1fr; grid-template-rows: auto auto; column-gap: 12px; padding: 14px; background: var(--mist); border-radius: var(--r-md); }
.spec .i { grid-row: span 2; width: 26px; height: 26px; color: var(--basalt-3); align-self: center; }
.spec dt { font-size: 13px; color: var(--stone); } .spec dd { margin: 0; font-weight: 700; font-size: 16px; }
.prose { font-size: 16.5px; line-height: 1.7; color: #1f2940; }
.prose h2 { font-size: 24px; margin: 1.6em 0 .5em; } .prose h3 { font-size: 19px; margin: 1.4em 0 .4em; }
.prose ul, .prose ol { padding-left: 1.3em; } .prose li { margin: .3em 0; }
.prose img { border-radius: var(--r-md); margin: 1em 0; }
.prose > :first-child { margin-top: 0; }
.prose--clamp.is-clamped { max-height: 11.5em; overflow: hidden; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent); }
.amenities { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px 20px; }
.amenities li { display: flex; align-items: center; gap: 8px; } .amenities .i { color: var(--ok); }
.video { position: relative; aspect-ratio: 16 / 9; border-radius: var(--r-lg); overflow: hidden; background: #000; cursor: pointer; }
.video img, .video iframe { width: 100%; height: 100%; object-fit: cover; border: 0; }
.video__play { position: absolute; inset: 0; margin: auto; width: 76px; height: 76px; border-radius: 50%; border: 0; background: var(--apricot); color: var(--navy); display: grid; place-items: center; }
.video__play .i { width: 30px; height: 30px; margin-left: 4px; }
.map { aspect-ratio: 16 / 8; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); }
.map iframe { width: 100%; height: 100%; border: 0; }
.prop__meta { color: var(--stone); font-size: 14px; border-top: 1px solid var(--line); padding-top: 18px; }
.prop__side { position: sticky; top: calc(var(--header-h) + 16px); }
.contact-card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--r-lg); padding: 24px; box-shadow: var(--shadow); }
.contact-card__agent { display: flex; align-items: center; gap: 14px; margin-bottom: 18px; }
.contact-card__agent b { display: block; font-size: 17px; } .contact-card__agent span { color: var(--stone); font-size: 14px; }
.avatar { width: 56px; height: 56px; border-radius: 50%; object-fit: cover; flex: none; }
.avatar--blank { display: grid; place-items: center; background: var(--mist); color: var(--stone); }
.contact-card__btns { display: grid; gap: 8px; }
.contact-card__row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.contact-card__mail { display: inline-flex; align-items: center; gap: 6px; justify-content: center; color: var(--stone); font-size: 14px; padding: 4px 0; }
.contact-card__title { font-size: 19px; margin: 22px 0 14px; padding-top: 20px; border-top: 1px solid var(--line); }
.page-body__side .contact-card__title { margin-top: 0; padding-top: 0; border: 0; }
.form--compact { gap: 12px; }
.prop-sticky { display: none; }

.lightbox { position: fixed; inset: 0; z-index: 200; background: rgba(6,14,36,.96); display: grid; grid-template-rows: 1fr auto; color: #fff; }
.lightbox__stage { margin: 0; display: grid; place-items: center; padding: 56px 72px 12px; min-height: 0; }
.lightbox__stage img { max-width: 100%; max-height: calc(100vh - 170px); object-fit: contain; border-radius: 8px; }
.lightbox__stage figcaption { font-size: 14px; color: #a5b1cc; margin-top: 10px; }
.lightbox__close { position: absolute; top: 12px; right: 12px; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.1); color: #fff; display: grid; place-items: center; z-index: 2; }
.lightbox__nav { position: absolute; top: 50%; transform: translateY(-50%); width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: #fff; display: grid; place-items: center; z-index: 2; }
.lightbox__nav--prev { left: 14px; } .lightbox__nav--next { right: 14px; }
.lightbox__thumbs { display: flex; gap: 6px; overflow-x: auto; padding: 10px 14px 18px; justify-content: safe center; }
.lightbox__thumbs button { flex: none; width: 76px; height: 56px; padding: 0; border: 2px solid transparent; border-radius: 6px; overflow: hidden; opacity: .55; background: none; }
.lightbox__thumbs button.on { border-color: var(--apricot); opacity: 1; }
.lightbox__thumbs img { width: 100%; height: 100%; object-fit: cover; }

/* ---------- Content pages ---------- */
.page-body { display: grid; grid-template-columns: 1fr; gap: 48px; padding-top: 44px; padding-bottom: 80px; }
.page-body--form { grid-template-columns: 1fr 400px; }
.page-body__main { max-width: 780px; min-width: 0; }
.page-body__side { position: sticky; top: calc(var(--header-h) + 16px); align-self: start; }
.contact-blocks { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 8px; }
.contact-block { display: grid; grid-template-columns: auto 1fr; column-gap: 12px; padding: 18px; border-radius: var(--r-md); background: var(--mist); }
.contact-block .i { grid-row: span 2; width: 24px; height: 24px; color: var(--apricot-dk); align-self: center; }
.contact-block span { font-size: 13px; color: var(--stone); } .contact-block b { font-weight: 600; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 24px; margin-top: 20px; }
.team-card { text-align: center; }
.team-card__photo { aspect-ratio: 1; border-radius: var(--r-lg); overflow: hidden; background: var(--mist); display: grid; place-items: center; color: var(--stone); margin-bottom: 14px; }
.team-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { font-size: 19px; } .team-card p { margin: 4px 0; }
.team-card__links { display: flex; justify-content: center; gap: 6px; margin-top: 10px; }
.team-card__links a { width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); }
.team-card__links a:hover { background: var(--basalt); color: #fff; }

.faq { display: grid; gap: 10px; }
.faq__item { border: 1px solid var(--line); border-radius: var(--r-md); background: var(--paper); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 20px 22px; font-weight: 600; font-size: 17px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary .i { transition: transform .2s; color: var(--apricot-dk); }
.faq__item[open] summary .i { transform: rotate(45deg); }
.faq__answer { padding: 0 22px 22px; color: var(--basalt-3); }

.rates { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; align-items: start; }
.rate { border: 1px solid var(--line); border-radius: var(--r-lg); padding: 30px 26px; background: var(--paper); }
.rate--hl { background: var(--navy); color: #fff; border-color: var(--navy); }
.rate--hl .muted { color: #aebbd8; }
.rate h2 { font-size: 22px; }
.rate__price { font-family: var(--f-display); font-size: 30px; font-weight: 700; margin: 10px 0; letter-spacing: -.02em; }
.rate ul { list-style: none; padding: 0; margin: 20px 0 26px; display: grid; gap: 10px; }
.rate li { display: flex; gap: 8px; } .rate li .i { color: var(--apricot); margin-top: 3px; }

.article { padding: 36px 0 20px; }
.article__cover { margin: 28px auto; } .article__cover img { width: 100%; max-height: 520px; object-fit: cover; border-radius: var(--r-lg); }
.article__body { padding-bottom: 40px; }

.auth { min-height: 60vh; display: grid; place-items: center; padding: 56px var(--gutter); background: var(--mist); }
.auth__card { width: 100%; max-width: 460px; background: var(--paper); border-radius: var(--r-lg); padding: clamp(26px, 5vw, 40px); box-shadow: var(--shadow); }
.auth__card .muted { margin: 8px 0 22px; }
.auth__alt { text-align: center; margin: 20px 0 0; color: var(--stone); }

.account-nav { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 16px; align-items: center; }
.account-nav a, .account-nav .linkish { padding: 8px 16px; border-radius: 999px; font-weight: 600; font-size: 14.5px; }
.account-nav a { background: var(--paper); }
.account-nav a.is-active { background: var(--basalt); color: #fff; }
.account-nav em { font-style: normal; font-size: 12px; background: var(--apricot); color: var(--navy); border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.account { display: grid; gap: 20px; padding-top: 28px; padding-bottom: 72px; }
.table-wrap { overflow-x: auto; }
.table { width: 100%; border-collapse: collapse; font-size: 15px; }
.table th { text-align: left; font-size: 13px; color: var(--stone); font-weight: 600; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.table td { padding: 14px 12px; border-bottom: 1px solid var(--mist-2); vertical-align: top; }
.status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; background: var(--mist); }
.status--new, .status--reviewing { background: var(--apricot-soft); color: var(--apricot-dk); }
.status--approved { background: #dff3e8; color: var(--ok); }
.status--rejected { background: #f8e3df; color: var(--err); }

.empty-state { text-align: center; padding: 64px 24px; border: 1.5px dashed var(--line); border-radius: var(--r-lg); color: var(--stone); }
.empty-state h2 { color: var(--ink); font-size: 22px; margin: 16px 0 8px; }
.empty-state p { max-width: 460px; margin: 0 auto; }
.empty-state__actions { display: flex; gap: 10px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

.pager { display: flex; justify-content: center; gap: 6px; margin-top: 40px; flex-wrap: wrap; }
.pager__btn { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 999px; display: inline-grid; place-items: center; border: 1.5px solid var(--line); font-weight: 600; }
.pager__btn:hover { border-color: var(--basalt); }
.pager__btn.is-current { background: var(--basalt); border-color: var(--basalt); color: #fff; }
.pager__btn.is-disabled { opacity: .4; }
.pager__gap { align-self: center; padding: 0 4px; color: var(--stone); }

.toast { position: fixed; z-index: 300; left: 50%; bottom: 24px; transform: translate(-50%, 20px); display: flex; align-items: center; gap: 10px; max-width: min(560px, calc(100vw - 32px)); padding: 14px 14px 14px 18px; border-radius: var(--r-md); background: var(--navy); color: #fff; box-shadow: var(--shadow-lg); opacity: 0; transition: opacity .25s, transform .25s; }
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }
.toast > .i { color: var(--apricot); }
.toast__close { background: none; border: 0; color: #aebbd8; padding: 4px; margin-left: auto; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #aebbd8; padding: 64px 0 0; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer__about { margin: 18px 0 10px; max-width: 360px; }
.footer__motto { color: var(--apricot); font-weight: 600; }
.footer__title { color: #fff; font-family: var(--f-body); font-size: 15px; font-weight: 700; margin-bottom: 14px; }
.footer__links, .footer__contacts { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.footer__links a:hover, .footer__contacts a:hover { color: #fff; }
.footer__contacts li { display: flex; gap: 10px; align-items: flex-start; } .footer__contacts .i { color: var(--apricot); width: 18px; height: 18px; margin-top: 2px; }
.socials { display: flex; gap: 8px; margin-top: 18px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.08); color: #fff; }
.socials a:hover { background: var(--apricot); color: var(--navy); }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 22px; padding-bottom: 26px; margin-top: 48px; border-top: 1px solid rgba(255,255,255,.1); font-size: 13.5px; }
.footer__bottom a:hover { color: #fff; }

.mobile-bar { display: none; }

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (min-width: 1181px) { .catbar__inner { flex-wrap: wrap; overflow: visible; } }

@media (max-width: 1180px) {
  .mainnav__link { padding: 10px 10px; font-size: 14.5px; }
  .grid-cards { grid-template-columns: repeat(3, 1fr); }
  .grid-cards--listing { grid-template-columns: repeat(2, 1fr); }
  .rail { grid-auto-columns: calc((100% - 2 * 20px) / 3); }
  .rail--reviews { grid-auto-columns: calc((100% - 20px) / 2); }
  .prop__layout { grid-template-columns: 1fr 340px; gap: 32px; }
  .specs { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  :root { --header-h: 104px; }
  .mainnav { display: none; }
  .menu-btn { display: inline-grid; }
  .navbar__inner { height: 64px; }
  .brand__img { height: 28px; }
  .hsearch__row { grid-template-columns: 1fr 1fr; }
  .hsearch__field:nth-child(2) { border-right: 0; }
  .hsearch__field:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .hsearch__field:nth-child(4) { border-right: 0; }
  .hsearch__go { grid-column: span 2; height: 50px; }
  .listing { grid-template-columns: 1fr; }
  .listing__side { position: static; }
  .filters-toggle { display: inline-flex; }
  [data-filters] .filters { position: fixed; z-index: 130; top: 0; right: 0; bottom: 0; width: min(420px, 100vw); max-height: none; border-radius: 0; border: 0; transform: translateX(100%); transition: transform .25s ease; }
  [data-filters].is-open .filters { transform: none; }
  [data-filters].is-open .filters-backdrop { display: block; position: fixed; inset: 0; z-index: 125; background: rgba(11,29,69,.45); }
  .filters__close { display: inline-grid; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .services { grid-template-columns: 1fr; }
  .services__media { aspect-ratio: 16 / 9; }
  .prop__layout { grid-template-columns: 1fr; }
  .prop__side { position: static; }
  .page-body--form { grid-template-columns: 1fr; }
  .page-body__side { position: static; }
  .reviews { grid-template-columns: 1fr; }
  .reviews__summary { flex-direction: row; flex-wrap: wrap; align-items: center; }
  .reviews__summary .btn { width: auto; }
}

@media (max-width: 768px) {
  body { padding-bottom: 68px; }
  .hide-sm { display: none !important; }
  .hide-md { display: none !important; }
  .h3 { font-size: 19px; }
  .topbar__inner { height: 36px; }
  .hero__inner { min-height: auto; padding-top: 56px; padding-bottom: 24px; gap: 26px; }
  .hsearch__row { grid-template-columns: 1fr; }
  .hsearch__field { border-right: 0 !important; border-bottom: 1px solid var(--line); }
  .hsearch__go { grid-column: auto; }
  .grid-cards, .grid-cards--listing, .grid-cards--4 { grid-template-columns: 1fr 1fr; gap: 20px 12px; }
  .rail { grid-auto-columns: 78%; gap: 14px; margin-right: calc(var(--gutter) * -1); padding-right: var(--gutter); }
  .rail--reviews { grid-auto-columns: 86%; }
  .rail-nav .round-btn { display: none; }
  .rail-nav .link-more { margin-left: 0; }
  .banner-slider__track { aspect-ratio: auto; height: 380px; }
  .banner::after { background: linear-gradient(0deg, rgba(11,29,69,.88), rgba(11,29,69,.2)); }
  .banner__copy { top: auto; bottom: 46px; transform: none; right: 24px; }
  .about-pair, .grid-posts { grid-template-columns: 1fr; }
  .about-card { grid-template-rows: 200px 1fr; }
  .cta { grid-template-columns: 1fr; } .cta__media { min-height: 200px; max-height: 220px; }
  .service { flex-direction: column; align-items: flex-start; }
  .gallery, .gallery--n2, .gallery--n3 { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 120px; margin: 0 calc(var(--gutter) * -1); border-radius: 0; }
  .gallery .gallery__cell:first-child { grid-column: span 2; grid-row: auto; }
  .gallery .gallery__cell:nth-child(n+4) { display: none; }
  .gallery--n1 { grid-template-columns: 1fr; grid-template-rows: 280px; }
  .gallery--n1 .gallery__cell:first-child { grid-column: auto; }
  .gallery--n2 { grid-template-rows: 280px; } .gallery--n2 .gallery__cell:first-child { grid-column: auto; }
  .gallery__all { right: calc(var(--gutter)); }
  .gallery__badges { left: var(--gutter); }
  .specs { grid-template-columns: 1fr 1fr; }
  .amenities { grid-template-columns: 1fr 1fr; }
  .prop__price-row { align-items: flex-start; }
  .prop-sticky { display: flex; position: fixed; z-index: 40; left: 12px; right: 12px; bottom: 76px; align-items: center; justify-content: space-between; gap: 10px; padding: 10px 10px 10px 18px; background: var(--paper); border-radius: 999px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
  .prop-sticky b { display: block; font-family: var(--f-display); font-size: 18px; line-height: 1.1; } .prop-sticky small { color: var(--stone); }
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .grid-2.grid-2--tight { grid-template-columns: 1fr 1fr; }
  .contact-blocks { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 28px; }
  .site-footer { padding-top: 44px; }
  .listing__bar { flex-wrap: wrap; }
  .mobile-bar { display: grid; grid-template-columns: repeat(5, 1fr); position: fixed; z-index: 90; left: 0; right: 0; bottom: 0; height: calc(64px + env(safe-area-inset-bottom)); padding-bottom: env(safe-area-inset-bottom); background: var(--paper); border-top: 1px solid var(--line); }
  .mobile-bar a { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; font-size: 11.5px; font-weight: 600; color: var(--stone); }
  .mobile-bar a.is-active { color: var(--basalt); }
  .mobile-bar__main .i { width: 40px; height: 40px; padding: 9px; border-radius: 50%; background: var(--apricot); color: var(--navy); margin-top: -18px; box-shadow: 0 6px 16px -6px rgba(230,115,0,.6); }
  .toast { bottom: 84px; }
}

@media (max-width: 480px) {
  .grid-cards, .grid-cards--listing, .grid-cards--4 { grid-template-columns: 1fr; }
  .pcard__price { font-size: 21px; }
  .submit-bar .btn { width: 100%; }
  .prop__actions .round-btn { width: 40px; height: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Registration: account type, plans, logo ---------- */
.acct-choose { display: grid; grid-template-columns: repeat(2, minmax(0, 420px)); gap: 24px; justify-content: center; }
.acct-card { display: flex; flex-direction: column; gap: 10px; padding: 32px 28px 28px; background: var(--paper); border: 1.5px solid var(--line); border-radius: var(--r-lg); transition: border-color .15s, box-shadow .15s, transform .15s; }
.acct-card:hover, .acct-card:focus-visible { border-color: var(--basalt); box-shadow: var(--shadow); transform: translateY(-2px); }
.acct-card__icon { width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center; background: var(--mist); color: var(--basalt); margin-bottom: 6px; }
.acct-card__icon .i { width: 32px; height: 32px; }
.acct-card h2 { font-size: 26px; }
.acct-card p { color: var(--basalt-3); margin: 0; }
.acct-card ul { list-style: none; padding: 0; margin: 8px 0 18px; display: grid; gap: 8px; flex: 1; }
.acct-card li { display: flex; gap: 8px; align-items: flex-start; font-size: 15px; }
.acct-card li .i { color: var(--ok); margin-top: 3px; }
.req { color: var(--err); font-style: normal; }

.plan-pick { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 12px; }
.plan { position: relative; cursor: pointer; }
.plan input { position: absolute; opacity: 0; }
.plan__box { display: flex; flex-direction: column; gap: 4px; height: 100%; padding: 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); transition: border-color .15s, box-shadow .15s; }
.plan:hover .plan__box { border-color: var(--basalt-3); }
.plan input:checked + .plan__box { border-color: var(--basalt); box-shadow: 0 0 0 3px rgba(10,63,174,.15); }
.plan input:focus-visible + .plan__box { outline: 2px solid var(--apricot); outline-offset: 2px; }
.plan--hl .plan__box::before { content: "Recommended"; align-self: flex-start; font-size: 11.5px; font-weight: 700; color: var(--navy); background: var(--apricot); border-radius: 999px; padding: 2px 9px; margin-bottom: 4px; }
.plan__name { font-weight: 700; font-size: 17px; }
.plan__price { font-family: var(--f-display); font-size: 24px; font-weight: 700; color: var(--basalt); }
.plan__limit { font-size: 14px; color: var(--stone); }
.plan__features { display: grid; gap: 5px; margin-top: 8px; font-size: 14px; }
.plan__features span { display: flex; gap: 6px; } .plan__features .i { color: var(--ok); margin-top: 2px; }

.logo-pick { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px; border: 1.5px dashed var(--line); border-radius: var(--r-md); cursor: pointer; }
.logo-pick:hover { border-color: var(--apricot); }
.logo-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.logo-pick__preview { width: 72px; height: 72px; flex: none; border-radius: var(--r-sm); background: var(--mist); display: grid; place-items: center; color: var(--stone); overflow: hidden; }
.logo-pick__preview img { width: 100%; height: 100%; object-fit: contain; }

.agency-strip { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.agency-strip > div:not(.agency-strip__plan), .agency-strip > div { display: grid; flex: 1; min-width: 180px; }
.agency-strip b { font-size: 18px; }
.agency-strip__logo { width: 64px; height: 64px; border-radius: var(--r-sm); object-fit: contain; background: var(--mist); }
.agency-strip__logo--blank { display: grid; place-items: center; color: var(--stone); }
.agency-strip__plan { display: grid; text-align: right; padding-left: 16px; border-left: 1px solid var(--line); }

.drawer__auth { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }

@media (max-width: 768px) {
  .acct-choose { grid-template-columns: 1fr; }
  .agency-strip__plan { text-align: left; padding-left: 0; border-left: 0; }
}

/* ---------- International phone field ---------- */
.phone-iti, .iti { display: block; width: 100%; position: relative; }
.field .iti input[type=tel], .iti input[type=tel] { width: 100%; padding-right: 44px !important; }
.iti .iti__country-container { padding: 1.5px; }
.iti .iti__selected-country { border-radius: calc(var(--r-sm) - 1px) 0 0 calc(var(--r-sm) - 1px); background: var(--mist); padding: 0 10px 0 12px; }
.iti .iti__selected-country:hover, .iti .iti__selected-country:focus-visible { background: var(--mist-2); }
.iti .iti__selected-dial-code { font-weight: 600; color: var(--ink); margin-left: 6px; }
.iti--separate-dial-code .iti__selected-country, .iti .iti__selected-country-primary { gap: 4px; }
.phone-iti__icon { position: absolute; right: 14px; top: 50%; transform: translateY(-50%); color: var(--stone); pointer-events: none; display: grid; }
.iti__dropdown-content { border-radius: var(--r-md); border: 1px solid var(--line); box-shadow: var(--shadow-lg); overflow: hidden; z-index: 140; }
.iti__search-input { padding-top: 10px !important; padding-bottom: 10px !important; padding-right: 12px !important; border-bottom: 1px solid var(--line) !important; font: inherit; }
.iti__country.iti__highlight { background: var(--mist); }
.iti__dial-code { color: var(--stone); }
.input-group .iti { flex: 1; min-width: 0; }
.input-group .iti input[type=tel] { border-radius: var(--r-sm) 0 0 var(--r-sm); }
.input-group .iti .phone-iti__icon { right: 12px; }
.field.has-error .iti input[type=tel] { border-color: var(--err); }
/* The country search box sits inside .field, so undo the generic field-input styling for it */
.field .iti__search-input, .iti .iti__search-input { padding: 10px 34px 10px 38px !important; min-height: 44px; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
/* keep the country list above following fields and sticky bars */
.iti__country-selector, .iti__dropdown-content { z-index: 140; }

/* Footer logo: allow taller logos (e.g. with a tagline) and a white plate for dark-text logos */
.brand__img--footer { height: 44px; width: auto; max-width: 240px; object-fit: contain; }
.brand--plate { background: #fff; padding: 10px 16px; border-radius: 12px; }

/* ==========================================================================
   Home search (pills + frosted bar with four fields)
   ========================================================================== */
.hs { position: relative; max-width: 1180px; animation: rise .7s .16s cubic-bezier(.2,.7,.2,1) both; }
.hs__deals { display: flex; gap: 10px; margin-bottom: 18px; }
.hs__deal input { position: absolute; opacity: 0; pointer-events: none; }
.hs__deal span { display: inline-flex; align-items: center; height: 56px; padding: 0 20px; border-radius: 16px; font-weight: 700; font-size: 17px; cursor: pointer; color: #fff; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .15s, color .15s; }
.hs__deal span:hover { background: rgba(255,255,255,.24); }
.hs__deal input:checked + span { background: #fff; color: var(--ink); border-color: #fff; box-shadow: 0 6px 20px -8px rgba(0,0,0,.35); }
.hs__deal input:focus-visible + span { outline: 2px solid var(--apricot); outline-offset: 2px; }

.hs__bar { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)) auto; align-items: center; gap: 0; padding: 10px; border-radius: 20px; background: rgba(255,255,255,.86); backdrop-filter: blur(14px) saturate(1.2); -webkit-backdrop-filter: blur(14px) saturate(1.2); box-shadow: 0 20px 50px -24px rgba(0,0,0,.55); color: var(--ink); }
.hs__field { position: relative; min-width: 0; }
.hs__field + .hs__field::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: rgba(20,26,43,.12); }
.hs__trigger { display: flex; flex-direction: column; align-items: flex-start; gap: 4px; width: 100%; min-height: 70px; padding: 10px 20px; border: 0; background: transparent; border-radius: 14px; text-align: left; cursor: pointer; transition: background .15s; }
.hs__trigger:hover, .hs__field.is-open .hs__trigger { background: rgba(255,255,255,.7); }
.hs__trigger:disabled { cursor: not-allowed; }
.hs__label { font-size: 14px; font-weight: 500; color: var(--basalt-2); }
.hs__value { display: inline-block; max-width: 100%; padding: 3px 10px; border-radius: 8px; background: #fff; font-size: 17px; font-weight: 600; color: var(--ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; box-shadow: 0 1px 2px rgba(20,26,43,.08); }
.hs__value--empty { padding: 3px 0; background: none; box-shadow: none; color: #8a93a6; font-weight: 500; }
.hs__trigger:disabled .hs__value { color: #a8afbe; }
.hs__go { display: grid; place-items: center; width: 72px; height: 72px; margin-left: 8px; border: 0; border-radius: 16px; background: var(--navy); color: #fff; cursor: pointer; transition: background .15s, transform .15s; }
.hs__go:hover { background: var(--basalt); }
.hs__go:active { transform: scale(.97); }
.hs__go .i { width: 24px; height: 24px; }
.hs__go-text { display: none; }

/* Panels */
.hs__panel { position: absolute; z-index: 60; top: calc(100% + 12px); left: 0; width: max(100%, 260px); max-height: 360px; overflow-y: auto; padding: 8px; border-radius: 16px; background: #fff; box-shadow: 0 24px 60px -20px rgba(11,29,69,.45), 0 0 0 1px rgba(20,26,43,.06); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.hs__field.is-open .hs__panel { opacity: 1; visibility: visible; transform: none; }
.hs__panel--wide { width: max(100%, 320px); }
.hs__panel--right { left: auto; right: 0; width: 340px; padding: 14px; }
.hs__sheet-head { display: none; }
.hs__opt { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 11px 12px; border: 0; background: none; border-radius: 10px; font: inherit; font-size: 15.5px; text-align: left; color: var(--ink); cursor: pointer; }
.hs__opt:hover, .hs__opt:focus-visible { background: var(--mist); outline: none; }
.hs__opt.is-selected { font-weight: 700; color: var(--basalt); }
.hs__opt.is-selected::after { content: ""; width: 16px; height: 16px; 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='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%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='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.hs__checks { display: grid; gap: 2px; max-height: 260px; overflow-y: auto; }
.hs__checks .check { padding: 9px 10px; border-radius: 10px; }
.hs__checks .check:hover { background: var(--mist); }
.hs__hint { margin: 0; padding: 12px; color: var(--stone); font-size: 14.5px; }
.hs__panel-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 10px 4px 2px; margin-top: 6px; border-top: 1px solid var(--mist-2); }
.hs__link { border: 0; background: none; color: var(--stone); font: inherit; font-weight: 600; cursor: pointer; padding: 6px; }
.hs__link:hover { color: var(--ink); }
.hs__range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hs__range label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--stone); }
.hs__range input { height: 46px; padding: 0 12px; border: 1.5px solid var(--line); border-radius: 10px; font: inherit; font-size: 16px; color: var(--ink); outline: none; width: 100%; }
.hs__range input:focus { border-color: var(--basalt); box-shadow: 0 0 0 3px rgba(255,138,0,.28); }
.hs__presets { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.hs__presets button { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 6px 12px; font: inherit; font-size: 13.5px; font-weight: 600; cursor: pointer; color: var(--basalt-2); }
.hs__presets button:hover, .hs__presets button.is-on { border-color: var(--basalt); color: var(--basalt); }
.hs .field__error { margin: 8px 2px 0; }
.hs__backdrop { display: none; }
.hs__close { width: 38px; height: 38px; border: 0; border-radius: 50%; background: var(--mist); display: grid; place-items: center; cursor: pointer; }

/* Tablet: two fields per row, search button full width */
@media (max-width: 1024px) {
  .hs__bar { grid-template-columns: 1fr 1fr; gap: 4px; }
  .hs__field:nth-child(3)::before { display: none; }
  .hs__go { grid-column: 1 / -1; width: auto; height: 56px; margin: 6px 0 0; display: flex; gap: 8px; justify-content: center; }
  .hs__go-text { display: inline; font-weight: 700; font-size: 16px; }
  .hs__panel--right { right: auto; left: 0; }
}

/* Phone: stacked fields; panels open as bottom sheets */
@media (max-width: 768px) {
  .hs__deals { margin-bottom: 12px; }
  .hs__deal span { height: 46px; padding: 0 18px; font-size: 16px; border-radius: 14px; }
  .hs__bar { grid-template-columns: 1fr; padding: 8px; border-radius: 18px; }
  .hs__field + .hs__field::before { left: 14px; right: 14px; top: 0; bottom: auto; width: auto; height: 1px; }
  .hs__field:nth-child(3)::before { display: block; }
  .hs__trigger { min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 14px; }
  .hs__value { font-size: 16px; max-width: 60%; }
  .hs__go { height: 52px; }
  /* closed panels on phones stay hidden in place; the open one is moved to <body> as a bottom sheet */
  .hs__field.is-open .hs__panel { opacity: 0; visibility: hidden; }

}
/* Bottom sheet (panel moved to <body> while open on phones) */
.hs__panel.is-sheet {
  position: fixed; z-index: 1001; left: 0; right: 0; top: auto; bottom: 0; width: auto; max-height: 78vh;
  padding: 6px 14px calc(16px + env(safe-area-inset-bottom)); border-radius: 20px 20px 0 0;
  opacity: 1; visibility: visible; transform: translateY(100%); transition: transform .22s ease-out;
}
.hs__panel.is-sheet.is-shown { transform: none; }
.hs__panel.is-sheet .hs__sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 2px 8px; position: sticky; top: -6px; background: #fff; z-index: 1; }
.hs__panel.is-sheet .hs__sheet-head b { font-size: 18px; }
.hs__panel.is-sheet .hs__checks { max-height: none; }
.hs__backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(11,29,69,.5); }

/* Multi-select rows (area / district) with the checkbox on the right */
.hs__chips { display: flex; align-items: center; gap: 6px; max-width: 100%; min-width: 0; overflow: hidden; }
.hs__chips .hs__value { flex: 0 1 auto; min-width: 0; }
.hs__more { flex: none; display: inline-grid; place-items: center; min-width: 30px; height: 26px; padding: 0 7px; border-radius: 8px; background: rgba(255,255,255,.75); font-size: 13.5px; font-weight: 700; color: var(--basalt-2); }
.hs__checks--right { gap: 2px; }
.hs__checkrow { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 12px 12px; border-radius: 10px; cursor: pointer; font-size: 15.5px; color: var(--basalt-3); }
.hs__checkrow:hover { background: var(--mist); }
.hs__checkrow.is-checked { color: var(--ink); font-weight: 600; background: var(--mist); }
.hs__checkrow input { appearance: none; -webkit-appearance: none; flex: none; width: 22px; height: 22px; margin: 0; border: 1.5px solid #c3cad8; border-radius: 6px; background: #fff; display: grid; place-items: center; cursor: pointer; transition: background .12s, border-color .12s; }
.hs__checkrow input::after { content: ""; width: 12px; height: 12px; background: #fff; transform: scale(0); transition: transform .12s;
  -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='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%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='3.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/contain no-repeat; }
.hs__checkrow input:checked { background: var(--red); border-color: var(--red); }
.hs__checkrow input:checked::after { transform: scale(1); }
.hs__checkrow input:focus-visible { outline: 2px solid var(--apricot); outline-offset: 2px; }
.hs__group { margin: 8px 12px 2px; font-size: 12.5px; font-weight: 700; color: var(--stone); letter-spacing: .02em; }
.hs__group:first-child { margin-top: 2px; }
.field__count { font-style: normal; font-size: 12px; background: var(--basalt); color: #fff; border-radius: 999px; padding: 1px 7px; margin-left: 4px; }
.checklist--short { max-height: 190px; }
.checklist__group { margin: 8px 0 2px; font-size: 12.5px; font-weight: 700; color: var(--stone); }
.checklist__group:first-child { margin-top: 0; }
@media (max-width: 768px) {
  .hs__chips { justify-content: flex-end; max-width: 64%; }
}

/* ==========================================================================
   Hero — premium pass
   ========================================================================== */
.hero__bg { background-position: center 42%; }
.hero__bg::after {
  background:
    linear-gradient(90deg, rgba(7,16,40,.86) 0%, rgba(7,16,40,.62) 34%, rgba(7,16,40,.22) 64%, rgba(7,16,40,.06) 100%),
    linear-gradient(0deg, rgba(7,16,40,.78) 0%, rgba(7,16,40,0) 42%),
    linear-gradient(180deg, rgba(7,16,40,.5) 0%, rgba(7,16,40,0) 20%);
}
.hero__inner { min-height: clamp(640px, 88vh, 840px); justify-content: flex-end; gap: 30px; padding-top: 96px; padding-bottom: 36px; }
.hero__copy { max-width: 820px; }
.hero__title { font-size: clamp(40px, 5.3vw, 76px); font-weight: 600; letter-spacing: -.038em; line-height: .98; max-width: 14ch; text-shadow: 0 2px 30px rgba(0,0,0,.25); }
.hero__lead { font-size: clamp(17px, 1.45vw, 20px); line-height: 1.55; color: rgba(255,255,255,.84); max-width: 34em; margin-top: 20px; }
.rating-chip { border: 1px solid rgba(255,255,255,.16); }

/* Sale / Rent: one frosted toggle */
.hs__deals { display: inline-flex; gap: 4px; padding: 5px; margin-bottom: 14px; border-radius: 16px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); }
.hs__deal span { height: 44px; padding: 0 22px; border-radius: 12px; font-size: 16px; background: transparent; border: 0; backdrop-filter: none; -webkit-backdrop-filter: none; color: rgba(255,255,255,.88); }
.hs__deal span:hover { background: rgba(255,255,255,.12); color: #fff; }
.hs__deal input:checked + span { background: #fff; color: var(--navy); box-shadow: 0 6px 18px -8px rgba(0,0,0,.45); }

/* The bar */
.hs__bar { padding: 8px; gap: 0; border-radius: 22px; background: rgba(255,255,255,.95); border: 1px solid rgba(255,255,255,.7); box-shadow: 0 30px 70px -28px rgba(0,0,0,.65), 0 2px 6px rgba(7,16,40,.08); backdrop-filter: blur(16px) saturate(1.3); -webkit-backdrop-filter: blur(16px) saturate(1.3); }
.hs__field + .hs__field::before { top: 18px; bottom: 18px; background: var(--line); }
.hs__trigger { min-height: 74px; gap: 6px; padding: 12px 20px; border-radius: 16px; }
.hs__trigger:hover, .hs__field.is-open .hs__trigger { background: var(--mist); }
.hs__label { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; color: var(--stone); }
.hs__label .i { width: 15px; height: 15px; color: var(--basalt); }
.hs__value { padding: 2px 10px; border-radius: 8px; background: var(--mist); font-size: 16.5px; box-shadow: none; }
.hs__trigger:hover .hs__value:not(.hs__value--empty), .hs__field.is-open .hs__value:not(.hs__value--empty) { background: #fff; }
.hs__value--empty { padding: 2px 0; background: none; color: #98a1b3; }
.hs__more { background: var(--mist-2); }
.hs__go { display: inline-flex; align-items: center; gap: 10px; width: auto; height: 64px; padding: 0 28px; margin-left: 6px; border-radius: 16px; background: var(--basalt); box-shadow: 0 12px 26px -12px rgba(10,63,174,.85); font-weight: 700; font-size: 16px; }
.hs__go:hover { background: var(--navy); }
.hs__go .i { width: 20px; height: 20px; }
.hs__go-text { display: inline; }

/* Popular searches */
.hero__quick { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: -12px; animation: rise .7s .24s cubic-bezier(.2,.7,.2,1) both; }
.hero__quick-label { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.7); margin-right: 2px; }
.hero__quick a { display: inline-flex; align-items: center; height: 34px; padding: 0 14px; border-radius: 999px; font-size: 14px; font-weight: 500; color: #fff; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px); transition: background .15s, color .15s; }
.hero__quick a:hover { background: #fff; color: var(--navy); }

/* Tablet */
@media (max-width: 1024px) {
  .hero__inner { min-height: auto; padding-top: 72px; }
  .hs__bar { grid-template-columns: 1fr 1fr; gap: 0; }
  .hs__field:nth-child(3)::before { display: none; }
  .hs__field:nth-child(n+3) { border-top: 1px solid var(--line); }
  .hs__go { grid-column: 1 / -1; justify-content: center; width: auto; height: 56px; margin: 8px 0 0; }
}

/* Phone */
@media (max-width: 768px) {
  .hero__bg { background-position: 68% center; }
  .hero__bg::after { background: linear-gradient(180deg, rgba(7,16,40,.55) 0%, rgba(7,16,40,.45) 35%, rgba(7,16,40,.88) 100%); }
  .hero__inner { padding-top: 40px; padding-bottom: 22px; gap: 22px; }
  .rating-chip { margin-bottom: 16px; font-size: 13px; padding: 6px 12px 6px 9px; }
  .hero__title { font-size: clamp(32px, 9.4vw, 44px); line-height: 1.03; letter-spacing: -.03em; max-width: none; }
  .hero__lead { font-size: 16px; margin-top: 14px; }
  .hs__deals { display: flex; width: 100%; }
  .hs__deal { flex: 1; }
  .hs__deal span { width: 100%; justify-content: center; height: 44px; }
  .hs__bar { grid-template-columns: 1fr; padding: 6px; border-radius: 20px; }
  .hs__field:nth-child(n+2) { border-top: 1px solid var(--line); }
  .hs__field + .hs__field::before { display: none; }
  .hs__trigger { min-height: 0; flex-direction: row; align-items: center; justify-content: space-between; padding: 14px 12px; border-radius: 14px; }
  .hs__label { font-size: 14.5px; color: var(--basalt-2); }
  .hs__value { font-size: 15.5px; }
  .hs__go { height: 54px; margin-top: 6px; border-radius: 14px; }
  /* popular searches: one swipeable row */
  .hero__quick { flex-wrap: nowrap; overflow-x: auto; margin: -6px calc(var(--gutter) * -1) 0; padding: 0 var(--gutter) 4px; scrollbar-width: none; -webkit-mask-image: linear-gradient(90deg, #000 85%, transparent); mask-image: linear-gradient(90deg, #000 85%, transparent); }
  .hero__quick::-webkit-scrollbar { display: none; }
  .hero__quick a { flex: none; height: 32px; font-size: 13.5px; }
  .hero__quick-label { display: none; }
}
@media (max-width: 380px) {
  .hero__title { font-size: 30px; }
}
/* hero fine-tuning */
@media (min-width: 769px) {
  .hero__title { max-width: 17ch; font-size: clamp(40px, 4.9vw, 70px); }
}
.hs__chips .hs__value--empty { flex: none; }
@media (max-width: 768px) {
  .hs__chips { flex: 0 1 auto; margin-left: auto; }
  .hs__chips .hs__value { max-width: none; }
}
/* Phones: a closed panel takes no space (it only appears as a bottom sheet when opened),
   so it can never widen the page */
@media (max-width: 768px) {
  .hs__panel:not(.is-sheet) { display: none; }
}
/* The search form (and its dropdowns) must sit above the "Popular" row that follows it.
   Both create their own layer (entrance animation + blur), so without an explicit order the
   later Popular row covered the first rows of each dropdown. */
.hs { position: relative; z-index: 5; }
.hero__quick { position: relative; z-index: 1; }

/* ---------- Property gallery: 3D tilt on mouse-over ----------
   The photo pivots in perspective toward the cursor inside its frame, with a slight zoom (so edges
   never show), a parallax shift and a soft glare. Mouse/trackpad only; off for reduced motion. */
.gallery__cell { perspective: 900px; isolation: isolate; }
.gallery__cell img {
  transform-origin: center;
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(var(--s, 1));
  transition: transform .55s cubic-bezier(.2,.7,.2,1);
  backface-visibility: hidden;
}
@media (hover: hover) and (pointer: fine) {
  .gallery__cell:hover img { transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)) translate3d(var(--tx, 0px), var(--ty, 0px), 0) scale(var(--s, 1.03)); }
}
.gallery__cell.is-tilting img { transition: transform .12s ease-out; }
.gallery__cell::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: radial-gradient(circle at var(--gx, 50%) var(--gy, 50%), rgba(255,255,255,.32), rgba(255,255,255,0) 48%);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08), inset 0 -40px 60px -40px rgba(7,16,40,.35);
  opacity: var(--go, 0); transition: opacity .35s ease;
}
.gallery__cell .gallery__more { z-index: 2; }
@media (prefers-reduced-motion: reduce) {
  .gallery__cell img, .gallery__cell:hover img { transform: none !important; }
  .gallery__cell::after { display: none; }
}

/* ---------- Country picker (top bar + mobile menu) ---------- */
.flag { width: 20px; height: 14px; flex: none; border-radius: 3px; box-shadow: 0 0 0 1px rgba(0,0,0,.12); display: inline-block; vertical-align: middle; }
.country-btn { gap: 7px; }
.country-btn .flag { width: 18px; height: 12px; }
.country-menu { min-width: 220px; padding: 6px; }
.country-menu__title { margin: 4px 10px 6px; font-size: 12.5px; font-weight: 600; color: var(--stone); }
.country-opt { display: flex !important; align-items: center; gap: 10px; padding: 10px 12px !important; font-weight: 500; }
.country-opt .flag { width: 24px; height: 16px; }
.country-opt.is-active { font-weight: 700; color: var(--basalt) !important; }
.country-opt__tick { margin-left: auto; color: var(--basalt); }
.drawer__country { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; padding: 6px; margin: 6px 0 10px; border-radius: 14px; background: var(--mist); }
.drawer__country a { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 10px 8px; border-radius: 10px; font-weight: 600; font-size: 14.5px; color: var(--basalt-2); text-align: center; }
.drawer__country a.is-active { background: #fff; color: var(--navy); box-shadow: 0 1px 4px rgba(11,29,69,.12); }
@media (max-width: 768px) {
  .country-btn__name { display: none; }
  .country-btn { padding: 4px 8px; }
  .topbar__tools { gap: 10px; }
}
@media (max-width: 380px) {
  .topbar__contacts a { font-size: 12.5px; }
  .topbar__tools { gap: 8px; }
}
@media (max-width: 359px) {
  .topbar__phone { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .topbar__contacts .i { width: 18px; height: 18px; opacity: 1; }
}

/* Hero background video (Admin → Settings → Home page). The image stays underneath as poster/fallback. */
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 42%; opacity: 0; transition: opacity .8s ease; pointer-events: none; }
.hero__video.is-playing { opacity: 1; }
@media (max-width: 768px) { .hero__video { object-position: 68% center; } }
@media (prefers-reduced-motion: reduce) { .hero__video { display: none; } }

/* ==========================================================================
   United States home search (re.partials.us-search) — tabs + location box + filter pills
   ========================================================================== */
.hero--us .hero__inner { justify-content: center; align-items: center; text-align: center; gap: 26px; }
.hero--us .hero__copy { max-width: 900px; display: flex; flex-direction: column; align-items: center; }
.hero--us .hero__title { max-width: 18ch; margin-inline: auto; }
.hero--us .hero__lead { margin-inline: auto; }
.hero--us .hero__quick { justify-content: center; margin-top: -6px; }

.us { position: relative; z-index: 5; width: 100%; max-width: 1080px; display: flex; flex-direction: column; align-items: center; text-align: left; animation: rise .7s .16s cubic-bezier(.2,.7,.2,1) both; }
.us__tabs { position: relative; z-index: 1; max-width: 100%; margin-bottom: 16px; }
.us__tabs-track { display: flex; gap: 4px; padding: 6px; border-radius: 999px; background: #fff; box-shadow: 0 14px 34px -16px rgba(11,29,69,.45); overflow-x: auto; scrollbar-width: none; }
.us__tabs-track::-webkit-scrollbar { display: none; }
.us__tab { flex: none; display: inline-flex; align-items: center; justify-content: center; min-width: 118px; height: 46px; padding: 0 20px; border: 0; border-radius: 999px; background: none; font: inherit; font-size: 16px; font-weight: 500; color: var(--ink); text-decoration: none; cursor: pointer; white-space: nowrap; transition: background .15s, color .15s; }
.us__tab:hover { background: var(--mist); color: var(--ink); }
.us__tab.is-active { background: #e6e9fb; color: var(--navy); font-weight: 700; }
.us__tab:focus-visible { outline: 2px solid var(--basalt); outline-offset: 2px; }

.us__card { width: 100%; padding: 40px 40px 36px; border-radius: 26px; background: #fff; color: var(--ink); box-shadow: 0 30px 70px -30px rgba(0,0,0,.55); }

.us__where { position: relative; display: flex; align-items: center; gap: 10px; min-height: 62px; padding: 7px 7px 7px 20px; border: 1px solid var(--line); border-radius: 999px; background: #fff; box-shadow: 0 6px 16px -10px rgba(11,29,69,.25); cursor: text; transition: border-color .15s, box-shadow .15s; }
.us__where:focus-within { border-color: var(--basalt); box-shadow: 0 0 0 3px rgba(10,63,174,.12); }
.us__where-icon { flex: none; width: 20px; height: 20px; color: var(--basalt-3); }
.us__where-box { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.us__where-input { flex: 1; min-width: 140px; height: 40px; border: 0; outline: none; background: none; font: inherit; font-size: 17px; color: var(--ink); }
.us__where-input::placeholder { color: #7d8597; }
.us__loc { display: inline-flex; align-items: center; gap: 4px; height: 32px; padding: 0 4px 0 12px; border-radius: 999px; background: #e6e9fb; color: var(--navy); font-size: 14.5px; font-weight: 600; white-space: nowrap; }
.us__loc button { display: grid; place-items: center; width: 24px; height: 24px; border: 0; border-radius: 50%; background: none; color: inherit; cursor: pointer; }
.us__loc button:hover { background: rgba(11,29,69,.1); }
.us__go { flex: none; display: inline-flex; align-items: center; gap: 8px; height: 46px; padding: 0 22px; border: 0; border-radius: 999px; background: var(--red); color: #fff; font: inherit; font-size: 16.5px; font-weight: 700; cursor: pointer; transition: background .15s, transform .15s; }
.us__go:hover { background: #c9221d; }
.us__go:active { transform: scale(.97); }
.us__go .i { display: none; width: 20px; height: 20px; }

.us__suggest { position: absolute; z-index: 70; left: 0; right: 0; top: calc(100% + 8px); margin: 0; padding: 8px; list-style: none; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px -20px rgba(11,29,69,.45), 0 0 0 1px rgba(20,26,43,.06); max-height: 360px; overflow-y: auto; }
.us__sug-head { padding: 6px 12px 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--stone); }
.us__sug { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; cursor: pointer; }
.us__sug .i { flex: none; width: 18px; height: 18px; color: var(--stone); }
.us__sug > span { display: flex; flex-direction: column; min-width: 0; }
.us__sug-name { font-size: 15.5px; color: var(--ink); }
.us__sug-name b { font-weight: 700; color: var(--basalt); }
.us__sug small { font-size: 13px; color: var(--stone); }
.us__sug:hover, .us__sug.is-active { background: var(--mist); }
.us__sug-empty { padding: 12px; font-size: 14.5px; color: var(--stone); }

.us__pills { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.us__pill { position: relative; }
.us__pill-btn { display: inline-flex; align-items: center; gap: 10px; height: 48px; max-width: 260px; padding: 0 16px 0 18px; border: 1px solid #cfd6e3; border-radius: 999px; background: #fff; font: inherit; font-size: 16px; color: #3d4659; cursor: pointer; white-space: nowrap; transition: border-color .15s, background .15s, color .15s; }
.us__pill-btn > span { overflow: hidden; text-overflow: ellipsis; }
.us__pill-btn .i { flex: none; transition: transform .15s; }
.us__pill-btn:hover { border-color: var(--navy); }
.us__pill-btn.is-set { border-color: var(--navy); color: var(--navy); font-weight: 600; background: #f5f6fe; }
.us__pill.is-open .us__pill-btn { border-color: var(--basalt); box-shadow: 0 0 0 3px rgba(10,63,174,.12); }
.us__pill.is-open .us__pill-btn .i { transform: rotate(180deg); }

.us__panel { position: absolute; z-index: 60; top: calc(100% + 10px); left: 0; min-width: 240px; max-height: 380px; overflow-y: auto; padding: 8px; border-radius: 18px; background: #fff; box-shadow: 0 24px 60px -20px rgba(11,29,69,.45), 0 0 0 1px rgba(20,26,43,.06); opacity: 0; visibility: hidden; transform: translateY(-6px); transition: opacity .15s, transform .15s, visibility .15s; }
.us__pill.is-open .us__panel { opacity: 1; visibility: visible; transform: none; }
.us__panel.is-flip, .us__panel--right { left: auto; right: 0; }
.us__panel--pad { padding: 16px; width: 400px; }
.us__panel--wide { width: 420px; }
.us__panel--price { width: 360px; }
.us__sheet-head { display: none; }
.us__group { margin: 10px 12px 4px; font-size: 12.5px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--stone); }
.us__opt { display: flex; flex-direction: column; align-items: flex-start; gap: 1px; width: 100%; padding: 10px 12px; border: 0; border-radius: 10px; background: none; font: inherit; font-size: 15.5px; color: var(--ink); text-align: left; cursor: pointer; }
.us__opt small { font-size: 13px; color: var(--stone); font-weight: 400; }
.us__opt:hover, .us__opt:focus-visible { background: var(--mist); outline: none; }
.us__opt.is-selected { font-weight: 700; color: var(--basalt); background: #f0f3ff; }
.us__opt.is-other { color: #8a93a6; }
.us__panel-label { margin: 2px 0 8px; font-size: 14px; font-weight: 700; color: var(--ink); }
.us__panel-label + .us__chips { margin-bottom: 16px; }
.us__chips { display: flex; flex-wrap: wrap; gap: 8px; }
.us__chip input { position: absolute; opacity: 0; pointer-events: none; }
.us__chip span { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 38px; padding: 0 14px; border: 1px solid #cfd6e3; border-radius: 999px; font-size: 14.5px; cursor: pointer; transition: background .12s, border-color .12s, color .12s; }
.us__chip span:hover { border-color: var(--navy); }
.us__chip input:checked + span { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 600; }
.us__chip input:focus-visible + span { outline: 2px solid var(--basalt); outline-offset: 2px; }
.us__range { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.us__range label { display: grid; gap: 4px; font-size: 13px; font-weight: 600; color: var(--stone); }
.us__range input { width: 100%; height: 44px; padding: 0 12px; border: 1px solid #cfd6e3; border-radius: 12px; font: inherit; font-size: 16px; color: var(--ink); }
.us__range input:focus { outline: none; border-color: var(--basalt); box-shadow: 0 0 0 3px rgba(10,63,174,.12); }
.us__price-note { margin: 8px 0 10px; font-size: 13px; color: var(--stone); }
.us__presets { display: flex; flex-wrap: wrap; gap: 6px; }
.us__presets button { height: 34px; padding: 0 12px; border: 1px solid #cfd6e3; border-radius: 999px; background: #fff; font: inherit; font-size: 13.5px; cursor: pointer; }
.us__presets button:hover { border-color: var(--navy); }
.us__presets button.is-selected { background: var(--navy); border-color: var(--navy); color: #fff; }
.us__panel-foot { display: flex; justify-content: space-between; align-items: center; margin-top: 16px; padding-top: 12px; border-top: 1px solid var(--line); }
.us__link { border: 0; background: none; font: inherit; font-weight: 600; color: var(--stone); cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
.us__x { display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: var(--mist); cursor: pointer; }

/* Bottom sheets on phones (panel moved to <body> while open) */
.us__panel.is-sheet { position: fixed; z-index: 1001; left: 0; right: 0; top: auto; bottom: 0; width: auto; min-width: 0; max-height: 80vh; padding: 6px 16px calc(16px + env(safe-area-inset-bottom)); border-radius: 22px 22px 0 0; opacity: 1; visibility: visible; transform: translateY(100%); transition: transform .22s ease-out; }
.us__panel.is-sheet.is-shown { transform: none; }
.us__panel.is-sheet .us__sheet-head { display: flex; justify-content: space-between; align-items: center; padding: 10px 0 8px; position: sticky; top: -6px; background: #fff; z-index: 1; }
.us__panel.is-sheet .us__sheet-head b { font-size: 18px; }
.us__backdrop:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 1000; background: rgba(11,29,69,.5); }

@media (max-width: 1024px) {
  .us__card { padding: 28px 24px 24px; }
}
@media (max-width: 768px) {
  .hero--us .hero__inner { align-items: stretch; text-align: left; }
  .hero--us .hero__copy { align-items: flex-start; }
  .hero--us .hero__title, .hero--us .hero__lead { margin-inline: 0; }
  .hero--us .hero__quick { justify-content: flex-start; }
  .us__tabs { width: 100%; margin-bottom: 10px; }
  .us__tabs-track { border-radius: 16px; padding: 4px; }
  .us__tab { min-width: 0; height: 40px; padding: 0 14px; font-size: 15px; }
  .us__card { padding: 12px; border-radius: 20px; }
  .us__where { min-height: 54px; padding: 5px 5px 5px 14px; }
  .us__where-input { font-size: 16px; min-width: 100px; }
  .us__go { width: 46px; height: 44px; padding: 0; justify-content: center; }
  .us__go span { display: none; }
  .us__go .i { display: block; }
  .us__pills { flex-wrap: nowrap; overflow-x: auto; margin: 12px -12px 0; padding: 0 12px 2px; gap: 8px; scrollbar-width: none; }
  .us__pills::-webkit-scrollbar { display: none; }
  .us__pill-btn { height: 42px; font-size: 15px; padding: 0 12px 0 14px; }
  .us__pill .us__panel:not(.is-sheet) { display: none; }
  .us__suggest { max-height: 50vh; }
}
@media (prefers-reduced-motion: reduce) { .us, .us__panel, .us__panel.is-sheet { animation: none; transition: none; } }

/* ==========================================================================
   User packages — packages page, checkout, payment, My package, Exclusive switches
   ========================================================================== */
.notice--ok { background: #e3f4ea; color: #1f5a3f; }
.notice--info { background: #eaf0fd; color: #24365f; }
.notice--ok, .notice--info { display: flex; gap: 12px; align-items: flex-start; }
.notice--ok > .i, .notice--info > .i { flex: none; margin-top: 2px; }
.notice a { font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.reg-next { margin: 0; }
.reg-next > .i { color: var(--apricot-dk); }
.status--active { background: #dff3e8; color: var(--ok); }
.status--pending { background: var(--apricot-soft); color: var(--apricot-dk); }
.status--expired { background: var(--mist-2); color: var(--stone); }
.status--cancelled { background: var(--mist-2); color: var(--stone); }

.pk-head { padding-bottom: 40px; }
.pk-eyebrow { display: inline-block; margin-bottom: 10px; padding: 4px 12px; border-radius: 999px; background: #fff; color: var(--basalt); font-size: 13px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; }
.pk { padding-top: 28px; padding-bottom: 80px; }
.pk-welcome { margin: 0 0 22px; }
.pk-bar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.pk-bar .seg__btn { text-decoration: none; gap: 8px; }
.pk-save { padding: 2px 8px; border-radius: 999px; background: #dff3e8; color: var(--ok); font-size: 12px; font-weight: 700; }
.pk-you { margin: 14px 0 0; }
.pk-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 20px; margin-top: 26px; align-items: stretch; }
.pk-card { position: relative; display: flex; flex-direction: column; gap: 18px; padding: 28px 24px 24px; border: 1px solid var(--line); border-radius: var(--r-lg); background: var(--paper); transition: box-shadow .2s, transform .2s, border-color .2s; }
.pk-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.pk-card--hl { border: 2px solid var(--basalt); padding: 27px 23px 23px; box-shadow: 0 20px 50px -30px rgba(10,63,174,.55); }
.pk-card.is-current { border-color: var(--apricot); }
.pk-card[data-pk-other] { opacity: .78; }
.pk-ribbon { position: absolute; top: -12px; left: 22px; padding: 4px 12px; border-radius: 999px; background: var(--basalt); color: #fff; font-size: 12.5px; font-weight: 700; }
.pk-ribbon--current { background: var(--apricot); color: var(--navy); }
.pk-card__name { font-family: var(--f-display); font-size: 22px; font-weight: 700; letter-spacing: -.01em; margin: 0; }
.pk-card__desc { margin: 6px 0 0; color: var(--stone); font-size: 15px; }
.pk-price { min-height: 92px; }
.pk-price__row { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 6px; }
.pk-price__amount { font-family: var(--f-display); font-size: 40px; font-weight: 700; letter-spacing: -.03em; line-height: 1; color: var(--navy); }
.pk-price__amount--na { color: #b8c0cf; }
.pk-price__per { color: var(--stone); font-weight: 600; }
.pk-price__note { flex-basis: 100%; margin-top: 6px; font-size: 13.5px; color: var(--stone); line-height: 1.45; }
.pk-price__note b { color: var(--ok); }
.pk-stats { list-style: none; margin: 0; padding: 14px 0; display: grid; gap: 10px; border-top: 1px solid var(--mist-2); border-bottom: 1px solid var(--mist-2); }
.pk-stats li { display: flex; align-items: center; gap: 10px; font-size: 15.5px; }
.pk-stats .i { width: 20px; height: 20px; color: var(--basalt); flex: none; }
.pk-stats li:nth-child(2) .i { color: var(--red); }
.pk-stats li.is-off { color: #8a93a6; } .pk-stats li.is-off .i { color: #b8c0cf; }
.pk-features { list-style: none; margin: 0; padding: 0; display: grid; align-content: start; gap: 8px; font-size: 14.5px; color: var(--basalt-2); flex: 1; }
.pk-features li { display: flex; gap: 8px; align-items: flex-start; }
.pk-features .i { color: var(--ok); margin-top: 3px; flex: none; }
.pk-cta { margin-top: auto; display: grid; gap: 8px; }
.pk-cta__note { margin: 0; font-size: 13px; color: var(--stone); text-align: center; }
.pk-empty { margin-top: 24px; }
.pk-how { margin-top: 56px; padding: clamp(22px, 3vw, 34px); border-radius: var(--r-lg); background: var(--mist); }
.pk-steps { list-style: none; margin: 18px 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.pk-steps li { display: flex; gap: 14px; align-items: flex-start; }
.pk-steps li > span { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 50%; background: var(--basalt); color: #fff; font-weight: 700; }
.pk-steps p { margin: 4px 0 0; color: var(--stone); font-size: 14.5px; }

.co { padding-top: 24px; padding-bottom: 80px; }
.co > .notice { margin: 0 0 18px; }
.co-grid { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 24px; align-items: start; }
.co-main { display: grid; gap: 20px; }
.co-side { position: sticky; top: 96px; }
.co-options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.co-options--stack { grid-template-columns: 1fr; }
.co-opt { position: relative; cursor: pointer; }
.co-opt input { position: absolute; opacity: 0; pointer-events: none; }
.co-opt__box { display: grid; gap: 4px; height: 100%; padding: 16px 18px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper); transition: border-color .15s, box-shadow .15s; }
.co-opt__box--row { grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.co-opt:hover .co-opt__box { border-color: var(--basalt-3); }
.co-opt input:checked + .co-opt__box { border-color: var(--basalt); box-shadow: 0 0 0 3px rgba(10,63,174,.12); }
.co-opt input:focus-visible + .co-opt__box { outline: 2px solid var(--apricot); outline-offset: 2px; }
.co-opt.is-disabled { cursor: not-allowed; }
.co-opt.is-disabled .co-opt__box { background: #f7f8fb; color: #8a93a6; }
.co-opt__price { font-size: 22px; font-weight: 700; color: var(--navy); }
.co-opt__price small { font-size: 14px; color: var(--stone); font-weight: 500; }
.co-opt.is-disabled .co-opt__price { color: #8a93a6; }
.co-opt__tag { justify-self: start; padding: 2px 8px; border-radius: 999px; background: #dff3e8; color: var(--ok); font-size: 12px; font-weight: 700; }
.co-opt__icon { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 12px; background: var(--mist); color: var(--basalt); }
.co-test { display: inline-block; margin-top: 6px; padding: 2px 8px; border-radius: 6px; background: var(--apricot-soft); color: var(--apricot-dk); font-size: 12.5px; font-weight: 600; }
.co-summary { gap: 14px; }
.co-summary .h3 { margin: 0; }
.co-total { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; margin: 4px 0 0; padding-top: 14px; border-top: 1px solid var(--mist-2); }
.co-total dt { color: var(--stone); font-size: 14.5px; }
.co-total dd { margin: 0; text-align: right; }
.co-total dd b { font-size: 22px; color: var(--navy); }
.co-note { margin: 0; padding: 10px 12px; border-radius: 10px; background: var(--apricot-soft); font-size: 14px; line-height: 1.5; }
.btn.is-loading { opacity: .7; pointer-events: none; }

.pay-ref { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.pay-ref > div { display: grid; gap: 4px; padding: 14px 16px; border-radius: var(--r-md); background: var(--mist); }
.pay-ref b { font-size: 22px; color: var(--navy); }
.pay-ref__code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; letter-spacing: .04em; }
.pay-ref .linkish { justify-self: start; color: var(--basalt); }
.pay-bank { padding: 16px 18px; border: 1px dashed var(--line); border-radius: var(--r-md); font-size: 15.5px; line-height: 1.7; white-space: normal; }

.mp { gap: 22px; }
.mp-head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; flex-wrap: wrap; }
.mp-name { font-family: var(--f-display); font-size: 28px; font-weight: 700; letter-spacing: -.02em; margin: 2px 0 6px; }
.mp-meta { margin: 0; color: var(--basalt-2); font-size: 15px; }
.mp-soon { margin-left: 6px; padding: 2px 8px; border-radius: 999px; background: var(--red-soft); color: var(--red); font-size: 12.5px; font-weight: 700; }
.mp-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.mp-usage { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.mp-meter { padding: 16px 18px; border-radius: var(--r-md); background: var(--mist); display: grid; gap: 10px; }
.mp-meter__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.mp-meter__top span { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; }
.mp-meter__top .i { color: var(--basalt); }
.mp-meter:nth-child(2) .mp-meter__top .i { color: var(--red); }
.mp-meter__top b { font-size: 20px; } .mp-meter__top small { font-size: 14px; color: var(--stone); font-weight: 500; }
.mp-meter p { margin: 0; }
.mp-meter.is-off { opacity: .8; }
.mp-bar { height: 8px; border-radius: 999px; background: #dbe2ef; overflow: hidden; }
.mp-bar span { display: block; height: 100%; border-radius: inherit; background: var(--basalt); }
.mp-bar--ex span { background: var(--red); }

.ex-summary { display: flex; align-items: center; gap: 6px; margin: -4px 0 0; color: var(--basalt-2); }
.ex-summary .i { color: var(--red); }
.ex-toggle { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0; }
.ex-toggle__up { display: block; margin-top: 4px; }
.ex-pick { gap: 10px; border-color: #f3c9c6; background: linear-gradient(180deg, #fff, #fff8f7); }
.ex-pick.is-locked { border-color: var(--line); background: #fafbfd; }
.ex-pick__row { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.ex-pick__row input { width: 20px; height: 20px; margin-top: 3px; accent-color: var(--red); flex: none; }
.ex-pick.is-locked .ex-pick__row { cursor: not-allowed; }
.ex-pick.is-locked .ex-pick__text b { color: #6b7488; }
.ex-pick__text { display: grid; gap: 4px; }
.ex-pick__text b { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 16px; }
.ex-pick__status { margin: 0 0 0 32px; color: var(--basalt-2); }
.ex-pick__status.is-warn { padding: 8px 12px; border-radius: 10px; background: var(--apricot-soft); color: #6b4300; }
a.agency-strip__plan { text-decoration: none; color: inherit; }

@media (max-width: 960px) {
  .co-grid { grid-template-columns: 1fr; }
  .co-side { position: static; }
  .pk-steps { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  .pk-bar { flex-direction: column; align-items: stretch; }
  .pk-bar .seg { display: flex; } .pk-bar .seg__btn { flex: 1; padding: 8px 10px; white-space: nowrap; }
  .pk-save__long { display: none; }
  .co-options { grid-template-columns: 1fr; }
  .pay-ref, .mp-usage { grid-template-columns: 1fr; }
  .mp-actions { width: 100%; } .mp-actions .btn { flex: 1; }
  .table--stack thead { display: none; }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack td { display: block; width: 100%; }
  .table--stack tr { padding: 12px 0; border-bottom: 1px solid var(--mist-2); }
  .table--stack td { border: 0; padding: 3px 0; display: flex; justify-content: space-between; gap: 12px; text-align: right; }
  .table--stack td::before { content: attr(data-label); color: var(--stone); font-size: 13px; text-align: left; }
  .ex-pick__status { margin-left: 0; }
}

/* Registration: package step */
.reg-pk { gap: 14px; }
.reg-pk__head { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.reg-pk__head .form-card__title { margin: 0; }
.reg-pk__head .seg__opt span { gap: 6px; white-space: nowrap; }
.reg-pk__head .pk-save { font-style: normal; }
.reg-pk__intro { margin: 0; }
.reg-pk__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px; }
.reg-pk__card { position: relative; cursor: pointer; display: block; }
.reg-pk__card input { position: absolute; opacity: 0; pointer-events: none; }
.reg-pk__box { position: relative; display: flex; flex-direction: column; gap: 10px; height: 100%; padding: 18px 16px 16px; border: 1.5px solid var(--line); border-radius: var(--r-md); background: var(--paper); transition: border-color .15s, box-shadow .15s, background .15s; }
.reg-pk__card:hover .reg-pk__box { border-color: var(--basalt-3); }
.reg-pk__card input:checked + .reg-pk__box { border-color: var(--basalt); box-shadow: 0 0 0 3px rgba(10,63,174,.14); background: #f8faff; }
.reg-pk__card input:focus-visible + .reg-pk__box { outline: 2px solid var(--apricot); outline-offset: 2px; }
.reg-pk__card.is-hl .reg-pk__box { padding-top: 26px; }
.reg-pk__tag { position: absolute; top: -10px; left: 14px; padding: 2px 10px; border-radius: 999px; background: var(--basalt); color: #fff; font-size: 11.5px; font-weight: 700; }
.reg-pk__radio { position: absolute; top: 16px; right: 14px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid #b9c3d6; background: #fff; }
.reg-pk__card.is-hl .reg-pk__radio { top: 24px; }
.reg-pk__card input:checked + .reg-pk__box .reg-pk__radio { border-color: var(--basalt); box-shadow: inset 0 0 0 4px #fff; background: var(--basalt); }
.reg-pk__name { font-weight: 700; font-size: 17px; padding-right: 26px; }
.reg-pk__price { min-height: 30px; display: flex; align-items: baseline; }
.reg-pk__price b { font-family: var(--f-display); font-size: 26px; color: var(--navy); letter-spacing: -.02em; }
.reg-pk__price small { margin-left: 4px; color: var(--stone); font-weight: 600; font-size: 13.5px; }
.reg-pk__price .reg-pk__na { margin: 0; font-weight: 500; }
.reg-pk__stats { display: grid; gap: 6px; padding: 10px 0; border-top: 1px solid var(--mist-2); border-bottom: 1px solid var(--mist-2); font-size: 14px; font-weight: 600; }
.reg-pk__stats > span { display: flex; align-items: center; gap: 8px; }
.reg-pk__stats .i { color: var(--basalt); }
.reg-pk__stats > span:nth-child(2) .i { color: var(--red); }
.reg-pk__stats > span.is-off { color: #8a93a6; font-weight: 500; } .reg-pk__stats > span.is-off .i { color: #b8c0cf; }
.reg-pk__features { display: grid; gap: 5px; font-size: 13.5px; color: var(--basalt-2); }
.reg-pk__features > span { display: flex; gap: 6px; align-items: flex-start; }
.reg-pk__features .i { color: var(--ok); margin-top: 2px; flex: none; }
.reg-pk__note { margin: 0; padding: 10px 14px; border-radius: 10px; background: #eaf0fd; color: #24365f; font-size: 14.5px; }
@media (max-width: 640px) {
  .reg-pk__head .seg { display: flex; width: 100%; }
  .reg-pk__grid { grid-template-columns: 1fr; }
  .reg-pk__features { display: none; }
  .reg-pk__stats { border-bottom: 0; padding-bottom: 0; }
}

/* Card payments on the site (Stripe Elements) */
.co-card { display: grid; gap: 14px; margin-top: 4px; padding: 18px; border-radius: var(--r-md); background: #f8faff; border: 1px solid #dbe4fb; }
.co-card__label { margin: 0; font-weight: 700; font-size: 14px; }
.co-cards { display: grid; gap: 8px; }
.co-saved { position: relative; cursor: pointer; }
.co-saved input { position: absolute; opacity: 0; pointer-events: none; }
.co-saved__box { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.co-saved input:checked + .co-saved__box { border-color: var(--basalt); box-shadow: 0 0 0 3px rgba(10,63,174,.12); }
.co-saved input:focus-visible + .co-saved__box { outline: 2px solid var(--apricot); outline-offset: 2px; }
.co-saved.is-expired { cursor: not-allowed; opacity: .6; }
.co-saved__plus { display: grid; place-items: center; width: 44px; height: 30px; border-radius: 6px; border: 1.5px dashed var(--basalt-3); color: var(--basalt); font-weight: 700; font-size: 18px; }
.co-newcard { display: grid; gap: 12px; }
.co-newcard .field { margin: 0; }
.stripe-field { min-height: 48px; padding: 14px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .15s, box-shadow .15s; }
.stripe-field.StripeElement--focus { border-color: var(--basalt); box-shadow: 0 0 0 3px rgba(10,63,174,.12); }
.stripe-field.StripeElement--invalid { border-color: var(--err); }
.co-secure { display: flex; align-items: center; gap: 6px; margin: 0; font-size: 13px; color: var(--stone); }
.cbrand { flex: none; display: inline-grid; place-items: center; width: 44px; height: 30px; border-radius: 6px; background: #1a1f71; color: #fff; font-size: 11px; font-weight: 800; letter-spacing: .03em; font-family: system-ui, sans-serif; }
.cbrand--mastercard { background: #eb001b; background: linear-gradient(90deg, #eb001b 0 50%, #f79e1b 50%); }
.cbrand--amex { background: #2e77bc; }
.cbrand--discover { background: #e65c00; }
.cbrand--card, .cbrand--jcb, .cbrand--unionpay, .cbrand--diners { background: var(--basalt-2); }
.cardlist { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.cardlist__item { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; padding: 14px 16px; border: 1px solid var(--line); border-radius: var(--r-md); }
.cardlist__item.is-expired { opacity: .65; }
.cardlist__info { display: grid; flex: 1; min-width: 160px; }
.cardlist__actions { display: flex; gap: 14px; align-items: center; }
.cardlist__actions form { margin: 0; }
.cardlist__remove { color: var(--err); }
.addcard { gap: 14px; }
.verified-badge { display: inline-flex; align-items: center; gap: 4px; vertical-align: middle; margin-left: 8px; padding: 4px 10px; border-radius: 999px; background: #dff3e8; color: var(--ok); font-family: var(--f-body, inherit); font-size: 14px; font-weight: 700; letter-spacing: 0; }

/* disabled buttons (e.g. card form that could not load) */
.btn:disabled,.btn[disabled]{opacity:.5;cursor:not-allowed;box-shadow:none;transform:none}

/* ---------- Approve the account verification fee ---------- */
.vpay > * { max-width: 760px; }
.vpay__notice { display: flex; gap: 10px; align-items: flex-start; background: #fff6d9; border: 1px solid #f6e3a6; border-left: 5px solid var(--apricot); border-radius: 10px; padding: 14px 18px; margin-bottom: 18px; color: #5a4300; line-height: 1.55; }
.vpay__notice svg { flex: none; width: 20px; height: 20px; margin-top: 2px; } .vpay__notice p { margin: 0; }
.vpay__sum { display: grid; grid-template-columns: 1fr 1.4fr; gap: 16px; padding-bottom: 18px; margin-bottom: 18px; border-bottom: 1px solid var(--mist-2); }
.vpay__sum > div, .vpay__pay { display: grid; gap: 3px; align-content: start; }
.vpay__amount { font-size: 30px; line-height: 1.15; color: var(--navy); }
.vpay__pay { gap: 10px; margin-bottom: 14px; }
.vpay__saved { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border: 1px solid var(--mist-2); border-radius: 12px; background: var(--mist); }
.vpay__agree { margin: 6px 0 12px; align-items: flex-start; }
.vpay__btn { width: 100%; }
.vpay__note { margin-top: 10px; }
.vpay__done { text-align: center; display: grid; justify-items: center; gap: 8px; }
@media (max-width: 640px) { .vpay__sum { grid-template-columns: 1fr; } }

/* ---------- Agency registration per country, profile, documents ---------- */
.reg-country { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin: 0 0 14px; font-size: 14.5px; }
.reg-country .flag { width: 22px; height: 15px; border-radius: 2px; }
.form-card__opt { margin-left: 4px; font-size: 12px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: var(--stone); background: var(--mist); border-radius: 999px; padding: 3px 9px; }
.reg-optional { margin: -6px 0 14px; }
.reg-later { display: flex; align-items: center; gap: 8px; margin: 6px 0 0; padding: 12px 14px; background: var(--mist); border-radius: var(--r-md); }
.reg-later .i { flex: none; color: var(--basalt); }
.role-pick { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.role-pick__opt { position: relative; cursor: pointer; }
.role-pick__opt input { position: absolute; opacity: 0; pointer-events: none; }
.role-pick__opt span { display: grid; place-items: center; min-height: 48px; padding: 8px 12px; text-align: center; border: 1.5px solid var(--line); border-radius: var(--r-md); font-weight: 600; font-size: 14.5px; background: var(--paper); transition: border-color .15s, background .15s; }
.role-pick__opt:hover span { border-color: var(--basalt-3); }
.role-pick__opt input:checked + span { border-color: var(--basalt); background: #f0f4fd; color: var(--basalt); box-shadow: 0 0 0 3px rgba(10,63,174,.12); }
.role-pick__opt input:focus-visible + span { outline: 2px solid var(--apricot); outline-offset: 2px; }
.socials-in { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 14px; }
.socials-in__box { position: relative; }
.socials-in__box .i { position: absolute; left: 13px; top: 50%; transform: translateY(-50%); width: 19px; height: 19px; pointer-events: none; }
.field .socials-in__box input:not([type=checkbox]):not([type=radio]):not([type=file]) { padding-left: 42px; width: 100%; }
.socials-in__box--whatsapp .i { color: #1fa855; } .socials-in__box--telegram .i { color: #229ed9; } .socials-in__box--signal .i { color: #3a76f0; }
.socials-in__box--facebook .i { color: #1877f2; } .socials-in__box--instagram .i { color: #d6249f; } .socials-in__box--linkedin .i { color: #0a66c2; }
.docs-pick { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px; border: 1.5px dashed var(--line); border-radius: var(--r-md); cursor: pointer; background: var(--paper); }
.docs-pick:hover { border-color: var(--apricot); }
.docs-pick input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.docs-pick__ic { width: 52px; height: 52px; flex: none; display: grid; place-items: center; border-radius: var(--r-sm); background: var(--mist); color: var(--basalt-3); }
.docs-pick__list { list-style: none; margin: 8px 0 0; padding: 0; display: grid; gap: 4px; font-size: 13.5px; }
.docs-pick__list li { padding: 6px 10px; background: var(--mist); border-radius: 8px; overflow-wrap: anywhere; }
.docs-pick__list li.is-bad { background: var(--red-soft); color: var(--red); }
.acc-sub { display: flex; align-items: center; gap: 8px; font-size: 16px; margin: 22px 0 12px; padding-top: 16px; border-top: 1px solid var(--mist-2); }
.field--short { max-width: 260px; }
.logo-pick--round .logo-pick__preview { border-radius: 50%; }
.logo-pick--round .logo-pick__preview img { object-fit: cover; }
.chips-in { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-in { position: relative; cursor: pointer; }
.chip-in input { position: absolute; opacity: 0; pointer-events: none; }
.chip-in span { display: inline-block; padding: 7px 13px; border: 1.5px solid var(--line); border-radius: 999px; font-size: 13.5px; font-weight: 600; background: var(--paper); }
.chip-in input:checked + span { border-color: var(--basalt); background: #f0f4fd; color: var(--basalt); }
.chip-in input:focus-visible + span { outline: 2px solid var(--apricot); outline-offset: 2px; }
.field .chips-in__other { margin-top: 8px; }
.notice--row { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.notice--row form { margin: 0; } .notice--row .linkish { font-weight: 700; }
.doclist { list-style: none; margin: 12px 0 16px; padding: 0; display: grid; gap: 8px; }
.doclist__item { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border: 1px solid var(--mist-2); border-radius: var(--r-md); flex-wrap: wrap; }
.doclist__ic { flex: none; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 8px; background: var(--mist); font-size: 11px; font-weight: 800; color: var(--basalt-3); }
.doclist__name { font-weight: 600; overflow-wrap: anywhere; flex: 1 1 200px; }
.doclist__item form { margin: 0 0 0 auto; } .doclist__rm { color: var(--red); }
@media (max-width: 640px) {
  .role-pick { grid-template-columns: 1fr; }
  .socials-in { grid-template-columns: 1fr; }
  .field--short { max-width: none; }
}
@media (min-width: 641px) and (max-width: 900px) { .socials-in { grid-template-columns: 1fr 1fr; } }
.vproblem p { margin: 0 0 10px; }
.vproblem__btns { display: flex; gap: 10px; flex-wrap: wrap; margin: 16px 0 10px; } .vproblem__btns form { margin: 0; }
.vpay__decline { margin: 12px 0 0; text-align: center; }

/* ---------- Payment approval page (from the email) ---------- */
.vap { background: #f5f7fb; padding: 40px 16px 56px; }
.vap__card { max-width: 500px; margin: 0 auto; background: #fff; border-radius: 16px; padding: 32px 30px 26px; box-shadow: 0 6px 30px rgba(20,26,43,.06); }
.vap__brand { margin: 0 0 22px; text-align: center; font-size: 24px; font-weight: 800; color: #4f6bed; letter-spacing: -.2px; }
.vap__title { margin: 0 0 12px; font-size: 21px; line-height: 1.3; }
.vap__title--c { text-align: center; }
.vap__text { margin: 0 0 14px; color: #4a5163; line-height: 1.65; } .vap__text b { color: var(--navy, #141a2b); }
.vap__text--c { text-align: center; }
.vap__notice { margin: 0 0 14px; }
.vap__amount { display: grid; justify-items: center; gap: 6px; text-align: center; background: #f5f7fb; border-radius: 12px; padding: 20px 16px 18px; margin: 18px 0; }
.vap__label { font-size: 11.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #6b7280; }
.vap__sum { font-size: 32px; line-height: 1.15; font-weight: 800; color: #1f2433; }
.vap__desc { font-size: 14px; color: #6b7280; }
.vap__cardrow { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border: 1px solid #e4e8f1; border-radius: 12px; margin-bottom: 14px; }
.vap__err { margin: 0 0 10px; }
.vap__approve { display: block; width: 100%; border: 0; border-radius: 10px; background: #4f6bed; color: #fff; font: inherit; font-size: 16.5px; font-weight: 700; padding: 15px 18px; cursor: pointer; transition: background .15s; }
.vap__approve:hover { background: #3f59d6; } .vap__approve:disabled { opacity: .6; cursor: not-allowed; }
.vap__approve.is-loading { opacity: .8; cursor: progress; }
.vap__declineform { margin: 10px 0 0; }
.vap__decline { display: block; width: 100%; border: 1.5px solid #e4e8f1; border-radius: 10px; background: #fff; color: #4a5163; font: inherit; font-size: 15px; font-weight: 600; padding: 12px 18px; cursor: pointer; }
.vap__decline:hover { border-color: #c9483a; color: #c9483a; }
.vap__small { margin: 16px 0 0; text-align: center; font-size: 12.5px; line-height: 1.65; color: #8b92a3; }
.vap__btns { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 18px; }
.vap__state { width: 64px; height: 64px; margin: 0 auto 16px; border-radius: 50%; display: grid; place-items: center; font-size: 28px; font-weight: 800; }
.vap__state svg { width: 34px; height: 34px; }
.vap__state--ok { background: #e3f6ec; color: #1f9d55; }
.vap__state--off { background: #fdecea; color: #c9483a; }
.vap__receipt { margin: 0; display: grid; gap: 8px; }
.vap__receipt div { display: flex; justify-content: space-between; gap: 12px; padding: 8px 0; border-bottom: 1px solid #eef1f6; font-size: 14.5px; }
.vap__receipt dt { color: #6b7280; } .vap__receipt dd { margin: 0; font-weight: 600; text-align: right; display: inline-flex; align-items: center; gap: 8px; }
@media (max-width: 520px) { .vap { padding: 20px 10px 40px; } .vap__card { padding: 24px 18px 20px; } .vap__sum { font-size: 27px; } }

/* ---------- My account: payments, verification, notes ---------- */
.account-nav em { font-style: normal; }
.account-nav__ok { color: #1f9d55; margin-left: 2px; }
.ptx { display: grid; }
.ptx__row { display: grid; grid-template-columns: minmax(0, 1fr) auto auto auto; gap: 16px; align-items: center; padding: 14px 0; border-bottom: 1px solid var(--mist-2); }
.ptx__row:last-child { border-bottom: 0; }
.ptx__main { display: grid; gap: 2px; min-width: 0; } .ptx__main b { overflow-wrap: anywhere; }
.ptx__method { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.ptx__amount { display: grid; text-align: right; white-space: nowrap; }
.ptx__st { justify-self: end; font-size: 12.5px; font-weight: 700; padding: 4px 10px; border-radius: 999px; background: var(--mist); color: var(--basalt-3); white-space: nowrap; }
.ptx__st--ok { background: #e3f6ec; color: #1f7a45; } .ptx__st--wait { background: #fff1e0; color: #a35a00; }
.ptx__st--bad { background: #fdecea; color: #b4412f; } .ptx__st--ref { background: #eef2f9; color: #45526f; }
.ptx__note { margin: 16px 0 0; }
.vstat { display: flex; gap: 18px; align-items: flex-start; }
.vstat .h3 { margin: 2px 0 6px; } .vstat p { margin: 0 0 14px; }
.vstat__ic { flex: none; width: 52px; height: 52px; border-radius: 50%; display: grid; place-items: center; background: var(--mist); color: var(--basalt-3); font-weight: 800; font-size: 22px; }
.vstat__ic--ok { background: #e3f6ec; color: #1f9d55; } .vstat__ic--ok .i { width: 26px; height: 26px; }
.vstat__ic--wait { background: #fff1e0; color: #e67300; }
.unotes-f { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 12px; }
.unotes-f__item { padding: 14px 16px; border: 1px solid var(--mist-2); border-radius: var(--r-md); }
.unotes-f__item.is-new { border-color: #ffd79a; background: #fffaf2; }
.unotes-f__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.unotes-f__new { font-size: 11.5px; font-weight: 800; color: #fff; background: var(--apricot); border-radius: 999px; padding: 2px 8px; }
.unotes-f__text { margin: 0; white-space: pre-line; line-height: 1.6; }
@media (max-width: 640px) {
  .ptx__row { grid-template-columns: minmax(0, 1fr) auto; gap: 6px 12px; }
  .ptx__method { grid-column: 1; } .ptx__amount { grid-row: 1; grid-column: 2; } .ptx__st { grid-column: 2; }
  .vstat { flex-direction: column; gap: 10px; }
}
/* "Get verified" next to the greeting */
.acc-hello { display: flex; align-items: center; gap: 12px 18px; flex-wrap: wrap; }
.acc-hello .h1 { margin: 0; }
.acc-hello__btn { display: inline-flex; align-items: center; gap: 6px; }
.vstart > * { max-width: 900px; }
/* Card statement name (registration, checkout) */
.billing-note { display: flex; align-items: center; gap: 8px; margin: 0 0 14px; padding: 10px 14px; background: var(--mist); border-radius: var(--r-md); font-size: 14px; color: var(--basalt-2); }
.billing-note .i { flex: none; color: var(--basalt); }
.co-descriptor { display: block; margin-top: 4px; }

/* Armenia: page language (English | Հայերեն) */
.lang-switch { display: inline-flex; gap: 2px; padding: 2px; border-radius: 999px; background: rgba(255,255,255,.08); }
.lang-switch a { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; color: #c9d4ee; text-decoration: none; line-height: 1.5; }
.lang-switch a:hover { color: #fff; }
.lang-switch a.is-active { background: #fff; color: var(--navy); }
.drawer__lang { margin-top: -4px; }
