/* ==========================================================================
   ESTATIC — Real Estate & Property Marketplace
   Hand-written, mobile-first, fully logical-property (LTR / RTL from one file).
   Palette: jade #00B39A · amber #FFC53D · petrol ink #0A1F2B · sand #F6F4EF
   Type:    Sora + Manrope (latin) · IBM Plex Sans Arabic (ar) · Noto Sans SC (zh)
   ========================================================================== */

/* --------------------------------------------------------------- 1. tokens */
:root {
    --brand: #00b39a;
    --brand-600: #00967f;
    --brand-700: #04796a;
    --brand-100: #c9efe8;
    --brand-050: #e9f8f5;

    --gold: #ffc53d;
    --gold-600: #e5a913;
    --gold-050: #fff6e0;

    --ink: #0a1f2b;
    --ink-800: #10303f;
    --ink-600: #2c4c5c;
    --muted: #647f8d;
    --muted-2: #8ba2ad;

    --sand: #f6f4ef;
    --sand-2: #efece4;
    --paper: #ffffff;
    --line: #e5e2d9;
    --line-2: #d8d4c9;

    --ok: #1f9d55;
    --warn: #d97706;

    --r-xs: 8px;
    --r-s: 12px;
    --r-m: 18px;
    --r-l: 26px;
    --r-xl: 36px;
    --r-pill: 999px;

    --sh-1: 0 1px 2px rgba(10, 31, 43, .05), 0 6px 18px -10px rgba(10, 31, 43, .18);
    --sh-2: 0 2px 6px rgba(10, 31, 43, .06), 0 18px 40px -20px rgba(10, 31, 43, .28);
    --sh-3: 0 30px 70px -32px rgba(10, 31, 43, .45);

    --f-head: "Sora", "Segoe UI", system-ui, sans-serif;
    --f-body: "Manrope", "Segoe UI", system-ui, sans-serif;

    --shell: 1240px;
    --gap: 22px;
    --head-h: 74px;

    --ease: cubic-bezier(.22, .61, .36, 1);
}

html[lang="ar"] {
    --f-head: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
    --f-body: "IBM Plex Sans Arabic", "Segoe UI", Tahoma, sans-serif;
}

html[lang="zh"] {
    --f-head: "Noto Sans SC", "Microsoft YaHei", sans-serif;
    --f-body: "Noto Sans SC", "Microsoft YaHei", sans-serif;
}

/* ----------------------------------------------------------- 2. foundation */
*,
*::before,
*::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--head-h) + 16px);
}

