
  :root {
    --gold: #dcb785;
    --gold-light: #dcb785;
    --gold-dark: #dcb785;
    --black: #0A0A0A;
    --off-black: #111111;  
    --dark: #1A1814;
    --mid: #2A2620;
    --text-light: #F5F0E8;
    --text-muted: #9A8F7A;
    --white: #FDFAF5;
    --border: rgba(201,169,110,0.2);
  }

  * { margin: 0; padding: 0; box-sizing: border-box; }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Montserrat', sans-serif;
    background: var(--black);
    color: var(--text-light);
    overflow-x: hidden;
  }

  /* ─── NAV ─────────────────────────────────────────────── */
  nav {
    position: fixed; top: 0; left: 0; right: 0; z-index: 100;
    padding: 0 60px;
    display: flex; align-items: center; justify-content: space-between;
    height: 80px;
    background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    transition: all 0.3s;
  }

  .nav-logo img {
    height: 48px;
    width: auto;
    filter: none;
    /* Logo is transparent PNG – no background applied */
  }

  .nav-links {
    display: flex; gap: 36px; list-style: none;
  }

  .nav-links a {
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-muted); text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
  }

  .nav-links a:hover, .nav-links a.active { color: var(--gold); }

  .nav-cta {
    font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--black); background: var(--gold);
    padding: 10px 24px; text-decoration: none;
    font-weight: 600; transition: all 0.3s;
  }

  .nav-cta:hover { background: var(--gold-light); }

  .mobile-menu-btn {
    display: none; flex-direction: column; gap: 5px;
    cursor: pointer; background: none; border: none; padding: 4px;
  }

  .mobile-menu-btn span {
    width: 24px; height: 1.5px; background: var(--gold); display: block; transition: all 0.3s;
  }

  /* ─── PAGES ───────────────────────────────────────────── */
  .page-body { padding-top: 80px; min-height: 100vh; }

  /* ─── HERO ────────────────────────────────────────────── */
  .hero {
    position: relative; height: calc(100vh - 80px);
    display: flex; align-items: center;
    overflow: hidden;
  }

  .background-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

  .hero-bg::after { 
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(115deg, rgba(10,10,10,0.94) 0%, rgba(10,10,10,0.72) 45%, rgba(10,10,10,0.5) 75%, rgba(10,10,10,0.4) 100%);
  }

  .hero-content {
    position: relative; z-index: 2;
    padding: 0 60px; max-width: 780px;
  }

  .hero-eyebrow {
    font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 24px; font-weight: 600;
    display: flex; align-items: center; gap: 12px;
  }

  .hero-eyebrow::before {
    content: ''; width: 40px; height: 1px; background: var(--gold);
  }

  .hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(52px, 7vw, 90px);
    font-weight: 300; line-height: 1.05;
    margin-bottom: 28px;
    letter-spacing: -1px; 
  }

  .hero h1 em { font-style: italic; color: var(--gold); }

  .hero-desc {
    font-size: 15px; line-height: 1.8; color: var(--text-muted);
    max-width: 520px; margin-bottom: 44px; font-weight: 300;
  }

  .hero-actions { display: flex; gap: 16px; align-items: center; }

  .btn-primary {
    display: inline-block; padding: 16px 40px;
    background: var(--gold); color: var(--black);
    font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
    font-weight: 700; text-decoration: none; transition: all 0.3s;
    cursor: pointer; border: none;
  }

  .btn-primary:hover { background: var(--gold-light); transform: translateY(-2px); }

  .btn-outline {
    display: inline-block; padding: 15px 40px;
    border: 1px solid var(--gold); color: var(--gold);
    font-size: 10px; letter-spacing: 2.5px; text-transform: uppercase;
    font-weight: 600; text-decoration: none; transition: all 0.3s;
    cursor: pointer; background: none;
  }

  .btn-outline:hover { background: var(--gold); color: var(--black); }

  .hero-stats {
    position: absolute; bottom: 60px; right: 60px; z-index: 2;
    display: flex; gap: 36px;
  }

  .stat { text-align: center; min-width: 0; }

  .stat-num {
    font-family: 'Anglecia Pro Display', serif;
    font-size: 34px; font-weight: 300; color: var(--white);
    line-height: 1; display: block; white-space: nowrap;
    font-variant-numeric: tabular-nums;
  }

  .stat-label {
    font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--white); margin-top: 6px; display: block;
  }

  /* ─── SECTION BASE ────────────────────────────────────── */
  .section {
    padding: 120px 60px;
    background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
  }

  .section-eyebrow {
    font-size: 10px; letter-spacing: 4px; text-transform: uppercase;
    color: var(--gold); margin-bottom: 16px; font-weight: 600;
    display: flex; align-items: center; gap: 12px;
  }

  .section-eyebrow::before {
    content: ''; width: 32px; height: 1px; background: var(--gold);
  }

  .section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 300; line-height: 1.1;
    margin-bottom: 20px;
  }

  .section-title em { font-style: italic; color: var(--gold); }

  .section-sub {
    font-size: 14px; color: var(--text-muted);
    line-height: 1.8; max-width: 560px;
    font-weight: 300;
  }

  .divider {
    width: 60px; height: 1px; background: var(--gold);
    margin: 32px 0;
  }

  /* ─── SERVICES GRID ───────────────────────────────────── */
  .services-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 1px; background: var(--border);
    margin-top: 80px; border: 1px solid var(--border);
  }

  .service-card {
    background:linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
    padding: 52px 44px;
    transition: background 0.3s;
    position: relative; overflow: hidden;
  }

  .service-card::before {
    content: '';
    position: absolute; bottom: 0; left: 0; right: 0;
    height: 2px; background: var(--off-black);
    transform: scaleX(0); transition: transform 0.4s;
    transform-origin: left;
  }

  .service-card:hover::before { transform: scaleX(1); }
  .service-card:hover { background: var( #002A1C); }

  .service-num {
    font-family: 'Anglecia Pro Display', serif;
    font-size: 64px; font-weight: 300; color: var(--text-light);
    line-height: 1; margin-bottom: 24px;
    transition: color 0.3s;
  }

  .service-card:hover .service-num { color: var(--gold); }

  .service-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px; font-weight: 400; margin-bottom: 16px;
    color: var(--gold);
  }

  .service-card p {
    font-size: 13px; color: var(--gold);
    line-height: 1.8; font-weight: 300;
  }

  /* ─── WHY DUBAI ───────────────────────────────────────── */
  .why-dubai {
    background: var(--black);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
  }

  .why-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    
    gap: 0; margin-top: 72px;
  }

  .why-item {
    padding: 48px 36px;
    border-right: 1px solid var(--border);
    position: relative;
  }

  .why-item:last-child { border-right: none; }

  .why-num {
    font-family:  'Anglecia Pro Display', serif;
    font-size: 72px; font-weight: 300;
    color: rgb(255, 255, 255);
    line-height: 1; margin-bottom: 8px;
  }

  .why-item h4 {
    font-size: 12px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--gold); font-weight: 600;
  }

  /* ─── PARTNERS ────────────────────────────────────────── */
  .partners {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 40px 0;
    background: linear-gradient(135deg, #004535 0%, #003C2C 45%, #003126 75%, #002A1C 100%);
    border-top: 1px solid var(--border);
  }

  .partners::before,
  .partners::after {
    content: "";
    position: absolute;
    top: 0;
    width: 120px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }

  .partners::before {
    left: 0;
    background: linear-gradient(to right, #004535, transparent);
  }

  .partners::after {
    right: 0;
    background: linear-gradient(to left, #002A1C, transparent);
  }

  .partner-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 25s linear infinite;
  }

  .partner-logos {
    display: flex;
    align-items: center;
    gap: 80px;
    padding-right: 80px;
    flex-wrap: nowrap;
  }

  .partner-logo {
    flex: 0 0 auto;
  }

  .partner-logo img {
    width: 180px;
    height: 80px;
    object-fit: contain;
    display: block;
    transition: transform .3s ease;
  }

  .partner-logo img:hover {
    transform: scale(1.05);
  }

  .partners:hover .partner-track {
    animation-play-state: paused;
  }

  @keyframes scrollLogos {
    from {
      transform: translateX(0);
    }

    to {
      transform: translateX(-50%);
    }
  }


  /* ─── ABOUT PAGE ──────────────────────────────────────── */
  .about-hero {
    background: url('https://images.unsplash.com/photo-1698948684109-01de0994a832?q=80&w=2070&auto=format&fit=crop') center/cover;
    height: 480px; position: relative;
    display: flex; align-items: flex-end;
    padding: 80px 60px;
  }

  .about-hero::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(10,10,10,0.95) 30%, rgba(10,10,10,0.4) 100%);
  }

  .about-hero-content { position: relative; z-index: 2; }

  .about-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 300; line-height: 1.1;
  }

  .about-hero h1 em { font-style: italic; color: var(--gold); }

  .about-body {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 100px; padding: 100px 60px;
  }

  .about-text p {
    font-size: 15px; color: var(--text-muted);
    line-height: 1.9; margin-bottom: 24px; font-weight: 300;
  }

  .about-text p strong { color: var(--text-light); font-weight: 500; }

  .about-image {
    position: relative;
  }

  .about-image img {
    width: 100%; height: 500px; object-fit: cover;
  }

  .about-image-accent {
    position: absolute; bottom: -24px; right: -24px;
    width: 180px; height: 180px;
    border: 1px solid var(--gold);
    z-index: -1;
  }

  /* ─── TEAM ────────────────────────────────────────────── */
  .team-section {
    background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
    padding: 100px 60px;
    border-top: 1px solid var(--border);
  }

  .team-grid {
    display: grid; grid-template-columns: repeat(4, 1fr);
    gap: 32px; margin-top: 72px;
  }

  .team-card {
    position: relative; overflow: hidden;
  }

  .team-photo {
    width: 100%; aspect-ratio: 3/4; object-fit: cover;
    filter: grayscale(30%); transition: filter 0.4s;
  }

  .team-card:hover .team-photo { filter: grayscale(0%); }

  .team-info {
    padding: 24px 0;
    border-bottom: 1px solid var(--border);
  }

  .team-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 400; margin-bottom: 6px;
  }

  .team-role {
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--gold); font-weight: 600;
  }

  .team-lang {
    font-size: 11px; color: var(--text-muted);
    margin-top: 8px; font-weight: 300;
  }

  /* ─── CAREERS ─────────────────────────────────────────── */
  .careers-hero {
    background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
    padding: 120px 60px;
    border-bottom: 1px solid var(--border);
    position: relative; overflow: hidden;
  }

  .careers-hero::before {
    content: 'CAREERS';
    position: absolute; right: 60px; top: 50%; transform: translateY(-50%);
    font-family: 'Cormorant Garamond', serif;
    font-size: 180px; font-weight: 300;
    color: rgba(201,169,110,0.04);
    white-space: nowrap; pointer-events: none;
    line-height: 1;
  }

  .careers-hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(44px, 6vw, 72px);
    font-weight: 300; max-width: 600px;
    position: relative; z-index: 1;
  }

  .careers-hero h1 em { font-style: italic; color: var(--gold); }

  .careers-hero p {
    font-size: 15px; color: var(--text-muted);
    max-width: 540px; line-height: 1.8; margin-top: 24px;
    font-weight: 300; position: relative; z-index: 1;
  }

  .jobs-section { padding: 100px 60px; }

  .job-card {
    border: 1px solid var(--border);
    padding: 40px 48px;
    margin-bottom: 1px;
    display: flex; align-items: center; justify-content: space-between;
    transition: all 0.3s; cursor: pointer;
    background: var(--off-black);
  }

  .job-card:hover {
    background: var(--dark);
    border-color: var(--gold);
  }

  .job-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 24px; font-weight: 400; margin-bottom: 8px;
  }

  .job-meta {
    display: flex; gap: 24px;
    font-size: 11px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.5px;
  }

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

  .job-tag {
    padding: 6px 16px;
    border: 1px solid var(--gold); color: var(--gold);
    font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 600;
  }

  .perks-section {
    background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
    padding: 100px 60px;
    border-top: 1px solid var(--border);
  }

  .perks-grid {
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 48px; margin-top: 72px;
  }

  .perk { padding: 0; }

  .perk-icon {
    width: 48px; height: 48px; margin-bottom: 24px;
    color: var(--gold);
  }

  .perk h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 400; margin-bottom: 12px;
  }

  .perk p {
    font-size: 13px; color: var(--text-muted);
    line-height: 1.8; font-weight: 300;
  }

  /* ─── BLOG ────────────────────────────────────────────── */
  .blog-header {
    padding: 100px 60px 60px;
    border-bottom: 1px solid var(--border);
    
  }

  .blog-grid {
    padding: 80px 60px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
    gap: 40px;
  }

  .blog-card {
    cursor: pointer;
  }

  .blog-img {
    width: 100% !important; height: auto !important;
    aspect-ratio: 16/10 !important; object-fit: cover !important; object-position: center !important;
    transition: transform 0.5s; overflow: hidden; display: block;
  }

  .blog-card-wrap { overflow: hidden; }

  .blog-card:hover .blog-img { transform: scale(1.04); }

  .blog-category {
    font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold); font-weight: 600;
    margin: 24px 0 12px;
  }

  .blog-card h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px; font-weight: 400;
    line-height: 1.3; margin-bottom: 12px;
    transition: color 0.3s;
  }

  .blog-card:hover h3 { color: var(--gold); }

  .blog-excerpt {
    font-size: 13px; color: var(--text-muted);
    line-height: 1.7; font-weight: 300; margin-bottom: 20px;
  }

  .blog-meta {
    font-size: 10px; color: var(--text-muted);
    text-transform: uppercase; letter-spacing: 1.5px;
    display: flex; align-items: center; gap: 8px;
  }

  .blog-meta::before { content: ''; width: 20px; height: 1px; background: var(--gold); }

  /* ─── LISTINGS ────────────────────────────────────────── */
  .listings-hero {
    padding: 80px 60px 60px;
    border-bottom: 1px solid var(--border)
    ;
    background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
  }

  /* ─── LISTINGS PAGE LAYOUT (sidebar + content) ────────────── */
  .listings-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    min-height: 70vh;
    border-top: 1px solid var(--border);
  }

  /* ── SIDEBAR ──────────────────────────────────────────────── */
  .listings-sidebar {
    background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
    border-right: 1px solid var(--border);
    padding: 40px 0;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--border) transparent;
  }

  .sidebar-section {
    padding: 0 0 32px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 0;
  }

  .sidebar-section:last-child { border-bottom: none; }

  .sidebar-label {
    padding: 20px 28px 12px;
    font-size: 8px; letter-spacing: 3.5px; text-transform: uppercase;
    color: rgba(201,169,110,0.55); font-weight: 700;
  }

  /* ── CATEGORY TABS (All / Residential / Commercial) ──────── */
  .cat-tabs {
    display: flex; flex-direction: column;
    padding: 0 16px;
    gap: 2px;
  }

  .cat-tab {
    display: flex; align-items: center; gap: 12px;
    padding: 13px 16px;
    border: none; background: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px; font-weight: 600; letter-spacing: 0.5px;
    color: var(--text-muted);
    cursor: pointer; transition: all 0.2s;
    text-align: left; position: relative;
    border-radius: 2px;
  }

  .cat-tab svg { width: 15px; height: 15px; flex-shrink: 0; opacity: 0.5; transition: opacity 0.2s; }

  .cat-tab:hover { color: var(--gold); background: rgba(201,169,110,0.06); }
  .cat-tab:hover svg { opacity: 0.8; }

  .cat-tab.active {
    color: var(--gold);
    background: rgba(201,169,110,0.1);
    border-left: 2px solid var(--gold);
    padding-left: 14px;
  }

  .cat-tab.active svg { opacity: 1; }

  /* ── SUB-CATEGORY ACCORDION ───────────────────────────────── */
  .sub-cats {
    display: none;
    padding: 4px 16px 0 44px;
    flex-direction: column;
    gap: 1px;
  }

  .sub-cats.open { display: flex; }

  .sub-group-label {
    font-size: 8px; letter-spacing: 2.5px; text-transform: uppercase;
    color: rgba(201,169,110,0.4); font-weight: 700;
    padding: 12px 12px 5px;
  }

  .sub-item {
    display: flex; align-items: center; justify-content: space-between;
    padding: 9px 12px;
    border: none; background: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 11px; color: var(--text-muted);
    cursor: pointer; transition: all 0.2s;
    text-align: left; width: 100%; letter-spacing: 0.2px;
    border-radius: 2px;
  }

  .sub-item:hover { color: var(--gold); background: rgba(201,169,110,0.06); padding-left: 16px; }
  .sub-item.active { color: var(--gold); font-weight: 600; }

  .sub-count {
    font-size: 9px; color: var(--text-muted);
    background: rgba(201,169,110,0.07);
    border: 1px solid rgba(201,169,110,0.15);
    padding: 1px 6px; flex-shrink: 0;
    min-width: 20px; text-align: center;
  }

  /* ── RENT / SALE TOGGLE ───────────────────────────────────── */
  .purpose-toggle {
    display: flex;
    margin: 0 16px;
    border: 1px solid var(--border);
    overflow: hidden;
  }

  .purpose-btn {
    flex: 1; padding: 11px 0;
    border: none; background: none;
    font-family: 'Montserrat', sans-serif;
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-muted); font-weight: 600;
    cursor: pointer; transition: all 0.25s;
  }

  .purpose-btn:first-child { border-right: 1px solid var(--border); }

  .purpose-btn:hover { color: var(--gold); background: rgba(201,169,110,0.06); }
  .purpose-btn.active { background: var(--gold); color: var(--black); }

  /* ── SORT DROPDOWN ────────────────────────────────────────── */
  .sort-select-wrap {
    padding: 0 16px;
    position: relative;
  }

  .sort-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-light);
    padding: 11px 36px 11px 14px;
    font-size: 11px; letter-spacing: 0.5px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    cursor: pointer; outline: none;
    appearance: none;
    transition: border-color 0.3s;
  }

  .sort-select:focus { border-color: var(--gold); }

  .sort-select-wrap::after {
    content: '';
    position: absolute; right: 28px; top: 50%;
    transform: translateY(-50%);
    width: 0; height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid var(--gold);
    pointer-events: none;
  }

  /* ── CONTENT AREA ─────────────────────────────────────────── */
  .listings-content {
     background: var(--black);
    min-height: 70vh;
  }

  /* Result bar above grid */
  .listings-result-bar {
    padding: 24px 40px;
    border-bottom: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
  }

  .listings-result-count {
    font-size: 11px; color: var(--text-muted); letter-spacing: 1px;
  }

  .listings-result-count strong { color: var(--gold); font-weight: 700; }

  .active-filters-row {
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  }

  .filter-chip {
    display: flex; align-items: center; gap: 6px;
    background: rgba(201,169,110,0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    padding: 3px 10px;
    font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase; font-weight: 600;
  }

  .filter-chip button {
    background: none; border: none; color: var(--gold);
    font-size: 13px; cursor: pointer; line-height: 1; padding: 0;
    opacity: 0.6;
  }

  .filter-chip button:hover { opacity: 1; }

  /* ── LISTINGS GRID ────────────────────────────────────────── */
  .listings-grid {
    padding: 40px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-content: start;
  }

  .listing-card {
    background: var(--off-black);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    cursor: pointer;
  }

  .listing-card:hover {
    border-color: var(--white);
    transform: translateY(-4px);
  }

  .listing-img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
    transition: transform 0.5s;
  }

  .listing-card:hover .listing-img { transform: scale(1.03); }

  .listing-img-wrap { overflow: hidden; position: relative; }

  .listing-badge {
    position: absolute; top: 14px; left: 14px;
    background: var(--gold); color: var(--black);
    font-size: 8px; letter-spacing: 2px; text-transform: uppercase;
    padding: 5px 12px; font-weight: 700;
  }

  .listing-body { padding: 24px; }

  .listing-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 26px; font-weight: 400; color: var(--gold);
    margin-bottom: 6px;
  }

  .listing-price span {
    font-size: 12px; color: var(--text-muted);
    font-family: 'Montserrat', sans-serif; font-weight: 300;
  }

  .listing-title {
    font-size: 13px; font-weight: 500; margin-bottom: 5px;
    color: var(--text-light); line-height: 1.4;
  }

  .listing-location {
    font-size: 11px; color: var(--text-muted); margin-bottom: 18px;
    display: flex; align-items: center; gap: 5px;
  }

  .listing-specs {
    display: flex; gap: 16px;
    font-size: 11px; color: var(--text-muted);
    padding-top: 16px; border-top: 1px solid var(--border);
    flex-wrap: wrap;
  }

  .listing-portals {
    display: flex; gap: 8px; margin-top: 14px;
  }

  .portal-btn {
    flex: 1; padding: 9px 6px;
    font-size: 8px; letter-spacing: 1.5px; text-transform: uppercase;
    font-weight: 700; text-decoration: none; text-align: center;
    transition: all 0.3s; display: block;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer; border: none;
  }

  .portal-pf   { background: #000000; color: white; }
  .portal-pf:hover { background: #000000; }
  .portal-bayut { background: #ffffff; color: black; }
  .portal-bayut:hover { background: #ffffff; }

  .listings-grid {
    padding: 80px 60px;
    display: grid; grid-template-columns: repeat(3, 1fr);
    gap: 32px;
  }

  .listing-card {
    background: var(--off-black);
    border: 1px solid var(--border);
    overflow: hidden;
    transition: border-color 0.3s, transform 0.3s;
    cursor: pointer;
  }

  .listing-card:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
  }

  .listing-img {
    width: 100%; aspect-ratio: 4/3; object-fit: cover;
    transition: transform 0.5s;
  }

  .listing-card:hover .listing-img { transform: scale(1.03); }

  .listing-img-wrap { overflow: hidden; position: relative; }

  .listing-badge {
    position: absolute; top: 16px; left: 16px;
    background: var(--gold); color: var(--black);
    font-size: 9px; letter-spacing: 2px; text-transform: uppercase;
    padding: 6px 14px; font-weight: 700;
  }

  .listing-body { padding: 28px; }

  .listing-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px; font-weight: 400; color: var(--gold);
    margin-bottom: 8px;
  }

  .listing-price span {
    font-size: 13px; color: var(--text-muted); font-family: 'Montserrat', sans-serif;
    font-weight: 300;
  }

  .listing-title {
    font-size: 14px; font-weight: 500; margin-bottom: 6px;
    color: var(--text-light); line-height: 1.4;
  }

  .listing-location {
    font-size: 11px; color: var(--text-muted); margin-bottom: 20px;
    display: flex; align-items: center; gap: 6px;
  }

  .listing-location::before { content: '📍'; font-size: 10px; }

  .listing-specs {
    display: flex; gap: 20px;
    font-size: 11px; color: var(--text-muted);
    padding-top: 20px; border-top: 1px solid var(--border);
  }

  .listing-spec { display: flex; align-items: center; gap: 6px; }

  .listing-portals {
    display: flex; gap: 8px; margin-top: 16px;
  }

  .portal-btn {
    flex: 1; padding: 10px 8px;
    font-size: 9px; letter-spacing: 1.5px; text-transform: uppercase;
    font-weight: 700; text-decoration: none; text-align: center;
    transition: all 0.3s; display: block; font-family: 'Montserrat', sans-serif;
    cursor: pointer; border: none;
  }

  .portal-pf {
    background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
); color: white;
  }

  .portal-pf:hover {background: #ffffff; }

  .portal-bayut {
    background: #ffffff; color: black;
  }

  .portal-bayut:hover { background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
  }

  /* ─── CONTACT / FOOTER ─────────────────────────────────── */
  .contact-section {
   background: linear-gradient(
  135deg,
  #004535 0%,
  #003C2C 45%,
  #003126 75%,
  #002A1C 100%
);
    padding: 100px 60px;
    border-top: 1px solid var(--border);
  }

  .contact-grid {
    display: grid; grid-template-columns: 1fr 1fr;
    gap: 100px; margin-top: 72px;
  }

  .contact-info h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 32px; font-weight: 300; margin-bottom: 32px;
  }

  .contact-detail {
    margin-bottom: 24px;
  }

  .contact-detail label {
    font-size: 9px; letter-spacing: 2.5px; text-transform: uppercase;
    color: var(--gold); font-weight: 600; display: block; margin-bottom: 6px;
  }

  .contact-detail a, .contact-detail p {
    font-size: 14px; color: var(--text-light);
    text-decoration: none; font-weight: 300;
    transition: color 0.3s;
  }

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

  .contact-form { }

  .form-group { margin-bottom: 20px; }

  .form-group input, .form-group textarea, .form-group select {
    width: 100%; background: rgba(255,255,255,0.04);
    border: 1px solid var(--border); color: var(--text-light);
    padding: 16px 20px; font-size: 13px;
    font-family: 'Montserrat', sans-serif;
    outline: none; transition: border-color 0.3s;
    appearance: none;
  }

  .form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--gold);
  }

  .form-group textarea { height: 120px; resize: none; }

  .form-group input::placeholder, .form-group textarea::placeholder {
    color: var(--text-muted); font-size: 12px; letter-spacing: 1px;
  }

  footer {
    background: var(--black);
    padding: 20px;
    border-top: 1px solid var(--border);
    display: flex; align-items: center; justify-content: space-between;
  }

  .footer-logo img {
     height: 48px;
    width: auto;
    filter: none;
  }

  .footer-copy {
    font-size: 11px; color: var(--text-muted); font-weight: 300;
  }

  .footer-social {
    display: flex;
    align-items: center;
    gap: 20px;
  }

  .footer-social a {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
    color: var(--text-muted); text-decoration: none;
    transition: color 0.3s; font-weight: 600;
  }

  .footer-social svg {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }

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

  /* ─── PORTAL MODAL ─────────────────────────────────────── */
  .modal-overlay {
    display: none; position: fixed; inset: 0; z-index: 999;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
    align-items: center; justify-content: center;
  }

  .modal-overlay.open { display: flex; }

  .modal {
    background: var(--dark); border: 1px solid var(--gold);
    padding: 56px; max-width: 480px; width: 90%;
    position: relative;
  }

  .modal-close {
    position: absolute; top: 20px; right: 24px;
    background: none; border: none; color: var(--text-muted);
    font-size: 24px; cursor: pointer; line-height: 1;
  }

  .modal-close:hover { color: var(--gold); }

  .modal h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px; font-weight: 400; margin-bottom: 8px;
  }

  .modal p {
    font-size: 13px; color: var(--text-muted); margin-bottom: 32px;
    line-height: 1.7; font-weight: 300;
  }

  .modal-buttons { display: flex; flex-direction: column; gap: 12px; }

  .modal-pf-btn, .modal-bayut-btn {
    display: flex; align-items: center; justify-content: space-between;
    padding: 20px 28px; text-decoration: none;
    font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
    font-weight: 700; transition: all 0.3s;
  }

  .modal-pf-btn { background: #E63B2E; color: white; }
  .modal-pf-btn:hover { background: #c42f22; }

  .modal-bayut-btn { background: #E6A817; color: black; }
  .modal-bayut-btn:hover { background: #c98e0d; }

  .modal-btn-arrow { font-size: 18px; }

  /* ─── WP GUIDE ─────────────────────────────────────────── */
  .wp-guide {
    background: var(--dark);
    padding: 100px 60px;
    border-top: 1px solid var(--border);
  }

  .wp-steps {
    margin-top: 72px;
    display: grid; grid-template-columns: repeat(2, 1fr);
    gap: 40px;
  }

  .wp-step {
    display: flex; gap: 28px;
    padding: 36px;
    border: 1px solid var(--border);
    background: var(--off-black);
    transition: border-color 0.3s;
  }

  .wp-step:hover { border-color: var(--gold); }

  .wp-step-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px; font-weight: 300; color: rgba(201,169,110,0.2);
    line-height: 1; flex-shrink: 0;
  }

  .wp-step-content h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 20px; font-weight: 400; margin-bottom: 12px;
    color: var(--text-light);
  }

  .wp-step-content p {
    font-size: 12px; color: var(--text-muted);
    line-height: 1.8; font-weight: 300;
  }

  .wp-step-content code {
    background: rgba(201,169,110,0.1);
    color: var(--gold); padding: 2px 6px;
    font-size: 11px; border-radius: 2px;
    font-family: monospace;
  }

  /* ─── MOBILE ───────────────────────────────────────────── */
  @media (max-width: 1024px) {
    nav { padding: 0 24px; }
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }

    .section { padding: 80px 24px; }
    .hero-content { padding: 0 24px; }
    .hero-stats { right: 24px; bottom: 40px; gap: 20px; }
    .stat-num { font-size: 22px; }
    .stat-label { font-size: 8px; }

    .services-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: repeat(2,1fr); }
    .team-grid { grid-template-columns: repeat(2,1fr); }
    .blog-grid { grid-template-columns: 1fr; padding: 60px 24px; }
    .contact-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-body { grid-template-columns: 1fr; gap: 60px; }
    .wp-steps { grid-template-columns: 1fr; }
    .perks-grid { grid-template-columns: 1fr; }

    .about-hero { padding: 40px 24px; }
    .careers-hero { padding: 80px 24px; }
    .listings-hero { padding: 60px 24px 40px; }
    .jobs-section { padding: 60px 24px; }
    .perks-section { padding: 60px 24px; }
    .team-section { padding: 60px 24px; }
    .contact-section { padding: 80px 24px; }
    .blog-header { padding: 60px 24px; }
    .wp-guide { padding: 80px 24px; }
    .partners { padding: 40px 24px; flex-direction: column; gap: 32px; }
    footer { flex-direction: column; gap: 20px; text-align: center; padding: 40px 24px; }

    /* ── Listings sidebar collapses to top bar on mobile ── */
    .listings-layout {
      grid-template-columns: 1fr;
    }

    .listings-sidebar {
      position: static;
      height: auto;
      border-right: none;
      border-bottom: 1px solid var(--border);
      padding: 24px 0;
    }

    .sidebar-section {
      padding-bottom: 20px;
    }

    .purpose-toggle { margin: 0 20px; }

    .cat-tabs { padding: 0 10px; }

    .sub-cats { padding-left: 32px; }

    .sort-select-wrap { padding: 0 20px; }

    .listings-grid {
      grid-template-columns: 1fr;
      padding: 24px;
      gap: 20px;
    }

    .listings-result-bar { padding: 16px 24px; flex-direction: column; align-items: flex-start; gap: 10px; }
  }
