/* =========================================
   BRILLIANT HOME REAL ESTATE — MAIN STYLES
   ========================================= */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Tajawal:wght@300;400;500;700;900&family=Cinzel:wght@400;600;700;900&family=Raleway:wght@300;400;500;600;700&display=swap');

/* ---- CSS Variables ---- */
:root {
  --navy:        #1A2B4A;
  --navy-dark:   #111D33;
  --navy-light:  #243660;
  --copper:      #B87333;
  --copper-dark: #9A5E20;
  --copper-light:#D4956A;
  --white:       #FFFFFF;
  --cream:       #F5F5F0;
  --cream-dark:  #EAEAE3;
  --gray:        #8A8E99;
  --gray-light:  #C5C8D0;
  --text-dark:   #1A1A2E;
  --text-mid:    #4A4A60;
  --text-light:  #8A8E99;

  --font-ar:     'Tajawal', sans-serif;
  --font-en-head:'Cinzel', serif;
  --font-en-body:'Raleway', sans-serif;

  --shadow-sm:   0 2px 12px rgba(26,43,74,0.08);
  --shadow-md:   0 6px 30px rgba(26,43,74,0.14);
  --shadow-lg:   0 16px 60px rgba(26,43,74,0.20);
  --shadow-xl:   0 30px 90px rgba(26,43,74,0.26);

  --radius-sm:   6px;
  --radius-md:   12px;
  --radius-lg:   20px;
  --radius-xl:   32px;

  --transition:  0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: 0.18s ease;

  --navbar-h:    80px;
  --section-pad: 100px;
}

/* ---- Reset & Base ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

html[lang="ar"] {
  direction: rtl;
  font-family: var(--font-ar);
}

html[lang="en"] {
  direction: ltr;
  font-family: var(--font-en-body);
}

body {
  background: var(--white);
  color: var(--text-dark);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a  { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; }
input, textarea, select { font-family: inherit; outline: none; }

/* ---- Typography ---- */
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 {
  font-family: var(--font-ar);
  font-weight: 700;
}

html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] h4 {
  font-family: var(--font-en-head);
  font-weight: 600;
  letter-spacing: 0.04em;
}

h1 { font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.2; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.8rem); line-height: 1.3; }
h3 { font-size: clamp(1.3rem, 2.5vw, 1.8rem); line-height: 1.4; }
h4 { font-size: 1.1rem; }
p  { font-size: 1.05rem; }

/* ---- Utility Classes ---- */
.container {
  width: 100%;
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 40px;
}

.section-pad { padding: var(--section-pad) 0; }

.text-center { text-align: center; }
.text-copper { color: var(--copper); }
.text-navy   { color: var(--navy); }
.text-white  { color: var(--white); }
.bg-navy     { background: var(--navy); }
.bg-cream    { background: var(--cream); }
.bg-dark     { background: var(--navy-dark); }

.d-flex        { display: flex; }
.align-center  { align-items: center; }
.justify-center{ justify-content: center; }
.gap-1  { gap: 8px; }
.gap-2  { gap: 16px; }
.gap-3  { gap: 24px; }
.gap-4  { gap: 32px; }

/* ---- Section Header ---- */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}
.section-header .overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.section-header .overline::before,
.section-header .overline::after {
  content: '';
  display: block;
  width: 36px;
  height: 1px;
  background: var(--copper);
}
.section-header h2 {
  color: var(--navy);
  margin-bottom: 16px;
}
.section-header p {
  color: var(--text-mid);
  max-width: 600px;
  margin: 0 auto;
  font-size: 1.05rem;
}
.section-header-right {
  text-align: right;
}
html[dir="ltr"] .section-header-right {
  text-align: left;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 36px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.btn-primary {
  background: var(--copper);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(184,115,51,0.35);
}
.btn-primary:hover {
  background: var(--copper-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(184,115,51,0.45);
}

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: var(--shadow-sm);
}
.btn-navy:hover {
  background: var(--navy-light);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-copper-outline {
  background: transparent;
  color: var(--copper);
  border: 1.5px solid var(--copper);
}
.btn-copper-outline:hover {
  background: var(--copper);
  color: var(--white);
  transform: translateY(-2px);
}

.btn svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ---- Navbar ---- */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--navbar-h);
  isolation: isolate;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 30px rgba(26,43,74,0.08);
  border-bottom: 1px solid rgba(26,43,74,0.08);
}

#navbar.transparent {
  background: rgba(255, 255, 255, 0.96);
}

#navbar.scrolled {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 12px 36px rgba(26,43,74,0.12);
}