body {
    margin: 0;
    background: var(--sand);
    color: var(--ink);
    font-family: var(--f-body);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

img,
svg,
video {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
select,
textarea {
    font: inherit;
    color: inherit;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

h1,
h2,
h3,
h4,
h5 {
    font-family: var(--f-head);
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 .6em;
    letter-spacing: -.015em;
}

html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4,
html[lang="ar"] h5,
html[lang="zh"] h1,
html[lang="zh"] h2,
html[lang="zh"] h3,
html[lang="zh"] h4,
html[lang="zh"] h5 {
    letter-spacing: 0;
    line-height: 1.35;
}

p {
    margin: 0 0 1em;
}

p:last-child {
    margin-bottom: 0;
}

h1 {
    font-size: clamp(2rem, 7vw, 3.75rem);
    font-weight: 800;
}

h2 {
    font-size: clamp(1.55rem, 5vw, 2.6rem);
}

h3 {
    font-size: clamp(1.15rem, 3vw, 1.4rem);
}

h4 {
    font-size: 1.05rem;
}

:focus-visible {
    outline: 3px solid var(--brand);
    outline-offset: 3px;
    border-radius: 4px;
}

::selection {
    background: var(--brand);
    color: #fff;
}

/* logical-flow helpers -------------------------------------------------- */
.shell {
    width: min(100% - 32px, var(--shell));
    margin-inline: auto;
}

.shell-wide {
    width: min(100% - 32px, 1600px);
    margin-inline: auto;
}

.sec {
    padding-block: clamp(52px, 9vw, 96px);
}

.sec-tight {
    padding-block: clamp(36px, 6vw, 62px);
}

.bg-paper {
    background: var(--paper);
}

.bg-sand {
    background: var(--sand);
}

.bg-sand-2 {
    background: var(--sand-2);
}

.bg-ink {
    background: var(--ink);
    color: #eaf2f5;
}

.txt-start {
    text-align: start;
}

.center {
    text-align: center;
}

.mi-auto {
    margin-inline: auto;
}

.hide {
    display: none !important;
}

/* Latin-shaped data (phone numbers, prices, counts, dates) must keep its own
   reading order inside an RTL paragraph, or the bidi algorithm moves the
   leading "+" and trailing units to the wrong end. */
a[href^="tel:"],
a[href^="mailto:"],
.dl dd,
.spec-grid .s b,
.stats .s b,
.hero-stats b,
.plan .price,
time,
[dir="ltr"] {
    unicode-bidi: plaintext;
}

/* mirror any glyph that points somewhere */
[dir="rtl"] .flip,
[dir="rtl"] .btn-arrow svg,
[dir="rtl"] .crumbs i,
[dir="rtl"] .slider-btn svg,
[dir="rtl"] .link-arrow svg {
    transform: scaleX(-1);
}

/* --------------------------------------------------------------- 3. atoms */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    font-family: var(--f-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .18em;
    text-transform: uppercase;
    color: var(--brand-700);
    background: var(--brand-050);
    border: 1px solid var(--brand-100);
    padding: 7px 15px;
    border-radius: var(--r-pill);
    margin-bottom: 16px;
}

html[lang="ar"] .eyebrow,
html[lang="zh"] .eyebrow {
    letter-spacing: .04em;
    text-transform: none;
    font-size: .78rem;
}

.eyebrow-light {
    color: var(--gold);
    background: rgba(255, 197, 61, .12);
    border-color: rgba(255, 197, 61, .3);
}

.sec-head {
    max-width: 660px;
    margin-block-end: clamp(28px, 5vw, 46px);
}

.sec-head.center {
    margin-inline: auto;
}

.sec-head p {
    color: var(--muted);
    font-size: 1rem;
    margin-block-start: 12px;
}

.sec-head h2 .hl {
    color: var(--brand);
}

.bg-ink .sec-head p {
    color: #a9c1cc;
}

.sec-head-row {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-block-end: clamp(26px, 4vw, 42px);
}

.sec-head-row .sec-head {
    margin-block-end: 0;
}

@media (min-width: 900px) {
    .sec-head-row {
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        gap: 40px;
    }
}

/* buttons ---------------------------------------------------------------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: .92rem;
    line-height: 1;
    padding: 15px 26px;
    border-radius: var(--r-pill);
    border: 1.5px solid transparent;
    cursor: pointer;
    transition: transform .25s var(--ease), background .25s, color .25s, border-color .25s, box-shadow .25s;
    text-align: center;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

.btn svg {
    inline-size: 17px;
    block-size: 17px;
    flex: none;
}

.btn-brand {
    background: var(--brand);
    color: #04241f;
    box-shadow: 0 10px 26px -12px rgba(0, 179, 154, .9);
}

.btn-brand:hover {
    background: var(--brand-600);
    color: #fff;
}

.btn-gold {
    background: var(--gold);
    color: #3a2a00;
    box-shadow: 0 10px 26px -12px rgba(229, 169, 19, .85);
}

.btn-gold:hover {
    background: var(--gold-600);
}

.btn-ink {
    background: var(--ink);
    color: #fff;
}

.btn-ink:hover {
    background: var(--ink-800);
}

.btn-line {
    border-color: var(--line-2);
    color: var(--ink);
    background: transparent;
}

.btn-line:hover {
    border-color: var(--brand);
    color: var(--brand-700);
    background: var(--brand-050);
}

.btn-light {
    background: rgba(255, 255, 255, .12);
    border-color: rgba(255, 255, 255, .3);
    color: #fff;
    backdrop-filter: blur(6px);
}

.btn-light:hover {
    background: #fff;
    color: var(--ink);
}

.btn-sm {
    padding: 11px 19px;
    font-size: .84rem;
}

.btn-block {
    display: flex;
    inline-size: 100%;
}

.link-arrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: .9rem;
    color: var(--brand-700);
}

.link-arrow svg {
    inline-size: 16px;
    transition: transform .25s var(--ease);
}

.link-arrow:hover svg {
    transform: translateX(4px);
}

[dir="rtl"] .link-arrow:hover svg {
    transform: scaleX(-1) translateX(4px);
}

/* pills / tags ----------------------------------------------------------- */
.tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--f-head);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: var(--r-pill);
    background: var(--ink);
    color: #fff;
}

html[lang="ar"] .tag,
html[lang="zh"] .tag {
    text-transform: none;
    letter-spacing: 0;
}

.tag-sale {
    background: var(--brand);
    color: #04241f;
}

.tag-rent {
    background: var(--gold);
    color: #3a2a00;
}

.tag-feat {
    background: #fff;
    color: var(--ink);
}

/* forms ------------------------------------------------------------------ */
.field {
    display: block;
    margin-block-end: 16px;
}

.field > span {
    display: block;
    font-family: var(--f-head);
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .04em;
    text-transform: uppercase;
    color: var(--muted);
    margin-block-end: 8px;
}

html[lang="ar"] .field > span,
html[lang="zh"] .field > span {
    text-transform: none;
    letter-spacing: 0;
    font-size: .85rem;
}

.inp,
.sel,
textarea.inp {
    inline-size: 100%;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: var(--r-s);
    padding: 13px 16px;
    font-size: .95rem;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    text-align: start;
}

textarea.inp {
    min-block-size: 130px;
    resize: vertical;
}

.inp::placeholder {
    color: var(--muted-2);
}

.inp:focus,
.sel:focus {
    outline: none;
    border-color: var(--brand);
    box-shadow: 0 0 0 4px var(--brand-050);
}

.sel {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23647f8d' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 17px;
    background-position: right 14px center;
    padding-inline-end: 42px;
    cursor: pointer;
}

[dir="rtl"] .sel {
    background-position: left 14px center;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: .9rem;
    color: var(--ink-600);
    cursor: pointer;
    margin-block-end: 10px;
}

.check input {
    inline-size: 18px;
    block-size: 18px;
    accent-color: var(--brand);
    margin: 2px 0 0;
    flex: none;
}

/* ---------------------------------------------------------- 4. brand mark */
.logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--f-head);
    font-weight: 800;
    font-size: 1.42rem;
    letter-spacing: -.03em;
    color: var(--ink);
    line-height: 1;
}

.logo .word {
    display: inline-block;
}

.logo .word b {
    color: var(--brand);
    font-weight: 800;
}

.logo-light,
.logo-light .word {
    color: #fff;
}

.logo-light .word b {
    color: var(--brand);
}

/* --------------------------------------------------------------- 5. topbar */
.topbar {
    background: var(--ink);
    color: #b9cdd6;
    font-size: .82rem;
    display: none;
}

@media (min-width: 992px) {
    .topbar {
        display: block;
    }
}

.topbar .in {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-block-size: 44px;
}

.topbar a:hover {
    color: #fff;
}

.topbar-list {
    display: flex;
    align-items: center;
    gap: 22px;
}

.topbar-list li {
    display: flex;
    align-items: center;
    gap: 8px;
}

.topbar-list svg {
    inline-size: 15px;
    block-size: 15px;
    color: var(--brand);
    flex: none;
}

.socials {
    display: flex;
    align-items: center;
    gap: 8px;
}

.socials a {
    inline-size: 30px;
    block-size: 30px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, .08);
    transition: background .2s, color .2s;
}

.socials a:hover {
    background: var(--brand);
    color: #04241f;
}

.socials svg {
    inline-size: 14px;
    block-size: 14px;
}

/* --------------------------------------------------------------- 6. header */
.head {
    position: sticky;
    inset-block-start: 0;
    z-index: 90;
    background: rgba(255, 255, 255, .92);
    backdrop-filter: saturate(160%) blur(14px);
    border-block-end: 1px solid var(--line);
    transition: box-shadow .3s;
}

.head.stuck {
    box-shadow: var(--sh-1);
}