/*======================================
      DROPDOWN FILTERS
=======================================*/

.filter-header{

display:flex;

justify-content:space-between;

align-items:center;

width:100%;

padding:15px 22px;

background:none;

border:none;

cursor:pointer;

color:var(--gold);

font-size:11px;

font-weight:600;

letter-spacing:2px;

text-transform:uppercase;

}

.arrow{

transition:.3s;

}

.sidebar-section.open .arrow{

transform:rotate(180deg);

}

.filter-content{

max-height:0;

overflow:hidden;

transition:max-height .35s ease;

padding:0 20px;

}

.sidebar-section.open .filter-content{

max-height:300px;

padding-bottom:18px;

}

.filter-input,
.filter-select{

width:100%;

padding:12px;

background:rgba(255,255,255,.05);

border:1px solid var(--border);

color:var(--text-light);

outline:none;

margin-top:8px;

}

.budget-row{

display:flex;

gap:10px;

}

/*======================================
      DUAL BUDGET RANGE SLIDER
=======================================*/

.price-slider-wrap {
  position: relative;
  height: 28px;
  margin-top: 20px;
}

.price-slider-track-bg {
  position: absolute;
  top: 50%; left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.12);
  transform: translateY(-50%);
}

.price-slider-track-range {
  position: absolute;
  top: 0; height: 100%;
  background: var(--gold);
}

