/* ===================================================================
   TABLO — shared stylesheet
=================================================================== */

/* Self-hosted fonts (no third-party font CDN at runtime) */
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/cormorant-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/cormorant-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/cormorant-600.woff2') format('woff2');
}
@font-face {
  font-family: 'Cormorant Garamond';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/cormorant-700.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 300;
  font-display: swap;
  src: url('fonts/jost-300.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/jost-400.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url('fonts/jost-500.woff2') format('woff2');
}
@font-face {
  font-family: 'Jost';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('fonts/jost-600.woff2') format('woff2');
}

:root {
  --black: #0a0a0a;
  --black-2: #111111;
  --gold: #c9a24b;
  --gold-light: #d8b86a;
  --purple: #7d6f8f;
  --cream: #f4f1ea;
  --text: #f5f4f2;
  --muted: #a9a6a1;
  --line: rgba(201, 162, 75, 0.35);
  --card-line: rgba(255, 255, 255, 0.12);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Jost', sans-serif;
  background: var(--black);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
.spaced { letter-spacing: 0.28em; }
.serif { font-family: 'Cormorant Garamond', serif; }

/* ---------- Header ---------- */
header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  transition: background 0.4s ease, box-shadow 0.4s ease;
  background: linear-gradient(180deg, rgba(0,0,0,0.85), rgba(0,0,0,0));
}
header.scrolled, header.solid {
  background: rgba(8,8,8,0.96);
  box-shadow: 0 1px 0 rgba(255,255,255,0.06);
  backdrop-filter: blur(8px);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 80px; }
.brand { line-height: 1; display: flex; align-items: center; gap: 12px; }
.brand-icon { height: 40px; width: auto; flex-shrink: 0; }
.brand .word {
  font-family: 'Cormorant Garamond', serif;
  font-size: 28px; font-weight: 600; letter-spacing: 0.42em; padding-left: 0.42em;
}
.brand .sub { font-size: 9px; letter-spacing: 0.3em; color: var(--muted); margin-top: 2px; }
.nav-links { display: flex; gap: 34px; list-style: none; }
.nav-links a {
  font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase;
  color: var(--text); position: relative; padding: 4px 0; transition: color 0.25s;
}
.nav-links a::after {
  content: ''; position: absolute; left: 0; bottom: -4px; height: 1px; width: 0;
  background: var(--gold); transition: width 0.3s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold-light); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.nav-actions { display: flex; align-items: center; gap: 22px; }
.icon-btn {
  background: none; border: none; color: var(--text); cursor: pointer;
  display: grid; place-items: center; transition: color 0.25s;
}
.icon-btn:hover { color: var(--gold-light); }
.icon-btn svg { width: 20px; height: 20px; }

/* ---------- Language switcher ---------- */
.lang-switch { display: flex; border: 1px solid var(--card-line); border-radius: 20px; overflow: hidden; flex-shrink: 0; }
.lang-btn {
  background: transparent; border: none; color: var(--muted); cursor: pointer;
  font-family: 'Jost', sans-serif; font-size: 10.5px; letter-spacing: 0.08em;
  padding: 6px 11px; transition: background 0.2s, color 0.2s;
}
.lang-btn:hover { color: var(--text); }
.lang-btn.active { background: var(--gold); color: #1a1404; }
.login-card .lang-switch { margin: 0 auto 22px; width: fit-content; }
.btn-signin {
  border: 1px solid var(--line); color: var(--gold-light);
  padding: 10px 26px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  background: transparent; cursor: pointer; transition: all 0.3s;
}
.btn-signin:hover { background: var(--gold); color: #1a1404; border-color: var(--gold); }
.menu-toggle { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1px solid var(--line); color: var(--gold-light);
  padding: 12px 26px; font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase;
  background: transparent; cursor: pointer; transition: all 0.3s; font-family: 'Jost', sans-serif;
}
.btn:hover { background: var(--gold); color: #1a1404; border-color: var(--gold); }
.btn-solid { background: var(--gold); color: #1a1404; border-color: var(--gold); }
.btn-solid:hover { background: var(--gold-light); border-color: var(--gold-light); }

/* ---------- Hero (home) ---------- */
.hero {
  position: relative; min-height: 100vh; display: flex; flex-direction: column;
  align-items: center; justify-content: center; text-align: center;
  padding: 120px 24px 220px;
  background:
    linear-gradient(180deg, rgba(0,0,0,0.55) 0%, rgba(0,0,0,0.35) 40%, rgba(0,0,0,0.85) 100%),
    url('https://images.unsplash.com/photo-1613490493576-7fde63acd811?auto=format&fit=crop&w=2000&q=80') center/cover no-repeat;
}
.hero h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(48px, 9vw, 120px); font-weight: 500; letter-spacing: 0.22em;
  padding-left: 0.22em; line-height: 1; text-shadow: 0 2px 30px rgba(0,0,0,0.5);
  margin-top: -60px;
  animation: hero-float 4.5s ease-in-out infinite;
}
@keyframes hero-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
@media (prefers-reduced-motion: reduce) {
  .hero h1 { animation: none; }
}
.hero .tag {
  margin-top: 18px; color: var(--gold-light);
  font-size: clamp(12px, 1.6vw, 17px); letter-spacing: 0.34em; text-transform: uppercase;
}

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  position: relative; padding: 180px 24px 90px; text-align: center;
  background-size: cover; background-position: center;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.7), rgba(0,0,0,0.78));
}
.page-banner > * { position: relative; }
.page-banner .eyebrow {
  color: var(--gold-light); letter-spacing: 0.34em; text-transform: uppercase; font-size: 13px;
  margin-bottom: 14px;
}
.page-banner h1 {
  font-family: 'Cormorant Garamond', serif; font-size: clamp(40px, 6vw, 68px);
  font-weight: 500; letter-spacing: 0.08em;
}
.page-banner p { color: var(--muted); max-width: 620px; margin: 14px auto 0; font-size: 16px; }
.breadcrumb { margin-top: 16px; font-size: 12px; letter-spacing: 0.14em; color: var(--muted); text-transform: uppercase; }
.breadcrumb a:hover { color: var(--gold-light); }

/* ---------- Search ---------- */
.search-wrap {
  position: absolute; bottom: 110px; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 980px; padding: 0 24px;
}
.search-tabs { display: flex; max-width: 680px; }
.search-tabs button {
  position: relative; overflow: hidden;
  flex: 1; color: var(--text); background: rgba(10,10,10,0.92);
  border: none; cursor: pointer; padding: 14px 10px; font-family: 'Jost', sans-serif;
  font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px;
  transition: color 0.3s; backdrop-filter: blur(4px);
  font-weight: 500;
}
.search-tabs button::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(255,255,255,0.03); opacity: 0; transition: opacity 0.3s;
}
.search-tabs button svg {
  width: 18px; height: 18px; flex-shrink: 0;
  animation: search-tab-icon-float 2.8s ease-in-out infinite;
}
.search-tabs button:nth-child(2) svg { animation-delay: 0.25s; }
.search-tabs button:nth-child(3) svg { animation-delay: 0.5s; }
@keyframes search-tab-icon-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .search-tabs button svg { animation: none; }
}
.search-tabs button.active { color: var(--gold-light); background: rgba(6,6,6,0.85); }
.search-tabs button.active::before { opacity: 1; }
.search-tabs button:not(.active):hover::before { opacity: 1; }
.search-bar {
  background: #fff; display: flex; align-items: stretch;
  box-shadow: 0 30px 60px rgba(0,0,0,0.45); flex-wrap: wrap;
}
.search-field { flex: 1; min-width: 160px; padding: 16px 22px; text-align: left; border-right: 1px solid #e6e3dc; }
.search-field label {
  display: block; font-size: 10px; letter-spacing: 0.18em; text-transform: uppercase;
  color: #9a9890; margin-bottom: 4px;
}
.search-field .input-row { display: flex; align-items: center; gap: 8px; }
.search-field input, .search-field select {
  border: none; outline: none; font-family: 'Jost', sans-serif; font-size: 15px;
  color: #1a1a1a; width: 100%; background: transparent; cursor: pointer;
}
.search-field input::placeholder { color: #b6b3ac; }
.search-field svg { width: 16px; height: 16px; color: var(--gold); flex-shrink: 0; }
.search-submit {
  background: var(--black); color: var(--gold-light); border: none; cursor: pointer;
  padding: 0 38px; font-size: 13px; letter-spacing: 0.2em; text-transform: uppercase;
  display: flex; align-items: center; gap: 10px; transition: background 0.3s, color 0.3s;
}
.search-submit svg { width: 16px; height: 16px; }
.search-submit:hover { background: var(--gold); color: #1a1404; }

/* ---------- Category cards (home) ---------- */
.cards { padding: 70px 0; background: var(--black); }
.cards-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.card {
  position: relative; border: 1px solid var(--card-line); overflow: hidden;
  min-height: 300px; display: flex; flex-direction: column; justify-content: flex-end;
  padding: 34px; isolation: isolate;
}
.card .bg {
  position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center;
  transition: transform 0.6s ease;
}
.card::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(0,0,0,0.85) 30%, rgba(0,0,0,0.15) 100%);
}
.card:hover .bg { transform: scale(1.06); }
.card .ic {
  width: 48px; height: 48px; border: 1px solid var(--gold); border-radius: 50%;
  display: grid; place-items: center; color: var(--gold-light); margin-bottom: 18px;
}
.card .ic svg { width: 22px; height: 22px; }
.card h3 { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; letter-spacing: 0.06em; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 15px; max-width: 260px; margin-bottom: 22px; }
.card .link {
  align-self: flex-start; border: 1px solid var(--line); color: var(--gold-light);
  padding: 11px 22px; font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; transition: all 0.3s;
}
.card .link:hover { background: var(--gold); color: #1a1404; border-color: var(--gold); }

/* ---------- Section headings ---------- */
.section { padding: 80px 0; }
.section-head { text-align: center; margin-bottom: 50px; }
.section-head .eyebrow { color: var(--gold-light); letter-spacing: 0.32em; text-transform: uppercase; font-size: 12px; margin-bottom: 12px; }
.section-head h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(32px, 4vw, 48px); font-weight: 600; letter-spacing: 0.04em; }
.section-head p { color: var(--muted); max-width: 600px; margin: 12px auto 0; }

/* ---------- Listing grid (properties / cars / travel / blog) ---------- */
.toolbar {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-bottom: 40px;
}
.chip {
  border: 1px solid var(--card-line); background: transparent; color: var(--muted);
  padding: 9px 20px; font-size: 12px; letter-spacing: 0.12em; text-transform: uppercase;
  cursor: pointer; transition: all 0.25s; font-family: 'Jost', sans-serif;
}
.chip:hover { color: var(--text); border-color: var(--line); }
.chip.active { background: var(--gold); color: #1a1404; border-color: var(--gold); }

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

.listing {
  background: var(--black-2); border: 1px solid var(--card-line); overflow: hidden;
  display: flex; flex-direction: column; transition: transform 0.3s, border-color 0.3s;
}
.listing:hover { transform: translateY(-6px); border-color: var(--line); }
.listing .thumb { position: relative; height: 220px; overflow: hidden; }
.listing .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.listing:hover .thumb img { transform: scale(1.07); }
.listing .badge {
  position: absolute; top: 14px; left: 14px; background: rgba(0,0,0,0.7); color: var(--gold-light);
  font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; padding: 6px 12px;
  border: 1px solid var(--line);
}
.listing .fav {
  position: absolute; top: 12px; right: 12px; width: 36px; height: 36px; border-radius: 50%;
  background: rgba(0,0,0,0.55); border: none; color: #fff; cursor: pointer; display: grid; place-items: center;
  transition: color 0.25s;
}
.listing .fav:hover { color: var(--gold-light); }
.listing .fav.active { color: var(--gold-light); }
.listing .fav svg { width: 18px; height: 18px; }
.listing .body { padding: 22px; display: flex; flex-direction: column; flex: 1; }
.listing .loc { font-size: 12px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 8px; }
.listing h3 { font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 600; margin-bottom: 10px; line-height: 1.2; }
.listing .desc { color: var(--muted); font-size: 14px; margin-bottom: 16px; }
.listing .meta { display: flex; gap: 18px; color: var(--muted); font-size: 13px; margin-bottom: 18px; flex-wrap: wrap; }
.listing .meta span { display: inline-flex; align-items: center; gap: 6px; }
.listing .meta svg { width: 15px; height: 15px; color: var(--gold); }
.listing .foot {
  margin-top: auto; display: flex; align-items: center; justify-content: space-between;
  padding-top: 16px; border-top: 1px solid rgba(255,255,255,0.08);
}
.listing .price { font-family: 'Cormorant Garamond', serif; font-size: 24px; color: var(--gold-light); font-weight: 600; }
.listing .price small { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; }
.listing .foot.no-price { justify-content: flex-end; }
.listing .detail { font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--text); transition: color 0.25s; }
.listing .detail:hover { color: var(--gold-light); }

/* ---------- Blog ---------- */
.post .thumb { height: 200px; }
.post .date { font-size: 12px; color: var(--muted); letter-spacing: 0.08em; margin-bottom: 10px; }
.post .excerpt { color: var(--muted); font-size: 14px; margin-bottom: 16px; }

/* ---------- About ---------- */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.about-split img { width: 100%; height: 100%; object-fit: cover; min-height: 360px; border: 1px solid var(--card-line); }
.about-split h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4vw, 44px); font-weight: 600; margin-bottom: 18px; }
.about-split p { color: var(--muted); margin-bottom: 16px; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat .num { font-family: 'Cormorant Garamond', serif; font-size: 48px; color: var(--gold-light); font-weight: 600; line-height: 1; }
.stat .lbl { color: var(--muted); font-size: 13px; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 8px; }
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.value { border: 1px solid var(--card-line); padding: 34px; text-align: center; transition: border-color 0.3s; }
.value:hover { border-color: var(--line); }
.value .ic { width: 54px; height: 54px; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-light); margin: 0 auto 18px; }
.value .ic svg { width: 24px; height: 24px; }
.value h4 { font-family: 'Cormorant Garamond', serif; font-size: 22px; margin-bottom: 10px; }
.value p { color: var(--muted); font-size: 14px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 50px; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 28px; }
.contact-info .ic { width: 46px; height: 46px; flex-shrink: 0; border: 1px solid var(--gold); border-radius: 50%; display: grid; place-items: center; color: var(--gold-light); }
.contact-info .ic svg { width: 20px; height: 20px; }
.contact-info h4 { font-size: 13px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 4px; }
.contact-info p { color: var(--muted); font-size: 15px; }
.form { background: var(--black-2); border: 1px solid var(--card-line); padding: 38px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; }
.field input, .field textarea, .field select {
  width: 100%; background: #0c0c0c; border: 1px solid var(--card-line); color: var(--text);
  padding: 13px 15px; font-family: 'Jost', sans-serif; font-size: 15px; outline: none; transition: border-color 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }
.map-embed { width: 100%; height: 340px; border: 1px solid var(--card-line); margin-top: 50px; filter: grayscale(1) invert(0.9) contrast(0.9); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--black-2); padding: 64px 0; text-align: center; border-top: 1px solid rgba(255,255,255,0.06); border-bottom: 1px solid rgba(255,255,255,0.06); }
.cta-band h2 { font-family: 'Cormorant Garamond', serif; font-size: clamp(30px, 4vw, 46px); font-weight: 600; margin-bottom: 12px; }
.cta-band p { color: var(--muted); margin-bottom: 26px; }

/* ---------- Trust + App ---------- */
.strip { display: grid; grid-template-columns: 1fr 320px; }
.trust { background: var(--cream); color: #2a2a2a; padding: 44px 40px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 34px 20px; }
.trust-item { text-align: center; }
.trust-item .ic { width: 40px; height: 40px; margin: 0 auto 12px; color: var(--gold); display: grid; place-items: center; }
.trust-item .ic svg { width: 30px; height: 30px; }
.trust-item h4 { font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; color: #1d1d1d; margin-bottom: 6px; font-weight: 600; }
.trust-item p { font-size: 12.5px; color: #6f6c65; line-height: 1.5; }
.appbox { background: var(--black-2); padding: 40px 34px; display: flex; flex-direction: column; justify-content: center; gap: 8px; border-left: 1px solid rgba(255,255,255,0.05); }
.appbox h4 { font-family: 'Cormorant Garamond', serif; color: var(--gold-light); font-size: 24px; letter-spacing: 0.1em; font-weight: 600; }
.appbox .big { color: var(--text); font-size: 15px; }
.appbox .dl { color: var(--gold-light); font-size: 14px; margin-bottom: 14px; }
.stores { display: flex; gap: 12px; flex-wrap: wrap; }
.store { display: flex; align-items: center; gap: 9px; border: 1px solid rgba(255,255,255,0.2); border-radius: 8px; padding: 8px 14px; transition: border-color 0.3s; cursor: pointer; }
.store:hover { border-color: var(--gold); }
.store svg { width: 22px; height: 22px; }
.store div { line-height: 1.1; }
.store .s1 { font-size: 9px; color: var(--muted); }
.store .s2 { font-size: 14px; font-weight: 500; }

/* ---------- Partners ---------- */
.partners { background: var(--black); padding: 46px 0 56px; text-align: center; }
.partners .title { color: var(--gold-light); font-size: 14px; letter-spacing: 0.42em; text-transform: uppercase; margin-bottom: 34px; }
.partners-row { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 28px 54px; }
.partners-row span { font-family: 'Cormorant Garamond', serif; font-size: 22px; letter-spacing: 0.16em; color: #cfccc6; opacity: 0.62; font-weight: 600; transition: opacity 0.3s; }
.partners-row span:hover { opacity: 1; }

/* ---------- Footer ---------- */
footer { background: #060606; padding: 56px 0 26px; border-top: 1px solid rgba(255,255,255,0.06); }
.foot-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; }
.foot-grid h5 { font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 18px; }
.foot-grid ul { list-style: none; }
.foot-grid li { margin-bottom: 10px; }
.foot-grid a { color: var(--muted); font-size: 14px; transition: color 0.25s; }
.foot-grid a:hover { color: var(--gold-light); }
.foot-brand .word { font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 600; letter-spacing: 0.4em; padding-left: 0.4em; }
.foot-brand p { color: var(--muted); font-size: 14px; max-width: 280px; margin-top: 12px; }
.socials { display: flex; gap: 14px; margin-top: 20px; }
.socials a { width: 38px; height: 38px; border: 1px solid rgba(255,255,255,0.15); border-radius: 50%; display: grid; place-items: center; color: var(--muted); transition: all 0.3s; }
.socials a:hover { border-color: var(--gold); color: var(--gold-light); }
.socials svg { width: 17px; height: 17px; }
.copyright { margin-top: 42px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,0.06); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; color: #76736d; font-size: 13px; }

/* ---------- WhatsApp floating button ---------- */
.whatsapp-float {
  position: fixed; right: 24px; bottom: 24px; z-index: 200;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 20px rgba(0,0,0,0.35);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.whatsapp-float:hover { transform: scale(1.08); box-shadow: 0 8px 26px rgba(0,0,0,0.45); }
.whatsapp-float svg { width: 30px; height: 30px; }
@media (max-width: 560px) {
  .whatsapp-float { right: 16px; bottom: 16px; width: 52px; height: 52px; }
  .whatsapp-float svg { width: 26px; height: 26px; }
}

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .cards-grid, .grid-3, .values { grid-template-columns: 1fr; }
  .grid-2, .about-split, .contact-grid { grid-template-columns: 1fr; }
  .strip { grid-template-columns: 1fr; }
  .foot-grid { grid-template-columns: 1fr 1fr; }
  .appbox { border-left: none; border-top: 1px solid rgba(255,255,255,0.05); }
  .stats { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 820px) {
  .nav-links, .nav-actions .btn-signin { display: none; }
  .menu-toggle { display: grid; }
  .nav-links.open {
    display: flex; flex-direction: column; position: absolute; top: 80px; left: 0; right: 0;
    background: rgba(8,8,8,0.98); padding: 24px; gap: 20px; border-top: 1px solid var(--line);
  }
  .search-wrap { position: static; transform: none; margin-top: -120px; padding-bottom: 40px; }
  .search-bar { flex-direction: column; }
  .search-field { border-right: none; border-bottom: 1px solid #e6e3dc; }
  .search-submit { padding: 18px; justify-content: center; }
  .hero { padding-bottom: 60px; min-height: auto; }
  .form .row { grid-template-columns: 1fr; }
  .page-banner { padding: 140px 20px 50px; }
  .section { padding: 50px 0; }
  .cards { padding: 50px 0; }
}
@media (max-width: 560px) {
  .trust { grid-template-columns: repeat(2, 1fr); }
  .foot-grid { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }

  /* Header row is too narrow on phones to fit the brand plus the lang
     switch + 3 icon buttons at their desktop sizes — compact everything
     so the menu button stays on-screen instead of overflowing. */
  .container { padding: 0 16px; }
  .brand-icon { height: 30px; }
  .brand .word { font-size: 20px; letter-spacing: 0.3em; padding-left: 0.3em; }
  .brand .sub { font-size: 7.5px; letter-spacing: 0.2em; }
  .nav-actions { gap: 10px; }
  .lang-btn { padding: 5px 7px; font-size: 9px; }
  .nav-actions .icon-btn svg { width: 18px; height: 18px; }
}
@media (max-width: 360px) {
  .brand .sub { display: none; }
}

/* =====================================================================
   RTL (Kurdish Sorani / Arabic) — most flex/grid layouts already mirror
   automatically under [dir="rtl"]; these are the physical left/right
   properties that don't and need explicit overrides.
===================================================================== */
[dir="rtl"] .brand .word,
[dir="rtl"] .foot-brand .word,
[dir="rtl"] .hero h1 { padding-left: 0; padding-right: 0.22em; }
[dir="rtl"] .brand .word { padding-right: 0.42em; }
[dir="rtl"] .foot-brand .word { padding-right: 0.4em; }

[dir="rtl"] .listing .badge { left: auto; right: 14px; }
[dir="rtl"] .listing .fav { right: auto; left: 12px; }

[dir="rtl"] .search-field { text-align: right; border-right: none; border-left: 1px solid #e6e3dc; }
[dir="rtl"] .search-field:last-of-type { border-left: none; }
[dir="rtl"] .search-field .input-row { flex-direction: row-reverse; }

[dir="rtl"] .pw-row input { padding-right: 15px; padding-left: 46px; }
[dir="rtl"] .pw-toggle { right: auto; left: 4px; }

[dir="rtl"] .sidebar {
  left: auto; right: 0; border-right: none; border-left: 1px solid var(--card-line);
}
[dir="rtl"] .main { margin-left: 0; margin-right: var(--sidebar-w); }
[dir="rtl"] .toast-stack { right: auto; left: 22px; }
@media (max-width: 900px) {
  [dir="rtl"] .sidebar { transform: translateX(100%); }
  [dir="rtl"] .sidebar.open { transform: translateX(0); }
}
@media (max-width: 820px) {
  [dir="rtl"] .nav-links.open { text-align: right; }
}