.head .in {
    display: flex;
    align-items: center;
    gap: 14px;
    min-block-size: var(--head-h);
}

.nav {
    display: none;
    margin-inline-start: auto;
}

.head-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-inline-start: auto;
}

@media (min-width: 1100px) {
    .nav {
        display: block;
    }

    .head-actions {
        margin-inline-start: 0;
    }
}

.nav > ul {
    display: flex;
    align-items: center;
    gap: 4px;
}

.nav > ul > li > a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: .92rem;
    padding: 10px 14px;
    border-radius: var(--r-pill);
    color: var(--ink-600);
    transition: color .2s, background .2s;
}

.nav > ul > li > a:hover,
.nav > ul > li.on > a {
    color: var(--brand-700);
    background: var(--brand-050);
}

.nav .has > a svg {
    inline-size: 13px;
    block-size: 13px;
    opacity: .6;
}

.nav .has {
    position: relative;
}

.nav .sub {
    position: absolute;
    inset-block-start: calc(100% + 8px);
    inset-inline-start: 0;
    min-inline-size: 216px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-m);
    box-shadow: var(--sh-2);
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .22s var(--ease);
}

.nav .has:hover .sub {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav .sub a {
    display: block;
    padding: 9px 14px;
    border-radius: var(--r-xs);
    font-size: .9rem;
    color: var(--ink-600);
    transition: background .18s, color .18s;
}

.nav .sub a:hover {
    background: var(--brand-050);
    color: var(--brand-700);
}

.burger {
    inline-size: 44px;
    block-size: 44px;
    display: grid;
    place-items: center;
    border: 1.5px solid var(--line);
    background: var(--paper);
    border-radius: var(--r-s);
    cursor: pointer;
}

@media (min-width: 1100px) {
    .burger {
        display: none;
    }
}

.burger span {
    position: relative;
    display: block;
    inline-size: 19px;
    block-size: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: .25s var(--ease);
}

.burger span::before,
.burger span::after {
    content: "";
    position: absolute;
    inset-inline-start: 0;
    inline-size: 19px;
    block-size: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: .25s var(--ease);
}

.burger span::before {
    inset-block-start: -6px;
}

.burger span::after {
    inset-block-start: 6px;
}

body.menu-open .burger span {
    background: transparent;
}

body.menu-open .burger span::before {
    inset-block-start: 0;
    transform: rotate(45deg);
}

body.menu-open .burger span::after {
    inset-block-start: 0;
    transform: rotate(-45deg);
}

.head-cta {
    display: none;
}

@media (min-width: 700px) {
    .head-cta {
        display: inline-flex;
    }
}

/* language switch -------------------------------------------------------- */
.lang {
    position: relative;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: var(--paper);
    border: 1.5px solid var(--line);
    border-radius: var(--r-pill);
    padding: 9px 14px;
    font-family: var(--f-head);
    font-size: .82rem;
    font-weight: 600;
    cursor: pointer;
    transition: border-color .2s;
}

.lang-btn:hover {
    border-color: var(--brand);
}

.lang-btn svg {
    inline-size: 15px;
    block-size: 15px;
    color: var(--brand);
}

.lang-menu {
    position: absolute;
    inset-block-start: calc(100% + 8px);
    inset-inline-end: 0;
    min-inline-size: 158px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-m);
    box-shadow: var(--sh-2);
    padding: 7px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: .2s var(--ease);
    z-index: 5;
}

.lang.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-menu button {
    display: flex;
    align-items: center;
    gap: 10px;
    inline-size: 100%;
    background: none;
    border: 0;
    padding: 9px 13px;
    border-radius: var(--r-xs);
    font-size: .9rem;
    cursor: pointer;
    text-align: start;
    transition: background .18s;
}

.lang-menu button:hover {
    background: var(--brand-050);
}

.lang-menu button.on {
    background: var(--brand-050);
    color: var(--brand-700);
    font-weight: 700;
}

.lang-menu .code {
    font-family: var(--f-head);
    font-size: .68rem;
    font-weight: 700;
    letter-spacing: .08em;
    color: var(--muted);
    margin-inline-start: auto;
}

/* mobile drawer ---------------------------------------------------------- */
.drawer {
    position: fixed;
    inset-block: 0;
    inset-inline-start: 0;
    inline-size: min(88vw, 340px);
    background: var(--paper);
    z-index: 120;
    padding: 22px;
    overflow-y: auto;
    transform: translateX(-102%);
    transition: transform .35s var(--ease);
    box-shadow: var(--sh-3);
}

[dir="rtl"] .drawer {
    transform: translateX(102%);
}

body.menu-open .drawer {
    transform: translateX(0);
}

.scrim {
    position: fixed;
    inset: 0;
    background: rgba(10, 31, 43, .5);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: .3s;
}

body.menu-open .scrim {
    opacity: 1;
    visibility: visible;
}

body.menu-open {
    overflow: hidden;
}

.drawer-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-block-end: 22px;
}

.drawer-close {
    inline-size: 38px;
    block-size: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: none;
    cursor: pointer;
    display: grid;
    place-items: center;
}

.drawer-close svg {
    inline-size: 16px;
}

.drawer nav > ul > li {
    border-block-end: 1px solid var(--line);
}

.drawer nav a,
.drawer nav .acc-btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    inline-size: 100%;
    gap: 10px;
    padding: 14px 2px;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 1rem;
    background: none;
    border: 0;
    cursor: pointer;
    text-align: start;
    color: var(--ink);
}

.drawer nav .acc-btn svg {
    inline-size: 15px;
    transition: transform .25s;
}

.drawer nav .acc-btn[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

.drawer nav .sub {
    display: none;
    padding-inline-start: 14px;
    padding-block-end: 8px;
    border-inline-start: 2px solid var(--brand-100);
    margin-inline-start: 2px;
}

.drawer nav .sub.open {
    display: block;
}

.drawer nav .sub a {
    padding: 9px 2px;
    font-weight: 500;
    font-size: .92rem;
    color: var(--ink-600);
}

.drawer-foot {
    margin-block-start: 26px;
    display: grid;
    gap: 12px;
}

/* ----------------------------------------------------------------- 7. hero */
.hero {
    position: relative;
    isolation: isolate;
    color: #fff;
    padding-block: clamp(64px, 14vw, 130px) clamp(48px, 10vw, 96px);
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
}

.hero-bg img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(10, 31, 43, .82) 0%, rgba(10, 31, 43, .62) 45%, rgba(10, 31, 43, .9) 100%),
        radial-gradient(90% 70% at 78% 25%, rgba(0, 179, 154, .3), transparent 60%);
}