.navbar-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 14px;
}
.nav-logo img { height: 50px; width: auto; }
.nav-logo-text { line-height: 1.2; }
.nav-logo-text .brand-name {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: 0.03em;
}
html[lang="en"] .nav-logo-text .brand-name {
  font-family: var(--font-en-head);
  font-size: 1rem;
  letter-spacing: 0.08em;
}
.nav-logo-text .brand-sub {
  display: block;
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  font-weight: 400;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--navy);
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition-fast);
  letter-spacing: 0.03em;
  position: relative;
}
html[lang="en"] .nav-links a { letter-spacing: 0.06em; font-size: 0.8rem; }

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px; right: 14px;
  height: 2px;
  background: var(--copper);
  transform: scaleX(0);
  transition: transform var(--transition-fast);
}
html[dir="rtl"] .nav-links a::after { left: 14px; right: 14px; }

.nav-links a:hover { color: var(--copper); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--copper); }
.nav-links a.active::after { transform: scaleX(1); }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border: 1.5px solid rgba(26,43,74,0.18);
  border-radius: 30px;
  color: var(--navy);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: var(--transition-fast);
  background: rgba(26,43,74,0.03);
}
.lang-toggle:hover {
  border-color: var(--copper);
  color: var(--copper);
  background: rgba(184,115,51,0.06);
}
.lang-toggle svg { width: 15px; height: 15px; }

.nav-cta {
  padding: 9px 22px;
  font-size: 0.85rem;
}

/* Mobile hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: var(--transition-fast);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav menu */
.mobile-nav {
  display: flex;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: calc(100dvh - var(--navbar-h));
  background: rgba(255, 255, 255, 0.99);
  z-index: 999;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 32px 24px;
  flex-direction: column;
  gap: 8px;
  transform: translateX(-100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity 0.4s ease,
              visibility 0s linear 0.4s;
}
html[dir="rtl"] .mobile-nav {
  transform: translateX(100%);
}
.mobile-nav.open {
  transform: translateX(0) !important;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1),
              opacity 0.4s ease,
              visibility 0s linear 0s;
}
.mobile-nav a {
  color: var(--navy);
  font-size: 1.2rem;
  font-weight: 600;
  padding: 16px 0;
  border-bottom: 1px solid rgba(26,43,74,0.08);
  transition: color var(--transition-fast);
}
.mobile-nav a:hover { color: var(--copper); }
.mobile-nav .mobile-lang {
  margin-top: 24px;
  padding: 16px 0;
}

/* ---- Hero Section ---- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(17,29,51,0.92) 0%, rgba(26,43,74,0.78) 50%, rgba(17,29,51,0.90) 100%);
  z-index: 1;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  background-image: url('../assets/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
  z-index: 0;
}
.hero-bg-img.loaded { transform: scale(1); }

/* Geometric accent shapes */
.hero-shape-1 {
  position: absolute;
  bottom: -80px;
  right: -80px;
  width: 400px;
  height: 400px;
  border: 1.5px solid rgba(184,115,51,0.15);
  border-radius: 50%;
  z-index: 2;
}
html[dir="rtl"] .hero-shape-1 { right: auto; left: -80px; }

.hero-shape-2 {
  position: absolute;
  top: 100px;
  right: 120px;
  width: 200px;
  height: 200px;
  border: 1px solid rgba(184,115,51,0.1);
  border-radius: 50%;
  z-index: 2;
}
html[dir="rtl"] .hero-shape-2 { right: auto; left: 120px; }

.hero-content {
  position: relative;
  z-index: 3;
  max-width: 750px;
}

.hero-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 0.7s ease 0.2s forwards;
}
.hero-overline::before {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--copper);
}
html[dir="rtl"] .hero-overline { flex-direction: row-reverse; }

.hero h1 {
  color: var(--white);
  margin-bottom: 24px;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 0.8s ease 0.4s forwards;
}

.hero h1 span { color: var(--copper); }

.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  margin-bottom: 40px;
  max-width: 560px;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 0.8s ease 0.6s forwards;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  align-items: center;
  opacity: 0;
  transform: translateY(25px);
  animation: fadeUp 0.8s ease 0.8s forwards;
}

.hero-stats {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 3;
  background: rgba(255,255,255,0.05);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stats-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 30px 0;
}

.hero-stat {
  text-align: center;
  padding: 16px 24px;
  border-inline-end: 1px solid rgba(255,255,255,0.12);
}
.hero-stat:last-child { border-inline-end: none; }

.hero-stat .number {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--copper);
  line-height: 1;
  margin-bottom: 8px;
}
html[lang="en"] .hero-stat .number { font-family: var(--font-en-head); }

.hero-stat .label {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.06em;
}

/* ---- Featured Properties (Home) ---- */
.featured-properties { background: var(--cream); }