.range-input {
  position: absolute;
  top: 50%; left: 0; width: 100%; height: 3px;
  margin: 0; background: none; pointer-events: none;
  -webkit-appearance: none; appearance: none;
  transform: translateY(-50%);
}

.range-input::-webkit-slider-runnable-track { background: none; }
.range-input::-moz-range-track { background: none; }

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  pointer-events: auto;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--black);
  box-shadow: 0 0 0 1px rgba(201,169,110,0.6);
  cursor: pointer;
  margin-top: 0;
}

.range-input::-moz-range-thumb {
  pointer-events: auto;
  width: 15px; height: 15px; border-radius: 50%;
  background: var(--gold);
  border: 2px solid var(--black);
  box-shadow: 0 0 0 1px rgba(201,169,110,0.6);
  cursor: pointer;
}

.price-slider-labels {
  display: flex; justify-content: space-between;
  margin-top: 12px;
  font-size: 10px; letter-spacing: 1px;
  color: var(--text-muted); font-weight: 500;
}

/*======================================
      HERO / SEARCH TAB (LISTINGS PAGE)
=======================================*/

.locality-search-tab {
  display: flex; align-items: center; gap: 14px;
  max-width: 640px;
  margin-top: 40px;
  padding: 6px 6px 6px 22px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
}