.hero h1 {
    margin-block-end: 18px;
    text-wrap: balance;
}

.hero h1 .hl {
    color: var(--gold);
}

.hero-lead {
    font-size: clamp(.98rem, 2.4vw, 1.14rem);
    color: #d3e2e8;
    max-width: 44ch;
    margin-block-end: 26px;
}

.hero-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 14px 34px;
    margin-block-start: 34px;
}

.hero-stats div {
    min-inline-size: 92px;
}

.hero-stats b {
    display: block;
    font-family: var(--f-head);
    font-size: clamp(1.5rem, 4vw, 2rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
}

.hero-stats span {
    font-size: .82rem;
    color: #a9c3cd;
}

/* search panel ----------------------------------------------------------- */
.search-card {
    background: rgba(255, 255, 255, .96);
    color: var(--ink);
    border-radius: var(--r-l);
    padding: 16px;
    box-shadow: var(--sh-3);
    margin-block-start: 34px;
    backdrop-filter: blur(8px);
}

@media (min-width: 768px) {
    .search-card {
        padding: 22px;
    }
}

.search-tabs {
    display: flex;
    gap: 6px;
    background: var(--sand);
    padding: 5px;
    border-radius: var(--r-pill);
    margin-block-end: 16px;
    inline-size: fit-content;
    max-inline-size: 100%;
    overflow-x: auto;
}

.search-tabs button {
    border: 0;
    background: none;
    padding: 10px 20px;
    border-radius: var(--r-pill);
    font-family: var(--f-head);
    font-weight: 600;
    font-size: .87rem;
    color: var(--muted);
    cursor: pointer;
    white-space: nowrap;
    transition: background .22s, color .22s;
}

.search-tabs button.on {
    background: var(--ink);
    color: #fff;
}

.search-grid {
    display: grid;
    gap: 12px;
}

@media (min-width: 700px) {
    .search-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (min-width: 1050px) {
    .search-grid {
        grid-template-columns: 1.4fr 1fr 1fr auto;
        align-items: end;
    }
}

.search-more {
    display: none;
    margin-block-start: 14px;
    padding-block-start: 16px;
    border-block-start: 1px solid var(--line);
    gap: 12px;
    grid-template-columns: 1fr;
}

.search-more.open {
    display: grid;
}

@media (min-width: 700px) {
    .search-more.open {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1050px) {
    .search-more.open {
        grid-template-columns: repeat(4, 1fr);
    }
}

.search-foot {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-block-start: 14px;
}

.toggle-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: none;
    border: 0;
    padding: 0;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: .86rem;
    color: var(--brand-700);
    cursor: pointer;
}

.toggle-more svg {
    inline-size: 15px;
    transition: transform .25s;
}

.toggle-more[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* ------------------------------------------------------------ 8. cards etc */
.grid {
    display: grid;
    gap: var(--gap);
}

.g-2 {
    grid-template-columns: 1fr;
}

.g-3,
.g-4,
.g-6 {
    grid-template-columns: 1fr;
}

@media (min-width: 620px) {
    .g-2,
    .g-3,
    .g-4,
    .g-6 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 980px) {
    .g-3 {
        grid-template-columns: repeat(3, 1fr);
    }

    .g-4,
    .g-6 {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 1200px) {
    .g-4 {
        grid-template-columns: repeat(4, 1fr);
    }

    .g-6 {
        grid-template-columns: repeat(6, 1fr);
    }
}

.card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-2);
    border-color: transparent;
}

/* property card ---------------------------------------------------------- */
.prop {
    position: relative;
    /* the favourite button sits outside .shot and anchors to the card */
}

.prop .shot {
    position: relative;
    display: block;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    background: var(--sand-2);
}

.prop .shot img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.prop:hover .shot img {
    transform: scale(1.06);
}

.prop .badges {
    position: absolute;
    inset-block-start: 14px;
    inset-inline-start: 14px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    z-index: 2;
}

.prop .fav {
    position: absolute;
    inset-block-start: 14px;
    inset-inline-end: 14px;
    inline-size: 36px;
    block-size: 36px;
    border-radius: 50%;
    border: 0;
    background: rgba(255, 255, 255, .92);
    display: grid;
    place-items: center;
    cursor: pointer;
    z-index: 2;
    transition: background .2s, color .2s;
}

.prop .fav svg {
    inline-size: 16px;
}

.prop .fav:hover,
.prop .fav.on {
    background: var(--brand);
    color: #fff;
}

.prop .price-chip {
    position: absolute;
    inset-block-end: 14px;
    inset-inline-start: 14px;
    background: var(--ink);
    color: #fff;
    font-family: var(--f-head);
    font-weight: 700;
    font-size: .95rem;
    padding: 9px 15px;
    border-radius: var(--r-pill);
    z-index: 2;
    /* a price is always read left-to-right, even on an RTL page */
    direction: ltr;
    unicode-bidi: isolate;
}

.prop .price-chip small {
    font-weight: 500;
    opacity: .7;
    font-size: .78em;
}

.prop .body {
    padding: 20px;
}

.prop .body h3 {
    font-size: 1.08rem;
    margin-block-end: 8px;
}

.prop .body h3 a:hover {
    color: var(--brand-700);
}

.prop .addr {
    display: flex;
    align-items: flex-start;
    gap: 7px;
    color: var(--muted);
    font-size: .87rem;
    margin-block-end: 15px;
}

.prop .addr svg {
    inline-size: 15px;
    block-size: 15px;
    flex: none;
    margin-block-start: 3px;
    color: var(--brand);
}

.specs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    padding-block: 14px;
    border-block-start: 1px solid var(--line);
    font-size: .83rem;
    color: var(--ink-600);
}

.specs li {
    display: flex;
    align-items: center;
    gap: 7px;
}

.specs svg {
    inline-size: 16px;
    block-size: 16px;
    color: var(--brand);
    flex: none;
}

.prop .card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-block-start: 13px;
    border-block-start: 1px solid var(--line);
}