.property-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 12px 38px rgba(26,43,74,0.08);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 620px;
  border: 1px solid rgba(26,43,74,0.06);
}
.property-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-lg);
}

.property-card-img {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  min-height: 0;
  background: #eef2f6;
}
.property-card-img > a {
  display: block;
  width: 100%;
  height: 100%;
}
.property-card-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  transition: transform 0.6s ease;
}
.property-card:hover .property-card-img img { transform: none; }

/* Property placeholder when no real image */
.img-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 60%, #2D4070 100%);
  position: absolute;
  inset: 0;
}
.img-placeholder svg {
  width: 64px;
  height: 64px;
  stroke: rgba(184,115,51,0.55);
  fill: none;
  stroke-width: 1.2;
}

.property-badge {
  position: absolute;
  top: 16px;
  inset-inline-start: 16px;
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.badge-sale { background: var(--copper); color: var(--white); }
.badge-rent { background: var(--navy); color: var(--white); }
.badge-sold { background: #555; color: var(--white); }
.badge-rented { background: #555; color: var(--white); }
.badge-new  { background: #27AE60; color: var(--white); }

.property-card-body { padding: 24px; flex: 1; display: flex; flex-direction: column; }

.property-type-chip {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  padding: 5px 14px;
  border-radius: 999px;
  background: rgba(26,43,74,0.08);
  color: var(--navy);
  font-size: 0.82rem;
  font-weight: 600;
  margin-bottom: 14px;
}

.property-location {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--gray);
  margin-bottom: 10px;
}
.property-location svg { color: var(--copper); width: 14px; height: 14px; flex-shrink: 0; }

.property-card-body h3 {
  font-size: 1.5rem;
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.4;
  min-height: 56px;
  display: -webkit-box;
  line-clamp: 2;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.property-price {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--copper);
  margin-bottom: 18px;
}
html[lang="en"] .property-price { font-family: var(--font-en-head); letter-spacing: 0.02em; }

.property-price .per {
  font-size: 0.75rem;
  color: var(--gray);
  font-weight: 400;
  font-family: var(--font-ar);
}

.property-features {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 14px;
  margin-top: auto;
}

.property-divider {
  width: 100%;
  border-top: 1px solid var(--cream-dark);
  margin-bottom: 14px;
}

.property-feature {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--text-mid);
}
.property-feature svg { color: var(--copper); width: 15px; height: 15px; }

/* Properties grid */
.properties-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.properties-page {
  background: var(--cream);
}

.properties-header {
  margin-bottom: 24px;
}

.properties-header h1 {
  color: var(--navy-dark);
}

.properties-grid-page {
  margin-top: 24px;
}

/* ---- Property Details Page ---- */
.property-show-page {
  background:
    radial-gradient(circle at 0% 0%, rgba(184,115,51,0.10), transparent 36%),
    radial-gradient(circle at 100% 100%, rgba(26,43,74,0.08), transparent 42%),
    var(--cream);
  padding-top: 34px;
}

.property-show-shell {
  width: min(1280px, calc(100% - 40px));
  margin: 0 auto;
}

.property-show-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
  gap: 32px;
  align-items: start;
}

.property-show-gallery-wrap {
  background: var(--white);
  border-radius: 24px;
  padding: 18px;
  box-shadow: 0 18px 46px rgba(26,43,74,0.10);
  border: 1px solid rgba(26,43,74,0.07);
  min-width: 0;
}

.property-show-main-media {
  border-radius: 18px;
  overflow: hidden;
  aspect-ratio: 16 / 11;
  min-height: 0;
  background: #edf0f6;
}

.property-show-main-image {
  display: block;
  width: 100%;
  height: 100%;
  max-height: none;
  object-fit: cover;
  object-position: center;
  cursor: zoom-in;
}

.property-show-placeholder {
  position: relative;
  min-height: 100%;
}

.property-show-thumbs {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(92px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.property-show-thumb-btn {
  border: 0;
  background: transparent;
  padding: 0;
  cursor: pointer;
  display: block;
  border-radius: 11px;
}

.property-show-thumb-img {
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  border-radius: 11px;
  border: 2px solid #e5eaf0;
  transition: transform .25s ease, border-color .25s ease;
}

.property-show-thumb-btn:hover .property-show-thumb-img {
  transform: translateY(-2px);
  border-color: var(--copper);
}

.property-show-thumb-btn.is-active .property-show-thumb-img {
  border-color: var(--copper);
  box-shadow: 0 0 0 3px rgba(184,115,51,0.18);
}

.property-show-image-actions {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.property-show-image-actions .btn {
  flex: 1 1 220px;
  justify-content: center;
}

.property-show-info {
  position: sticky;
  top: calc(var(--navbar-h) + 14px);
  min-width: 0;
}

.property-show-card {
  background: var(--white);
  border-radius: 24px;
  padding: 26px 24px;
  box-shadow: 0 16px 38px rgba(17,29,51,0.10);
  border: 1px solid rgba(26,43,74,0.07);
}

.property-show-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.property-show-status {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  border-radius: 999px;
  background: rgba(184,115,51,0.12);
  color: var(--copper-dark);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .05em;
}

.property-show-title {
  color: var(--navy);
  margin-top: 12px;
  margin-bottom: 8px;
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  line-height: 1.18;
  text-wrap: balance;
}

.property-show-location {
  color: #667085;
  margin-bottom: 10px;
  font-size: .96rem;
}

.property-show-price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
  margin-bottom: 14px;
}

.property-show-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.property-show-meta-item {
  background: #f7f9fc;
  border: 1px solid rgba(26,43,74,0.06);
  border-radius: 12px;
  padding: 12px 11px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.property-show-meta-item strong {
  font-size: .73rem;
  letter-spacing: .04em;
  color: #64748b;
}

.property-show-meta-item span {
  color: #1f2937;
  font-weight: 700;
  font-size: .95rem;
}

.property-show-desc {
  margin-top: 16px;
  color: #5f6c80;
  line-height: 1.9;
}

.property-show-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.property-show-tag {
  padding: 7px 11px;
  border-radius: 999px;
  background: #f4f7fb;
  color: #334155;
  font-size: 13px;
}

.property-show-actions {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.property-show-actions .btn {
  justify-content: center;
  width: 100%;
}

.property-show-related-head {
  margin-top: 48px;
}

.property-show-related-grid {
  margin-top: 14px;
}

.property-show-related-actions {
  margin-top: 10px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.property-show-related-actions .btn {
  justify-content: center;
}

.property-show-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.88);
  z-index: 1200;
  padding: 40px;
  align-items: center;
  justify-content: center;
}

.property-show-modal-close {
  position: absolute;
  top: 20px;
  inset-inline-end: 20px;
  border: 0;
  background: #fff;
  color: #111;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.property-show-modal-image {
  max-width: min(1300px,95vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 14px;
}

.property-show-hero {
  padding: calc(var(--navbar-h) + 52px) 0 50px;
}

.property-show-hero .container {
  max-width: 980px;
}

.property-show-hero-title {
  max-width: 12ch;
  margin: 0 auto 14px;
  font-size: clamp(2.2rem, 4.4vw, 4.8rem);
  line-height: 1.04;
  overflow-wrap: anywhere;
  text-wrap: balance;
}

.property-show-hero-location {
  font-size: 1rem;
}

.property-show-hero .breadcrumb {
  flex-wrap: wrap;
  row-gap: 6px;
}

@media (max-width: 1100px) {
  .property-show-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .property-show-info {
    position: static;
  }

  .property-show-main-media,
  .property-show-placeholder {
    aspect-ratio: 4 / 3;
  }

  .property-show-hero-title {
    max-width: 14ch;
  }
}

@media (max-width: 767px) {
  .property-show-shell {
    width: calc(100% - 22px);
  }

  .property-show-page {
    padding-top: 22px;
  }

  .property-show-hero {
    padding: calc(var(--navbar-h) + 34px) 0 36px;
  }

  .property-show-hero .overline {
    gap: 8px;
    letter-spacing: 0.14em;
  }

  .property-show-hero .overline::before,
  .property-show-hero .overline::after {
    width: 18px;
  }

  .property-show-hero-title {
    max-width: 100%;
    font-size: clamp(1.85rem, 8vw, 2.7rem);
    margin-bottom: 10px;
  }

  .property-show-hero-location {
    font-size: 0.92rem;
  }

  .property-show-hero .breadcrumb {
    margin-top: 18px;
    font-size: 0.74rem;
  }

  .property-show-gallery-wrap {
    padding: 10px;
    border-radius: 18px;
  }

  .property-show-main-media,
  .property-show-placeholder {
    aspect-ratio: 1 / 1;
  }

  .property-show-thumbs {
    display: flex;
    overflow-x: auto;
    gap: 8px;
    padding-bottom: 2px;
  }

  .property-show-thumb-btn {
    flex: 0 0 76px;
  }

  .property-show-thumb-img {
    aspect-ratio: 1 / 1;
  }

  .property-show-card {
    border-radius: 18px;
    padding: 18px 14px;
  }

  .property-show-head {
    flex-wrap: wrap;
  }

  .property-show-title {
    font-size: 1.7rem;
  }

  .property-show-meta-grid,
  .property-show-actions,
  .property-show-related-actions {
    grid-template-columns: 1fr;
  }

  .property-show-image-actions .btn {
    flex-basis: 100%;
  }

  .property-show-modal {
    padding: 20px 12px;
  }
}

/* ---- Services Section ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.service-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid transparent;
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  transform: scaleX(0);
  transition: transform var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(184,115,51,0.12);
}
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 72px;
  height: 72px;
  background: linear-gradient(135deg, rgba(184,115,51,0.12), rgba(184,115,51,0.06));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 24px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--copper), var(--copper-light));
}

.service-icon svg {
  width: 32px;
  height: 32px;
  color: var(--copper);
  transition: color var(--transition);
}
.service-card:hover .service-icon svg { color: var(--white); }

.service-card h3 { color: var(--navy); margin-bottom: 14px; font-size: 1.1rem; }
.service-card p  { color: var(--text-mid); font-size: 0.92rem; line-height: 1.8; }

.service-card-img {
  width: 100%;
  height: 180px;
  margin: -40px -32px 24px;
  width: calc(100% + 64px);
  overflow: hidden;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0;
}
.service-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.05); }

.services-details {
  background: var(--cream);
}

.services-flow {
  display: grid;
  gap: 34px;
}

.service-flow-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  padding-bottom: 34px;
  border-bottom: 1px solid rgba(26,43,74,0.12);
}

.service-flow-item.is-selected {
  background: linear-gradient(180deg, rgba(184,115,51,0.10), rgba(184,115,51,0.03));
  border-radius: 16px;
  padding: 22px;
}

.service-flow-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.service-flow-item.is-reverse .service-flow-text {
  order: 2;
}

.service-flow-item.is-reverse .service-flow-media {
  order: 1;
}

.service-flow-overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--copper);
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.service-flow-overline::before {
  content: '';
  width: 36px;
  height: 1px;
  background: var(--copper);
}

.service-flow-text h3 {
  color: var(--navy);
  margin-bottom: 14px;
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.2;
}

.service-flow-text > p {
  color: var(--text-mid);
  font-size: 1.24rem;
  margin-bottom: 18px;
  line-height: 1.85;
}

.service-flow-points {
  display: grid;
  gap: 10px;
}

.service-flow-points li {
  color: var(--text-mid);
  font-size: 1.12rem;
  position: relative;
  padding-inline-start: 18px;
}

.service-flow-points li::before {
  content: '';
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--copper);
  position: absolute;
  inset-inline-start: 0;
  top: 10px;
}

.service-flow-media {
  min-height: 520px;
  border-radius: 30px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-flow-image {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
}

.service-flow-icon {
  color: rgba(184,115,51,0.5);
}

.service-flow-icon svg {
  width: 96px;
  height: 96px;
  stroke: currentColor;
}

.services-page-cta {
  background: linear-gradient(135deg, var(--navy-dark), var(--navy-light));
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

.services-page-cta::before,
.services-page-cta::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(184,115,51,0.12);
}

.services-page-cta::before {
  width: 430px;
  height: 430px;
  inset-inline-start: -220px;
  top: -110px;
}

.services-page-cta::after {
  width: 360px;
  height: 360px;
  inset-inline-end: -180px;
  bottom: -120px;
}

.services-page-cta-inner {
  text-align: center;
  position: relative;
  z-index: 1;
}

.services-page-cta-inner h2 {
  color: var(--white);
  margin-bottom: 14px;
}

.services-page-cta-inner p {
  color: rgba(255,255,255,0.78);
  font-size: 1.08rem;
  margin-bottom: 26px;
}

/* ---- Why Us / Features ---- */
.why-us { background: var(--navy); }
.feature-item {
  display: flex;
  gap: 24px;
  align-items: flex-start;
}
html[dir="ltr"] .feature-item { flex-direction: row; }

.feature-icon-wrap {
  flex-shrink: 0;
  width: 56px;
  height: 56px;
  background: rgba(184,115,51,0.15);
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition);
}
.feature-item:hover .feature-icon-wrap { background: var(--copper); }
.feature-icon-wrap svg { width: 26px; height: 26px; color: var(--copper); }
.feature-item:hover .feature-icon-wrap svg { color: var(--white); }

.feature-text h4 { color: var(--white); margin-bottom: 8px; font-size: 1rem; }
.feature-text p  { color: rgba(255,255,255,0.62); font-size: 0.9rem; line-height: 1.75; }

.features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
}

/* ---- CTA Section ---- */
.cta-section {
  background: linear-gradient(135deg, var(--navy-dark) 0%, var(--navy) 50%, var(--navy-light) 100%);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -100px;
  inset-inline-end: -100px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(184,115,51,0.12);
  border-radius: 50%;
}
.cta-section::after {
  content: '';
  position: absolute;
  bottom: -150px;
  inset-inline-start: -80px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(184,115,51,0.08);
  border-radius: 50%;
}
.cta-inner {
  position: relative; z-index: 1;
  text-align: center;
}
.cta-inner h2 { color: var(--white); margin-bottom: 20px; }
.cta-inner p  { color: rgba(255,255,255,0.72); margin-bottom: 40px; font-size: 1.05rem; }
.cta-actions  { display: flex; justify-content: center; flex-wrap: wrap; gap: 16px; }

/* ---- Footer ---- */
footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.7);
}

.footer-top {
  padding: 80px 0 60px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}
.footer-brand .footer-logo img { height: 44px; }
.footer-brand .footer-logo-text .name {
  display: block;
  font-size: 1rem;
  font-weight: 800;
  color: var(--white);
}
html[lang="en"] .footer-brand .footer-logo-text .name { font-family: var(--font-en-head); }
.footer-brand .footer-logo-text .sub {
  display: block;
  font-size: 0.6rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--copper);
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.9;
  margin-bottom: 24px;
  max-width: 300px;
}

