/* ============================================
   HAMANDI INTERIORS - Luxury Minimal Stylesheet
   ============================================ */

/* --- Reset & Base --- */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  /* --- Hamandi brand palette (per Brand Guidelines) --- */
  --black: #0a0a0a;
  --charcoal: #202020;        /* brand Charcoal (primary) */
  --dark: #2a2a2a;
  --gray: #888;
  --beige: #dfddd3;           /* brand Muted Beige (primary) */
  --taupe: #b3a896;           /* brand secondary - warm taupe */
  --olive: #48463d;           /* brand secondary - deep olive */
  --taupe-grey: #a8a596;      /* brand secondary - cool taupe */
  --light-gray: #dfddd3;
  --off-white: #f4f1ec;
  --white: #fff;
  /* Accent (replaces former gold) - brand warm neutrals */
  --gold: #b3a896;            /* warm taupe accent */
  --gold-light: #cfc7b8;      /* light taupe for dark backgrounds */
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --font-heading: 'Lato', -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Lato', -apple-system, 'Segoe UI', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

/* --- Typography --- */
h1, h2, h3 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.15;
}

h1 { font-size: clamp(2.5rem, 5vw, 4.5rem); letter-spacing: -0.02em; }
h2 { font-size: clamp(2rem, 3.5vw, 3.2rem); letter-spacing: -0.01em; }
h3 { font-size: clamp(1.25rem, 2vw, 1.6rem); }

.section-label {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 16px;
}

.section-label.light { color: var(--gold-light); }

.section-title { margin-bottom: 24px; }
.section-title.light { color: var(--white); }

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray);
  max-width: 560px;
  line-height: 1.7;
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-subtitle {
  margin: 0 auto;
}

/* --- Buttons --- */
.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--charcoal);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid var(--charcoal);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-primary:hover {
  background: transparent;
  color: var(--charcoal);
}

.btn-primary.light {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-primary.light:hover {
  background: transparent;
  color: var(--white);
}

.btn-outline {
  display: inline-block;
  padding: 14px 36px;
  background: transparent;
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.4);
  cursor: pointer;
  transition: all var(--transition);
}

.btn-outline:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.btn-text {
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--charcoal);
  transition: color var(--transition);
}

.btn-text span {
  display: inline-block;
  transition: transform var(--transition);
}

.btn-text:hover { color: var(--gold); }
.btn-text:hover span { transform: translateX(4px); }

/* --- Navigation --- */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 24px 0;
  transition: all var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(10px);
  padding: 16px 0;
  box-shadow: 0 1px 0 rgba(0,0,0,0.06);
}

.navbar.scrolled .nav-links a,
.navbar.scrolled .logo-text,
.navbar.scrolled .logo-sub {
  color: var(--charcoal);
}

.navbar.scrolled .hamburger span {
  background: var(--charcoal);
}

.nav-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--white);
  transition: color var(--transition);
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 0.55rem;
  letter-spacing: 0.45em;
  text-transform: uppercase;
  color: var(--white);
  opacity: 0.7;
  transition: color var(--transition);
}

/* Dark logo (for light backgrounds) */
.navbar-dark .logo-text,
.navbar-dark .logo-sub,
.navbar-dark .nav-links a {
  color: var(--charcoal);
}

.navbar-dark .hamburger span {
  background: var(--charcoal);
}

.navbar-dark .lang-toggle {
  color: var(--charcoal);
  border-color: var(--charcoal);
}

.nav-links {
  display: flex;
  gap: 36px;
}

.nav-links a {
  font-size: 0.8rem;
  font-weight: 400;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--white);
  position: relative;
  transition: color var(--transition);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 1px;
  background: var(--gold);
  transition: width var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.btn-appointment {
  padding: 10px 24px;
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border: 1px solid rgba(255,255,255,0.3);
  color: var(--white);
  transition: all var(--transition);
}

.navbar.scrolled .btn-appointment,
.navbar-dark .btn-appointment {
  border-color: var(--charcoal);
  color: var(--charcoal);
}

.navbar.scrolled .btn-appointment:hover,
.navbar-dark .btn-appointment:hover {
  background: var(--charcoal);
  color: var(--white);
}

.btn-appointment:hover {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.lang-toggle {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--white);
  background: none;
  border: 1px solid rgba(255,255,255,0.3);
  padding: 6px 12px;
  cursor: pointer;
  transition: all var(--transition);
}

.navbar.scrolled .lang-toggle {
  color: var(--charcoal);
  border-color: rgba(0,0,0,0.2);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 1.5px;
  background: var(--white);
  transition: all var(--transition);
}

/* --- Hero (Homepage) --- */
.hero {
  position: relative;
  height: 100vh;
  min-height: 700px;
  overflow: hidden;
  background: var(--black);
}

.hero-slider { position: relative; width: 100%; height: 100%; }

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease;
}

.hero-slide.active { opacity: 1; }

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  transform: scale(1.05);
  transition: transform 8s ease;
}

.hero-slide.active .hero-bg {
  transform: scale(1);
}

.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.15) 40%,
    rgba(0,0,0,0.4) 100%
  );
}

.hero-content {
  position: absolute;
  bottom: 15%;
  left: 0;
  width: 100%;
  padding: 0 80px;
  z-index: 2;
}

.hero-tagline {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 20px;
  max-width: 700px;
}