.agent-mini {
    display: flex;
    align-items: center;
    gap: 9px;
    font-size: .82rem;
    color: var(--muted);
}

.agent-mini img {
    inline-size: 30px;
    block-size: 30px;
    border-radius: 50%;
    object-fit: cover;
}

.icon-acts {
    display: flex;
    gap: 6px;
}

.icon-acts a,
.icon-acts button {
    inline-size: 32px;
    block-size: 32px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: var(--sand);
    border: 0;
    color: var(--ink-600);
    cursor: pointer;
    transition: background .2s, color .2s;
}

.icon-acts svg {
    inline-size: 15px;
}

.icon-acts a:hover,
.icon-acts button:hover {
    background: var(--brand);
    color: #fff;
}

/* city card -------------------------------------------------------------- */
.city {
    position: relative;
    display: block;
    border-radius: var(--r-l);
    overflow: hidden;
    aspect-ratio: 3 / 4;
    isolation: isolate;
}

.city img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    transition: transform .7s var(--ease);
}

.city:hover img {
    transform: scale(1.08);
}

.city::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 31, 43, 0) 35%, rgba(10, 31, 43, .86) 100%);
}

.city .cap {
    position: absolute;
    inset-block-end: 0;
    inset-inline: 0;
    padding: 20px;
    z-index: 2;
    color: #fff;
}

.city .cap h3 {
    margin: 0 0 3px;
    font-size: 1.15rem;
}

.city .cap span {
    font-size: .82rem;
    color: #b7cdd6;
}

.city-wide {
    aspect-ratio: 3 / 2;
}

/* feature / why card ----------------------------------------------------- */
.feat {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    padding: 26px 22px;
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
    block-size: 100%;
}

.feat:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-2);
    border-color: transparent;
}

.feat .ico {
    inline-size: 56px;
    block-size: 56px;
    border-radius: var(--r-m);
    display: grid;
    place-items: center;
    background: var(--brand-050);
    color: var(--brand-700);
    margin-block-end: 18px;
}

.feat .ico svg {
    inline-size: 26px;
    block-size: 26px;
}

.feat:nth-child(2n) .ico {
    background: var(--gold-050);
    color: var(--gold-600);
}

.feat h3 {
    font-size: 1.08rem;
    margin-block-end: 9px;
}

.feat p {
    color: var(--muted);
    font-size: .92rem;
    margin: 0;
}

.feat .step {
    font-family: var(--f-head);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .16em;
    color: var(--muted-2);
    display: block;
    margin-block-end: 10px;
}

/* agent card ------------------------------------------------------------- */
.agent {
    text-align: center;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    overflow: hidden;
    transition: transform .3s var(--ease), box-shadow .3s, border-color .3s;
}

.agent:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-2);
    border-color: transparent;
}

.agent .shot {
    position: relative;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background: var(--sand-2);
}

.agent .shot img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.agent:hover .shot img {
    transform: scale(1.07);
}

.agent .socials-hover {
    position: absolute;
    inset-block-end: 12px;
    inset-inline: 0;
    display: flex;
    justify-content: center;
    gap: 8px;
    opacity: 0;
    transform: translateY(12px);
    transition: .3s var(--ease);
}

.agent:hover .socials-hover {
    opacity: 1;
    transform: translateY(0);
}

.agent .socials-hover a {
    inline-size: 34px;
    block-size: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .95);
    color: var(--ink);
    display: grid;
    place-items: center;
    transition: background .2s, color .2s;
}

.agent .socials-hover a:hover {
    background: var(--brand);
    color: #fff;
}

.agent .socials-hover svg {
    inline-size: 15px;
}

.agent .body {
    padding: 18px 14px 22px;
}

.agent .body h3 {
    font-size: 1.02rem;
    margin-block-end: 3px;
}

.agent .body span {
    font-size: .82rem;
    color: var(--muted);
}

.agent .body .meta {
    display: block;
    margin-block-start: 10px;
    font-size: .78rem;
    color: var(--brand-700);
    font-weight: 600;
}

/* testimonial ------------------------------------------------------------ */
.quote {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    padding: 28px 24px;
    block-size: 100%;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.stars {
    display: flex;
    gap: 3px;
    color: var(--gold);
}

.stars svg {
    inline-size: 16px;
    block-size: 16px;
}

.quote blockquote {
    margin: 0;
    flex: 1;
}

.quote p {
    font-size: .97rem;
    color: var(--ink-600);
    margin: 0;
}

.quote .who {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-block-start: 16px;
    border-block-start: 1px solid var(--line);
}

.quote .who img {
    inline-size: 46px;
    block-size: 46px;
    border-radius: 50%;
    object-fit: cover;
    flex: none;
}

.quote .who b {
    display: block;
    font-family: var(--f-head);
    font-size: .95rem;
}

.quote .who span {
    font-size: .8rem;
    color: var(--muted);
}

/* partners --------------------------------------------------------------- */
.partners {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (min-width: 620px) {
    .partners {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 992px) {
    .partners {
        grid-template-columns: repeat(6, 1fr);
    }
}

.partners div {
    display: grid;
    place-items: center;
    padding: 20px 14px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-m);
    font-family: var(--f-head);
    font-weight: 700;
    font-size: .95rem;
    letter-spacing: .02em;
    color: var(--muted);
    transition: color .25s, border-color .25s, transform .25s;
}

.partners div:hover {
    color: var(--ink);
    border-color: var(--brand-100);
    transform: translateY(-3px);
}

/* stat band -------------------------------------------------------------- */
.stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
}

@media (min-width: 900px) {
    .stats {
        grid-template-columns: repeat(4, 1fr);
    }
}

.stats .s {
    text-align: center;
    padding: 22px 12px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: var(--r-m);
}

.stats .s b {
    display: block;
    font-family: var(--f-head);
    font-size: clamp(1.7rem, 5vw, 2.4rem);
    font-weight: 800;
    color: var(--gold);
    line-height: 1.1;
}

.stats .s span {
    font-size: .85rem;
    color: #a9c3cd;
}

/* CTA band --------------------------------------------------------------- */
.cta {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    border-radius: var(--r-xl);
    padding: clamp(34px, 6vw, 64px);
    color: #fff;
}

.cta img.bg {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    z-index: -2;
}

.cta::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(100deg, rgba(10, 31, 43, .94) 15%, rgba(10, 31, 43, .6) 100%);
}