.footer-socials {
  display: flex;
  gap: 10px;
}
.footer-socials a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  transition: var(--transition-fast);
  color: rgba(255,255,255,0.6);
}
.footer-socials a:hover { background: var(--copper); color: var(--white); }
.footer-socials svg { width: 16px; height: 16px; }

.footer-col h5 {
  font-size: 0.8rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 20px;
  font-weight: 700;
}
html[lang="en"] .footer-col h5 { letter-spacing: 0.22em; }

.footer-col ul li + li { margin-top: 10px; }
.footer-col ul a {
  font-size: 0.88rem;
  color: rgba(255,255,255,0.62);
  transition: color var(--transition-fast);
  display: flex; align-items: center; gap: 6px;
}
.footer-col ul a:hover { color: var(--copper); }
.footer-col ul a::before {
  content: '';
  display: block;
  width: 14px;
  height: 1px;
  background: var(--copper);
  flex-shrink: 0;
  opacity: 0;
  transition: opacity var(--transition-fast);
}
.footer-col ul a:hover::before { opacity: 1; }

.footer-contact-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 16px;
  font-size: 0.88rem;
}
.footer-contact-item svg { width: 17px; height: 17px; color: var(--copper); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8rem;
  color: rgba(255,255,255,0.4);
}
.footer-bottom a { color: var(--copper); }
.footer-bottom a:hover { text-decoration: underline; }