.hero-desc {
  color: rgba(255,255,255,0.75);
  font-size: 1.05rem;
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero-controls {
  position: absolute;
  bottom: 48px;
  right: 80px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
}

.hero-counter {
  font-family: var(--font-body);
  font-size: 0.85rem;
  color: var(--white);
  letter-spacing: 0.1em;
}

.hero-counter .slide-divider {
  margin: 0 6px;
  opacity: 0.4;
}

.hero-dots {
  display: flex;
  gap: 8px;
}

.dot {
  width: 32px;
  height: 2px;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
}

.dot.active {
  background: var(--white);
  width: 48px;
}

.scroll-indicator {
  position: absolute;
  bottom: 48px;
  left: 80px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.5);
  font-size: 0.7rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.scroll-line {
  width: 48px;
  height: 1px;
  background: rgba(255,255,255,0.3);
  position: relative;
  overflow: hidden;
}

.scroll-line::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: var(--white);
  animation: scrollLine 2s ease-in-out infinite;
}

@keyframes scrollLine {
  0% { left: -100%; }
  100% { left: 100%; }
}

/* --- Page Header (for inner pages) --- */
.page-header {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  background: var(--charcoal);
}

.page-header-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.page-header-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.2) 0%,
    rgba(0,0,0,0.5) 100%
  );
}

.page-header-content {
  position: relative;
  z-index: 2;
  padding: 0 0 60px 0;
  width: 100%;
}

.page-header-content .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.page-header h1 {
  color: var(--white);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
}

.page-header p {
  color: rgba(255,255,255,0.7);
  font-size: 1.05rem;
  max-width: 520px;
}

/* --- Section Spacing --- */
.section {
  padding: 120px 0;
}

/* --- About Section --- */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.about-image {
  position: relative;
  overflow: hidden;
}

.about-image img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.about-content .about-text {
  margin-bottom: 40px;
}

.about-content .about-text p {
  color: var(--gray);
  margin-bottom: 16px;
  line-height: 1.8;
}

.about-stats {
  display: flex;
  gap: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--light-gray);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2rem;
  color: var(--charcoal);
  display: block;
}

.stat-label {
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray);
}

/* --- Brands Section (Homepage) --- */
.brands { background: var(--off-white); }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.brand-card {
  background: var(--white);
  overflow: hidden;
  transition: transform var(--transition);
}

.brand-card:hover { transform: translateY(-4px); }

.brand-image {
  overflow: hidden;
  height: 280px;
}

.brand-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.brand-card:hover .brand-image img {
  transform: scale(1.05);
}

.brand-info {
  padding: 28px 28px 32px;
}

.brand-info h3 {
  margin-bottom: 10px;
}

.brand-info p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}

/* --- Brands Page Grid --- */
.brands-page-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-top: 0;
}

.brand-page-card {
  position: relative;
  height: 500px;
  overflow: hidden;
  cursor: pointer;
}

.brand-page-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 1s ease;
}

.brand-page-card:hover img {
  transform: scale(1.05);
}

.brand-page-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.1) 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 40px;
  transition: background var(--transition);
}

.brand-page-card:hover .brand-page-overlay {
  background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.2) 60%);
}

.brand-page-overlay .brand-tag {
  font-size: 0.7rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 8px;
}

.brand-page-overlay h3 {
  color: var(--white);
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.brand-page-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  max-width: 400px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.brand-page-overlay .btn-text {
  color: var(--white);
}

.brand-page-overlay .btn-text:hover {
  color: var(--gold-light);
}

/* Full-width brand card */
.brand-page-card.full-width {
  grid-column: 1 / -1;
  height: 450px;
}

/* --- Divider / Quote --- */
.section-divider {
  padding: 80px 0;
  background: var(--charcoal);
  text-align: center;
}

.section-divider blockquote p {
  font-family: var(--font-heading);
  font-size: clamp(1.3rem, 2.5vw, 1.8rem);
  font-style: italic;
  color: rgba(255,255,255,0.7);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-divider blockquote cite {
  display: block;
  margin-top: 24px;
  font-family: var(--font-body);
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
}

/* --- Credentials / Prestige Band --- */
.credentials {
  background: var(--off-white);
  padding: 56px 0;
  text-align: center;
  border-top: 1px solid var(--light-gray);
}

.credentials-label {
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 28px;
}

.credentials-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 24px 48px;
}

.credentials-list span {
  font-family: var(--font-heading);
  font-size: clamp(1.1rem, 1.8vw, 1.5rem);
  color: var(--charcoal);
  opacity: 0.55;
  transition: opacity var(--transition);
}

.credentials-list span:hover { opacity: 1; }

/* --- Process (How We Work) --- */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin-top: 64px;
  background: var(--light-gray);
  border: 1px solid var(--light-gray);
}

.process-step {
  background: var(--white);
  padding: 36px 28px;
}

.process-number {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

.process-step h4 {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.process-step p {
  color: var(--gray);
  font-size: 0.88rem;
  line-height: 1.65;
}

/* --- Trade / Architects Callout --- */
.trade {
  background: var(--charcoal);
  padding: 100px 0;
  color: var(--white);
}

.trade .container { text-align: center; }

.trade-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  text-align: left;
}

.trade-text .section-title { color: var(--white); margin-bottom: 16px; }

.trade-text p {
  color: rgba(255,255,255,0.6);
  line-height: 1.7;
}

.trade-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px 32px;
}

.trade-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(255,255,255,0.85);
  font-size: 0.92rem;
  line-height: 1.5;
}

