/* Hallmark · redesign: existing-brand (Charcoal/Gold) · nav: N5 Floating Pill · footer: Ft5 Statement
 * gates fixed: overflow-x clip (62) · honest-copy placeholders (56) · news-grid minmax (61)
 * pre-emit critique: P4 H4 E4 S4 R5 V3 (redesign preserves structure by design — variety gate is scoped, not failed)
 */

/* ===========================================================
   Alajlan Real Estate — Shared Stylesheet
   Modern dark luxury theme, bilingual AR (RTL) / EN (LTR)
   =========================================================== */

:root {
  /* Brand palette — Alajlan Real Estate identity */
  --charcoal: #333333;   /* brand Charcoal Gray */
  --gold: #c5a04b;       /* brand Gold */
  --gold-soft: #d9bd78;
  --bronze: #8b6b3b;     /* brand Bronze */
  --bg: #161617;         /* deep charcoal black */
  --bg-soft: #1d1d1f;
  --bg-card: #242427;
  --line: rgba(255, 255, 255, 0.09);
  --text: #f4f3f0;
  --muted: #a8a39a;
  --gold-dim: rgba(197, 160, 75, 0.12);
  --white: #ffffff;
  --radius: 14px;
  --maxw: 1240px;
  --header-h: 100px; /* floating pill: 64px bar + 18px top gap + clearance */
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
  --font-ar: "Cairo", system-ui, sans-serif;
  --font-en: "Montserrat", system-ui, sans-serif;
}

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

html { scroll-behavior: smooth; }

html { overflow-x: clip; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-ar);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

body[data-lang="en"] { font-family: var(--font-en); line-height: 1.6; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* Language visibility */
[data-lang="ar"] .en-only { display: none !important; }
[data-lang="en"] .ar-only { display: none !important; }

/* Headings */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 700; letter-spacing: -0.01em; }
.section-eyebrow {
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 14px;
  display: inline-block;
}
.section-title { font-size: clamp(1.8rem, 4vw, 3rem); margin-bottom: 18px; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 30px; border-radius: 100px;
  font-size: 0.95rem; font-weight: 600; cursor: pointer;
  border: 1px solid transparent; transition: all 0.3s var(--ease);
  font-family: inherit;
}
.btn-primary { background: var(--gold); color: #1a1207; }
.btn-primary:hover { background: var(--gold-soft); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255,255,255,0.25); color: var(--white); }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }
.btn .arrow { transition: transform 0.3s var(--ease); }
[data-lang="ar"] .btn .arrow { transform: scaleX(-1); }
.btn:hover .arrow { transform: translateX(4px); }
[data-lang="ar"] .btn:hover .arrow { transform: scaleX(-1) translateX(4px); }

/* ===================== HEADER — fixed floating pill, only glass transparency shifts on scroll ===================== */
.site-header {
  position: fixed; top: 18px; inset-inline-start: 18px; inset-inline-end: 18px; z-index: 100;
  height: 64px;
  display: flex; align-items: center;
  background: rgba(20,20,22,0.92);
  backdrop-filter: blur(18px) saturate(150%);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  border: 1px solid var(--line);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.28);
  transition: background-color 0.5s var(--ease);
  max-width: 1120px;
  margin-inline: auto;
}
.site-header.scrolled {
  background: rgba(20,20,22,0.4);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; width: 100%; padding-inline: 10px 8px; }
.brand { display: flex; align-items: center; }
.brand .mark { width: auto; height: 48px; background: none; }
.brand .name { display: none; } /* official logo SVG already contains the wordmark */
.site-footer .brand .mark { height: 52px; }
@media (max-width: 720px){ .brand .mark { height: 40px; } }