.cta h2 {
    max-width: 18ch;
}

.cta p {
    color: #c3d6de;
    max-width: 52ch;
    margin-block-end: 26px;
}

.cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

/* slider rail ------------------------------------------------------------ */
.rail-wrap {
    position: relative;
}

.rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(268px, 84%);
    gap: var(--gap);
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding-block-end: 8px;
    scrollbar-width: none;
}

.rail::-webkit-scrollbar {
    display: none;
}

.rail > * {
    scroll-snap-align: start;
}

@media (min-width: 620px) {
    .rail {
        grid-auto-columns: minmax(280px, 46%);
    }
}

@media (min-width: 992px) {
    .rail {
        grid-auto-columns: minmax(280px, 31.5%);
    }
}

@media (min-width: 1300px) {
    .rail {
        grid-auto-columns: minmax(280px, 23.6%);
    }
}

.rail-nav {
    display: flex;
    gap: 8px;
}

.slider-btn {
    inline-size: 44px;
    block-size: 44px;
    border-radius: 50%;
    border: 1.5px solid var(--line-2);
    background: var(--paper);
    display: grid;
    place-items: center;
    cursor: pointer;
    color: var(--ink);
    transition: background .2s, color .2s, border-color .2s;
}

.slider-btn:hover {
    background: var(--brand);
    border-color: var(--brand);
    color: #fff;
}

.slider-btn svg {
    inline-size: 17px;
}

/* ------------------------------------------------------ 9. inner-page bits */
.banner {
    position: relative;
    isolation: isolate;
    color: #fff;
    padding-block: clamp(52px, 10vw, 96px);
    text-align: center;
}

.banner img.bg {
    position: absolute;
    inset: 0;
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    z-index: -2;
}

.banner::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, rgba(10, 31, 43, .84), rgba(10, 31, 43, .74));
}

.banner h1 {
    font-size: clamp(1.8rem, 5.4vw, 3rem);
    margin-block-end: 12px;
}

.crumbs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 9px;
    font-size: .87rem;
    color: #b8cdd6;
}

.crumbs a:hover {
    color: var(--gold);
}

.crumbs svg {
    inline-size: 13px;
    opacity: .6;
}

.crumbs [aria-current] {
    color: var(--gold);
}

/* toolbar (listing) ------------------------------------------------------ */
.toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 16px 18px;
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-m);
    margin-block-end: 26px;
}

.toolbar .count {
    font-size: .9rem;
    color: var(--muted);
}

.toolbar .count b {
    color: var(--ink);
}

.toolbar .right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.toolbar .sel {
    inline-size: auto;
    min-inline-size: 190px;
    padding-block: 10px;
}

/* filter sidebar --------------------------------------------------------- */
.layout {
    display: grid;
    gap: 28px;
}

@media (min-width: 1000px) {
    .layout {
        grid-template-columns: 300px 1fr;
    }

    .layout.reverse {
        grid-template-columns: 1fr 320px;
    }
}

/* A sticky child only travels inside its own containing block, so the column
   wrapping it has to keep the full row height — `align-items: start` here
   shrink-wraps the column and the panel never moves. A panel that IS the grid
   child (the contact form) opts out on its own. */
.layout > .panel {
    align-self: start;
}

.panel {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    padding: 22px;
}

.panel + .panel {
    margin-block-start: 22px;
}

.panel h3 {
    font-size: 1.02rem;
    margin-block-end: 16px;
    padding-block-end: 12px;
    border-block-end: 1px solid var(--line);
}

.panel-sticky {
    position: sticky;
    inset-block-start: calc(var(--head-h) + 18px);
}

/* pagination ------------------------------------------------------------- */
.pager {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-block-start: 36px;
    flex-wrap: wrap;
}

.pager a,
.pager span {
    min-inline-size: 42px;
    block-size: 42px;
    padding-inline: 12px;
    display: grid;
    place-items: center;
    border-radius: var(--r-s);
    border: 1.5px solid var(--line);
    background: var(--paper);
    font-family: var(--f-head);
    font-weight: 600;
    font-size: .9rem;
    transition: .2s;
}

.pager a:hover {
    border-color: var(--brand);
    color: var(--brand-700);
}

.pager .on {
    background: var(--ink);
    border-color: var(--ink);
    color: #fff;
}

.pager svg {
    inline-size: 15px;
}

/* accordion (faq) -------------------------------------------------------- */
.acc {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-m);
    margin-block-end: 12px;
    overflow: hidden;
}

.acc.open {
    border-color: var(--brand-100);
    box-shadow: var(--sh-1);
}

.acc > button {
    inline-size: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: none;
    border: 0;
    padding: 18px 20px;
    font-family: var(--f-head);
    font-weight: 600;
    font-size: 1rem;
    text-align: start;
    cursor: pointer;
}

.acc > button i {
    inline-size: 30px;
    block-size: 30px;
    border-radius: 50%;
    background: var(--sand);
    display: grid;
    place-items: center;
    flex: none;
    transition: .25s;
}

.acc.open > button i {
    background: var(--brand);
    color: #fff;
    transform: rotate(45deg);
}

.acc > button svg {
    inline-size: 15px;
}

.acc .body {
    display: none;
    padding: 0 20px 20px;
    color: var(--muted);
    font-size: .95rem;
}

.acc.open .body {
    display: block;
}

/* pricing ---------------------------------------------------------------- */
.plan {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    padding: 30px 26px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    block-size: 100%;
    position: relative;
    transition: transform .3s var(--ease), box-shadow .3s;
}

.plan:hover {
    transform: translateY(-5px);
    box-shadow: var(--sh-2);
}

.plan.hot {
    border-color: var(--brand);
    box-shadow: var(--sh-2);
}