.trade-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 12px;
  height: 1px;
  background: var(--gold);
}

.trade-cta { margin-top: 48px; }

.trade-cta .btn-primary {
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.trade-cta .btn-primary:hover {
  background: transparent;
  color: var(--white);
}

/* Map link (contact page) */
a.map-placeholder {
  text-decoration: none;
  transition: background var(--transition);
}

a.map-placeholder:hover { background: var(--light-gray); }

a.map-placeholder span { color: var(--gold); }

/* --- Services --- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 64px;
}

.service-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  background: var(--off-white);
}

.service-image {
  overflow: hidden;
  height: 320px;
}

.service-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-content {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  color: var(--light-gray);
  margin-bottom: 12px;
}

.service-content h3 { margin-bottom: 12px; }

.service-content p {
  color: var(--gray);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* --- Projects --- */
.projects { background: var(--off-white); }

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 64px;
}

.project-card {
  position: relative;
  overflow: hidden;
  height: 350px;
  cursor: pointer;
}

.project-card.large {
  grid-column: span 2;
  grid-row: span 2;
  height: auto;
}

.project-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s ease;
}

.project-card:hover img { transform: scale(1.05); }

.project-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 50%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 28px;
  opacity: 0;
  transition: opacity var(--transition);
}

.project-card:hover .project-overlay { opacity: 1; }

.project-tag {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 6px;
}

.project-overlay h3 {
  color: var(--white);
  font-size: 1.2rem;
  margin-bottom: 4px;
}

.project-overlay p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
}

/* --- CTA / Appointment Section --- */
.cta {
  position: relative;
  padding: 120px 0;
}

.cta-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.cta-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 10, 0.85);
}

.cta .container { position: relative; z-index: 2; }

.cta-content { max-width: 640px; }

.cta-desc {
  color: rgba(255,255,255,0.65);
  margin-bottom: 40px;
  line-height: 1.7;
}

/* --- Forms --- */
.appointment-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group.full { grid-column: 1 / -1; }

.appointment-form input,
.appointment-form select,
.appointment-form textarea {
  width: 100%;
  padding: 16px 0;
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--white);
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.2);
  outline: none;
  transition: border-color var(--transition);
}

.appointment-form input::placeholder,
.appointment-form textarea::placeholder {
  color: rgba(255,255,255,0.4);
}

.appointment-form select {
  -webkit-appearance: none;
  appearance: none;
  color: rgba(255,255,255,0.4);
}

.appointment-form select option {
  background: var(--charcoal);
  color: var(--white);
}

.appointment-form input:focus,
.appointment-form select:focus,
.appointment-form textarea:focus {
  border-bottom-color: var(--gold);
}

.appointment-form textarea { resize: vertical; min-height: 80px; }

.appointment-form .btn-primary {
  margin-top: 16px;
  align-self: flex-start;
  background: var(--white);
  color: var(--charcoal);
  border-color: var(--white);
}

.appointment-form .btn-primary:hover {
  background: transparent;
  color: var(--white);
}

/* --- Contact Page Form (light bg) --- */
.contact-form-light input,
.contact-form-light select,
.contact-form-light textarea {
  color: var(--charcoal);
  border-bottom-color: var(--light-gray);
}

.contact-form-light input::placeholder,
.contact-form-light textarea::placeholder {
  color: var(--gray);
}

.contact-form-light select {
  color: var(--gray);
}

.contact-form-light select option {
  background: var(--white);
  color: var(--charcoal);
}

.contact-form-light .btn-primary {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.contact-form-light .btn-primary:hover {
  background: transparent;
  color: var(--charcoal);
}

/* --- Contact Section --- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.contact-details {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.contact-icon {
  color: var(--gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-item h4 {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 4px;
}

.contact-item p {
  color: var(--gray);
  font-size: 0.95rem;
}

.social-links {
  display: flex;
  gap: 16px;
  margin-top: 40px;
}

.social-link {
  width: 44px;
  height: 44px;
  border: 1px solid var(--light-gray);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--charcoal);
  transition: all var(--transition);
}

.social-link:hover {
  background: var(--charcoal);
  color: var(--white);
  border-color: var(--charcoal);
}

.social-link.whatsapp:hover {
  background: #25d366;
  border-color: #25d366;
}

.contact-map {
  width: 100%;
  height: 100%;
  min-height: 400px;
}

.map-placeholder {
  width: 100%;
  height: 100%;
  min-height: 400px;
  background: var(--off-white);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.map-placeholder p {
  font-family: var(--font-heading);
  font-size: 1.2rem;
}

.map-placeholder span {
  font-size: 0.85rem;
  color: var(--gray);
}

/* --- Contact Page Layout --- */
.contact-page-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 100px;
  align-items: start;
}

.contact-page-info {
  padding-top: 20px;
}

.contact-page-info .section-title {
  margin-bottom: 16px;
}

.contact-page-info > p {
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 48px;
}

/* --- Footer --- */
.footer {
  background: var(--charcoal);
  padding: 80px 0 40px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand p {
  color: rgba(255,255,255,0.5);
  font-size: 0.9rem;
  margin-top: 20px;
  line-height: 1.6;
  max-width: 300px;
}

.footer-brand .logo-text,
.footer-brand .logo-sub {
  color: var(--white);
}

.footer-links h4 {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 20px;
}

.footer-links ul {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: rgba(255,255,255,0.65);
  font-size: 0.9rem;
  transition: color var(--transition);
}

.footer-links a:hover { color: var(--white); }

.footer-bottom {
  padding-top: 32px;
}

.footer-bottom p {
  color: rgba(255,255,255,0.3);
  font-size: 0.8rem;
}

/* --- WhatsApp Float --- */
.whatsapp-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.3);
  transition: transform var(--transition);
}