.locality-search-tab svg {
  width: 16px; height: 16px; color: var(--gold); flex-shrink: 0;
}

.locality-search-tab input {
  flex: 1; background: none; border: none; outline: none;
  color: var(--text-light);
  font-family: 'Montserrat', sans-serif;
  font-size: 13px; font-weight: 300;
  padding: 12px 0;
}

.locality-search-tab input::placeholder { color: var(--text-muted); }

.locality-search-tab button {
  flex-shrink: 0;
  padding: 12px 28px;
  background: var(--gold); color: var(--black);
  border: none; cursor: pointer;
  font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  font-weight: 700; transition: background 0.3s;
}

.locality-search-tab button:hover { background: var(--gold-light); }

/*======================================
      SERVICES PAGE (DETAIL)
=======================================*/

.service-detail-section { padding-top: 80px; }

.service-detail-row {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 44px;
  padding: 56px 0;
  border-bottom: 1px solid var(--border);
}

.service-detail-row:first-child { padding-top: 0; }
.service-detail-row:last-child { border-bottom: none; }

.service-detail-num {
  font-family: 'Cormorant Garamond', serif;
  font-size: 56px; font-weight: 300;
  color: var(--gold);
  line-height: 1;
}

.service-detail-body h3 {
  font-family: 'Cormorant Garamond', serif;
  font-size: 32px; font-weight: 400;
  margin-bottom: 18px;
  color: var(--text-light);
}