/* ---- Page Hero (inner pages) ---- */
.page-hero {
  padding: calc(var(--navbar-h) + 80px) 0 80px;
  background: linear-gradient(135deg, var(--navy-dark), var(--navy));
  position: relative;
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px;
  right: -100px;
  width: 400px;
  height: 400px;
  border: 1px solid rgba(184,115,51,0.1);
  border-radius: 50%;
}
.page-hero .overline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.page-hero .overline::before, .page-hero .overline::after {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--copper);
}
.page-hero h1 { color: var(--white); margin-bottom: 16px; }
.page-hero p  { color: rgba(255,255,255,0.68); max-width: 560px; margin: 0 auto; }

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 24px;
  justify-content: center;
  font-size: 0.82rem;
}
.breadcrumb a { color: rgba(255,255,255,0.5); transition: color var(--transition-fast); }
.breadcrumb a:hover { color: var(--copper); }
.breadcrumb span { color: var(--copper); }
.breadcrumb svg { width: 14px; height: 14px; color: rgba(255,255,255,0.3); }

/* ---- Filter Bar (Properties) ---- */
.filter-bar {
  background: var(--white);
  border-radius: 24px;
  padding: 26px 30px;
  box-shadow: 0 12px 40px rgba(26,43,74,0.08);
  margin-bottom: 48px;
  border: 1px solid rgba(26,43,74,0.06);
}