.whatsapp-float:hover { transform: scale(1.1); }

/* --- Reveal Animation --- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* --- Mobile Menu --- */
.mobile-menu-open .nav-links {
  display: flex;
  position: fixed;
  inset: 0;
  background: var(--white);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  z-index: 999;
}

.mobile-menu-open .nav-links a {
  color: var(--charcoal);
  font-size: 1.2rem;
}

.mobile-menu-open .hamburger {
  position: fixed;
  top: 28px;
  right: 40px;
  z-index: 1000;
}

.mobile-menu-open .hamburger span { background: var(--charcoal); }
.mobile-menu-open .hamburger span:nth-child(1) { transform: rotate(45deg) translate(5px, 4px); }
.mobile-menu-open .hamburger span:nth-child(2) { opacity: 0; }
.mobile-menu-open .hamburger span:nth-child(3) { transform: rotate(-45deg) translate(5px, -4px); }

/* --- Responsive --- */
@media (max-width: 1024px) {
  .container, .nav-container { padding: 0 28px; }
  .section { padding: 80px 0; }
  .hero-content { padding: 0 40px; }
  .hero-controls { right: 40px; }
  .scroll-indicator { left: 40px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-image img { height: 400px; }

  .brands-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-page-grid { grid-template-columns: 1fr; }
  .brand-page-card { height: 400px; }

  .services-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr 1fr; }

  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .project-card.large { grid-column: span 2; }

  .contact-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-page-grid { grid-template-columns: 1fr; gap: 60px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }

  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .trade-inner { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; }
  .btn-appointment { display: none; }
  .hamburger { display: flex; }

  .hero-content { padding: 0 28px; bottom: 20%; }
  .hero h1 { font-size: 2rem; }
  .hero-controls { right: 28px; bottom: 32px; }
  .scroll-indicator { display: none; }

  .brands-grid { grid-template-columns: 1fr; }
  .service-card { grid-template-columns: 1fr; }
  .service-image { height: 220px; }

  .projects-grid { grid-template-columns: 1fr; }
  .project-card.large { grid-column: span 1; }
  .project-card { height: 280px; }
  .project-overlay { opacity: 1; }

  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }

  .about-stats { flex-direction: column; gap: 20px; }

  .process-grid { grid-template-columns: 1fr; }
  .trade-list { grid-template-columns: 1fr; }
  .credentials-list { gap: 16px 28px; }
}

/* ==========================================================================
   MOTION v3 - Editorial luxury layer  (aligned to MOTION.md)
   - CSS transitions + IntersectionObserver only. No scroll libraries.
   - Animate transform/opacity only. Respect prefers-reduced-motion.
   - Restrained, slow, deliberate. If you notice the motion, it's too much.
   ========================================================================== */

:root {
  --ink: #202020;
  --noir: #15120f;
  --alabaster: #f4f1ec;
  --hairline: rgba(179, 168, 150, 0.28);
  /* MOTION.md tokens - single source of truth */
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-inout: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 220ms;
  --dur-base: 480ms;
  --dur-slow: 760ms;
  --font-ar-head: 'IBM Plex Sans Arabic', 'Inter', sans-serif;
  --font-ar-body: 'IBM Plex Sans Arabic', 'Inter', sans-serif;
}

html { -webkit-text-size-adjust: 100%; }
.stat-number, .since b { font-variant-numeric: tabular-nums; }

/* ---------- Brand logo (replaces text wordmark) ---------- */
.logo { flex-direction: row; align-items: center; }
.logo-img { height: 54px; width: auto; max-width: none; display: block; }
.logo { flex-shrink: 0; }
.logo .logo-dark { display: none; }
.logo .logo-white { display: block; }
.navbar.scrolled .logo .logo-white,
.navbar-dark .logo .logo-white { display: none; }
.navbar.scrolled .logo .logo-dark,
.navbar-dark .logo .logo-dark { display: block; }
.footer .logo .logo-white { display: block; }
.footer .logo .logo-dark { display: none; }
.footer .logo-img { height: 46px; }

/* ---------- Scroll reveals (MOTION.md: fade + 20px up, dur-slow, once) ---------- */
@media (prefers-reduced-motion: no-preference) {
  html.js [data-reveal] {
    opacity: 0; transform: translateY(20px);
    transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  }
  html.js [data-reveal].in { opacity: 1; transform: none; }

  /* staggered groups - children 90ms apart */
  html.js [data-reveal-group] > * {
    opacity: 0; transform: translateY(20px);
    transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
  }
  html.js [data-reveal-group].in > * { opacity: 1; transform: none; }
  html.js [data-reveal-group].in > *:nth-child(1) { transition-delay: 0s; }
  html.js [data-reveal-group].in > *:nth-child(2) { transition-delay: 0.09s; }
  html.js [data-reveal-group].in > *:nth-child(3) { transition-delay: 0.18s; }
  html.js [data-reveal-group].in > *:nth-child(4) { transition-delay: 0.27s; }
  html.js [data-reveal-group].in > *:nth-child(5) { transition-delay: 0.36s; }
  html.js [data-reveal-group].in > *:nth-child(6) { transition-delay: 0.45s; }
  html.js [data-reveal-group].in > *:nth-child(7) { transition-delay: 0.54s; }
}