.nav { display: flex; align-items: center; gap: 34px; }
.nav a { color: var(--muted); font-size: 0.96rem; font-weight: 500; position: relative; transition: color 0.25s; }
.nav a::after {
  content: ""; position: absolute; bottom: -6px; inset-inline-start: 0;
  width: 0; height: 2px; background: var(--gold); transition: width 0.3s var(--ease);
}
.nav a:hover, .nav a.active { color: var(--white); }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: 14px; }
.demo-badge {
  font-family: var(--font-en); font-size: 0.6rem; font-weight: 700;
  letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold);
  border: 1px solid rgba(197,160,75,0.55); background: var(--gold-dim);
  padding: 3px 9px; border-radius: 6px; line-height: 1.4; white-space: nowrap;
}
@media (max-width: 720px){ .demo-badge { font-size: 0.55rem; padding: 2px 6px; letter-spacing: 0.14em; } }
.lang-toggle {
  background: transparent; border: 1px solid var(--line); color: var(--text);
  padding: 8px 16px; border-radius: 100px; cursor: pointer; font-weight: 600;
  font-size: 0.85rem; transition: all 0.25s; font-family: inherit;
}
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }

.menu-btn { display: none; background: none; border: none; color: var(--white); cursor: pointer; flex-direction: column; gap: 5px; }
.menu-btn span { width: 26px; height: 2px; background: var(--white); transition: 0.3s; }

/* ===================== HERO ===================== */
.hero {
  position: relative; min-height: 100vh; display: flex; align-items: center;
  padding-top: var(--header-h);
  overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: -2; }
.hero-bg img, .hero-bg video { width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 720px) {
  .hero-bg video { display: none; }
  .hero-bg { background: #161617 url('../video/hero-poster.jpg') center/cover no-repeat; }
}
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, var(--bg) 4%, rgba(13,13,15,0.55) 55%, rgba(13,13,15,0.7));
}
.hero-content { max-width: 760px; }
.hero h1 { font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.08; margin-bottom: 22px; }
.hero h1 .accent { color: var(--gold); }
.hero p { font-size: clamp(1.05rem, 2vw, 1.3rem); color: var(--muted); margin-bottom: 36px; max-width: 560px; }
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

/* Page hero (inner pages) */
.page-hero {
  position: relative; padding: calc(var(--header-h) + 90px) 0 80px;
  text-align: center; overflow: hidden;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0; z-index: -1;
  background: radial-gradient(ellipse at top, var(--gold-dim), transparent 60%), var(--bg-soft);
}
.page-hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 16px; }
.page-hero p { color: var(--muted); font-size: 1.1rem; max-width: 600px; margin: 0 auto; }
.breadcrumb { color: var(--gold); font-size: 0.85rem; letter-spacing: 0.1em; margin-bottom: 18px; text-transform: uppercase; }

/* ===================== SECTIONS ===================== */
section { padding: 100px 0; }
.section-head { margin-bottom: 56px; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }

/* Featured projects */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.project-card {
  position: relative; border-radius: 22px; overflow: hidden;
  aspect-ratio: 3/4; cursor: pointer; background: var(--bg-card);
}
.project-card img {
  width: 100%; height: 100%; object-fit: cover;
  filter: grayscale(1) saturate(1) contrast(1.02);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1), filter 0.7s var(--ease);
}
.project-card:hover img, .project-card:focus-visible img { transform: scale(1.07); filter: grayscale(0); }
/* the carousel's "living focus" card also reveals true colour — it already reads as spotlighted */
.slider-track > .slide.is-focus .project-card img { filter: grayscale(0); }
.project-card::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.85) 8%, transparent 60%);
}
.project-card .info { position: absolute; inset-inline: 0; bottom: 0; padding: 28px; z-index: 2; }
.project-card .tag { color: var(--gold); font-size: 0.78rem; letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 8px; }
.project-card h3 { font-size: 1.45rem; margin-bottom: 6px; }
.project-card .loc { color: var(--muted); font-size: 0.9rem; }

/* Approach / values */
.approach-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.approach-item {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 40px; transition: all 0.4s var(--ease);
}
.approach-item:hover { border-color: rgba(201,161,74,0.4); transform: translateY(-4px); }
.approach-item .ic {
  width: 56px; height: 56px; border-radius: 13px; background: var(--gold-dim);
  display: grid; place-items: center; margin-bottom: 22px; color: var(--gold);
}
.approach-item h3 { font-size: 1.3rem; margin-bottom: 12px; }
.approach-item p { color: var(--muted); font-size: 0.98rem; }

