/* ==========================================================================
   AllForStudents — main stylesheet
   Design language adapted from the Turie template (Onest, #FD4621, #071516)
   ========================================================================== */
/* Onest variable font — self-hosted (faster, and no third-party requests: GDPR-friendly) */
@font-face { font-family: 'Onest'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/onest-latin-ext-wght-normal.woff2) format('woff2'); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: 'Onest'; font-style: normal; font-display: swap; font-weight: 100 900; src: url(../fonts/onest-latin-wght-normal.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
:root {
  --brand: #FD4621;
  --brand-600: #e3381a;
  --brand-50: #fff2ed;
  --brand-100: #ffe1d6;
  --ink: #071516;
  --ink-2: #273637;
  --muted: #5f6b6c;
  --line: #e4eaea;
  --soft: #f6f8f8;
  --petal: #ebf8eb;
  --green: #0f8a5f;
  --amber: #f59e0b;
  --danger: #d92d20;
  --r: 16px;
  --r-sm: 10px;
  --shadow: 0 1px 2px rgba(7, 21, 22, .05), 0 8px 24px rgba(7, 21, 22, .06);
  --shadow-lg: 0 18px 50px rgba(7, 21, 22, .14);
  --font: 'Onest', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --c-residence: #4f46e5;
  --c-room: #FD4621;
  --c-sublet: #0f766e;
  --c-roommate: #db2777;
  --c-item: #b45309;
}

/* ---------- base ---------- */
html { scroll-behavior: smooth; }
body { font-family: var(--font); color: var(--ink); background: #fff; font-size: 15.5px; line-height: 1.6; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, h5 { font-family: var(--font); color: var(--ink); font-weight: 700; letter-spacing: -.01em; line-height: 1.2; }
a { color: var(--ink); text-decoration: none; }
a:hover { color: var(--brand); }
.prose a, .faq-a a, .l-section a, .seo-copy a { color: var(--brand-600); text-decoration: underline; text-underline-offset: 2px; }
img { max-width: 100%; height: auto; }
.container-xl { max-width: 1320px; }
.container-lg { max-width: 1140px; }
.muted { color: var(--muted) !important; }
.muted-lg { color: var(--muted); font-size: 1.05rem; }
.small-muted { color: var(--muted); font-size: .875rem; }
.text-verified { color: #1d9bf0; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px; z-index: 2000; }
.skip-link:focus { left: 8px; color: #fff; }
.hp-field { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.flag { font-family: 'Apple Color Emoji', 'Segoe UI Emoji', 'Noto Color Emoji', sans-serif; }
:focus-visible { outline: 3px solid rgba(253, 70, 33, .45); outline-offset: 2px; }

/* ---------- buttons ---------- */
.btn { font-weight: 600; border-radius: 999px; padding: .62rem 1.2rem; display: inline-flex; align-items: center; justify-content: center; gap: .45rem; border: 1px solid transparent; transition: .2s; font-size: .95rem; }
.btn-lg { padding: .85rem 1.6rem; font-size: 1.02rem; }
.btn-sm { padding: .38rem .85rem; font-size: .85rem; }
.btn-primary { background: var(--brand); border-color: var(--brand); color: #fff; }
.btn-primary:hover, .btn-primary:focus { background: var(--brand-600); border-color: var(--brand-600); color: #fff; box-shadow: 0 8px 20px rgba(253, 70, 33, .28); }
.btn-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.btn-dark:hover { background: #1b2c2d; color: #fff; }
.btn-outline { border-color: var(--line); background: #fff; color: var(--ink); }
.btn-outline:hover { border-color: var(--ink); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--ink); }
.btn-ghost:hover { background: var(--soft); color: var(--ink); }
.btn-light { background: #fff; color: var(--ink); border-color: #fff; }
.btn-light:hover { background: var(--brand-50); color: var(--ink); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-link, .btn-link-light { background: none; border: 0; padding: 0; color: var(--brand-600); font-weight: 600; text-decoration: underline; cursor: pointer; }
.btn-link-light { color: #fff; }
.icon-btn { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; justify-content: center; position: relative; color: var(--ink); font-size: 1.1rem; flex-shrink: 0; cursor: pointer; transition: .2s; }
.icon-btn:hover { border-color: var(--ink); color: var(--ink); }
.dot-badge { position: absolute; top: -4px; right: -4px; background: var(--brand); color: #fff; font-size: .68rem; font-weight: 700; min-width: 19px; height: 19px; border-radius: 10px; display: flex; align-items: center; justify-content: center; padding: 0 5px; border: 2px solid #fff; }
.ghost-link { background: none; border: 0; color: var(--muted); font-size: .88rem; display: inline-flex; gap: .35rem; align-items: center; cursor: pointer; padding: 4px 6px; border-radius: 8px; }
.ghost-link:hover { color: var(--ink); background: var(--soft); }

/* ---------- top bars ---------- */
.announce { background: var(--ink); color: #fff; text-align: center; font-size: .88rem; padding: 8px 16px; }
.impersonate-bar { background: #7c3aed; color: #fff; text-align: center; padding: 8px; font-size: .9rem; }

/* ---------- header ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .92); backdrop-filter: saturate(160%) blur(12px); border-bottom: 1px solid transparent; transition: .2s; }
.site-header > .container-xl { height: 74px; }
.site-header.is-scrolled { border-bottom-color: var(--line); box-shadow: 0 6px 20px rgba(7, 21, 22, .05); }
.brand { display: inline-flex; align-items: center; gap: .55rem; font-weight: 800; font-size: 1.22rem; letter-spacing: -.02em; color: var(--ink); white-space: nowrap; }
.brand b { color: var(--brand); font-weight: 800; }
.brand:hover { color: var(--ink); }
.brand-light, .brand-light:hover { color: #fff; }
.main-nav { margin-left: 1.5rem; gap: .2rem; align-items: center; }
.nav-link { padding: .55rem .85rem; border-radius: 999px; font-weight: 500; color: var(--ink-2); display: inline-flex; align-items: center; gap: .3rem; }
.nav-link:hover { background: var(--soft); color: var(--ink); }
.nav-item { position: relative; }
.mega { position: absolute; top: calc(100% + 12px); left: -20px; background: #fff; border-radius: 20px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: 1.2rem; opacity: 0; visibility: hidden; transform: translateY(8px); transition: .2s; z-index: 50; }
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: none; }
.has-mega::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 14px; }
.mega-types { width: 560px; display: grid; grid-template-columns: 1fr 1fr; gap: .3rem; }
.mega-type { display: flex; gap: .8rem; padding: .7rem; border-radius: 14px; align-items: flex-start; }
.mega-type:hover { background: var(--soft); color: var(--ink); }
.mega-type strong { display: block; font-size: .95rem; }
.mega-type small { display: block; color: var(--muted); font-size: .8rem; line-height: 1.4; }
.ico { width: 42px; height: 42px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; background: var(--brand-50); color: var(--brand); }
.ico-residence .ico, .ico-residence.ico { background: #eef0ff; color: var(--c-residence); }
.ico-room .ico { background: var(--brand-50); color: var(--c-room); }
.ico-sublet .ico { background: #e6f5f3; color: var(--c-sublet); }
.ico-roommate .ico { background: #fdecf4; color: var(--c-roommate); }
.ico-item .ico { background: #fdf3e5; color: var(--c-item); }
.mega-cities { width: 720px; display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 1rem; left: -200px; }
.mega-cities ul { list-style: none; padding: 0; margin: 0; columns: 1; }
.mega-cities > div:first-child ul { columns: 2; }
.mega-cities li a { display: block; padding: .28rem .2rem; font-size: .92rem; color: var(--ink-2); }
.mega-cities li a:hover { color: var(--brand); }
.mega-cities .flag { margin-right: .35rem; }
.mega-title { font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 700; margin-bottom: .4rem; }
.mega-all { grid-column: 1 / -1; border-top: 1px solid var(--line); padding-top: .8rem; font-weight: 600; color: var(--brand-600); }
.user-menu { position: relative; }
.user-btn { border: 0; background: none; padding: 0; border-radius: 50%; cursor: pointer; }
.user-dropdown { position: absolute; right: 0; top: calc(100% + 10px); width: 250px; background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: .5rem; opacity: 0; visibility: hidden; transform: translateY(6px); transition: .18s; }
.user-menu.is-open .user-dropdown { opacity: 1; visibility: visible; transform: none; }
.ud-head { display: flex; gap: .7rem; align-items: center; padding: .6rem; border-bottom: 1px solid var(--line); margin-bottom: .3rem; }
.ud-head strong { display: block; line-height: 1.2; }
.ud-head small { color: var(--muted); }
.user-dropdown a, .user-dropdown button { display: flex; width: 100%; gap: .6rem; align-items: center; padding: .55rem .7rem; border-radius: 10px; border: 0; background: none; font-size: .93rem; color: var(--ink-2); text-align: left; }
.user-dropdown a:hover, .user-dropdown button:hover { background: var(--soft); color: var(--ink); }
.user-dropdown i { width: 18px; color: var(--muted); }
.ud-admin { color: #7c3aed !important; font-weight: 600; }
.avatar { border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.avatar-initials { display: inline-flex; align-items: center; justify-content: center; font-weight: 700; letter-spacing: .02em; }

/* drawers & modals */
.drawer { position: fixed; inset: 0; z-index: 1500; background: rgba(7, 21, 22, .45); opacity: 0; visibility: hidden; transition: .2s; }
.drawer.is-open { opacity: 1; visibility: visible; }
.drawer-panel { position: absolute; right: 0; top: 0; bottom: 0; width: min(360px, 88vw); background: #fff; padding: 1.2rem; overflow-y: auto; transform: translateX(100%); transition: .25s; }
.drawer.is-open .drawer-panel { transform: none; }
.drawer-top .drawer-panel { left: 0; width: 100%; bottom: auto; transform: translateY(-100%); display: flex; gap: .5rem; align-items: flex-start; }
.drawer-top .search-pill { flex: 1; }
.drawer-nav a { display: flex; gap: .7rem; align-items: center; padding: .65rem .4rem; border-radius: 10px; font-weight: 500; }
.drawer-nav a:hover { background: var(--soft); }
.drawer-nav i { width: 22px; color: var(--brand); }
.drawer-title { margin: 1rem 0 .3rem; font-size: .75rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.modal-x { position: fixed; inset: 0; z-index: 1600; background: rgba(7, 21, 22, .5); display: flex; align-items: center; justify-content: center; padding: 16px; opacity: 0; visibility: hidden; transition: .2s; }
.modal-x.is-open { opacity: 1; visibility: visible; }
.modal-x-panel { background: #fff; border-radius: 20px; padding: 1.6rem; width: 100%; max-width: 480px; position: relative; max-height: 90vh; overflow-y: auto; }
.modal-x-panel h2 { font-size: 1.35rem; }
.modal-x-close { position: absolute; right: 14px; top: 14px; border: 0; background: var(--soft); width: 36px; height: 36px; border-radius: 50%; }
.radio-list label { display: flex; gap: .6rem; padding: .5rem .2rem; border-bottom: 1px solid var(--line); cursor: pointer; }

/* toasts */
.toasts { position: fixed; z-index: 1700; top: 86px; right: 16px; display: flex; flex-direction: column; gap: 10px; max-width: min(420px, calc(100vw - 32px)); }
.toast-msg { background: var(--ink); color: #fff; border-radius: 14px; padding: .85rem 1rem; display: flex; gap: .7rem; align-items: flex-start; box-shadow: var(--shadow-lg); animation: tin .25s ease-out; font-size: .93rem; }
.toast-msg.is-success i { color: #4ade80; }
.toast-msg.is-error { background: #7f1d1d; }
.toast-msg.is-info i { color: #93c5fd; }
.toast-msg button { margin-left: auto; background: none; border: 0; color: #fff; opacity: .7; font-size: 1.2rem; line-height: 1; }
@keyframes tin { from { opacity: 0; transform: translateY(-8px); } }

/* breadcrumbs */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: .25rem; padding: .9rem 0 .2rem; margin: 0; font-size: .85rem; color: var(--muted); }
.crumbs li + li::before { content: '/'; margin-right: .3rem; opacity: .5; }
.crumbs a { color: var(--muted); }
.crumbs a:hover { color: var(--brand); }

/* ---------- search ---------- */
.search-pill { position: relative; display: flex; align-items: center; gap: .5rem; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .4rem .4rem .4rem 1.2rem; box-shadow: var(--shadow); }
.search-pill > i { color: var(--muted); font-size: 1.1rem; }
.search-pill input { flex: 1; border: 0; outline: none; min-width: 0; background: transparent; font-size: 1rem; padding: .5rem 0; color: var(--ink); }
.search-pill select { border: 0; border-left: 1px solid var(--line); background: transparent; padding: .5rem 1rem; color: var(--ink-2); outline: none; max-width: 190px; }
.search-pill-lg { padding: .5rem .5rem .5rem 1.4rem; max-width: 760px; }
.search-pill-lg input { font-size: 1.08rem; padding: .7rem 0; }
.search-pill-lg .btn { padding: .85rem 1.6rem; }
.suggest-box { position: absolute; top: calc(100% + 8px); left: 0; right: 0; background: #fff; border-radius: 18px; box-shadow: var(--shadow-lg); border: 1px solid var(--line); padding: .4rem; z-index: 60; display: none; text-align: left; }
.suggest-box.is-open { display: block; }
.suggest-item { display: flex; gap: .75rem; align-items: center; padding: .6rem .8rem; border-radius: 12px; color: var(--ink); }
.suggest-item:hover, .suggest-item.is-active { background: var(--soft); color: var(--ink); }
.suggest-item .s-ico { width: 34px; height: 34px; border-radius: 10px; background: var(--soft); display: flex; align-items: center; justify-content: center; color: var(--brand); }
.suggest-item strong { display: block; font-weight: 600; font-size: .95rem; line-height: 1.25; }
.suggest-item small { color: var(--muted); font-size: .8rem; }
.suggest-item .s-kind { margin-left: auto; font-size: .7rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(160deg, #fff7f3 0%, #fff 45%, var(--petal) 100%); padding: 72px 0 56px; }
.hero-bg .blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; }
.hero-bg .b1 { width: 460px; height: 460px; background: #ffd2c2; top: -160px; right: -80px; }
.hero-bg .b2 { width: 380px; height: 380px; background: #d4f2dc; bottom: -180px; left: -100px; }
.hero-bg .grid-dots { position: absolute; inset: 0; background-image: radial-gradient(rgba(7, 21, 22, .07) 1px, transparent 1px); background-size: 22px 22px; mask-image: linear-gradient(to bottom, #000, transparent 85%); }
.hero-inner { max-width: 860px; margin: 0 auto; text-align: center; }
.hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.6rem); font-weight: 800; letter-spacing: -.03em; margin: 1rem 0; }
.hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 680px; margin: 0 auto 2rem; }
.hero .search-pill-lg { margin: 0 auto; }
.eyebrow { display: inline-flex; gap: .45rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .35rem .9rem; font-size: .85rem; font-weight: 600; color: var(--ink-2); }
.eyebrow i { color: var(--green); }
.eyebrow.light { background: rgba(255, 255, 255, .14); border-color: rgba(255, 255, 255, .25); color: #fff; }
.eyebrow.light i { color: #fff; }
.quick-chips { display: flex; flex-wrap: wrap; gap: .45rem; justify-content: center; margin-top: 1.2rem; font-size: .9rem; align-items: center; }
.quick-chips span { color: var(--muted); }
.quick-chips a { background: #fff; border: 1px solid var(--line); padding: .3rem .8rem; border-radius: 999px; font-weight: 500; }
.quick-chips a:hover { border-color: var(--brand); }
.hero-stats { list-style: none; display: flex; justify-content: center; gap: clamp(1.2rem, 5vw, 4rem); padding: 0; margin: 3rem 0 0; flex-wrap: wrap; }
.hero-stats li { text-align: center; }
.hero-stats strong { display: block; font-size: 1.9rem; font-weight: 800; letter-spacing: -.02em; }
.hero-stats span { color: var(--muted); font-size: .9rem; }

.page-hero { --h: 14; position: relative; overflow: hidden; color: #fff; padding: 56px 0 48px; background: linear-gradient(120deg, #071516 0%, hsl(var(--h), 45%, 22%) 60%, hsl(calc(var(--h) + 30), 60%, 32%) 100%); }
.page-hero::after { content: ''; position: absolute; inset: 0; background-image: radial-gradient(rgba(255, 255, 255, .08) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.page-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .32; }
.page-hero .container-xl, .page-hero .container-lg { position: relative; z-index: 2; }
.page-hero h1 { color: #fff; font-size: clamp(1.9rem, 3.8vw, 3rem); font-weight: 800; letter-spacing: -.025em; margin: .9rem 0 .5rem; max-width: 900px; }
.page-hero .h1-sub { opacity: .7; font-weight: 600; }
.page-hero .lead { color: rgba(255, 255, 255, .82); font-size: 1.08rem; max-width: 760px; margin-bottom: 1.6rem; }
.page-hero .search-pill { color: var(--ink); }
.page-hero-slim { padding: 44px 0 36px; }
.page-hero-type.ico-residence { background: linear-gradient(120deg, #071516, #312e81 70%, #4f46e5); }
.page-hero-type.ico-room { background: linear-gradient(120deg, #071516, #7c2d12 70%, #FD4621); }
.page-hero-type.ico-sublet { background: linear-gradient(120deg, #071516, #134e4a 70%, #0f766e); }
.page-hero-type.ico-roommate { background: linear-gradient(120deg, #071516, #831843 70%, #db2777); }
.page-hero-type.ico-item { background: linear-gradient(120deg, #071516, #78350f 70%, #b45309); }

/* ---------- sections ---------- */
.section { padding-top: 64px; padding-bottom: 64px; }
.section-tint { background: var(--soft); }
.sec-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem; margin-bottom: 1.6rem; flex-wrap: wrap; }
.kicker { display: inline-block; color: var(--brand-600); font-weight: 700; font-size: .78rem; text-transform: uppercase; letter-spacing: .1em; margin-bottom: .35rem; }
.h-sec { font-size: clamp(1.45rem, 2.4vw, 2rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: 1rem; }
.h-sec.h-sm { font-size: 1.3rem; }
.sec-head .h-sec { margin-bottom: 0; }
.link-more { font-weight: 600; color: var(--brand-600); display: inline-flex; gap: .4rem; align-items: center; }
.tabs { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: 4px; }
.tab { border: 0; background: none; border-radius: 999px; padding: .45rem 1rem; font-weight: 600; color: var(--muted); }
.tab.is-active { background: var(--ink); color: #fff; }
.tab-panel { display: none; }
.tab-panel.is-active { display: block; }

.type-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.type-tile { border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem; display: flex; flex-direction: column; gap: .35rem; transition: .2s; background: #fff; }
.type-tile:hover { border-color: transparent; box-shadow: var(--shadow-lg); transform: translateY(-3px); color: var(--ink); }
.type-tile .ico { width: 52px; height: 52px; font-size: 1.45rem; margin-bottom: .5rem; border-radius: 16px; }
.type-tile strong { font-size: 1.05rem; }
.type-tile small { color: var(--muted); line-height: 1.45; flex: 1; }
.type-count { font-size: .85rem; font-weight: 600; color: var(--brand-600); margin-top: .5rem; display: flex; justify-content: space-between; align-items: center; }

.city-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.city-card { --a: #FD4621; --b: #ff9a62; position: relative; display: block; border-radius: 20px; overflow: hidden; aspect-ratio: 4 / 3; color: #fff; background: radial-gradient(circle at 85% 10%, rgba(255,255,255,.28), transparent 45%), linear-gradient(140deg, var(--a), var(--b)); isolation: isolate; }
.pal-1 { --a: #0f766e; --b: #2dd4bf; } .pal-2 { --a: #3730a3; --b: #818cf8; } .pal-3 { --a: #9d174d; --b: #f472b6; }
.pal-4 { --a: #b45309; --b: #fbbf24; } .pal-5 { --a: #075985; --b: #38bdf8; } .pal-6 { --a: #071516; --b: #46595a; } .pal-7 { --a: #166534; --b: #4ade80; }
.city-card-letter { position: absolute; right: -6px; bottom: -38px; font-size: 11rem; font-weight: 800; line-height: 1; color: rgba(255,255,255,.16); letter-spacing: -.05em; z-index: -1; }
.city-card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; transition: transform .4s; }
.city-card:hover img { transform: scale(1.05); }
.city-card-shade { position: absolute; inset: 0; background: linear-gradient(to top, rgba(7, 21, 22, .42) 0%, rgba(7, 21, 22, .12) 40%, rgba(7, 21, 22, 0) 70%); z-index: -1; }
.city-card::before { content: ''; position: absolute; width: 160px; height: 160px; border: 1px solid rgba(255, 255, 255, .25); border-radius: 50%; right: -40px; top: -40px; }
.city-card-flag { position: absolute; top: 14px; left: 14px; background: rgba(255, 255, 255, .92); border-radius: 999px; padding: .1rem .55rem; font-size: 1rem; }
.city-card-body { position: absolute; left: 16px; right: 16px; bottom: 14px; }
.city-card strong { display: block; font-size: 1.25rem; font-weight: 700; color: #fff; }
.city-card small { color: rgba(255, 255, 255, .85); font-size: .82rem; }
.city-card:hover { color: #fff; box-shadow: var(--shadow-lg); }

/* ---------- listing cards ---------- */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem; }
.card-grid-3 { grid-template-columns: repeat(3, 1fr); }
.card-grid-2 { grid-template-columns: repeat(2, 1fr); }
.results .card-grid { grid-template-columns: repeat(3, 1fr); }
.l-card { position: relative; border-radius: 18px; background: #fff; border: 1px solid var(--line); overflow: hidden; display: flex; flex-direction: column; transition: .2s; }
.l-card:hover { box-shadow: var(--shadow-lg); border-color: transparent; transform: translateY(-2px); }
.l-card.is-featured { border-color: var(--brand-100); }
.l-card-media { position: relative; display: block; aspect-ratio: 3 / 2; overflow: hidden; background: var(--soft); }
.l-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.l-card:hover .l-card-media img { transform: scale(1.04); }
.l-type { position: absolute; left: 12px; bottom: 12px; background: rgba(255, 255, 255, .95); border-radius: 999px; padding: .22rem .65rem; font-size: .76rem; font-weight: 600; color: var(--ink); display: inline-flex; gap: .3rem; align-items: center; }
.l-type.ico-residence i { color: var(--c-residence); }
.l-type.ico-room i { color: var(--c-room); }
.l-type.ico-sublet i { color: var(--c-sublet); }
.l-type.ico-roommate i { color: var(--c-roommate); }
.l-type.ico-item i { color: var(--c-item); }
.l-flag { position: absolute; left: 12px; top: 12px; background: var(--brand); color: #fff; border-radius: 999px; padding: .18rem .6rem; font-size: .72rem; font-weight: 700; letter-spacing: .02em; }
.fav-btn { position: absolute; right: 12px; top: 12px; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--ink); display: flex; align-items: center; justify-content: center; font-size: 1.05rem; z-index: 2; cursor: pointer; transition: transform .15s; }
.fav-btn:hover { transform: scale(1.08); }
.fav-btn.is-on, .fav-btn-inline.is-on { color: var(--brand); }
.l-card-body { padding: .95rem 1rem 1rem; display: flex; flex-direction: column; flex: 1; }
.l-loc { color: var(--muted); font-size: .82rem; margin-bottom: .25rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.l-title { font-size: 1rem; font-weight: 600; line-height: 1.35; margin-bottom: .45rem; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; letter-spacing: 0; }
.l-title a::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.l-meta { list-style: none; padding: 0; margin: 0 0 .7rem; display: flex; flex-wrap: wrap; gap: .3rem; }
.l-meta li { background: var(--soft); border-radius: 6px; padding: .1rem .5rem; font-size: .76rem; color: var(--ink-2); }
.l-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: .5rem; }
.l-price small { display: block; color: var(--muted); font-size: .72rem; line-height: 1; }
.l-price strong { font-size: 1.12rem; font-weight: 700; }
.l-price strong.muted { font-size: .88rem; font-weight: 600; }
.verified { font-size: .76rem; color: #1d72b8; font-weight: 600; white-space: nowrap; position: relative; z-index: 2; }
.verified i { color: #1d9bf0; }

.uni-chips { display: grid; grid-template-columns: repeat(4, 1fr); gap: .7rem; }
.uni-chip { display: flex; gap: .7rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; transition: .2s; }
.uni-chip:hover { border-color: var(--brand); color: var(--ink); }
.uni-chip strong { display: block; font-size: .93rem; line-height: 1.25; }
.uni-chip small { color: var(--muted); font-size: .8rem; }
.uni-chip .flag { font-size: 1.3rem; }

.trust { background: var(--ink); color: #fff; }
.trust h2, .trust h3 { color: #fff; }
.trust .muted-lg { color: rgba(255, 255, 255, .7); }
.trust .kicker { color: #ff9a7a; }
.trust .btn-outline { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .35); }
.trust .btn-outline:hover { border-color: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.trust-grid > div { background: rgba(255, 255, 255, .05); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; padding: 1.2rem; }
.trust-grid i { font-size: 1.5rem; color: #ff8a65; margin-bottom: .6rem; display: block; }
.trust-grid h3 { font-size: 1.02rem; margin-bottom: .3rem; }
.trust-grid p { color: rgba(255, 255, 255, .68); font-size: .9rem; margin: 0; }

.panel { background: #fff; border: 1px solid var(--line); border-radius: var(--r); padding: 1.3rem; }
.panel-accent { background: linear-gradient(150deg, var(--brand-50), #fff); border-color: var(--brand-100); }
.panel-green { background: #e9f8ef; border-color: #c7ecd5; color: #14532d; }
.panel-green i { color: var(--green); }
.panel-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: .6rem; }
.panel-head h2 { font-size: 1.05rem; margin: 0; }
.panel-head a { font-size: .88rem; font-weight: 600; color: var(--brand-600); }
.check-list { list-style: none; padding: 0; margin: 1rem 0 1.3rem; }
.check-list li { padding: .3rem 0 .3rem 1.8rem; position: relative; }
.check-list li::before { content: '\f00c'; font-family: 'Font Awesome 6 Pro'; font-weight: 300; position: absolute; left: 0; color: var(--green); }
.check-list.light li { color: #fff; }
.check-list.light li::before { color: #86efac; }

.guide-list { display: flex; flex-direction: column; gap: .8rem; }
.guide-row { display: flex; gap: 1rem; align-items: center; padding: .7rem; border-radius: 16px; border: 1px solid var(--line); }
.guide-row:hover { box-shadow: var(--shadow); color: var(--ink); }
.guide-row img { width: 130px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.guide-row strong { display: block; font-size: 1.02rem; line-height: 1.3; margin-bottom: .25rem; }
.guide-row small { color: var(--muted); }
.guide-card { display: block; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); height: 100%; }
.guide-card img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; }
.guide-card strong { display: block; padding: .8rem 1rem 1rem; line-height: 1.35; }
.guide-card:hover { box-shadow: var(--shadow); color: var(--ink); }
.mini-posts { display: flex; flex-direction: column; gap: .7rem; }
.mini-post { display: flex; gap: .8rem; align-items: flex-start; padding: .9rem; border-radius: 16px; background: var(--soft); }
.mini-post:hover { color: var(--ink); background: #eef2f2; }
.mini-post small { color: var(--muted); }
.mini-post em { display: block; font-style: normal; color: var(--ink-2); font-size: .92rem; margin-top: .2rem; }

/* FAQ */
.faq-list { display: flex; flex-direction: column; gap: .6rem; max-width: 900px; }
.faq-list details { border: 1px solid var(--line); border-radius: 14px; background: #fff; }
.faq-list summary { list-style: none; cursor: pointer; padding: 1rem 1.2rem; font-weight: 600; display: flex; justify-content: space-between; gap: 1rem; align-items: center; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list details[open] summary i { transform: rotate(45deg); }
.faq-list summary i { transition: .2s; color: var(--brand); }
.faq-a { padding: 0 1.2rem 1.1rem; color: var(--ink-2); }

/* footer */
.site-footer { background: var(--ink); color: rgba(255, 255, 255, .72); padding: 0 0 1.5rem; margin-top: 64px; }
.footer-cta { background: linear-gradient(120deg, var(--brand), #ff7a45); color: #fff; border-radius: 24px; padding: 2rem 2.2rem; display: flex; justify-content: space-between; align-items: center; gap: 1.5rem; flex-wrap: wrap; transform: translateY(-50%); margin-bottom: -1rem; }
.footer-cta h2 { color: #fff; font-size: 1.55rem; margin-bottom: .3rem; }
.footer-cta p { margin: 0; color: rgba(255, 255, 255, .88); }
.footer-cta .btn-primary { background: var(--ink); border-color: var(--ink); }
.footer-title { color: #fff; font-weight: 700; margin-bottom: .8rem; }
.footer-cols ul { list-style: none; padding: 0; margin: 0; }
.footer-cols li { padding: .22rem 0; }
.footer-cols a { color: rgba(255, 255, 255, .7); font-size: .92rem; }
.footer-cols a:hover { color: #fff; }
.footer-about { font-size: .92rem; }
.socials { display: flex; gap: .5rem; margin-top: 1rem; }
.socials a { width: 38px; height: 38px; border-radius: 50%; background: rgba(255, 255, 255, .08); display: inline-flex; align-items: center; justify-content: center; color: #fff; }
.socials a:hover { background: var(--brand); }
.socials.dark a { background: var(--soft); color: var(--ink); }
.socials.dark a:hover { background: var(--brand); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); margin-top: 2.5rem; padding-top: 1.3rem; display: flex; justify-content: space-between; gap: 1rem; flex-wrap: wrap; font-size: .87rem; }
.footer-bottom a { color: rgba(255, 255, 255, .7); }

/* ---------- index pages ---------- */
.type-tabs { display: flex; gap: .45rem; overflow-x: auto; padding: 1.4rem 0 1rem; scrollbar-width: none; }
.type-tabs::-webkit-scrollbar { display: none; }
.type-tabs a { display: inline-flex; gap: .45rem; align-items: center; padding: .5rem 1rem; border-radius: 999px; border: 1px solid var(--line); white-space: nowrap; font-weight: 500; font-size: .92rem; background: #fff; }
.type-tabs a span { background: var(--soft); border-radius: 999px; padding: 0 .5rem; font-size: .78rem; color: var(--muted); }
.type-tabs a.is-active { background: var(--ink); color: #fff; border-color: var(--ink); }
.type-tabs a.is-active span { background: rgba(255, 255, 255, .15); color: #fff; }
.filter-bar { background: var(--soft); border-radius: 18px; padding: .9rem 1rem; margin-bottom: 1rem; }
.fb-row { display: flex; flex-wrap: wrap; gap: .8rem; align-items: flex-end; }
.fb-field label { display: block; font-size: .74rem; font-weight: 600; color: var(--muted); margin-bottom: .2rem; text-transform: uppercase; letter-spacing: .04em; }
.fb-field input, .fb-field select { border: 1px solid var(--line); border-radius: 10px; padding: .45rem .6rem; background: #fff; width: 120px; font-size: .92rem; }
.fb-field select { width: 160px; }
.fb-checks { display: flex; gap: .9rem; flex-wrap: wrap; padding-bottom: .45rem; }
.fb-actions { margin-left: auto; display: flex; gap: .4rem; }
.chk { display: inline-flex; gap: .45rem; align-items: center; font-size: .92rem; cursor: pointer; }
.chk input { width: 17px; height: 17px; accent-color: var(--brand); }
.results-count { color: var(--muted); font-size: .92rem; }
.results-count strong { color: var(--ink); }
.side-box { border: 1px solid var(--line); border-radius: var(--r); padding: 1.15rem; margin-bottom: 1rem; background: #fff; }
.side-title { font-size: 1rem; font-weight: 700; margin-bottom: .7rem; }
.side-cta { background: var(--brand-50); border-color: var(--brand-100); }
.side-cta p { font-size: .9rem; color: var(--ink-2); }
.link-list { list-style: none; padding: 0; margin: 0; }
.link-list li a { display: flex; gap: .55rem; align-items: baseline; padding: .32rem 0; font-size: .92rem; color: var(--ink-2); }
.link-list li a:hover { color: var(--brand); }
.link-list li i { color: var(--muted); }
.link-list small { color: var(--muted); }
.link-list.cols-2 { columns: 2; column-gap: 1.5rem; }
.pill-links { display: flex; flex-wrap: wrap; gap: .45rem; }
.pill-links a { border: 1px solid var(--line); border-radius: 999px; padding: .38rem .9rem; font-size: .9rem; background: #fff; }
.pill-links a:hover { border-color: var(--brand); color: var(--ink); }
.pill-links a.is-strong { background: var(--ink); color: #fff; border-color: var(--ink); }
.pill-links small { color: var(--muted); }
.pill-links.sm a { font-size: .82rem; padding: .25rem .7rem; }
.stat-box { background: var(--soft); border-radius: var(--r); padding: 1.3rem; }
.stat-box h3 { font-size: 1.05rem; }
.stat-box ul { list-style: none; padding: 0; margin: 0; }
.stat-box li { display: flex; justify-content: space-between; padding: .5rem 0; border-bottom: 1px solid var(--line); }
.stat-box li:last-child { border: 0; }
.stat-box li i { color: var(--brand); width: 20px; }
.tip-box { background: #fffbeb; border: 1px solid #fde68a; border-radius: var(--r); padding: 1.3rem; }
.tip-box i { font-size: 1.6rem; color: var(--amber); }
.tip-box h3 { font-size: 1.05rem; margin: .4rem 0; }
.notice-soft { background: #f0f7ff; border: 1px solid #d6e8fb; color: #0b4a80; border-radius: 12px; padding: .65rem .9rem; font-size: .9rem; margin-bottom: 1rem; }
.prose { color: var(--ink-2); }
.prose p { margin-bottom: 1rem; }
.prose h2 { font-size: 1.45rem; margin: 2rem 0 .8rem; }
.prose h3 { font-size: 1.15rem; margin: 1.5rem 0 .6rem; }
.prose ul, .prose ol { padding-left: 1.3rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .35rem; }
.prose-lg { font-size: 1.05rem; line-height: 1.75; }
.empty-state { text-align: center; padding: 3rem 1rem; border: 1px dashed var(--line); border-radius: 20px; background: var(--soft); }
.empty-ico { width: 64px; height: 64px; border-radius: 50%; background: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 1.6rem; color: var(--brand); margin-bottom: .8rem; box-shadow: var(--shadow); }
.empty-state h3 { font-size: 1.2rem; }
.empty-state p { color: var(--muted); max-width: 440px; margin: 0 auto 1rem; }
.pager { display: flex; gap: .35rem; justify-content: center; margin: 2rem 0 0; flex-wrap: wrap; }
.pager a, .pager span { min-width: 42px; height: 42px; border-radius: 12px; border: 1px solid var(--line); display: inline-flex; align-items: center; justify-content: center; padding: 0 .7rem; font-weight: 600; }
.pager .is-current { background: var(--ink); color: #fff; border-color: var(--ink); }
.pager a:hover { border-color: var(--ink); }
.country-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.country-block { border: 1px solid var(--line); border-radius: var(--r); padding: 1rem 1.1rem; }
.country-head { display: flex; gap: .5rem; align-items: center; margin-bottom: .5rem; }
.country-head .flag { font-size: 1.5rem; }
.country-head small { margin-left: auto; color: var(--muted); font-size: .8rem; }
.country-block ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: .1rem .8rem; }
.country-block li a { font-size: .9rem; color: var(--ink-2); }
.country-block li a.is-strong { font-weight: 600; color: var(--ink); }
.uni-country { margin-bottom: 2.5rem; }
.uni-cities { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem 2rem; }
.uni-city h3 { font-size: 1rem; margin-bottom: .3rem; }
.uni-city ul { list-style: none; padding: 0; margin: 0; }
.uni-city li a { font-size: .9rem; color: var(--ink-2); }
.uni-city li small { color: var(--muted); }
.place-hits { margin-bottom: 1.5rem; }

.facts { list-style: none; padding: 0; margin: 0; }
.facts li { display: flex; justify-content: space-between; gap: 1rem; padding: .45rem 0; border-bottom: 1px solid var(--line); font-size: .92rem; }
.facts li:last-child { border: 0; }
.facts li span { color: var(--muted); }

/* ---------- listing page ---------- */
.listing-page { padding-top: .6rem; }
.alert-bar { border-radius: 12px; padding: .8rem 1rem; display: flex; gap: .6rem; align-items: center; margin: .8rem 0; font-size: .93rem; }
.alert-bar.is-warning { background: #fff7e6; border: 1px solid #fde4b0; color: #7c4a03; }
.alert-bar.is-danger { background: #fdecea; border: 1px solid #f8c9c4; color: #8a1c13; }
.alert-bar.is-info { background: #eef6ff; border: 1px solid #d3e6fb; color: #0b4a80; }
.gallery { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 210px 210px; gap: 8px; border-radius: 22px; overflow: hidden; margin: .8rem 0 1.6rem; position: relative; }
.gallery.g-n1 { grid-template-columns: 1fr; grid-template-rows: 440px; }
.gallery.g-n2 { grid-template-columns: 1fr 1fr; grid-template-rows: 420px; }
.gallery.g-n2 .g-main { grid-row: auto; }
.gallery.g-n3 { grid-template-columns: 2fr 1fr; }
.gallery.g-n4 { grid-template-columns: 2fr 1fr 1fr; }
.gallery.g-n4 .g-item:nth-child(4) { grid-column: 2 / 4; }
.g-item { display: block; overflow: hidden; background: var(--soft); }
.g-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.g-item:hover img { transform: scale(1.03); }
.g-main { grid-row: 1 / 3; }
.g-more { position: absolute; right: 14px; bottom: 14px; background: #fff; border: 0; border-radius: 999px; padding: .5rem 1rem; font-weight: 600; box-shadow: var(--shadow); }
.l-head h1 { font-size: clamp(1.5rem, 2.8vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; margin-bottom: .4rem; }
.l-head-loc { color: var(--ink-2); margin-bottom: .2rem; }
.l-head-loc i { color: var(--brand); }
.l-head-loc a { text-decoration: underline; text-underline-offset: 2px; }
.l-head-meta { color: var(--muted); font-size: .86rem; }
.pill { display: inline-flex; gap: .35rem; align-items: center; padding: .25rem .7rem; border-radius: 999px; font-size: .8rem; font-weight: 600; background: var(--brand-50); color: var(--brand-600); }
.pill.ico-residence { background: #eef0ff; color: var(--c-residence); }
.pill.ico-sublet { background: #e6f5f3; color: var(--c-sublet); }
.pill.ico-roommate { background: #fdecf4; color: var(--c-roommate); }
.pill.ico-item { background: #fdf3e5; color: var(--c-item); }
.pill-green { background: #e7f7ee; color: var(--green); }
.pill-green i { color: #1d9bf0; }
.pill-grey { background: var(--soft); color: var(--ink-2); }
.pill-amber { background: #fff7e0; color: #92600a; }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: .7rem; margin: 1.4rem 0; }
.facts-grid > div { border: 1px solid var(--line); border-radius: 14px; padding: .8rem .9rem; display: grid; grid-template-columns: 28px 1fr; column-gap: .4rem; }
.facts-grid i { grid-row: 1 / 3; color: var(--brand); font-size: 1.15rem; padding-top: .15rem; }
.facts-grid span { font-size: .76rem; color: var(--muted); }
.facts-grid strong { font-size: .95rem; font-weight: 600; }
.l-section { padding: 1.6rem 0; border-top: 1px solid var(--line); }
.l-section h2 { font-size: 1.3rem; margin-bottom: .9rem; }
.description { white-space: normal; }
.amenities { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: .55rem; }
.amenities li { display: flex; gap: .6rem; align-items: center; }
.amenities i { color: var(--brand); width: 22px; font-size: 1.1rem; }
.map-card { border-radius: 16px; overflow: hidden; height: 280px; background: linear-gradient(135deg, #eef4f4, #e4efe7); position: relative; }
.map-card iframe, .map-card .leaflet-container { width: 100%; height: 100%; border: 0; }
.map-placeholder { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; color: var(--muted); text-align: center; }
.map-placeholder > i { font-size: 2.2rem; color: var(--brand); }
.review { border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.1rem; margin-bottom: .8rem; }
.review-head { display: flex; gap: .7rem; align-items: center; margin-bottom: .5rem; }
.review-head small { display: block; color: var(--muted); }
.review h3 { font-size: 1rem; margin-bottom: .3rem; }
.review p { margin: 0; color: var(--ink-2); }
.stars { margin-left: auto; color: var(--amber); font-size: .85rem; white-space: nowrap; }
.star-input { display: inline-flex; flex-direction: row-reverse; gap: .2rem; margin-bottom: .6rem; }
.star-input input { display: none; }
.star-input label { font-size: 1.5rem; color: #d7dddd; cursor: pointer; }
.star-input input:checked ~ label, .star-input label:hover, .star-input label:hover ~ label { color: var(--amber); }
.review-form summary { list-style: none; display: inline-flex; }
.review-form summary::-webkit-details-marker { display: none; }
.sticky-side { position: sticky; top: 92px; }
.contact-card { border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem; box-shadow: var(--shadow); background: #fff; }
.cc-price { margin-bottom: 1rem; }
.cc-price small { display: block; color: var(--muted); font-size: .8rem; }
.cc-price strong { font-size: 1.7rem; font-weight: 800; letter-spacing: -.02em; }
.cc-price strong.muted { font-size: 1.05rem; }
.cc-form textarea { border-radius: 14px; font-size: .93rem; }
.cc-actions { display: flex; justify-content: space-between; border-top: 1px solid var(--line); margin-top: 1rem; padding-top: .7rem; }
.cc-actions button { background: none; border: 0; color: var(--ink-2); font-size: .88rem; display: inline-flex; gap: .35rem; align-items: center; padding: .35rem .5rem; border-radius: 8px; cursor: pointer; }
.cc-actions button:hover { background: var(--soft); }
.claim-box { margin-top: 1rem; background: var(--soft); border-radius: 14px; padding: .8rem 1rem; font-size: .9rem; }
.claim-box summary { cursor: pointer; }
.owner-card { display: flex; gap: .8rem; align-items: center; border: 1px solid var(--line); border-radius: 18px; padding: 1rem; margin-top: 1rem; }
.owner-card:hover { color: var(--ink); box-shadow: var(--shadow); }
.owner-card strong { display: block; }
.owner-card small { display: block; color: var(--muted); font-size: .8rem; }
.owner-card > i { margin-left: auto; color: var(--muted); }
.safety-card { margin-top: 1rem; background: #f0faf4; border: 1px solid #cdeedb; border-radius: 18px; padding: 1rem 1.1rem; font-size: .88rem; }
.safety-card h3 { font-size: .98rem; color: #14532d; }
.safety-card ul { padding-left: 1.1rem; margin-bottom: .5rem; color: #1f3d2b; }
.safety-card a { font-weight: 600; color: var(--green); }
.lightbox { position: fixed; inset: 0; background: rgba(7, 21, 22, .95); z-index: 1800; display: flex; align-items: center; justify-content: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox button { position: absolute; background: rgba(255, 255, 255, .12); border: 0; color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.3rem; }
.lb-close { top: 18px; right: 18px; }
.lb-prev { left: 18px; }
.lb-next { right: 18px; }

.mobile-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 900; background: #fff; border-top: 1px solid var(--line); padding: .7rem 16px calc(.7rem + env(safe-area-inset-bottom)); display: flex; justify-content: space-between; align-items: center; gap: 1rem; box-shadow: 0 -8px 24px rgba(7,21,22,.08); }
.mobile-cta small { display: block; color: var(--muted); font-size: .75rem; }
.mobile-cta strong { font-size: 1.15rem; }
@media (max-width: 991.98px) { .listing-page { padding-bottom: 80px; } }

/* ---------- forms ---------- */
.form-control, .form-select { border-radius: 12px; border-color: #d8e0e0; padding: .65rem .85rem; font-size: .96rem; }
.form-control:focus, .form-select:focus { border-color: var(--brand); box-shadow: 0 0 0 4px rgba(253, 70, 33, .12); }
.form-label { font-weight: 600; font-size: .9rem; margin-bottom: .35rem; }
.form-hint { color: var(--muted); font-size: .82rem; margin: .3rem 0 0; }
.input-group-text { border-radius: 12px; background: var(--soft); }
.form-head { max-width: 860px; margin-bottom: 1.5rem; }
.form-head h1 { font-size: 2rem; font-weight: 800; }
.form-card { border: 1px solid var(--line); border-radius: 20px; padding: 1.5rem; margin-bottom: 1.2rem; background: #fff; }
.form-card legend { font-size: 1.15rem; font-weight: 700; display: flex; gap: .6rem; align-items: center; margin-bottom: 1rem; float: left; width: 100%; padding: 0; }
.form-card legend + * { clear: both; }
.form-card-title { font-size: 1.15rem; margin-bottom: 1rem; }
.step { width: 30px; height: 30px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .9rem; display: inline-flex; align-items: center; justify-content: center; }
.type-picker { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; }
.type-option { border: 2px solid var(--line); border-radius: 16px; padding: 1rem .8rem; text-align: center; cursor: pointer; display: flex; flex-direction: column; align-items: center; gap: .3rem; transition: .15s; }
.type-option input { position: absolute; opacity: 0; pointer-events: none; }
.type-option:has(input:checked) { border-color: var(--brand); background: var(--brand-50); }
.type-option strong { font-size: .92rem; }
.type-option small { color: var(--muted); font-size: .76rem; }
.type-option.is-disabled { opacity: .5; cursor: not-allowed; }
.roommate-mode { display: flex; gap: .7rem; margin-top: 1rem; flex-wrap: wrap; }
.seg { cursor: pointer; }
.seg input { position: absolute; opacity: 0; }
.seg span { display: inline-block; border: 2px solid var(--line); padding: .55rem 1rem; border-radius: 999px; font-weight: 500; }
.seg input:checked + span { border-color: var(--ink); background: var(--ink); color: #fff; }
.amen-picker { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: .5rem; }
.amen-picker label { cursor: pointer; }
.amen-picker input { position: absolute; opacity: 0; }
.amen-picker span { display: flex; gap: .5rem; align-items: center; border: 1px solid var(--line); padding: .55rem .8rem; border-radius: 12px; font-size: .92rem; }
.amen-picker input:checked + span { border-color: var(--brand); background: var(--brand-50); }
.amen-picker i { color: var(--brand); width: 20px; }
.dropzone { display: flex; flex-direction: column; align-items: center; gap: .3rem; border: 2px dashed #cfd8d8; border-radius: 18px; padding: 2rem; text-align: center; cursor: pointer; background: var(--soft); transition: .2s; }
.dropzone:hover, .dropzone.is-drag { border-color: var(--brand); background: var(--brand-50); }
.dropzone i { font-size: 2rem; color: var(--brand); }
.dropzone small { color: var(--muted); }
.dropzone input { display: none; }
.photo-preview, .photo-manage { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: .6rem; margin-top: .8rem; }
.photo-preview img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 10px; }
.pm-item { position: relative; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); }
.pm-item img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; display: block; }
.pm-cover { position: absolute; left: 6px; bottom: 6px; background: rgba(255, 255, 255, .95); padding: .1rem .45rem; border-radius: 6px; font-size: .75rem; display: flex; gap: .25rem; align-items: center; }
.pm-del { position: absolute; top: 6px; right: 6px; width: 30px; height: 30px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .95); color: var(--danger); }
.form-actions { display: flex; justify-content: flex-end; gap: .6rem; margin-top: 1.2rem; }
.danger-zone { border-color: #f6cfcb; }
.pw-field { position: relative; }
.pw-toggle { position: absolute; right: 8px; top: 50%; transform: translateY(-50%); border: 0; background: none; color: var(--muted); padding: 6px; }

/* auth */
.auth-wrap { max-width: 1040px; margin: 40px auto; display: grid; grid-template-columns: 1.1fr .9fr; border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.auth-wrap.single { grid-template-columns: 1fr; max-width: 520px; }
.auth-card { padding: 2.6rem; background: #fff; }
.auth-card h1 { font-size: 1.9rem; font-weight: 800; }
.auth-side { background: radial-gradient(circle at 80% 10%, rgba(253, 70, 33, .55), transparent 50%), var(--ink); color: #fff; padding: 2.6rem; display: flex; flex-direction: column; justify-content: center; }
.auth-side h2 { color: #fff; font-size: 1.6rem; }
.acct-types { display: grid; grid-template-columns: repeat(3, 1fr); gap: .5rem; }
.acct-type input { position: absolute; opacity: 0; }
.acct-type span { display: flex; flex-direction: column; align-items: center; text-align: center; gap: .2rem; border: 2px solid var(--line); border-radius: 14px; padding: .8rem .5rem; cursor: pointer; height: 100%; }
.acct-type i { font-size: 1.3rem; color: var(--brand); }
.acct-type strong { font-size: .85rem; line-height: 1.2; }
.acct-type small { font-size: .72rem; color: var(--muted); line-height: 1.3; }
.acct-type input:checked + span { border-color: var(--brand); background: var(--brand-50); }

/* account */
.acc-nav { position: sticky; top: 92px; border: 1px solid var(--line); border-radius: 20px; padding: .6rem; background: #fff; }
.acc-nav a { display: flex; gap: .7rem; align-items: center; padding: .62rem .8rem; border-radius: 12px; color: var(--ink-2); font-weight: 500; }
.acc-nav a i { width: 20px; color: var(--muted); }
.acc-nav a:hover { background: var(--soft); color: var(--ink); }
.acc-nav a.is-active { background: var(--ink); color: #fff; }
.acc-nav a.is-active i { color: #fff; }
.acc-nav .acc-user { border-bottom: 1px solid var(--line); border-radius: 12px 12px 0 0; margin-bottom: .4rem; padding-bottom: .9rem; }
.acc-user strong { display: block; line-height: 1.2; color: var(--ink); }
.acc-user small { color: var(--muted); font-size: .8rem; }
.acc-admin { color: #7c3aed !important; }
.acc-head { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.acc-head h1 { font-size: 1.8rem; font-weight: 800; margin: 0; }
.progress-card { display: flex; gap: 1rem; align-items: center; border: 1px solid var(--brand-100); background: var(--brand-50); border-radius: 18px; padding: 1rem 1.2rem; margin-bottom: 1.2rem; flex-wrap: wrap; }
.progress-card > div:first-child { flex: 1 1 280px; }
.progress-bar-x { flex: 1 1 140px; height: 8px; background: #fff; border-radius: 99px; overflow: hidden; }
.progress-bar-x span { display: block; height: 100%; background: var(--brand); }
.stat-tiles { display: grid; grid-template-columns: repeat(5, 1fr); gap: .7rem; }
.stat-tiles a { border: 1px solid var(--line); border-radius: 16px; padding: 1rem; }
.stat-tiles a:hover { box-shadow: var(--shadow); color: var(--ink); }
.stat-tiles strong { display: block; font-size: 1.6rem; font-weight: 800; }
.stat-tiles span { color: var(--muted); font-size: .85rem; }
.convo-row, .notif-row { display: flex; gap: .7rem; align-items: center; padding: .65rem .3rem; border-bottom: 1px solid var(--line); }
.convo-row:last-child, .notif-row:last-child { border: 0; }
.convo-row strong { display: block; font-size: .95rem; }
.convo-row small { color: var(--muted); font-size: .85rem; }
.convo-row em { margin-left: auto; font-style: normal; color: var(--muted); font-size: .78rem; white-space: nowrap; }
.convo-row.is-unread strong::after { content: ''; display: inline-block; width: 8px; height: 8px; background: var(--brand); border-radius: 50%; margin-left: .4rem; }
.notif-row { align-items: flex-start; color: var(--ink-2); font-size: .92rem; }
.notif-row i { color: var(--muted); margin-top: .25rem; }
.notif-row small { display: block; color: var(--muted); font-size: .78rem; }
.notif-row.is-unread { background: var(--brand-50); border-radius: 10px; padding-left: .6rem; }
.seg-tabs { display: flex; gap: .3rem; flex-wrap: wrap; margin-bottom: 1.2rem; border-bottom: 1px solid var(--line); }
.seg-tabs a { padding: .6rem .9rem; font-weight: 600; color: var(--muted); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.seg-tabs a span { font-size: .78rem; background: var(--soft); border-radius: 99px; padding: 0 .45rem; margin-left: .2rem; }
.seg-tabs a.is-active { color: var(--ink); border-color: var(--brand); }
.my-list { display: flex; flex-direction: column; gap: .8rem; }
.my-item { display: flex; gap: 1rem; border: 1px solid var(--line); border-radius: 18px; padding: .8rem; align-items: center; }
.my-thumb { flex-shrink: 0; }
.my-thumb img { width: 150px; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; }
.my-body { flex: 1; min-width: 0; }
.my-body h3 { font-size: 1.02rem; margin: .3rem 0; }
.my-actions { display: flex; flex-direction: column; gap: .3rem; align-items: flex-end; }
.my-actions form { display: flex; gap: .2rem; flex-wrap: wrap; justify-content: flex-end; }
.reject-note { color: #8a1c13; background: #fdecea; border-radius: 8px; padding: .3rem .6rem; font-size: .85rem; margin: .3rem 0 0; }
.badge-status { display: inline-block; font-size: .72rem; font-weight: 700; padding: .15rem .55rem; border-radius: 99px; text-transform: uppercase; letter-spacing: .03em; }
.badge-status.is-success { background: #e2f6ea; color: #136c43; }
.badge-status.is-warning { background: #fff2d6; color: #8a5a00; }
.badge-status.is-danger { background: #fde2df; color: #9b1c12; }
.badge-status.is-muted { background: var(--soft); color: var(--muted); }

/* ---------- chat ---------- */
.chat-page { padding-top: 1.2rem; padding-bottom: 1rem; }
.chat { display: grid; grid-template-columns: 340px 1fr; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; height: calc(100vh - 140px); min-height: 520px; background: #fff; }
.chat-list { border-right: 1px solid var(--line); overflow-y: auto; }
.chat-list-head { padding: 1rem 1.1rem; border-bottom: 1px solid var(--line); position: sticky; top: 0; background: #fff; z-index: 2; }
.chat-list-head h1 { font-size: 1.3rem; margin: 0; }
.chat-item { display: flex; gap: .7rem; padding: .8rem 1rem; border-bottom: 1px solid var(--line); align-items: center; }
.chat-item:hover { background: var(--soft); color: var(--ink); }
.chat-item.is-active { background: var(--brand-50); }
.ci-body { flex: 1; min-width: 0; }
.ci-top { display: flex; justify-content: space-between; gap: .5rem; }
.ci-top em { font-style: normal; color: var(--muted); font-size: .75rem; white-space: nowrap; }
.ci-body small { display: block; color: var(--muted); font-size: .83rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ci-listing { color: var(--brand-600) !important; }
.chat-item.is-unread strong { font-weight: 800; }
.ci-badge { background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 99px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; }
.chat-main { display: flex; flex-direction: column; min-height: 0; }
.chat-head { display: flex; gap: .6rem; align-items: center; padding: .75rem 1rem; border-bottom: 1px solid var(--line); }
.chat-who { display: flex; gap: .6rem; align-items: center; }
.chat-who strong { display: block; line-height: 1.2; }
.chat-who small { color: var(--muted); font-size: .8rem; }
.chat-listing { display: flex; gap: .7rem; align-items: center; padding: .55rem 1rem; background: var(--soft); border-bottom: 1px solid var(--line); }
.chat-listing img { border-radius: 8px; object-fit: cover; }
.chat-listing strong { display: block; font-size: .9rem; line-height: 1.25; }
.chat-listing small { color: var(--muted); }
.chat-warning { display: flex; gap: .7rem; background: #fff7e6; border-bottom: 1px solid #fde4b0; color: #7c4a03; padding: .7rem 1rem; font-size: .88rem; }
.chat-warning i { font-size: 1.2rem; margin-top: .1rem; }
.chat-warning[hidden] { display: none; }
.chat-body { flex: 1; overflow-y: auto; padding: 1.2rem; display: flex; flex-direction: column; gap: .55rem; background: #fbfcfc; }
.bubble-row { display: flex; gap: .5rem; align-items: flex-end; max-width: 78%; }
.bubble-row.is-mine { align-self: flex-end; flex-direction: row-reverse; }
.bubble { background: #fff; border: 1px solid var(--line); border-radius: 18px 18px 18px 6px; padding: .6rem .9rem; }
.bubble p { margin: 0; white-space: pre-wrap; word-break: break-word; }
.bubble time { display: block; font-size: .7rem; color: var(--muted); margin-top: .2rem; }
.is-mine .bubble { background: var(--ink); color: #fff; border-color: var(--ink); border-radius: 18px 18px 6px 18px; }
.is-mine .bubble time { color: rgba(255, 255, 255, .6); }
.chat-compose { display: flex; gap: .6rem; padding: .8rem; border-top: 1px solid var(--line); align-items: flex-end; }
.chat-compose textarea { flex: 1; border: 1px solid var(--line); border-radius: 20px; padding: .65rem 1rem; resize: none; max-height: 160px; outline: none; }
.chat-compose textarea:focus { border-color: var(--brand); }
.chat-compose .btn { width: 46px; height: 46px; padding: 0; border-radius: 50%; }
.chat-empty { margin: auto; text-align: center; color: var(--muted); }
.chat-empty i { font-size: 3rem; color: var(--line); }

/* ---------- profile & community ---------- */
.profile-cover { --h: 14; height: 240px; background: radial-gradient(circle at 80% 20%, hsla(calc(var(--h) + 40), 85%, 70%, .6), transparent 50%), linear-gradient(120deg, #071516, hsl(var(--h), 50%, 30%)); background-size: cover; background-position: center; }
.profile-head { display: flex; gap: 1.4rem; align-items: flex-start; padding-top: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.profile-avatar { margin-top: -84px; }
.profile-avatar .avatar { border: 5px solid #fff; box-shadow: var(--shadow); }
.profile-id { flex: 1; min-width: 240px; }
.profile-id h1 { font-size: 1.9rem; font-weight: 800; margin-bottom: .1rem; }
.profile-meta { list-style: none; padding: 0; margin: .5rem 0 0; display: flex; flex-wrap: wrap; gap: .3rem 1.1rem; color: var(--ink-2); font-size: .92rem; }
.profile-meta i { color: var(--muted); }
.profile-actions { display: flex; gap: .5rem; padding-bottom: .4rem; }
.profile-stats { display: flex; gap: 1.2rem; margin: 1rem 0; color: var(--muted); font-size: .9rem; }
.profile-stats strong { color: var(--ink); }
.post { border: 1px solid var(--line); border-radius: 20px; padding: 1.1rem 1.2rem; margin-bottom: 1rem; background: #fff; }
.post-head { display: flex; gap: .7rem; align-items: center; margin-bottom: .6rem; }
.post-head small { display: block; color: var(--muted); font-size: .82rem; }
.post-body { white-space: normal; word-break: break-word; }
.post-img { border-radius: 14px; margin-top: .8rem; max-height: 520px; width: 100%; object-fit: cover; }
.post-foot { display: flex; gap: 1rem; margin-top: .7rem; }
.like-btn { border: 0; background: var(--soft); border-radius: 99px; padding: .3rem .8rem; display: inline-flex; gap: .4rem; align-items: center; cursor: pointer; }
.like-btn.is-on { color: var(--brand); background: var(--brand-50); }
.composer { display: flex; gap: .8rem; border: 1px solid var(--line); border-radius: 20px; padding: 1rem; margin-bottom: 1rem; background: #fff; }
.composer-main { flex: 1; }
.composer textarea { width: 100%; border: 0; outline: none; resize: vertical; min-height: 54px; font-size: 1rem; }
.composer-foot { display: flex; gap: .5rem; align-items: center; border-top: 1px solid var(--line); padding-top: .6rem; }
.member-row { display: flex; gap: .7rem; align-items: center; padding: .45rem 0; }
.member-row strong { display: block; font-size: .92rem; line-height: 1.2; }
.member-row small { color: var(--muted); font-size: .8rem; }
.profile-images { border-radius: 16px; overflow: hidden; border: 1px solid var(--line); }
.pi-cover { height: 150px; background: linear-gradient(120deg, #071516, #6b2a17); background-size: cover; background-position: center; display: flex; gap: .6rem; align-items: flex-end; justify-content: flex-end; padding: .8rem; }
.pi-avatar { display: flex; gap: 1rem; align-items: center; padding: 0 1rem 1rem; margin-top: -40px; }
.pi-avatar .avatar { border: 4px solid #fff; }
.chk-light { color: #fff; }

/* guides */
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.guide-tile { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; display: flex; flex-direction: column; }
.gt-media img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.gt-body { padding: 1.1rem 1.2rem 1.3rem; }
.gt-body h2 { font-size: 1.2rem; margin-bottom: .4rem; }
.gt-body p { color: var(--muted); font-size: .93rem; }
.article-head { max-width: 820px; }
.article-head h1 { font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 800; letter-spacing: -.02em; }
.article-head .lead { color: var(--ink-2); }
.article-cover { width: 100%; border-radius: 22px; aspect-ratio: 16 / 7; object-fit: cover; margin-top: 1rem; }
.toc ol { padding-left: 1.1rem; margin: 0; }
.toc li { padding: .2rem 0; font-size: .92rem; }

/* budget */
.budget-result { background: var(--ink); color: #fff; border-radius: 22px; padding: 1.6rem; }
.budget-result p { margin: 0; color: rgba(255, 255, 255, .7); }
.budget-result > strong { font-size: 2.6rem; font-weight: 800; display: block; letter-spacing: -.02em; }
.budget-result b { color: #fff; }
.budget-result span { color: rgba(255, 255, 255, .75); }
.budget-bars { margin-top: 1.2rem; display: flex; flex-direction: column; gap: .45rem; }
.bb-row { font-size: .82rem; }
.bb-row div { height: 7px; border-radius: 99px; background: rgba(255, 255, 255, .12); margin-top: .2rem; overflow: hidden; }
.bb-row div span { display: block; height: 100%; background: var(--brand); border-radius: 99px; }

/* error */
.error-page { text-align: center; padding: 70px 16px; }
.err-code { font-size: 5rem; font-weight: 800; color: var(--brand); letter-spacing: -.04em; line-height: 1; }
.error-page h1 { font-size: 2rem; margin: 1rem 0; }
.error-page .search-pill { margin: 1.5rem auto 0; }

/* ---------- responsive ---------- */
@media (max-width: 1199.98px) {
  .card-grid { grid-template-columns: repeat(3, 1fr); }
  .type-grid { grid-template-columns: repeat(3, 1fr); }
  .country-grid { grid-template-columns: repeat(3, 1fr); }
  .stat-tiles { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 991.98px) {
  .section { padding-top: 48px; padding-bottom: 48px; }
  .card-grid, .results .card-grid, .card-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(3, 1fr); }
  .uni-chips { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
  .country-grid, .uni-cities { grid-template-columns: repeat(2, 1fr); }
  .type-picker { grid-template-columns: repeat(3, 1fr); }
  .auth-wrap { grid-template-columns: 1fr; margin: 20px 16px; }
  .auth-side { display: none; }
  .sticky-side, .acc-nav { position: static; }
  .gallery, .gallery.g-n3, .gallery.g-n4 { grid-template-columns: 1fr 1fr; grid-template-rows: 260px 130px; }
  .gallery .g-main { grid-column: 1 / 3; grid-row: 1; }
  .gallery.g-n1 { grid-template-columns: 1fr; grid-template-rows: 280px; }
  .gallery.g-n1 .g-main { grid-column: auto; }
  .gallery.g-n2 { grid-template-rows: 260px 130px; }
  .gallery.g-n2 .g-item:nth-child(2) { grid-column: 1 / 3; }
  .gallery .g-item:nth-child(4) { grid-column: auto; }
  .gallery .g-item:nth-child(n+4) { display: none; }
  .chat { grid-template-columns: 1fr; height: calc(100vh - 110px); }
  .chat.has-active .chat-list { display: none; }
  .chat:not(.has-active) .chat-main { display: none; }
  .amenities { grid-template-columns: repeat(2, 1fr); }
  .footer-cta { transform: none; margin: 32px 0 24px; }
  .site-footer { padding-top: 1px; }
}
@media (max-width: 767.98px) {
  body { font-size: 15px; }
  .hero { padding: 44px 0 36px; }
  .hero-stats strong { font-size: 1.45rem; }
  .type-grid { grid-template-columns: repeat(2, 1fr); }
  .city-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .city-card { aspect-ratio: 1 / 1; border-radius: 16px; }
  .city-card strong { font-size: 1.05rem; }
  .city-card small { font-size: .74rem; display: block; line-height: 1.35; }
  .city-card-letter { font-size: 8rem; }
  .hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
  .trust-grid { grid-template-columns: 1fr; }
  .stat-tiles { grid-template-columns: repeat(2, 1fr); }
  .my-item { flex-wrap: wrap; }
  .my-thumb img { width: 110px; }
  .my-actions { flex-direction: row; width: 100%; justify-content: flex-start; align-items: center; }
  .search-pill-lg .btn { padding: .75rem 1rem; }
  .fb-field input, .fb-field select { width: 100%; }
  .fb-field { flex: 1 1 42%; }
  .fb-actions { margin-left: 0; width: 100%; }
  .fb-actions .btn { flex: 1; }
  .guide-row img { width: 96px; }
  .link-list.cols-2 { columns: 1; }
  .profile-avatar { margin-top: -66px; }
  .profile-avatar .avatar, .profile-avatar .avatar-initials { width: 100px !important; height: 100px !important; }
}
@media (max-width: 575.98px) {
  .card-grid, .results .card-grid, .card-grid-2, .card-grid-3, .guide-grid, .country-grid, .uni-cities, .uni-chips { grid-template-columns: 1fr; }
  .type-picker { grid-template-columns: repeat(2, 1fr); }
  .acct-types { grid-template-columns: 1fr; }
  .acct-type span { flex-direction: row; text-align: left; gap: .6rem; }
  .auth-card { padding: 1.6rem; }
  .gallery { border-radius: 16px; grid-template-rows: 230px 110px; }
  .brand span { font-size: 1.05rem; }
  .brand img { width: 30px; height: 30px; }
  .btn-post { width: 42px; height: 42px; padding: 0; border-radius: 50%; }
  .header-actions { gap: .35rem !important; }
  .icon-btn { width: 38px; height: 38px; }
  .footer-cta { padding: 1.5rem; }
  .amenities { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}

/* ---------- maps & nearby places ---------- */
.text-brand { color: var(--brand); }
.leaflet-container { font-family: var(--font); z-index: 1; }
.afs-pin-wrap { background: none; border: 0; }
.afs-pin { display: flex; align-items: center; justify-content: center; border-radius: 50%; background: #fff; color: var(--c); border: 2px solid var(--c); box-shadow: 0 3px 10px rgba(7,21,22,.25); font-size: .85rem; }
.afs-home { position: relative; display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--brand); border: 3px solid #fff; box-shadow: 0 6px 16px rgba(253,70,33,.45); }
.afs-home i { transform: rotate(45deg); color: #fff; font-size: 1.05rem; }
.listing-map { height: 380px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.near-highlights { display: grid; grid-template-columns: repeat(3, 1fr); gap: .7rem; margin: 1rem 0; }
.near-hl { display: flex; gap: .7rem; align-items: flex-start; border: 1px solid var(--line); border-radius: 14px; padding: .8rem .9rem; background: #fff; }
.nh-ico { width: 38px; height: 38px; border-radius: 11px; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); flex-shrink: 0; font-size: 1.05rem; }
.nh-body small { display: block; color: var(--muted); font-size: .74rem; }
.nh-body strong { display: block; font-size: .92rem; line-height: 1.25; }
.nh-body em { display: block; font-style: normal; color: var(--ink-2); font-size: .82rem; margin-top: .2rem; }
.near-table { border: 1px solid var(--line); border-radius: 14px; overflow: hidden; }
.nt-row { display: grid; grid-template-columns: 1fr 120px 80px 80px; gap: .5rem; align-items: center; padding: .6rem .9rem; border-top: 1px solid var(--line); font-size: .9rem; }
.nt-row:first-child { border-top: 0; }
.nt-head { background: var(--soft); font-size: .74rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; }
.nt-place { display: flex; gap: .6rem; align-items: center; }
.nt-place i { width: 20px; text-align: center; font-size: 1.05rem; }
.nt-place strong { display: block; font-weight: 600; line-height: 1.25; }
.nt-place small { display: block; color: var(--muted); font-size: .76rem; }
.l-near { font-size: .8rem; color: #0f766e; margin: -.3rem 0 .6rem; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.results-bar { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-bottom: .8rem; flex-wrap: wrap; }
.view-toggle { display: inline-flex; background: var(--soft); border-radius: 999px; padding: 3px; }
.view-toggle button { border: 0; background: none; border-radius: 999px; padding: .4rem .9rem; font-weight: 600; font-size: .88rem; color: var(--muted); display: inline-flex; gap: .4rem; align-items: center; }
.view-toggle button.is-active { background: #fff; color: var(--ink); box-shadow: var(--shadow); }
.view-toggle span { background: var(--brand-50); color: var(--brand-600); border-radius: 99px; padding: 0 .45rem; font-size: .75rem; }
.results-map { height: 560px; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.map-card-pop { display: flex; gap: .6rem; color: var(--ink) !important; text-decoration: none !important; }
.map-card-pop img { width: 84px; height: 64px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.map-card-pop strong { display: block; font-size: .86rem; line-height: 1.25; }
.map-card-pop em { display: block; font-style: normal; font-weight: 700; color: var(--brand-600); margin-top: .2rem; }
.map-card-pop small { display: block; color: #0f766e; font-size: .74rem; }
.leaflet-popup-content-wrapper { border-radius: 14px; }
.map-search { display: flex; gap: .5rem; margin-bottom: .6rem; }
.geo-results { border: 1px solid var(--line); border-radius: 12px; margin-bottom: .6rem; max-height: 220px; overflow-y: auto; background: #fff; }
.gr-item { display: block; width: 100%; text-align: left; border: 0; border-bottom: 1px solid var(--line); background: #fff; padding: .55rem .8rem; font-size: .88rem; }
.gr-item:last-child { border-bottom: 0; }
button.gr-item:hover { background: var(--soft); }
.pick-map { height: 400px; border-radius: 16px; overflow: hidden; border: 1px solid var(--line); background: var(--soft); }
.pick-map.is-picking { outline: 3px solid var(--brand); cursor: crosshair; }
.pick-map.is-picking .leaflet-container { cursor: crosshair; }
.map-tools { display: flex; gap: .6rem; align-items: center; flex-wrap: wrap; margin-top: .7rem; }
.pin-status { font-size: .88rem; color: var(--ink-2); margin-right: .4rem; }
.pin-status i { color: var(--brand); }
.seg-sm span { padding: .3rem .8rem; font-size: .85rem; border-width: 1.5px; }
.quick-add { display: flex; flex-wrap: wrap; gap: .4rem; align-items: center; margin-bottom: 1rem; }
.chip-add { border: 1px dashed #c9d3d3; background: #fff; border-radius: 999px; padding: .32rem .8rem; font-size: .85rem; display: inline-flex; gap: .35rem; align-items: center; }
.chip-add:hover { border-color: var(--brand); color: var(--brand-600); }
.chip-add i { color: var(--brand); }
.places-head, .place-row { display: grid; grid-template-columns: 190px 1fr 170px 92px 92px 84px; gap: .5rem; align-items: center; }
.places-head { font-size: .72rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); font-weight: 700; padding: 0 .2rem .3rem; }
.place-row { padding: .5rem; border: 1px solid var(--line); border-radius: 12px; margin-bottom: .45rem; background: #fff; }
.place-row .form-control, .place-row .form-select { padding: .45rem .6rem; font-size: .9rem; }
.place-row .unit { max-width: 70px; }
.place-row.has-coords { border-color: #a7dccb; background: #f3fbf8; }
.place-row.is-picking { border-color: var(--brand); box-shadow: 0 0 0 3px rgba(253,70,33,.15); }
.place-actions { display: flex; gap: .3rem; justify-content: flex-end; }
.icon-btn.sm { width: 36px; height: 36px; font-size: .95rem; }
.place-row.has-coords [data-pin] { color: #0f766e; border-color: #a7dccb; }
.coord-picker { height: 300px; border-radius: 12px; overflow: hidden; border: 1px solid var(--line); margin-top: .5rem; }
@media (max-width: 991.98px) {
  .near-highlights { grid-template-columns: 1fr; }
  .place-row { grid-template-columns: 1fr 1fr; }
  .place-row > input[name="places[name][]"] { grid-column: 1 / -1; order: -1; }
  .place-actions { grid-column: 1 / -1; }
  .results-map { height: 70vh; }
  .listing-map { height: 300px; }
}
@media (max-width: 575.98px) {
  .nt-row { grid-template-columns: 1fr 76px 56px; }
  .nt-row > span:nth-child(4) { display: none; }
  .map-search { flex-direction: column; }
}

.card-grid[hidden], .pager[hidden] { display: none !important; }

/* ───────── Room types & prices (floorplans) ───────── */
.room-tabs { display: flex; flex-wrap: wrap; gap: .35rem; }
.room-tabs button { border: 1px solid var(--line); background: #fff; border-radius: 99px; padding: .4rem .85rem; font-size: .85rem; font-weight: 600; color: var(--ink-2); cursor: pointer; transition: .15s; }
.room-tabs button span { color: var(--muted); font-weight: 500; margin-left: .15rem; }
.room-tabs button:hover { border-color: var(--ink); }
.room-tabs button.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.room-tabs button.is-active span { color: rgba(255, 255, 255, .7); }
.room-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1rem; }
.room-card { border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; background: #fff; display: flex; flex-direction: column; transition: box-shadow .2s, border-color .2s; }
.room-card:hover { box-shadow: var(--shadow); border-color: #d3dcdc; }
.room-card[hidden] { display: none; }
.room-card:target { border-color: var(--brand); box-shadow: 0 0 0 3px var(--brand-100); }
.room-media { position: relative; aspect-ratio: 3 / 2; background: var(--soft); }
.room-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.room-ph { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 2.6rem; color: #a9b6b6; background: linear-gradient(135deg, var(--soft), #eef2f2); }
.room-promo { position: absolute; left: 12px; top: 12px; background: var(--brand); color: #fff; font-size: .75rem; font-weight: 700; padding: .3rem .65rem; border-radius: 99px; max-width: calc(100% - 24px); box-shadow: 0 4px 12px rgba(253, 70, 33, .3); }
.room-sold { position: absolute; inset: 0; background: rgba(7, 21, 22, .45); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.room-card.is-sold .room-media img { filter: grayscale(.7); }
.room-body { padding: 1rem 1.1rem 1.15rem; display: flex; flex-direction: column; flex: 1; }
.room-body h3 { font-size: 1.1rem; margin: 0 0 .5rem; }
.room-feats { list-style: none; padding: 0; margin: 0 0 .6rem; display: flex; flex-wrap: wrap; gap: .35rem; }
.room-feats li { font-size: .8rem; background: var(--soft); border-radius: 8px; padding: .25rem .55rem; color: var(--ink-2); display: inline-flex; gap: .35rem; align-items: center; }
.room-feats i { color: var(--muted); }
.room-desc { font-size: .88rem; color: var(--ink-2); margin: 0 0 .6rem; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.room-meta { margin: 0 0 .7rem; display: grid; gap: .25rem; font-size: .84rem; }
.room-meta div { display: flex; justify-content: space-between; gap: .8rem; border-bottom: 1px dashed var(--line); padding-bottom: .25rem; }
.room-meta dt { font-weight: 500; color: var(--muted); }
.room-meta dd { margin: 0; text-align: right; font-weight: 600; }
.room-foot { margin-top: auto; display: flex; justify-content: space-between; align-items: flex-end; gap: .6rem; }
.room-price small { display: block; color: var(--muted); font-size: .75rem; }
.room-price strong { font-size: 1.3rem; color: var(--ink); }
.room-price s { color: var(--muted); font-size: .9rem; margin-right: .3rem; }
.badge-status.is-amber { background: #fff2d6; color: #8a5a00; }
@media (max-width: 767.98px) { .room-grid { grid-template-columns: 1fr; } }

/* room types editor (listing form) */
.rooms-editor { display: grid; gap: .9rem; }
.rooms-editor:empty { display: none; }
.room-row { border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem 1rem; background: var(--soft); }
.room-row-head { display: flex; align-items: center; gap: .6rem; margin-bottom: .6rem; }
.room-num { width: 28px; height: 28px; border-radius: 50%; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; display: inline-flex; align-items: center; justify-content: center; flex-shrink: 0; }
.room-row .form-control, .room-row .form-select { background-color: #fff; }
.form-label.sm { font-size: .78rem; font-weight: 600; color: var(--ink-2); margin-bottom: .2rem; }
.icon-btn.sm { width: 32px; height: 32px; font-size: .9rem; }
.room-photo { display: flex; align-items: center; gap: .6rem; flex-wrap: wrap; }
.room-photo img { width: 72px; height: 48px; object-fit: cover; border-radius: 8px; }
.room-photo input[type=file] { flex: 1; min-width: 180px; }

/* reserve modal */
.modal-x-panel.modal-lg-x { max-width: 680px; }
.reserve-form .form-label { font-size: .85rem; font-weight: 600; margin-bottom: .25rem; }

/* account: reservations */
.nav-count { margin-left: auto; background: var(--brand); color: #fff; font-size: .72rem; font-weight: 700; border-radius: 99px; min-width: 20px; padding: 0 .4rem; line-height: 20px; text-align: center; }
.chip-filter { display: flex; flex-wrap: wrap; gap: .35rem; }
.chip-filter a { border: 1px solid var(--line); border-radius: 99px; padding: .3rem .8rem; font-size: .84rem; color: var(--ink-2); background: #fff; }
.chip-filter a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.bk-list { display: grid; gap: .6rem; }
.bk-item { display: flex; align-items: center; gap: .9rem; border: 1px solid var(--line); border-radius: 14px; padding: .7rem .9rem; background: #fff; color: var(--ink); transition: .15s; }
.bk-item:hover { box-shadow: var(--shadow); color: var(--ink); }
.bk-item.is-new { border-left: 4px solid var(--brand); }
.bk-item img { width: 72px; height: 56px; object-fit: cover; border-radius: 10px; flex-shrink: 0; }
.bk-main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: .15rem; }
.bk-main small { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.bk-side { text-align: right; display: flex; flex-direction: column; }
.bk-item > i { color: var(--muted); }
@media (max-width: 575.98px) { .bk-item { flex-wrap: wrap; } .bk-side { text-align: left; width: 100%; } .bk-item > i { display: none; } }
.card-x { border: 1px solid var(--line); border-radius: var(--r); padding: 1.1rem 1.2rem; background: #fff; }
.alert-x { border-radius: 12px; padding: .7rem 1rem; font-size: .9rem; }
.alert-x.info { background: #eef4ff; color: #1e3a8a; }
.bk-listing { display: flex; gap: .8rem; align-items: center; color: var(--ink); padding-bottom: .9rem; border-bottom: 1px solid var(--line); margin-bottom: .9rem; }
.bk-listing img { width: 96px; height: 72px; object-fit: cover; border-radius: 10px; }
.bk-listing span { display: flex; flex-direction: column; }
.bk-dl { margin: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .7rem 1rem; }
.bk-dl dt { font-size: .78rem; color: var(--muted); font-weight: 500; }
.bk-dl dd { margin: 0; font-weight: 600; }
.pre-line { white-space: pre-line; }
.chk.chk-top { align-items: flex-start; } .chk.chk-top input { margin-top: 3px; flex-shrink: 0; }

/* ===================== YurtRehberi eklemeleri ===================== */
:root { --c-female: #db2777; --c-male: #2563eb; --c-mixed: #7c3aed; --wa: #25d366; }
.l-type.g-female i, .pill.g-female i { color: var(--c-female); }
.l-type.g-male i, .pill.g-male i { color: var(--c-male); }
.l-type.g-mixed i, .pill.g-mixed i { color: var(--c-mixed); }
.pill.g-female { background: #fdf2f8; color: #9d174d; }
.pill.g-male { background: #eff6ff; color: #1e40af; }
.pill.g-mixed { background: #f5f3ff; color: #5b21b6; }
.l-photos { position: absolute; right: 12px; bottom: 12px; background: rgba(7, 21, 22, .72); color: #fff; border-radius: 999px; padding: .15rem .55rem; font-size: .72rem; font-weight: 600; }
.l-card-media { background: var(--soft); }
.l-ask { font-weight: 700; color: var(--brand-600); font-size: .92rem; }
.l-ask:hover { color: var(--brand); text-decoration: underline; }
.cmp-btn { border: 1px solid var(--line); background: #fff; width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; color: var(--ink-2); cursor: pointer; margin-left: auto; flex-shrink: 0; }
.cmp-btn:hover { border-color: var(--ink); }
.cmp-btn.is-on { background: var(--ink); border-color: var(--ink); color: #fff; }
.l-foot { gap: .5rem; }
.cmp-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 60; background: var(--ink); color: #fff; padding: .7rem 0; box-shadow: 0 -10px 30px rgba(7, 21, 22, .2); }
.cmp-bar .container-xl { display: flex; align-items: center; gap: .8rem; flex-wrap: wrap; }
.cmp-bar .cmp-items { display: flex; gap: .4rem; flex-wrap: wrap; flex: 1; min-width: 0; }
.cmp-bar .cmp-items span { background: rgba(255, 255, 255, .12); border-radius: 99px; padding: .2rem .4rem .2rem .7rem; font-size: .82rem; max-width: 240px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; display: inline-flex; align-items: center; gap: .2rem; }
.cmp-bar .cmp-items button { border: 0; background: none; color: #fff; font-size: 1.1rem; line-height: 1; cursor: pointer; padding: 0 .3rem; }
.cmp-bar .btn-ghost { color: #fff; }
.cmp-bar a[aria-disabled=true] { opacity: .5; pointer-events: none; }
body:has(.cmp-bar:not([hidden])) .mobile-cta { bottom: 58px; }
.g-tabs { display: flex; flex-wrap: wrap; gap: .45rem; margin-top: 1.1rem; }
.g-tabs a { background: rgba(255, 255, 255, .14); color: #fff; border: 1px solid rgba(255, 255, 255, .25); border-radius: 99px; padding: .42rem .95rem; font-weight: 600; font-size: .9rem; }
.g-tabs a:hover { background: rgba(255, 255, 255, .24); color: #fff; }
.g-tabs a.is-active { background: #fff; color: var(--ink); border-color: #fff; }
.type-tabs { display: flex; gap: .4rem; flex-wrap: wrap; margin: 1.2rem 0 .4rem; }
.type-tabs a { border: 1px solid var(--line); border-radius: 99px; padding: .45rem .9rem; font-size: .9rem; color: var(--ink-2); background: #fff; display: inline-flex; align-items: center; gap: .4rem; }
.type-tabs a span { background: var(--soft); border-radius: 99px; padding: 0 .45rem; font-size: .78rem; font-weight: 700; }
.type-tabs a.is-active { background: var(--ink); border-color: var(--ink); color: #fff; }
.type-tabs a.is-active span { background: rgba(255, 255, 255, .18); }
.link-list-count li { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; }
.link-list-count li span { color: var(--muted); font-size: .8rem; font-weight: 600; }
.fb-more { border-top: 1px dashed var(--line); margin-top: .8rem; padding-top: .6rem; }
.fb-more summary { cursor: pointer; font-weight: 600; font-size: .9rem; color: var(--ink-2); list-style: none; }
.fb-more summary::-webkit-details-marker { display: none; }
.fb-more[open] summary { margin-bottom: .6rem; }
.amen-filter { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; }
.amen-chip { border: 1px solid var(--line); border-radius: 99px; padding: .3rem .75rem; font-size: .84rem; color: var(--ink-2); background: #fff; cursor: pointer; display: inline-flex; gap: .35rem; align-items: center; user-select: none; }
.amen-chip input { position: absolute; opacity: 0; pointer-events: none; }
.amen-chip.is-on, .amen-chip:has(input:checked) { background: var(--ink); border-color: var(--ink); color: #fff; }
.gallery-empty { border-radius: 22px; background: linear-gradient(135deg, var(--brand-50), #fff7f3); border: 1px dashed var(--brand-100); padding: 2.2rem 1rem; display: flex; align-items: center; justify-content: center; gap: 1rem; margin: .8rem 0 1.6rem; color: var(--ink-2); text-align: left; flex-wrap: wrap; }
.gallery-empty > i { font-size: 2.4rem; color: var(--brand); }
.gallery-empty a { font-weight: 600; }
.gallery img { background: var(--soft); }
.l-head-addr { color: var(--ink-2); font-size: .92rem; margin: -.2rem 0 .4rem; }
.lead-sm { font-size: 1.04rem; color: var(--ink-2); line-height: 1.65; }
.h-sub { font-size: 1.05rem; font-weight: 700; margin-bottom: .7rem; }
.description.is-collapsible { max-height: 300px; overflow: hidden; position: relative; }
.description.is-collapsible::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 80px; background: linear-gradient(transparent, #fff); }
.description.is-collapsible.is-open { max-height: none; }
.description.is-collapsible.is-open::after { display: none; }
.btn-link-inline, .btn-link-ask { border: 0; background: none; padding: 0; color: var(--brand-600); font-weight: 600; cursor: pointer; text-decoration: underline; text-underline-offset: 2px; font-size: inherit; }
.btn-link-ask { text-decoration: none; font-size: .95rem; }
.more-toggle { margin-top: .4rem; }
.claim-panel { display: flex; gap: 1rem; align-items: center; justify-content: space-between; flex-wrap: wrap; background: var(--soft); border: 1px solid var(--line); border-radius: 16px; padding: 1rem 1.2rem; }
.claim-panel > div { flex: 1 1 320px; }
.claim-panel .claim-box { flex: 0 1 340px; }
.claim-panel .claim-box summary { list-style: none; display: inline-flex; }
.claim-panel .claim-box summary::-webkit-details-marker { display: none; }
.btn-wa { background: var(--wa); color: #fff; border-color: var(--wa); }
.btn-wa:hover { background: #1fb457; color: #fff; }
.alert-bar.is-success { background: #e9f8ef; border: 1px solid #bfe9cf; color: #14532d; }
.region-grid { columns: 4 240px; column-gap: 1.6rem; }
.region-block { break-inside: avoid; margin-bottom: 1.6rem; }
.region-block h3 { font-size: 1rem; margin-bottom: .5rem; padding-bottom: .4rem; border-bottom: 2px solid var(--brand-100); }
.region-block ul { list-style: none; padding: 0; margin: 0; }
.region-block li { display: flex; justify-content: space-between; gap: .5rem; padding: .22rem 0; font-size: .92rem; }
.region-block li span { color: var(--muted); font-weight: 600; font-size: .8rem; }
.region-block li.is-empty a { color: var(--muted); }
.quick-tile { display: flex; flex-direction: column; gap: .2rem; padding: 1.2rem 1.3rem; border: 1px solid var(--line); border-radius: 18px; background: #fff; height: 100%; }
.quick-tile i { font-size: 1.6rem; color: var(--brand); margin-bottom: .3rem; }
.quick-tile small { color: var(--muted); }
.quick-tile:hover { box-shadow: var(--shadow); color: var(--ink); }
.tag-mini { font-size: .7rem; background: var(--soft); border-radius: 6px; padding: .05rem .35rem; color: var(--muted); }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 16px; background: #fff; }
.price-table, .cmp-table { width: 100%; border-collapse: collapse; font-size: .92rem; }
.price-table th, .price-table td, .cmp-table th, .cmp-table td { padding: .75rem .9rem; border-bottom: 1px solid var(--line); vertical-align: top; text-align: left; }
.price-table thead th { background: var(--soft); font-size: .8rem; text-transform: uppercase; letter-spacing: .04em; color: var(--muted); }
.price-table tbody tr:hover { background: #fcfcfc; }
.mini-prices { list-style: none; padding: 0; margin: 0; font-size: .86rem; }
.mini-prices li { padding: .08rem 0; }
.nowrap { white-space: nowrap; }
.cmp-table { min-width: 720px; table-layout: fixed; }
.cmp-table thead th:first-child, .cmp-table tbody th { width: 200px; background: var(--soft); font-weight: 600; font-size: .86rem; }
.cmp-head { display: flex; flex-direction: column; gap: .5rem; color: var(--ink); }
.cmp-head img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 12px; background: var(--soft); }
.g-panel { border-radius: 22px; padding: 1.4rem; height: 100%; border: 1px solid var(--line); }
.g-panel.g-female { background: linear-gradient(160deg, #fdf2f8, #fff 60%); }
.g-panel.g-male { background: linear-gradient(160deg, #eff6ff, #fff 60%); }
.g-panel .h-sec i { font-size: 1.2rem; }
.g-female .h-sec i { color: var(--c-female); }
.g-male .h-sec i { color: var(--c-male); }
.mini-cards { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; }
.mini-card { display: flex; gap: .65rem; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: .5rem; color: var(--ink); min-width: 0; }
.mini-card img { width: 72px; height: 54px; object-fit: cover; border-radius: 10px; flex-shrink: 0; background: var(--soft); }
.mini-card span { display: flex; flex-direction: column; min-width: 0; }
.mini-card strong { font-size: .86rem; line-height: 1.25; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.mini-card small { color: var(--muted); font-size: .76rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-card:hover { box-shadow: var(--shadow); color: var(--ink); }
.mega-cities { width: 640px; grid-template-columns: 1.7fr 1fr; }
.mega-cities li small { color: var(--muted); font-size: .75rem; }
.mega-cities li i { width: 18px; color: var(--brand); }
.h-sec-sm { font-size: 1.15rem; }
.pill-links small { color: var(--muted); font-weight: 600; margin-left: .15rem; }
.uni-chip .flag i { color: var(--c-residence); }
.facts-grid { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.page-hero-slim .lead { max-width: 820px; }
@media (max-width: 767.98px) {
  .mini-cards { grid-template-columns: 1fr; }
  .g-tabs a { padding: .35rem .75rem; font-size: .84rem; }
  .cmp-bar .cmp-items { display: none; }
  .gallery-empty { padding: 1.4rem 1rem; }
}