/* ---------- Reusable hover: image zoom inside a fixed frame (max 1.04) ---------- */
.media-frame { overflow: hidden; }
.media-frame img { transition: transform var(--dur-base) var(--ease-out); will-change: transform; }
.media-frame:hover img,
a:hover > .media-frame img,
.hover-zoom:hover .media-frame img { transform: scale(1.04); }

/* ==========================================================================
   HERO - cinematic, calm. Slow crossfade (not a fast carousel).
   ========================================================================== */
.hero2 { position: relative; min-height: 100svh; height: 100vh; background: var(--ink); overflow: hidden; display: flex; align-items: flex-end; }
.hero2-media { position: absolute; inset: 0; }
.hero2-media .h-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s var(--ease-inout); }
.hero2-media .h-slide.active { opacity: 1; }
.hero2-media .h-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); transition: transform 9s var(--ease-out); }
.hero2-media .h-slide.active .h-bg { transform: scale(1); }
.hero2-media::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.5) 0%, rgba(10,10,10,0.12) 30%, rgba(10,10,10,0.78) 100%); }
.hero2-inner { position: relative; z-index: 3; width: 100%; padding: 0 max(40px, calc(50% - 600px)) 9vh; }
.hero2-eyebrow { display: inline-flex; align-items: center; gap: 14px; font-size: 0.72rem; letter-spacing: 0.32em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 26px; }
.hero2-eyebrow::before { content: ''; width: 46px; height: 1px; background: var(--gold); }
.hero2 h1 { color: var(--white); font-weight: 800; font-size: clamp(2.6rem, 6.2vw, 5.6rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: 28px; }
.hero2 h1 em { font-style: italic; color: var(--gold-light); }
.hero2-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.hero2-desc { color: rgba(255,255,255,0.8); font-size: 1.05rem; max-width: 440px; line-height: 1.75; }
.hero2-actions { display: flex; gap: 16px; align-items: center; flex-wrap: wrap; }
.hero2-count { position: absolute; left: max(40px, calc(50% - 600px)); bottom: 4vh; z-index: 3; display: flex; gap: 10px; align-items: center; }
.hero2-count .dot2 { width: 30px; height: 2px; background: rgba(255,255,255,0.25); border: none; padding: 0; cursor: pointer; transition: background var(--dur-fast) var(--ease-out), width var(--dur-fast) var(--ease-out); }
.hero2-count .dot2.active { background: var(--gold-light); width: 46px; }

/* Hero intro (CSS, plays on .loaded) */
.hero2 [data-hero] { opacity: 0; transform: translateY(22px); transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out); }
html.js .hero2.loaded [data-hero] { opacity: 1; transform: none; }
.hero2.loaded .hero2-eyebrow { transition-delay: 0.15s; }
.hero2.loaded h1 { transition-delay: 0.30s; }
.hero2.loaded .hero2-desc { transition-delay: 0.48s; }
.hero2.loaded .hero2-actions { transition-delay: 0.62s; }
.hero2.loaded .hero2-count { transition-delay: 0.76s; }

/* ---------- Premium buttons (MOTION.md: color/bg/border at dur-fast) ---------- */
.btn-lux { display: inline-flex; align-items: center; gap: 12px; padding: 16px 38px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--ink); background: var(--gold-light); border: 1px solid var(--gold-light); transition: background var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out), border-color var(--dur-fast) var(--ease-out); }
.btn-lux:hover { background: transparent; color: var(--white); }
.navbar-dark .btn-lux:hover, .section .btn-lux:hover { color: var(--ink); border-color: var(--ink); background: transparent; }
.btn-ghost { display: inline-flex; align-items: center; gap: 12px; padding: 15px 34px; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--white); border: 1px solid rgba(255,255,255,0.38); transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.btn-ghost:hover { border-color: var(--gold-light); color: var(--gold-light); }

/* ---------- Manifesto ---------- */
.manifesto { background: var(--ink); color: var(--white); padding: 15vh 0; }
.manifesto .container { max-width: 1080px; }
.manifesto-eyebrow { font-size: 0.72rem; letter-spacing: 0.3em; text-transform: uppercase; color: var(--gold); margin-bottom: 36px; }
.manifesto h2 { font-size: clamp(1.7rem, 3.4vw, 3rem); line-height: 1.34; font-weight: 600; letter-spacing: -0.01em; }
.manifesto h2 .muted { color: rgba(255,255,255,0.34); }
.manifesto h2 em { font-style: italic; color: var(--gold-light); }

/* ---------- Brand grid hover (reuse base .brand-card / .brand-page-card) ---------- */
.brand-card .brand-image { } /* base provides frame; ensure zoom uses tokens */
.brand-card .brand-image img { transition: transform var(--dur-base) var(--ease-out); }
.brand-card:hover .brand-image img { transform: scale(1.04); }
.brand-card { transition: transform var(--dur-base) var(--ease-out), box-shadow var(--dur-base) var(--ease-out); }
.brand-card:hover { transform: translateY(-4px); box-shadow: 0 18px 44px rgba(0,0,0,0.10); }
.brand-page-card img { transition: transform var(--dur-base) var(--ease-out); }
.brand-page-card:hover img { transform: scale(1.04); }