.filter-bar-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 16px;
  align-items: end;
}

.filter-bar-grid .filter-search {
  grid-column: auto;
}

.filter-group {
  min-width: 0;
}
.filter-group label {
  display: block;
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: none;
  color: var(--navy);
  margin-bottom: 10px;
}
.filter-group select,
.filter-group input {
  width: 100%;
  height: 54px;
  padding: 0 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: 10px;
  font-size: 1rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
}
.filter-group select:focus,
.filter-group input:focus {
  border-color: var(--copper);
  background: var(--white);
}
.filter-group .select-wrap {
  position: relative;
}
.filter-group .select-wrap::after {
  content: '';
  position: absolute;
  top: 50%;
  inset-inline-end: 16px;
  transform: translateY(-50%);
  width: 10px;
  height: 6px;
  background: var(--copper);
  clip-path: polygon(0 0, 100% 0, 50% 100%);
  pointer-events: none;
}

.filter-actions {
  grid-column: 1 / -1;
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-top: 12px;
}

html[dir="rtl"] .filter-actions {
  justify-content: flex-start;
}

.btn-clear {
  background: var(--white);
  color: var(--copper);
  border: 1.5px solid var(--copper);
}

.btn-clear:hover {
  background: rgba(184,115,51,0.08);
}

#properties-container {
  min-height: 400px;
}