/* Stats */
.stats { background: var(--bg-soft); border-block: 1px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat .num { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--gold); line-height: 1; }
.stat .num.placeholder { color: var(--muted); opacity: 0.55; }
.stat .lbl { color: var(--muted); margin-top: 10px; font-size: 0.98rem; }
.stat .lbl em { font-style: normal; font-size: 0.78rem; opacity: 0.7; display: block; margin-top: 3px; }

/* Services list */
.services-list { display: grid; gap: 0; }
.service-row {
  display: grid; grid-template-columns: 80px 1fr auto; align-items: center; gap: 30px;
  padding: 38px 0; border-bottom: 1px solid var(--line); transition: all 0.3s;
}
.service-row:hover { padding-inline-start: 14px; }
.service-row .sn { font-size: 1.1rem; color: var(--gold); font-weight: 700; }
.service-row h3 { font-size: 1.5rem; margin-bottom: 8px; }
.service-row p { color: var(--muted); max-width: 620px; }

/* Service cards (services page) */
.service-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 44px; transition: all 0.4s var(--ease);
}
.service-card:hover { border-color: rgba(201,161,74,0.4); transform: translateY(-5px); }
.service-card .ic { width: 60px; height: 60px; border-radius: 14px; background: var(--gold-dim); display: grid; place-items: center; color: var(--gold); margin-bottom: 24px; }
.service-card h3 { font-size: 1.5rem; margin-bottom: 14px; }
.service-card p { color: var(--muted); margin-bottom: 18px; }
.service-card ul { list-style: none; display: grid; gap: 10px; }
.service-card li { color: var(--muted); font-size: 0.95rem; display: flex; gap: 10px; align-items: flex-start; }
.service-card li::before { content: "—"; color: var(--gold); }

/* News */
.news-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.news-card {
  background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: all 0.4s var(--ease);
}
.news-card:hover { transform: translateY(-5px); border-color: rgba(201,161,74,0.35); }
.news-card .thumb { aspect-ratio: 16/10; overflow: hidden; }
.news-card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.news-card:hover .thumb img { transform: scale(1.06); }
.news-card .body { padding: 26px; }
.news-card .date { color: var(--gold); font-size: 0.82rem; letter-spacing: 0.08em; margin-bottom: 12px; }
.news-card h3 { font-size: 1.2rem; margin-bottom: 12px; line-height: 1.35; }
.news-card p { color: var(--muted); font-size: 0.94rem; }

/* About blocks */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split img { border-radius: var(--radius); width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.split h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); margin-bottom: 20px; }
.split p { color: var(--muted); margin-bottom: 16px; }

.vm-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 26px; }
.vm-card { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.vm-card h3 { color: var(--gold); font-size: 1.4rem; margin-bottom: 14px; }
.vm-card p { color: var(--muted); }

.team-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.team-card { text-align: center; }
.team-card .ph { aspect-ratio: 1; border-radius: var(--radius); overflow: hidden; margin-bottom: 16px; background: var(--bg-card); }
.team-card .ph img { width: 100%; height: 100%; object-fit: cover; filter: blur(5px); transform: scale(1.12); }
.team-card h4 { font-size: 1.15rem; }
.team-card span { color: var(--gold); font-size: 0.9rem; }

/* Contact */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; }
.contact-info .item { display: flex; gap: 16px; margin-bottom: 30px; align-items: flex-start; }
.contact-info .item .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--gold-dim); display: grid; place-items: center; color: var(--gold); flex-shrink: 0; }
.contact-info .item h4 { font-size: 1.05rem; margin-bottom: 4px; }
.contact-info .item p { color: var(--muted); }
.contact-form { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 40px; }
.field { margin-bottom: 20px; }
.field label { display: block; font-size: 0.9rem; margin-bottom: 8px; color: var(--muted); }
.field input, .field textarea, .field select {
  width: 100%; padding: 14px 16px; background: var(--bg-soft); border: 1px solid var(--line);
  border-radius: 10px; color: var(--text); font-family: inherit; font-size: 0.95rem; transition: border-color 0.25s;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold); }
.field textarea { resize: vertical; min-height: 130px; }
.form-note { margin-top: 16px; font-size: 0.88rem; color: var(--muted); }