/* ---------- Credentials band ---------- */
.credentials { background: var(--off-white); padding: 56px 0; text-align: center; border-top: 1px solid var(--light-gray); }
.credentials-label { font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gray); margin-bottom: 28px; }
.credentials-list { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 22px 48px; }
.credentials-list span { font-family: var(--font-heading); font-size: clamp(1.1rem, 1.7vw, 1.45rem); color: var(--charcoal); opacity: 0.55; transition: opacity var(--dur-fast) var(--ease-out); }
.credentials-list span:hover { opacity: 1; }

/* ---------- Quote attribution ---------- */
.section-divider blockquote cite { display: block; margin-top: 24px; font-family: var(--font-body); font-style: normal; font-size: 0.74rem; font-weight: 500; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold-light); }

/* ==========================================================================
   PROCESS - two distinct journeys (Clients vs Architects)
   ========================================================================== */
.approach { background: var(--off-white); }
.approach-intro { text-align: center; max-width: 640px; margin: 0 auto 64px; }
.process-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; }
.process-card { background: var(--white); padding: 48px; border: 1px solid var(--light-gray); }
.process-card.dark { background: var(--charcoal); color: var(--white); border-color: var(--charcoal); }
.process-card .pc-tag { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.2em; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.process-card.dark .pc-tag { color: var(--gold-light); }
.process-card h3 { font-size: 1.7rem; margin-bottom: 10px; }
.process-card > p { color: var(--gray); font-size: 0.95rem; line-height: 1.7; margin-bottom: 28px; }
.process-card.dark > p { color: rgba(255,255,255,0.62); }
.steps { display: flex; flex-direction: column; gap: 0; }
.step { display: grid; grid-template-columns: auto 1fr; gap: 18px; padding: 16px 0; border-top: 1px solid var(--light-gray); }
.process-card.dark .step { border-color: rgba(255,255,255,0.12); }
.step-n { font-family: var(--font-heading); font-size: 1rem; color: var(--gold); line-height: 1.4; }
.process-card.dark .step-n { color: var(--gold-light); }
.step h4 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 4px; }
.step p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }
.process-card.dark .step p { color: rgba(255,255,255,0.6); }

/* ---------- Architects: benefits + register ---------- */
.benefits-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin-top: 56px; background: var(--light-gray); border: 1px solid var(--light-gray); }
.benefit { background: var(--white); padding: 34px 28px; }
.benefit .b-n { font-family: var(--font-heading); font-size: 1.3rem; color: var(--gold); display: block; margin-bottom: 14px; }
.benefit h4 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 8px; }
.benefit p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }

.register { background: var(--charcoal); color: var(--white); }
.register-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 80px; align-items: center; }
.register-grid .reg-copy .section-title { color: var(--white); }
.register-grid .reg-copy p { color: rgba(255,255,255,0.62); line-height: 1.7; margin-top: 16px; }
.register .perks { list-style: none; margin-top: 28px; display: grid; gap: 12px; }
.register .perks li { position: relative; padding-left: 26px; color: rgba(255,255,255,0.85); font-size: 0.92rem; }
.register .perks li::before { content: ''; position: absolute; left: 0; top: 9px; width: 12px; height: 1px; background: var(--gold-light); }

/* ---------- Map link (contact) ---------- */
a.map-placeholder { text-decoration: none; transition: background var(--dur-base) var(--ease-out); }
a.map-placeholder:hover { background: var(--light-gray); }
a.map-placeholder span { color: var(--gold); }

/* ---------- Footer wordmark ---------- */
.footer-wordmark { font-family: var(--font-heading); font-size: clamp(3rem, 12vw, 10rem); line-height: 0.9; color: rgba(255,255,255,0.05); letter-spacing: 0.02em; text-align: center; padding: 26px 0 6px; user-select: none; }

/* ==========================================================================
   LANGUAGE - EN / AR toggle + RTL
   ========================================================================== */
.lang-toggle { display: inline-flex; align-items: center; gap: 6px; font-family: var(--font-body); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.12em; color: var(--white); background: none; border: 1px solid rgba(255,255,255,0.32); padding: 8px 12px; cursor: pointer; transition: border-color var(--dur-fast) var(--ease-out), color var(--dur-fast) var(--ease-out); }
.navbar.scrolled .lang-toggle, .navbar-dark .lang-toggle { color: var(--charcoal); border-color: rgba(0,0,0,0.2); }
.lang-toggle:hover { border-color: var(--gold); color: var(--gold); }
.lang-toggle .l-on { color: var(--gold-light); }
.navbar.scrolled .lang-toggle .l-on, .navbar-dark .lang-toggle .l-on { color: var(--gold); }
.lang-sep { opacity: 0.4; }