.plan .flag {
    position: absolute;
    inset-block-start: -13px;
    inset-inline-start: 26px;
    background: var(--brand);
    color: #04241f;
    font-family: var(--f-head);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
    padding: 5px 13px;
    border-radius: var(--r-pill);
}

html[lang="ar"] .plan .flag,
html[lang="zh"] .plan .flag {
    text-transform: none;
    letter-spacing: 0;
}

.plan .price {
    font-family: var(--f-head);
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1;
    color: var(--ink);
}

.plan .price span {
    font-size: .95rem;
    font-weight: 500;
    color: var(--muted);
}

.plan ul {
    display: grid;
    gap: 11px;
    font-size: .92rem;
    color: var(--ink-600);
    flex: 1;
}

.plan li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.plan li svg {
    inline-size: 17px;
    block-size: 17px;
    flex: none;
    margin-block-start: 3px;
    color: var(--brand);
}

.plan li.off {
    color: var(--muted-2);
}

.plan li.off svg {
    color: var(--muted-2);
}

/* blog ------------------------------------------------------------------- */
.post .shot {
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--sand-2);
}

.post .shot img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.post:hover .shot img {
    transform: scale(1.06);
}

.post .body {
    padding: 22px;
}

.post .meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    font-size: .8rem;
    color: var(--muted);
    margin-block-end: 11px;
}

.post .meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.post .meta svg {
    inline-size: 14px;
    color: var(--brand);
}

.post h3 {
    font-size: 1.1rem;
    margin-block-end: 10px;
}

.post h3 a:hover {
    color: var(--brand-700);
}

.post p {
    color: var(--muted);
    font-size: .92rem;
    margin-block-end: 15px;
}

.article {
    font-size: 1.02rem;
    color: var(--ink-600);
}

.article h2 {
    font-size: 1.6rem;
    margin-block: 1.4em .5em;
    color: var(--ink);
}

.article h3 {
    font-size: 1.22rem;
    margin-block: 1.3em .5em;
    color: var(--ink);
}

.article ul {
    display: grid;
    gap: 10px;
    margin-block: 1em 1.4em;
}

.article ul li {
    display: flex;
    gap: 11px;
}

.article ul li::before {
    content: "";
    inline-size: 7px;
    block-size: 7px;
    border-radius: 50%;
    background: var(--brand);
    flex: none;
    margin-block-start: 10px;
}

.article blockquote {
    margin: 1.6em 0;
    padding: 24px 26px;
    background: var(--brand-050);
    border-inline-start: 4px solid var(--brand);
    border-radius: var(--r-m);
    font-family: var(--f-head);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--ink);
}

.article img {
    border-radius: var(--r-m);
    margin-block: 1.4em;
}

/* property detail -------------------------------------------------------- */
.gal {
    display: grid;
    gap: 12px;
    grid-template-columns: 1fr 1fr;
}

.gal .main {
    grid-column: 1 / -1;
}

@media (min-width: 800px) {
    .gal {
        grid-template-columns: 2fr 1fr;
    }

    .gal .main {
        grid-column: auto;
        grid-row: span 2;
    }
}

.gal a {
    display: block;
    border-radius: var(--r-m);
    overflow: hidden;
    aspect-ratio: 16 / 11;
    background: var(--sand-2);
}

.gal .main {
    aspect-ratio: 16 / 11;
}

@media (min-width: 800px) {
    .gal .main {
        aspect-ratio: auto;
        block-size: 100%;
    }
}

.gal img {
    inline-size: 100%;
    block-size: 100%;
    object-fit: cover;
    transition: transform .6s var(--ease);
}

.gal a:hover img {
    transform: scale(1.05);
}

.spec-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

@media (min-width: 700px) {
    .spec-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.spec-grid .s {
    background: var(--sand);
    border-radius: var(--r-m);
    padding: 16px;
    text-align: center;
}

.spec-grid .s svg {
    inline-size: 22px;
    block-size: 22px;
    color: var(--brand);
    margin-inline: auto;
    margin-block-end: 8px;
}

.spec-grid .s b {
    display: block;
    font-family: var(--f-head);
    font-size: 1.05rem;
}

.spec-grid .s span {
    font-size: .8rem;
    color: var(--muted);
}

.dl {
    display: grid;
    gap: 0;
}

@media (min-width: 620px) {
    .dl {
        grid-template-columns: repeat(2, 1fr);
        column-gap: 28px;
    }
}

.dl div {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    padding-block: 11px;
    border-block-end: 1px dashed var(--line);
    font-size: .92rem;
}

.dl dt {
    color: var(--muted);
}

.dl dd {
    margin: 0;
    font-weight: 600;
    text-align: end;
}

.amen {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 11px;
    font-size: .92rem;
}

@media (min-width: 700px) {
    .amen {
        grid-template-columns: repeat(3, 1fr);
    }
}

.amen li {
    display: flex;
    align-items: center;
    gap: 9px;
    color: var(--ink-600);
}

.amen svg {
    inline-size: 17px;
    block-size: 17px;
    color: var(--brand);
    flex: none;
}

.map-frame {
    border-radius: var(--r-m);
    overflow: hidden;
    border: 1px solid var(--line);
    aspect-ratio: 16 / 9;
    background: var(--sand-2);
}

.map-frame iframe {
    inline-size: 100%;
    block-size: 100%;
    border: 0;
    display: block;
}

/* auth / narrow cards ---------------------------------------------------- */
.narrow {
    max-inline-size: 520px;
    margin-inline: auto;
}

.auth-card {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    padding: clamp(24px, 5vw, 40px);
    box-shadow: var(--sh-1);
}

.divider {
    display: flex;
    align-items: center;
    gap: 14px;
    color: var(--muted);
    font-size: .82rem;
    margin-block: 20px;
}

.divider::before,
.divider::after {
    content: "";
    block-size: 1px;
    background: var(--line);
    flex: 1;
}

.soc-btns {
    display: grid;
    gap: 10px;
}

@media (min-width: 520px) {
    .soc-btns {
        grid-template-columns: 1fr 1fr;
    }
}

/* contact info tiles ----------------------------------------------------- */
.info-tile {
    background: var(--paper);
    border: 1px solid var(--line);
    border-radius: var(--r-l);
    padding: 26px 22px;
    text-align: center;
    block-size: 100%;
    transition: transform .3s var(--ease), box-shadow .3s;
}

.info-tile:hover {
    transform: translateY(-4px);
    box-shadow: var(--sh-2);
}

.info-tile .ico {
    inline-size: 54px;
    block-size: 54px;
    border-radius: 50%;
    background: var(--brand-050);
    color: var(--brand-700);
    display: grid;
    place-items: center;
    margin-inline: auto;
    margin-block-end: 16px;
}

.info-tile .ico svg {
    inline-size: 22px;
    block-size: 22px;
}

.info-tile h3 {
    font-size: 1rem;
    margin-block-end: 7px;
}

.info-tile p {
    color: var(--muted);
    font-size: .92rem;
    margin: 0;
}

/* about split ------------------------------------------------------------ */
.split {
    display: grid;
    gap: clamp(26px, 5vw, 54px);
    align-items: center;
}

@media (min-width: 950px) {
    .split {
        grid-template-columns: 1fr 1fr;
    }
}

.stack-shots {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.stack-shots img {
    inline-size: 100%;
    border-radius: var(--r-l);
    object-fit: cover;
}

.stack-shots img:first-child {
    grid-row: span 2;
    block-size: 100%;
    min-block-size: 260px;
}

.badge-float {
    position: absolute;
    inset-block-end: 18px;
    inset-inline-start: 18px;
    background: var(--ink);
    color: #fff;
    border-radius: var(--r-m);
    padding: 16px 20px;
    box-shadow: var(--sh-2);
}

.badge-float b {
    display: block;
    font-family: var(--f-head);
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--gold);
    line-height: 1;
}

.badge-float span {
    font-size: .78rem;
    color: #b7cdd6;
}

.ticks {
    display: grid;
    gap: 12px;
    margin-block: 22px;
}

.ticks li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: .96rem;
    color: var(--ink-600);
}