/* CTA band */
.cta-band { position: relative; text-align: center; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(135deg, rgba(201,161,74,0.14), transparent 60%), var(--bg-soft); }
.cta-band h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); margin-bottom: 18px; max-width: 700px; margin-inline: auto; }
.cta-band p { color: var(--muted); margin-bottom: 30px; }

/* ===================== FOOTER ===================== */
.site-footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 70px 0 30px; }
.footer-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-bottom: 50px; border-bottom: 1px solid var(--line); }
.footer-brand .brand { margin-bottom: 18px; }
.footer-brand p { color: var(--muted); font-size: 0.95rem; max-width: 320px; }
.footer-col h4 { font-size: 1rem; margin-bottom: 18px; }
.footer-col a { display: block; color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; transition: color 0.25s; }
.footer-col a:hover { color: var(--gold); }
.socials { display: flex; gap: 12px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; color: var(--muted); transition: all 0.25s; }
.socials a:hover { border-color: var(--gold); color: var(--gold); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 26px; color: var(--muted); font-size: 0.88rem; flex-wrap: wrap; gap: 12px; }
.footer-bottom .links { display: flex; gap: 22px; }
.footer-bottom a:hover { color: var(--gold); }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .projects-grid, .news-grid, .team-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 40px 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .split, .contact-wrap, .service-cards, .approach-grid, .vm-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 720px) {
  .site-header { inset-inline: 12px; top: 12px; height: 58px; }
  .nav { display: none; }
  .menu-btn { display: flex; }
  .nav.open {
    display: flex; flex-direction: column; position: fixed;
    inset-inline: 12px; top: calc(58px + 22px); bottom: auto;
    background: var(--bg-soft); padding: 22px; gap: 16px;
    border: 1px solid var(--line); border-radius: 20px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.4);
  }
  .projects-grid, .news-grid, .team-grid { grid-template-columns: minmax(0, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .service-row { grid-template-columns: 1fr; gap: 8px; }
  .service-row .go { display: none; }
  section { padding: 70px 0; }
  .footer-top { grid-template-columns: 1fr; }
}

/* ===================== WHATSAPP FLOAT BUTTON ===================== */
.wa-float {
  position: fixed; inset-block-end: 26px; inset-inline-end: 26px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--bronze));
  display: grid; place-items: center; color: #1a1207;
  box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 0 0 rgba(197,160,75,0.5);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  animation: wa-pulse 2.4s infinite;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pulse {
  0% { box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 0 0 rgba(197,160,75,0.45); }
  70% { box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 0 16px rgba(197,160,75,0); }
  100% { box-shadow: 0 10px 30px rgba(0,0,0,0.45), 0 0 0 0 rgba(197,160,75,0); }
}
@media (max-width: 720px){ .wa-float { width: 54px; height: 54px; inset-block-end: 18px; inset-inline-end: 18px; } .wa-float svg { width: 28px; height: 28px; } }

/* ===================== STATUS BADGE ===================== */
.status-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 100px; font-size: 0.82rem; font-weight: 600;
  background: var(--gold-dim); color: #ffffff; border: 1px solid rgba(197,160,75,0.3);
}
.status-badge.live { background: rgba(255,255,255,0.14); color: #ffffff; border-color: rgba(255,255,255,0.3); }
.status-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: currentColor; }
.project-card .status { position: absolute; inset-block-start: 16px; inset-inline-start: 16px; z-index: 3; }

/* ===================== PROJECT DETAIL PAGE ===================== */
.project-hero { position: relative; min-height: 70vh; display: flex; align-items: flex-end; padding-top: var(--header-h); overflow: hidden; }
.project-hero .bg { position: absolute; inset: 0; z-index: -2; }
.project-hero .bg img { width: 100%; height: 100%; object-fit: cover; }
.project-hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, var(--bg) 6%, rgba(13,13,15,0.5) 60%, rgba(13,13,15,0.35)); }
.project-hero .inner { padding-block: 50px; }
.project-hero .tag { color: var(--gold); letter-spacing: 0.14em; text-transform: uppercase; font-size: 0.85rem; margin-bottom: 14px; }
.project-hero h1 { font-size: clamp(2.2rem, 5vw, 4rem); margin-bottom: 14px; }
.project-hero .loc { color: var(--muted); font-size: 1.05rem; }