.service-detail-body p {
  font-size: 14px; line-height: 1.9;
  color: var(--text-muted); font-weight: 300;
  max-width: 720px; margin-bottom: 22px;
}

.service-detail-points {
  list-style: none;
  margin-bottom: 30px;
  display: flex; flex-direction: column; gap: 10px;
}

.service-detail-points li {
  font-size: 12.5px; color: var(--text-light);
  font-weight: 300; padding-left: 22px; position: relative;
}

.service-detail-points li::before {
  content: '—';
  position: absolute; left: 0; color: var(--gold);
}

.know-more-btn {
  margin-top: 4px;
}

@media (max-width: 768px) {
  .service-detail-row { grid-template-columns: 1fr; gap: 12px; }
  .service-detail-num { font-size: 40px; }
  .locality-search-tab { flex-wrap: wrap; max-width: 100%; }
}


/* ─── PARTNER WORDMARK (fallback for brand logos without a hosted asset) ─── */
.partner-wordmark {
  font-family: 'Cormorant Garamond', serif;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: 1.5px;
  color: rgba(255,255,255,0.55);
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}

/* ─── FORM STATUS MESSAGES ─── */
.form-status { font-size: 13px; margin-top: 14px; min-height: 18px; text-align: center; }
.form-status-success { color: #7fbf7f; }
.form-status-error { color: #d97b6c; }

/* Honeypot field (spam trap) — hidden from real users, visible to bots */
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px; height: 1px; opacity: 0;
  pointer-events: none;
}


/* ─── BLOG POST (single reading view) ──────────────────────────────── */
.blog-post-hero {
  height: 420px; background-size: cover; background-position: center;
  position: relative;
}
.blog-post-hero::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(10,10,10,0.95) 5%, rgba(10,10,10,0.15) 100%);
}
.blog-post-header {
  max-width: 780px; margin: -80px auto 0; padding: 0 24px; position: relative; z-index: 2;
}
.blog-post-header h1 {
  font-family: 'Cormorant Garamond', serif;
  font-size: clamp(32px, 4vw, 52px); font-weight: 400; line-height: 1.15;
  margin: 14px 0 18px; color: var(--white);
}
.blog-post-body {
  max-width: 780px; margin: 48px auto 0; padding: 0 24px 100px;
  font-size: 16px; line-height: 1.9; color: var(--text-light); font-weight: 300;
}
.blog-post-body p { margin-bottom: 24px; }
.blog-post-body h2 {
  font-family: 'Cormorant Garamond', serif; font-size: 30px; font-weight: 400;
  margin: 44px 0 18px; color: var(--white);
}
.blog-post-body h3 {
  font-family: 'Cormorant Garamond', serif; font-size: 24px; font-weight: 400;
  margin: 36px 0 14px; color: var(--white);
}
.blog-post-body a { color: var(--gold); text-decoration: underline; }
.blog-post-body img { max-width: 100%; height: auto; margin: 28px 0; }
.blog-post-body ul, .blog-post-body ol { margin: 0 0 24px 24px; }
.blog-post-body li { margin-bottom: 10px; }
.blog-post-body blockquote {
  border-left: 2px solid var(--gold); padding-left: 24px; margin: 32px 0;
  font-style: italic; color: var(--text-muted);
}
.blog-post-back { max-width: 780px; margin: 0 auto 100px; padding: 0 24px; }