.ticks svg {
    inline-size: 20px;
    block-size: 20px;
    flex: none;
    color: var(--brand);
    margin-block-start: 3px;
}

/* --------------------------------------------------------------- 10. 404 */
.big404 {
    font-family: var(--f-head);
    font-size: clamp(5rem, 22vw, 11rem);
    font-weight: 800;
    line-height: .9;
    letter-spacing: -.04em;
    background: linear-gradient(120deg, var(--brand), var(--gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-block-end: 14px;
}

/* ------------------------------------------------------------- 11. footer */
.foot {
    background: var(--ink);
    color: #a9c3cd;
    padding-block: clamp(46px, 8vw, 76px) 0;
}

.foot-grid {
    display: grid;
    gap: 34px;
}

@media (min-width: 700px) {
    .foot-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1050px) {
    .foot-grid {
        grid-template-columns: 1.6fr 1fr 1fr 1.5fr;
        gap: 44px;
    }
}

.foot h4 {
    color: #fff;
    font-size: .82rem;
    letter-spacing: .16em;
    text-transform: uppercase;
    margin-block-end: 20px;
}

html[lang="ar"] .foot h4,
html[lang="zh"] .foot h4 {
    text-transform: none;
    letter-spacing: 0;
    font-size: 1rem;
}

.foot p {
    font-size: .92rem;
}

.foot-links {
    display: grid;
    gap: 11px;
    font-size: .92rem;
}

.foot-links a {
    transition: color .2s, padding-inline-start .2s;
}

.foot-links a:hover {
    color: var(--brand);
    padding-inline-start: 5px;
}

.foot-contact {
    display: grid;
    gap: 14px;
    font-size: .92rem;
    margin-block-start: 20px;
}

.foot-contact li {
    display: flex;
    align-items: flex-start;
    gap: 11px;
}

.foot-contact svg {
    inline-size: 17px;
    block-size: 17px;
    color: var(--brand);
    flex: none;
    margin-block-start: 4px;
}

.sub-form {
    display: flex;
    gap: 8px;
    margin-block-start: 16px;
    flex-wrap: wrap;
}

.sub-form input {
    flex: 1 1 170px;
    background: rgba(255, 255, 255, .07);
    border: 1.5px solid rgba(255, 255, 255, .14);
    border-radius: var(--r-pill);
    padding: 13px 18px;
    color: #fff;
    font-size: .9rem;
    min-inline-size: 0;
}

.sub-form input::placeholder {
    color: #7e9aa6;
}

.sub-form input:focus {
    outline: none;
    border-color: var(--brand);
}

.foot-bottom {
    margin-block-start: clamp(34px, 6vw, 56px);
    border-block-start: 1px solid rgba(255, 255, 255, .1);
    padding-block: 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
    font-size: .85rem;
}

@media (min-width: 800px) {
    .foot-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: start;
    }
}

.foot-bottom a:hover {
    color: var(--brand);
}

.foot-bottom .credit b {
    color: var(--gold);
    font-weight: 700;
    letter-spacing: .04em;
}

/* to top ----------------------------------------------------------------- */
.to-top {
    position: fixed;
    inset-block-end: 20px;
    inset-inline-end: 20px;
    inline-size: 46px;
    block-size: 46px;
    border-radius: 50%;
    background: var(--brand);
    color: #04241f;
    display: grid;
    place-items: center;
    border: 0;
    cursor: pointer;
    z-index: 80;
    box-shadow: var(--sh-2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(14px);
    transition: .3s var(--ease);
}

.to-top.on {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.to-top svg {
    inline-size: 19px;
}

/* ------------------------------------------------------------ 12. reveal */
[data-rise] {
    opacity: 0;
    transform: translateY(22px);
    transition: opacity .65s var(--ease), transform .65s var(--ease);
    transition-delay: var(--d, 0ms);
}

[data-rise].in {
    opacity: 1;
    transform: none;
}

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

    [data-rise] {
        opacity: 1;
        transform: none;
    }
}

/* --------------------------------------------------------- 13. print-ish */
@media print {
    .head,
    .topbar,
    .foot,
    .to-top,
    .drawer,
    .scrim {
        display: none !important;
    }
}