/* Arabic typography + RTL */
html[lang="ar"], html[lang="ar"] body,
html[lang="ar"] input, html[lang="ar"] select, html[lang="ar"] textarea, html[lang="ar"] button { font-family: var(--font-ar-body); }
html[lang="ar"] h1, html[lang="ar"] h2, html[lang="ar"] h3, html[lang="ar"] .logo-text,
html[lang="ar"] .journey-name, html[lang="ar"] .process-card h3, html[lang="ar"] blockquote p,
html[lang="ar"] .footer-wordmark, html[lang="ar"] .credentials-list span, html[lang="ar"] .manifesto h2 { font-family: var(--font-ar-head); font-style: normal; }
html[lang="ar"] em { font-style: normal; }
html[dir="rtl"] .hero2-eyebrow::before { } /* gold rule fine either side */
html[dir="rtl"] .hero2-count { left: auto; right: max(40px, calc(50% - 600px)); }
html[dir="rtl"] .register .perks li { padding-left: 0; padding-right: 26px; }
html[dir="rtl"] .register .perks li::before { left: auto; right: 0; }
html[dir="rtl"] .step { direction: rtl; }
html[dir="rtl"] .btn-text span { display: inline-block; transform: scaleX(-1); }
html[lang="ar"] .nav-links a, html[lang="ar"] .btn-lux, html[lang="ar"] .btn-ghost,
html[lang="ar"] .section-label, html[lang="ar"] .hero2-eyebrow, html[lang="ar"] .step h4,
html[lang="ar"] .benefit h4 { letter-spacing: 0 !important; text-transform: none; }

/* ---------- Accessibility: focus ---------- */
:focus-visible { outline: 2px solid var(--gold-light); outline-offset: 3px; }
.btn-lux:focus-visible, .btn-ghost:focus-visible { outline-offset: 4px; }

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html.js [data-reveal], html.js [data-reveal-group] > *, .hero2 [data-hero] { opacity: 1 !important; transform: none !important; }
  .hero2-media .h-slide { transition: none; }
  *, *::before, *::after { scroll-behavior: auto !important; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .hero2-inner { padding: 0 28px 10vh; }
  .hero2-count { left: 28px; }
  .process-cols { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: repeat(2, 1fr); }
  .register-grid { grid-template-columns: 1fr; gap: 48px; }
  html[dir="rtl"] .hero2-count { right: 28px; }
}
@media (max-width: 768px) {
  .hero2-inner { padding: 0 28px 12vh; }
  .hero2-count { left: 28px; }
  .hero2 h1 { font-size: clamp(2rem, 8.6vw, 3rem); }
  .hero2-row { flex-direction: column; align-items: flex-start; gap: 22px; }
  .process-card { padding: 32px 26px; }
  .benefits-grid { grid-template-columns: 1fr; }
  html[dir="rtl"] .hero2-count { right: 28px; }
}


/* ==========================================================================
   BRAND DETAIL PAGE  (gallery + lightbox)
   ========================================================================== */
.brand-hero { position: relative; height: 60vh; min-height: 440px; display: flex; align-items: flex-end; overflow: hidden; background: var(--ink); }
.brand-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.04); }
.brand-hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,10,10,0.25), rgba(10,10,10,0.82)); }
.brand-hero-inner { position: relative; z-index: 2; width: 100%; padding: 0 0 56px; }
.brand-hero .b-tag { font-size: 0.72rem; letter-spacing: 0.22em; text-transform: uppercase; color: var(--gold-light); margin-bottom: 14px; }
.brand-hero h1 { color: var(--white); font-size: clamp(2.6rem, 6vw, 5rem); }
.brand-back { display: inline-block; margin-bottom: 22px; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255,255,255,0.75); }
.brand-back:hover { color: var(--gold-light); }

.brand-detail { padding: 88px 0 64px; }
.brand-detail-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 64px; align-items: start; }
.bd-desc p { color: var(--gray); line-height: 1.85; font-size: 1.05rem; }
.bd-meta { border-top: 1px solid var(--light-gray); }
.bd-row { padding: 18px 0; border-bottom: 1px solid var(--light-gray); }
.bd-row .bd-k { font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase; color: var(--gold); margin-bottom: 6px; }
.bd-row .bd-v { color: var(--charcoal); font-size: 0.95rem; line-height: 1.6; }

.brand-gallery { columns: 3; column-gap: 16px; }
.brand-gallery .g-item { break-inside: avoid; margin-bottom: 16px; overflow: hidden; cursor: zoom-in; display: block; }
.brand-gallery .g-item img { width: 100%; display: block; transition: transform var(--dur-base) var(--ease-out); }
.brand-gallery .g-item:hover img { transform: scale(1.04); }

.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(10,10,10,0.95); display: flex; align-items: center; justify-content: center; opacity: 0; visibility: hidden; transition: opacity var(--dur-base) var(--ease-out), visibility 0s var(--dur-base); }
.lightbox.open { opacity: 1; visibility: visible; transition: opacity var(--dur-base) var(--ease-out); }
.lightbox img { max-width: 90vw; max-height: 86vh; object-fit: contain; box-shadow: 0 20px 60px rgba(0,0,0,0.5); }
.lightbox button { position: absolute; background: none; border: none; color: rgba(255,255,255,0.8); cursor: pointer; padding: 14px; line-height: 1; transition: color var(--dur-fast) var(--ease-out); }
.lightbox button:hover { color: var(--gold-light); }
.lightbox .lb-close { top: 20px; right: 26px; font-size: 1.7rem; }
.lightbox .lb-prev { left: 16px; top: 50%; transform: translateY(-50%); font-size: 2.2rem; }
.lightbox .lb-next { right: 16px; top: 50%; transform: translateY(-50%); font-size: 2.2rem; }
html[dir="rtl"] .lightbox .lb-prev { left: auto; right: 16px; }
html[dir="rtl"] .lightbox .lb-next { right: auto; left: 16px; }

@media (max-width: 1024px) { .brand-detail-grid { grid-template-columns: 1fr; gap: 36px; } .brand-gallery { columns: 2; } }
@media (max-width: 600px) { .brand-gallery { columns: 1; } }