@media (max-width: 768px) {
  .blog-post-hero { height: 280px; }
  .blog-post-header { margin-top: -50px; }
}


/* ─── GREEN DROPDOWNS: Bedrooms, Bathrooms, Sort By ─────────────────── */
.filter-select, .sort-select {
  background: #004535 !important;
  color: #ffffff;
}
.filter-select option, .sort-select option {
  background: #004535;
  color: #ffffff;
}

.service-of-interest-select {
  background: #004535 !important;
  color: #ffffff;
}
.service-of-interest-select option {
  background: #004535;
  color: #ffffff;
}


/* ─── PARTNER LOGO COLOR TREATMENTS ──────────────────────────────── */
.logo-grey-fx {
  filter: brightness(0.68);
}
.logo-white-fx {
  filter: brightness(0) invert(1);
}

.logo-emaar-boost {
  width: 210px !important;
  height: 92px !important;
}

/* ─── PHONE SPACING (extra breathing room on small screens) ───────────────── */
@media (max-width: 480px) {
  nav { padding: 0 20px; height: 72px; }
  .page-body { padding-top: 72px; }
  .nav-logo img { height: 38px; }

  .hero { height: auto; min-height: 100vh; padding: 100px 0 140px; flex-direction: column; overflow: visible; justify-content: center; }

  .section { padding: 64px 20px; }
  .hero-content { padding: 0 20px; }
  .hero h1 { margin-bottom: 20px; }
  .hero-desc { margin-bottom: 32px; }
  .hero-actions { flex-wrap: wrap; gap: 14px; }

  .hero-stats {
    position: static;
    margin: 36px auto 0;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 28px;
    padding: 0 20px;
  }
  .stat-num { font-size: 16px; }
  .stat-label { font-size: 7px; letter-spacing: 1px; }

  .services-grid .service-card { padding: 40px 28px; }
  .service-num { margin-bottom: 18px; }

  .why-grid { grid-template-columns: 1fr; }
  .why-item { padding: 32px 24px; border-right: none; border-bottom: 1px solid var(--border); }
  .why-item:last-child { border-bottom: none; }

  .team-grid { grid-template-columns: 1fr; gap: 40px; }

  .about-body { padding: 60px 20px; gap: 40px; }
  .about-text p { margin-bottom: 20px; }

  .contact-grid { gap: 44px; }
  .contact-detail { margin-bottom: 20px; }
  .form-group { margin-bottom: 16px; }

  .job-card { flex-direction: column; align-items: flex-start; gap: 16px; padding: 28px 24px; }

  .listing-body { padding: 22px; }
  .listing-specs { gap: 14px; flex-wrap: wrap; }
  .listing-portals { flex-direction: column; gap: 8px; }

  .blog-card { margin-bottom: 8px; }
  .blog-card h3 { margin-bottom: 10px; }

  .service-detail-row { padding: 40px 0; gap: 20px; }

  .perks-grid { gap: 36px; }

  footer { padding: 36px 20px; gap: 24px; }
  .footer-social { gap: 24px; }

  .modal { padding: 40px 28px; }
}