/* "Fully Leased" stamp */
.leased-stamp {
  position: absolute; z-index: 5; top: calc(var(--header-h) + 30px); inset-inline-end: 40px;
  transform: rotate(-11deg); text-align: center; text-transform: uppercase;
  color: var(--gold); border: 3px solid var(--gold); border-radius: 10px;
  padding: 12px 24px; background: rgba(22,22,23,0.45); backdrop-filter: blur(3px);
  box-shadow: inset 0 0 0 2px rgba(197,160,75,0.35), 0 8px 24px rgba(0,0,0,0.4);
}
.leased-stamp .big { display: block; font-size: 1.5rem; font-weight: 800; letter-spacing: 0.06em; line-height: 1.1; }
.leased-stamp .small { display: block; margin-top: 4px; font-size: 0.62rem; letter-spacing: 0.22em; opacity: 0.85; }
@media (max-width: 560px){ .leased-stamp { inset-inline-end: 18px; padding: 9px 16px; } .leased-stamp .big { font-size: 1.1rem; } }

/* Fully-leased badge variant on cards */
.status-badge.leased { background: rgba(197,160,75,0.18); color: #ffffff; border-color: rgba(197,160,75,0.5); }

.project-body { display: grid; grid-template-columns: 1.7fr 1fr; gap: 60px; align-items: start; }
.project-desc p { color: var(--muted); margin-bottom: 18px; font-size: 1.05rem; }
.project-desc h2 { font-size: 1.7rem; margin-bottom: 18px; }
.specs { background: var(--bg-card); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; position: sticky; top: calc(var(--header-h) + 20px); }
.specs h3 { font-size: 1.15rem; margin-bottom: 20px; color: var(--gold); }
.specs .row { display: flex; justify-content: space-between; gap: 16px; padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 0.96rem; }
.specs .row:last-child { border-bottom: 0; }
.specs .row .k { color: var(--muted); }
.specs .row .v { font-weight: 600; text-align: end; }
.specs .cta { margin-top: 24px; }
.specs .cta .btn { width: 100%; justify-content: center; }

/* Feature chips */
.feature-list { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; margin-top: 26px; }
.feature-list .f { display: flex; gap: 12px; align-items: flex-start; color: var(--muted); font-size: 0.96rem; }
.feature-list .f::before { content: "◆"; color: var(--gold); font-size: 0.7rem; margin-top: 4px; }

/* ===================== GALLERY ===================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery .g { border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; cursor: pointer; background: var(--bg-card); }
.gallery .g img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s var(--ease); }
.gallery .g:hover img { transform: scale(1.08); }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,0.92); display: none; align-items: center; justify-content: center; padding: 30px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 10px; }
.lightbox .x { position: absolute; top: 22px; inset-inline-end: 26px; color: #fff; font-size: 2.2rem; cursor: pointer; line-height: 1; background: none; border: 0; }
.lightbox .nav { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.2); color: #fff; width: 52px; height: 52px; border-radius: 50%; cursor: pointer; font-size: 1.6rem; }
.lightbox .prev { inset-inline-start: 22px; }
.lightbox .next { inset-inline-end: 22px; }

@media (max-width: 980px){ .project-body { grid-template-columns: 1fr; gap: 36px; } .specs { position: static; } .gallery { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 560px){ .gallery { grid-template-columns: 1fr; } .feature-list { grid-template-columns: 1fr; } }

/* Project location / Google Maps */
.specs .row.addr { flex-direction: column; align-items: stretch; gap: 6px; }
.specs .row.addr .v { text-align: start; font-weight: 500; color: var(--muted); line-height: 1.6; }
.map-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; width: 100%;
  margin-top: 14px; padding: 13px 20px; border-radius: 12px;
  border: 1px solid rgba(197,160,75,0.4); color: var(--gold); background: var(--gold-dim);
  font-weight: 600; font-size: 0.95rem; transition: all 0.25s var(--ease); font-family: inherit;
}
.map-btn:hover { background: var(--gold); color: #1a1207; }
.map-btn svg { width: 20px; height: 20px; }

/* ===================== FEATURED PROJECTS SLIDER ===================== */
.slider { position: relative; }
.slider-viewport { overflow: hidden; cursor: grab; }
.slider-viewport.dragging { cursor: grabbing; }
.slider-track { display: flex; gap: 26px; direction: ltr; transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1); will-change: transform; }
.slider-track.dragging { transition: none; }
.slider-track > .slide { flex: 0 0 calc((100% - 52px) / 3); transition: transform 0.5s var(--ease), filter 0.5s var(--ease), opacity 0.5s var(--ease); }