/* ==========================================================================
   ARABIC TYPOGRAPHY & RTL REFINEMENTS (research-backed)
   - Arabic is a connected script: never letter-space it.
   - Larger size + looser line-height for screen legibility.
   - Numbers / Latin stay LTR; directional arrows mirror.
   ========================================================================== */
html[lang="ar"] { font-size: 17px; }                 /* ~6% larger base for Arabic */
html[lang="ar"] * { letter-spacing: 0 !important; }  /* connected script - no tracking */
html[lang="ar"] body { line-height: 1.9; }
html[lang="ar"] p,
html[lang="ar"] .hero2-desc, html[lang="ar"] .section-subtitle, html[lang="ar"] .brand-info p,
html[lang="ar"] .bd-desc p, html[lang="ar"] .journey-desc, html[lang="ar"] .cta-desc,
html[lang="ar"] .reg-copy p, html[lang="ar"] .step p, html[lang="ar"] .benefit p,
html[lang="ar"] .contact-item p, html[lang="ar"] .footer-brand p { line-height: 1.95; }
html[lang="ar"] h1 { line-height: 1.3; }
html[lang="ar"] h2, html[lang="ar"] h3 { line-height: 1.45; }
html[lang="ar"] .manifesto h2 { line-height: 1.75; }
html[lang="ar"] .section-label, html[lang="ar"] .hero2-eyebrow,
html[lang="ar"] .brand-tag, html[lang="ar"] .b-tag, html[lang="ar"] .bd-k,
html[lang="ar"] .credentials-label, html[lang="ar"] .manifesto-eyebrow { font-weight: 600; }

/* Keep numbers and Latin tokens left-to-right inside Arabic text */
html[lang="ar"] .stat-number, html[lang="ar"] [dir="ltr"] { direction: ltr; unicode-bidi: isolate; }

/* Mirror directional UI in RTL */
html[dir="rtl"] .btn-text span { display: inline-block; transform: scaleX(-1); }
html[dir="rtl"] .whatsapp-float { right: auto; left: 32px; }
html[dir="rtl"] .lightbox .lb-close { right: auto; left: 26px; }
html[dir="rtl"] .scroll-indicator { left: auto; right: 80px; }
html[dir="rtl"] .map-placeholder span { direction: rtl; }

/* ==========================================================================
   WHO DESIGNS OUR PIECES (designer roster)
   The monogram block doubles as a placeholder for a licensed portrait later.
   ========================================================================== */
.designers { background: var(--off-white); }
.designers-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px 26px; margin-top: 56px; }
.designer-card { text-align: center; }
.designer-mono { position: relative; aspect-ratio: 3 / 4; background: var(--charcoal); color: var(--gold-light); font-family: var(--font-heading); font-size: clamp(1.8rem, 2.6vw, 2.6rem); letter-spacing: 0.06em; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; overflow: hidden; transition: transform var(--dur-base) var(--ease-out); }
.designer-mono::after { content: ''; position: absolute; inset: 12px; border: 1px solid rgba(216, 184, 122, 0.35); pointer-events: none; }
.designer-card:hover .designer-mono { transform: translateY(-4px); }
.designer-card h3 { font-size: 1.15rem; margin-bottom: 7px; }
.designer-card .d-meta { font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gray); }
.designer-card .d-work { font-size: 0.82rem; color: var(--gold); margin-top: 8px; }
@media (max-width: 1024px) { .designers-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px) { .designers-grid { grid-template-columns: repeat(2, 1fr); gap: 22px 16px; } }

/* Designer portraits (sourced from Wikimedia Commons; monogram fallback otherwise) */
.designer-mono img { width: 100%; height: 100%; object-fit: cover; object-position: center 12%; display: block; transition: transform var(--dur-base) var(--ease-out); }
.designer-card:hover .designer-mono img { transform: scale(1.03); }
.designers-credit { text-align: center; margin-top: 42px; font-size: 0.72rem; letter-spacing: 0.06em; color: var(--gray); opacity: 0.75; }

/* Architect trade-discount note */
.trade-note { text-align: center; margin-top: 42px; font-size: 0.98rem; color: var(--gold); letter-spacing: 0.01em; max-width: 620px; margin-left: auto; margin-right: auto; }

/* Architect 7-step process flow */
.flow { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; column-gap: 64px; }
.flow-step { display: grid; grid-template-columns: auto 1fr; gap: 22px; padding: 22px 4px; border-top: 1px solid var(--light-gray); align-items: start; }
.flow-step .fs-n { font-family: var(--font-heading); font-size: 1.45rem; color: var(--gold); line-height: 1; min-width: 34px; }
.flow-step h4 { font-family: var(--font-body); font-size: 0.82rem; font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 6px; color: var(--ink); }
.flow-step p { color: var(--gray); font-size: 0.88rem; line-height: 1.6; }
.approach-cta { text-align: center; margin-top: 52px; }
html[dir="rtl"] .flow-step { direction: rtl; }
@media (max-width: 768px) { .flow { grid-template-columns: 1fr; column-gap: 0; } }

/* Make the register block easy to spot */
.register { scroll-margin-top: 84px; }
.register .reg-copy .section-label { color: var(--gold-light); }
.register .appointment-form { border-top: 3px solid var(--gold); }
html[lang="ar"] .flow-step h4 { letter-spacing: 0 !important; text-transform: none; }