/* ─── TACTILE / TOUCH FEEDBACK (mobile & touch devices) ─────────────── */
@media (hover: none) and (pointer: coarse) {
  a, button, .cat-tab, .sub-item, .purpose-btn, .btn-primary, .btn-outline,
  .service-card, .listing-card, .blog-card, .job-card, .team-card,
  .portal-btn, .nav-cta, .modal-pf-btn, .modal-bayut-btn, .know-more-btn,
  .filter-header, .mobile-menu-btn, .partner-logo img {
    -webkit-tap-highlight-color: transparent;
    transition: transform .15s ease, opacity .15s ease, background-color .15s ease, border-color .15s ease;
  }

  .btn-primary:active { transform: scale(0.96); background: var(--gold-light); }
  .btn-outline:active { transform: scale(0.96); background: var(--gold); color: var(--black); }
  .nav-cta:active { transform: scale(0.96); background: var(--gold-light); }
  .know-more-btn:active { transform: scale(0.96); }

  .service-card:active { background: var(--dark); }
  .listing-card:active { border-color: var(--gold); transform: scale(0.985); }
  .blog-card:active .blog-img { transform: scale(1.03); }
  .blog-card:active h3 { color: var(--gold); }
  .job-card:active { background: var(--dark); border-color: var(--gold); }
  .team-card:active .team-photo { filter: grayscale(0%); }

  .cat-tab:active { color: var(--gold); background: rgba(201,169,110,0.1); }
  .sub-item:active { color: var(--gold); background: rgba(201,169,110,0.08); }
  .purpose-btn:active { background: rgba(201,169,110,0.15); }

  .portal-btn:active { opacity: 0.8; transform: scale(0.97); }
  .modal-pf-btn:active, .modal-bayut-btn:active { opacity: 0.85; transform: scale(0.98); }

  .nav-links a:active { color: var(--gold); }
  .footer-social a:active { color: var(--gold); }

  .mobile-menu-btn:active { opacity: 0.6; }

  input:focus, textarea:focus, select:focus {
    border-color: var(--gold);
  }
}