/* Living focus effect — the centred/active card reads as "awake", neighbours settle back */
.slider-track > .slide.is-focus { transform: scale(1.035) translateY(-4px); filter: brightness(1.04); }
.slider-track > .slide.is-side { transform: scale(0.965); filter: brightness(0.72) saturate(0.85); }
.slider-track > .slide.is-focus .project-card img { transform: scale(1.1); }

.slider-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 6;
  width: 50px; height: 50px; border-radius: 50%;
  background: rgba(20,20,20,0.75); backdrop-filter: blur(6px);
  border: 1px solid var(--line); color: #fff; cursor: pointer;
  font-size: 1.6rem; line-height: 1; display: grid; place-items: center;
  transition: background 0.3s var(--ease), color 0.3s var(--ease), border-color 0.3s var(--ease), transform 0.3s var(--ease);
}
.slider-arrow:hover { background: var(--gold); color: #1a1207; border-color: var(--gold); transform: translateY(-50%) scale(1.08); }
.slider-arrow:active { transform: translateY(-50%) scale(0.95); }
.slider-arrow.prev { inset-inline-start: -16px; }
.slider-arrow.next { inset-inline-end: -16px; }

.slider-dots { display: flex; gap: 9px; justify-content: center; margin-top: 30px; }
.slider-dots button { position: relative; width: 9px; height: 9px; border-radius: 50%; border: 0; background: rgba(255,255,255,0.22); cursor: pointer; transition: all 0.35s var(--ease); padding: 0; overflow: hidden; }
.slider-dots button.active { background: rgba(255,255,255,0.22); width: 34px; border-radius: 6px; }
.slider-dots button.active .fill {
  position: absolute; inset-block: 0; inset-inline-start: 0; width: 0%;
  background: var(--gold); border-radius: 6px;
}
.slider-dots button.active.autoplaying .fill { animation: dot-fill 5s linear forwards; }
@keyframes dot-fill { from { width: 0%; } to { width: 100%; } }

@media (max-width: 980px){ .slider-track > .slide { flex: 0 0 calc((100% - 26px) / 2); } .slider-arrow { display: none; } .slider-track > .slide.is-focus, .slider-track > .slide.is-side { transform: none; filter: none; } .slider-track > .slide.is-focus .project-card img { transform: none; } }
@media (max-width: 680px){ .slider-track > .slide { flex: 0 0 100%; } }

@media (prefers-reduced-motion: reduce) {
  .slider-track, .slider-track > .slide, .project-card img { transition-duration: 0.01ms !important; animation: none !important; }
}

/* ===================== VALUES SLIDER (Our Approach) ===================== */
.value-slider .slider-track { gap: 0; }
.value-slider .slider-track > .slide { flex: 0 0 100%; }
.value-slide {
  position: relative; border-radius: 20px; overflow: hidden;
  aspect-ratio: 21 / 9; min-height: 320px;
  border: 1px solid var(--line); background: var(--bg-card);
}
.value-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 8s var(--ease); }
.value-slide::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(10,9,8,0.82) 0%, rgba(10,9,8,0.25) 45%, rgba(10,9,8,0.05) 70%);
}
.value-slide .vs-content {
  position: absolute; inset-inline-start: 0; inset-inline-end: 0; bottom: 0; z-index: 2;
  padding: 40px 52px 64px;
}
.value-slide .vs-num { font-family: var(--font-en); font-size: 1rem; letter-spacing: 0.24em; color: var(--gold); opacity: 0.9; margin-bottom: 16px; }
.value-slide h3 { font-size: clamp(2.4rem, 4.6vw, 4rem); font-weight: 800; margin-bottom: 18px; line-height: 1.1; }
.value-slide p { color: #e4e0d8; font-size: clamp(1.05rem, 1.4vw, 1.25rem); max-width: 680px; line-height: 1.8; }
.value-slide .vs-text { max-width: 760px; }
.value-slider:hover .value-slide img { transform: scale(1.06); }

/* Full-bleed variant: this markup sits outside .container already (see index.html), so it
   is naturally full viewport width — no width/position/transform hack needed. (A left:50% +
   transform:translateX(-50%) approach was tried here before but conflicts with .reveal, which
   also animates via `transform` and sets `transform:none` once revealed, silently cancelling
   the centering and shifting the whole slider off-screen. Plain full-width avoids that class
   of bug entirely.) */
.value-slider.full-bleed {
  width: 100%;
}
.value-slider.full-bleed .value-slide { border-radius: 0; border-inline: none; }
.value-slider.full-bleed .vs-content { padding-inline: max(24px, calc((100vw - var(--maxw)) / 2 + 24px)); }
.value-slider.full-bleed .slider-arrow.prev { inset-inline-start: 24px; }
.value-slider.full-bleed .slider-arrow.next { inset-inline-end: 24px; }
.value-slider.full-bleed .slider-dots { margin-top: 26px; }

@media (max-width: 680px) {
  .value-slide { aspect-ratio: 4 / 5; min-height: 420px; }
  .value-slide .vs-content { padding: 26px 26px 34px; }
  .value-slider.full-bleed .vs-content { padding-inline: 26px; }
}

/* ===================== FEATURED PROJECTS — FILMSTRIP ACCORDION ===================== */
/* Full-bleed: this markup sits outside .container already (see index.html), so it is
   naturally full viewport width — see the comment on .value-slider.full-bleed above for why
   we deliberately do NOT use a left:50%/transform:translateX(-50%) breakout hack here. */
.pf-wrap { width: 100%; }
.pf-showcase { display: flex; width: 100%; height: 640px; gap: 2px; overflow: hidden; background: var(--bg); }
.pf-item {
  flex: 1 1 0%; position: relative; overflow: hidden; cursor: pointer;
  background: var(--bg-card); transition: flex 1.1s cubic-bezier(0.19, 1, 0.22, 1);
}
.pf-item .pf-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center;
  filter: grayscale(45%) brightness(0.6); transform: scale(1.15);
  transition: transform 1.5s var(--ease), filter 0.9s;
}
.pf-item .pf-overlay { position: absolute; inset: 0; background: rgba(8,8,9,0.5); transition: background 0.7s; }
.pf-item .pf-vert {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%) rotate(-90deg);
  display: flex; align-items: center; gap: 12px; white-space: nowrap;
  transition: opacity 0.35s, transform 0.55s var(--ease);
}
.pf-item .pf-vert .num { font-family: var(--font-en); color: var(--gold); font-size: 1.05rem; font-weight: 800; letter-spacing: 2px; }
.pf-item .pf-vert .txt { font-size: 1.2rem; font-weight: 700; color: #fff; letter-spacing: 0.5px; text-shadow: 0 2px 10px rgba(0,0,0,0.85); }
.pf-item .pf-details {
  position: absolute; inset-block-end: 0; inset-inline-start: 0; width: 100%; padding: 50px 44px;
  display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  background: linear-gradient(0deg, rgba(6,6,7,0.96) 0%, rgba(6,6,7,0.6) 55%, transparent 100%);
  opacity: 0; pointer-events: none; transform: translateY(24px); transition: opacity 0.3s, transform 0.4s;
}
.pf-item .pf-details .cat { color: var(--gold); font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; margin-bottom: 8px; }
.pf-item .pf-details h3 { font-size: 2rem; font-weight: 800; line-height: 1.2; margin-bottom: 12px; color: #fff; }
.pf-item .pf-details p { color: #d8d4cc; font-size: 0.95rem; line-height: 1.65; max-width: 460px; margin-bottom: 22px; }
.pf-item .pf-btn {
  display: inline-flex; align-items: center; gap: 8px; padding: 11px 24px; border-radius: 100px;
  border: 1px solid var(--gold); color: var(--gold); font-size: 0.85rem; font-weight: 700;
  background: rgba(197,160,75,0.08); text-decoration: none; transition: 0.3s var(--ease); flex-shrink: 0;
}
.pf-item .pf-btn:hover { background: var(--gold); color: #1a1207; transform: translateY(-3px); }

/* Expanded state: hover (pointer devices) or .active (touch / pinned selection) */
.pf-item:hover, .pf-item.active { flex: 4.5 1 0%; }
.pf-item:hover .pf-bg, .pf-item.active .pf-bg { transform: scale(1.02); filter: grayscale(0%) brightness(0.88); }
.pf-item:hover .pf-overlay, .pf-item.active .pf-overlay { background: rgba(8,8,9,0.2); }
.pf-item:hover .pf-vert, .pf-item.active .pf-vert { opacity: 0; transform: translate(-50%,-50%) rotate(-90deg) scale(0.85); pointer-events: none; }
.pf-item:hover .pf-details, .pf-item.active .pf-details { opacity: 1; pointer-events: auto; transform: translateY(0); transition: opacity 0.5s 0.15s, transform 0.5s var(--ease) 0.15s; }

/* ---- Portrait devices (phones & tablets held upright): stack vertically ---- */
@media (orientation: portrait) {
  .pf-showcase { flex-direction: column; height: auto; min-height: 550px; }
  .pf-item {
    display: block; width: 100%; height: 85px; min-height: 85px; max-height: 85px;
    flex: 0 0 auto; margin-bottom: 2px;
    transition: height 0.6s var(--ease), min-height 0.6s var(--ease), max-height 0.6s var(--ease);
  }
  .pf-item.active, .pf-item:hover { height: 420px; min-height: 420px; max-height: 420px; flex: 0 0 auto; }
  .pf-item .pf-vert {
    top: 42px; inset-inline-start: 25px; left: auto; transform: translateY(-50%) rotate(0deg);
    width: calc(100% - 50px); justify-content: flex-start; opacity: 1; pointer-events: none;
  }
  .pf-item.active .pf-vert, .pf-item:hover .pf-vert { transform: translateY(-70%) rotate(0deg) scale(0.9); opacity: 0; }
  .pf-item .pf-details { padding: 35px 25px; background: linear-gradient(0deg, rgba(0,0,0,0.98) 0%, rgba(0,0,0,0.8) 65%, transparent 100%); }
  .pf-item .pf-details h3 { font-size: 1.7rem; }
}
@media (orientation: portrait) and (max-width: 600px) {
  .pf-item { height: 75px; min-height: 75px; max-height: 75px; }
  .pf-item.active, .pf-item:hover { height: 380px; min-height: 380px; max-height: 380px; }
  .pf-item .pf-vert { top: 37px; inset-inline-start: 20px; width: calc(100% - 40px); gap: 8px; }
  .pf-item .pf-vert .num { font-size: 0.9rem; }
  .pf-item .pf-vert .txt { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 80%; font-size: 1.05rem; }
  .pf-item .pf-details { padding: 25px 20px; }
  .pf-item .pf-details h3 { font-size: 1.35rem; margin-bottom: 10px; }
  .pf-item .pf-details p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.85rem; line-height: 1.5; margin-bottom: 18px; }
  .pf-item .pf-btn { padding: 10px 20px; font-size: 0.8rem; }
}
/* ---- Landscape phones / small-height or narrow landscape tablets: keep row layout but compact it ---- */
@media (orientation: landscape) and (max-height: 700px), (orientation: landscape) and (max-width: 1024px) {
  .pf-showcase { min-height: 400px; height: 80vh; }
  .pf-item .pf-details { padding: 25px 20px; }
  .pf-item .pf-details h3 { font-size: 1.5rem; margin-bottom: 8px; }
  .pf-item .pf-details p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 0.85rem; line-height: 1.4; margin-bottom: 15px; }
  .pf-item .pf-vert .txt { font-size: 1rem; }
  .pf-item .pf-vert .num { font-size: 0.9rem; }
}