/* ---- About Page ---- */
.about-story {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-img-wrap {
  position: relative;
}
.about-img-wrap img {
  width: 100%;
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
}
.about-img-badge {
  position: absolute;
  bottom: -28px;
  inset-inline-start: -28px;
  background: var(--copper);
  color: var(--white);
  padding: 24px 28px;
  border-radius: var(--radius-lg);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.about-img-badge .big-num {
  display: block;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
}
html[lang="en"] .about-img-badge .big-num { font-family: var(--font-en-head); }
.about-img-badge .badge-label { font-size: 0.78rem; opacity: 0.88; }

.about-content .overline {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--copper);
  margin-bottom: 16px;
}
.about-content .overline::before {
  content: '';
  display: block;
  width: 30px;
  height: 1px;
  background: var(--copper);
}
.about-content h2 { color: var(--navy); margin-bottom: 20px; }
.about-content p  { color: var(--text-mid); margin-bottom: 16px; line-height: 1.9; }

.about-story .about-content {
  max-width: 620px;
}

.about-story .btn {
  margin-top: 10px;
}

.about-placeholder-box {
  width: 100%;
  min-height: 620px;
  border-radius: var(--radius-xl);
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-lg);
}

.about-placeholder-box svg {
  width: 160px;
  height: 160px;
  color: rgba(184,115,51,0.45);
}

.about-stats-strip {
  background: var(--cream-dark);
  padding: 34px 0;
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.about-stat-item {
  text-align: center;
  padding: 24px 20px;
  border-inline-end: 1px solid rgba(26,43,74,0.12);
}

.about-stat-item:last-child {
  border-inline-end: none;
}

.about-stat-item .value {
  display: block;
  color: var(--navy);
  font-size: 2.8rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.about-stat-item .label {
  color: var(--text-mid);
  font-size: 1.24rem;
}

/* Values grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 60px;
}
.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.value-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.value-card .icon {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, rgba(184,115,51,0.1), rgba(184,115,51,0.05));
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 16px;
}
.value-card .icon svg { width: 28px; height: 28px; color: var(--copper); }
.value-card h4 { color: var(--navy); margin-bottom: 8px; }
.value-card p  { font-size: 0.86rem; color: var(--text-mid); line-height: 1.75; }

/* Team */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.team-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  text-align: center;
}
.team-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.team-card-img {
  aspect-ratio: 3/4;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
}
.team-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.team-card:hover .team-card-img img { transform: scale(1.06); }
.team-card-body { padding: 20px 16px; }
.team-card-body h4 { color: var(--navy); margin-bottom: 4px; font-size: 1rem; }
.team-card-body .role { font-size: 0.8rem; color: var(--copper); font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }

/* ---- Contact Page ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 64px;
  align-items: start;
}

.contact-info .info-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 460px;
  margin-inline: auto;
  margin-bottom: 24px;
}
.contact-info .info-icon {
  width: 64px; height: 64px;
  background: #F0ECE8;
  border-radius: var(--radius-md);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  grid-column: 1;
}
.contact-info .info-icon svg { width: 26px; height: 26px; color: var(--copper); }
.contact-info .info-text { grid-column: 2; }
.contact-info .info-text h5 { color: var(--navy); font-size: 1.2rem; margin-bottom: 6px; font-weight: 700; text-align: right; }
.contact-info .info-text p  { font-size: 1rem; color: var(--text-mid); text-align: right; }

.contact-details-section {
  background: var(--white);
}

.contact-header {
  text-align: center;
  margin-bottom: 34px;
}

.contact-header h2 {
  font-size: clamp(1.95rem, 4vw, 2.8rem);
  line-height: 1.25;
}

.contact-info {
  max-width: 520px;
  margin-inline: auto;
}

.contact-social-wrap {
  margin-top: 26px;
  text-align: center;
}

.contact-social-wrap h5 {
  color: var(--navy);
  margin-bottom: 14px;
  font-size: 1.2rem;
}

.contact-socials {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}

.contact-socials a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #EDF0F5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  transition: var(--transition-fast);
}

.contact-socials a svg {
  width: 20px;
  height: 20px;
}

.contact-socials a:hover {
  background: var(--copper);
  color: var(--white);
}

/* Contact form */
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  box-shadow: var(--shadow-lg);
}
.contact-form-wrap h3 { color: var(--navy); margin-bottom: 30px; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-group { margin-bottom: 20px; }
.form-group label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 8px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 13px 18px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--text-dark);
  background: var(--cream);
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--copper);
  box-shadow: 0 0 0 4px rgba(184,115,51,0.08);
  background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 130px; }
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--gray-light); }