/* ─── TOUCH TARGET SIZING (min ~44px tap area per platform guidelines) ── */
@media (max-width: 1024px) {
  .mobile-menu-btn { padding: 10px; }
  .nav-links a { display: block; padding: 14px 4px; }
  .cat-tab { min-height: 44px; }
  .sub-item { min-height: 40px; }
  .filter-header { min-height: 46px; }
  .purpose-btn { min-height: 44px; }
  .know-more-btn, .btn-primary, .btn-outline { min-height: 44px; display: inline-flex; align-items: center; justify-content: center; }
  .modal-close { padding: 8px; min-width: 40px; min-height: 40px; display: flex; align-items: center; justify-content: center; }
}

/* ─── SMOOTHER MOBILE MENU ANIMATION ───────────────────── */
@media (max-width: 1024px) {
  .nav-links.mobile-open {
    display: flex !important;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: #0A0A0A;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    animation: navMenuSlideIn .25s ease;
    gap: 4px;
  }
  .nav-links.mobile-open a { padding: 14px 4px; border-bottom: 1px solid rgba(255,255,255,0.06); }
  .nav-links.mobile-open a:last-child { border-bottom: none; }
}
@keyframes navMenuSlideIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ─── PREVENT HORIZONTAL OVERFLOW ON SMALL SCREENS ─────────── */
html, body { overflow-x: hidden; max-width: 100%; }

/* ─── ADDITIONAL PHONE POLISH (≤480px) ───────────────────── */
@media (max-width: 480px) {
  .service-detail-num { font-size: 36px; }
  .service-detail-body h3 { font-size: 24px; }
  .service-detail-points li { font-size: 12px; }

  .about-hero { padding: 32px 20px; height: auto; min-height: 340px; }
  .about-hero h1 { font-size: 34px; }

  .careers-hero { padding: 60px 20px; }
  .careers-hero h1 { font-size: 32px; }

  .listings-hero { padding: 48px 20px 32px; }
  .listings-result-bar { padding: 14px 20px; }
  .listings-grid { padding: 20px; gap: 16px; }

  .blog-header { padding: 48px 20px; }
  .blog-grid { padding: 40px 20px; gap: 28px; }

  .team-section, .jobs-section, .perks-section { padding: 48px 20px; }

  .modal { width: 92%; padding: 36px 24px; }
  .modal h3 { font-size: 22px; }

  .service-detail-section { padding-top: 48px; }

  .locality-search-tab { padding: 6px 6px 6px 16px; }
}


/* ─── PHONE COUNTRY CODE SELECT ───────────────────────────── */
.phone-input-group {
  display: flex;
  gap: 8px;
}
.country-code-select {
  flex: 0 0 90px;
  width: 90px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  color: var(--text-light);
  padding: 16px 8px;
  font-size: 13px;
  font-family: 'Montserrat', sans-serif;
  outline: none;
  transition: border-color 0.3s;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath fill='%23ad7547' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 8px center;
  background-size: 10px 7px;
  padding-right: 22px;
}
.country-code-select:focus { border-color: var(--gold); }
.country-code-select option { background: #1A1814; color: var(--text-light); }
.phone-number-input { flex: 1; min-width: 0; }

@media (max-width: 480px) {
  .country-code-select { flex: 0 0 78px; width: 78px; font-size: 12px; padding: 16px 6px; }
}


/* ─── Never show any native video play-button overlay on the hero background ─── */
.background-video::-webkit-media-controls,
.background-video::-webkit-media-controls-start-playback-button,
.background-video::-webkit-media-controls-play-button,
.background-video::-webkit-media-controls-panel {
  display: none !important;
  -webkit-appearance: none !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.background-video {
  pointer-events: none;
}


/* ─── BLOG PAGINATION ──────────────────────────────────── */
.blog-pagination {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  padding: 0 60px 80px; flex-wrap: wrap;
}
.blog-page-link {
  color: var(--gold); text-decoration: none; font-size: 11px;
  letter-spacing: 2px; text-transform: uppercase; font-weight: 500;
  padding: 12px 24px; border: 1px solid var(--gold); transition: all .3s;
}
.blog-page-link:hover { background: var(--gold); color: var(--black); }
.blog-page-current {
  color: var(--text-muted); font-size: 12px; letter-spacing: 1px;
}
@media (max-width: 480px) {
  .blog-pagination { padding: 0 20px 48px; gap: 16px; }
}