/* Map placeholder */
.map-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 60px;
  height: 420px;
  background: var(--cream-dark);
  position: relative;
}
.map-wrap iframe {
  width: 100%; height: 100%; border: none;
}

/* ---- Careers Page ---- */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
}

.job-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 26px 28px;
  box-shadow: 0 10px 32px rgba(26,43,74,0.08);
  border: 1px solid rgba(184,115,51,0.35);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.job-card:hover {
  box-shadow: 0 20px 42px rgba(26,43,74,0.12);
  transform: translateY(-8px);
}

.job-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 22px;
}

.job-icon {
  width: 80px;
  height: 80px;
  background: #F0ECE8;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.job-icon svg {
  width: 34px;
  height: 34px;
  color: var(--copper);
}

.job-badge-new {
  background: var(--copper);
  color: var(--white);
  padding: 4px 12px;
  border-radius: 14px;
  font-size: 0.74rem;
  font-weight: 700;
}

.job-card h3 { color: var(--navy); margin-bottom: 16px; font-size: 1.95rem; }
.job-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
  margin-bottom: 16px;
}
.job-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 20px;
  background: #E9ECF2;
  color: #5C6272;
  font-size: 0.8rem;
  font-weight: 700;
}

.job-tag.employment {
  background: #E6F3E7;
  color: #2E7D32;
}

.job-desc {
  font-size: 1rem;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 20px;
  min-height: 110px;
}

.btn-apply {
  margin-top: auto;
  width: 100%;
  height: 48px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: var(--white);
  font-weight: 700;
  font-size: 1.02rem;
  transition: var(--transition-fast);
}

.btn-apply:hover {
  background: var(--navy-light);
}

.careers-benefits {
  background: var(--cream-dark);
}

.careers-benefits-first {
  padding-top: calc(var(--navbar-h) + 56px);
}

.careers-benefits-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 24px;
  margin-top: 34px;
}

.careers-benefit-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 30px 20px;
  text-align: center;
}

.careers-benefit-card .icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(184,115,51,0.12), rgba(184,115,51,0.06));
  display: flex;
  align-items: center;
  justify-content: center;
}

.careers-benefit-card .icon svg {
  width: 24px;
  height: 24px;
  color: var(--copper);
}

.careers-benefit-card h4 {
  color: var(--navy);
  font-size: 1.16rem;
}

.careers-benefits-actions {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ---- Scroll Reveal Animations ---- */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal-left.visible,
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Staggered delay helpers */
.delay-1 { transition-delay: 0.1s !important; }
.delay-2 { transition-delay: 0.2s !important; }
.delay-3 { transition-delay: 0.3s !important; }
.delay-4 { transition-delay: 0.4s !important; }
.delay-5 { transition-delay: 0.5s !important; }

/* ---- Keyframe Animations ---- */
@keyframes fadeUp {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Floating scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 130px;
  inset-inline-start: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  opacity: 0;
  animation: fadeIn 1s ease 1.2s forwards;
}
.scroll-indicator span {
  font-size: 0.68rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.5);
}
.scroll-mouse {
  width: 26px;
  height: 42px;
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 13px;
  display: flex;
  justify-content: center;
  padding-top: 8px;
}
.scroll-mouse-dot {
  width: 4px;
  height: 8px;
  background: var(--copper);
  border-radius: 2px;
  animation: scrollBounce 2s infinite;
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); opacity: 1; }
  50%       { transform: translateY(8px); opacity: 0.4; }
}

/* ---- Divider ---- */
.copper-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--copper), var(--copper-light));
  border-radius: 2px;
  margin: 16px auto 0;
}

/* ---- Back to top ---- */
#back-to-top {
  position: fixed;
  bottom: 32px;
  inset-inline-end: 32px;
  width: 46px;
  height: 46px;
  background: var(--copper);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 500;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  transform: translateY(20px);
}
#back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
#back-to-top:hover {
  background: var(--copper-dark);
  transform: translateY(-3px);
}
#back-to-top svg { width: 20px; height: 20px; }

/* ---- Placeholder image overlay ---- */
.img-placeholder {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.img-placeholder svg { width: 60px; height: 60px; color: rgba(255,255,255,0.15); }

/* ---- No results ---- */
.no-results {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-mid);
}
.no-results svg { width: 64px; height: 64px; color: var(--gray-light); margin: 0 auto 20px; display: block; }
.no-results h3  { color: var(--navy); margin-bottom: 12px; }
