/* ALFARAWI — الفروي للمقاولات والتصاميم الهندسية */

:root {
  /* Gold palette derived from the logo */
  --gold-1: #E6CF95;
  --gold-2: #C9A45C;
  --gold-3: #A77E3C;
  --gold-deep: #8A6328;
  --gold-grad: linear-gradient(135deg, #E9D5A1 0%, #C9A45C 45%, #9A7233 100%);
  --gold-line: linear-gradient(90deg, transparent, var(--gold-2), transparent);

  /* Ink / dark */
  --ink: #14120F;
  --ink-1: #1C1915;
  --ink-2: #26221C;
  --ink-soft: #3A352D;

  /* Light / warm neutrals */
  --cream: #F8F4EC;
  --ivory: #FCFAF4;
  --sand: #EFE7D8;
  --sand-2: #E5DAC6;

  /* Text */
  --text-dark: #211D17;
  --text-mid: #6B6355;
  --text-light: #C9BFB0;
  --text-on-dark: #EFE9DC;
  --text-on-dark-mid: #A89E8C;

  --maxw: 1240px;
  --gut: clamp(20px, 5vw, 64px);
  --r: 4px;

  --font-display: 'El Messiri', 'Tajawal', serif;
  --font-body: 'Tajawal', sans-serif;
  --font-latin: 'Cormorant Garamond', serif;

  --shadow-soft: 0 24px 60px -28px rgba(20,18,15,.45);
  --shadow-card: 0 18px 50px -30px rgba(20,18,15,.5);

  /* --- Dynamic Theme Variables (Light Mode) --- */
  --bg-page: var(--ivory);
  --bg-card: rgba(255, 255, 255, 0.45);
  --bg-card-hover: #ffffff;
  --border-card: rgba(200, 160, 80, 0.08);
  --text-primary: var(--text-dark);
  --text-secondary: var(--text-mid);
  --bg-cream-grad: linear-gradient(180deg, var(--ivory) 0%, var(--cream) 100%);
  --bg-section-alternate: var(--cream);
  --theme-transition: background-color 0.4s ease, color 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease, background 0.4s ease;
}

[data-theme="dark"] {
  --bg-page: var(--ink);
  --bg-card: rgba(28, 25, 21, 0.6);
  --bg-card-hover: var(--ink-2);
  --border-card: rgba(200, 160, 80, 0.15);
  --text-primary: var(--text-on-dark);
  --text-secondary: var(--text-on-dark-mid);
  --bg-cream-grad: linear-gradient(180deg, var(--ink) 0%, var(--ink-1) 100%);
  --bg-section-alternate: var(--ink-1);
}

html[lang="en"] {
  --font-display: 'Cormorant Garamond', 'Outfit', serif;
  --font-body: 'Outfit', sans-serif;
}

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

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  transition: var(--theme-transition);
}

h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 700; line-height: 1.2; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
section { position: relative; }

.wrap { max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gut); }

/* ---------- Shared helpers & dark mode ---------- */
.on-dark {
  background: var(--ink);
  color: var(--text-on-dark);
}

.gold-text {
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 2px;
  color: var(--gold-3);
  text-transform: none;
}
.eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--gold-2);
}
.on-dark .eyebrow { color: var(--gold-1); }

.section-head { max-width: 720px; margin-bottom: clamp(40px, 5vw, 72px); }
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  margin: 18px 0 0;
  letter-spacing: -.5px;
}
.section-head p { color: var(--text-secondary); font-size: clamp(16px, 1.4vw, 19px); margin-top: 16px; transition: var(--theme-transition); }
.center { text-align: center; margin-inline: auto; }
.center .eyebrow { justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-body); font-weight: 700; font-size: 16px;
  padding: 15px 30px; border-radius: var(--r);
  cursor: pointer; border: none; transition: .35s cubic-bezier(.2,.7,.3,1);
  position: relative; white-space: nowrap;
}
.btn svg { width: 19px; height: 19px; }
.btn-gold {
  background: var(--gold-grad); color: #2A1F0C;
  box-shadow: 0 12px 30px -12px rgba(160,120,40,.7);
}
.btn-gold:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -14px rgba(160,120,40,.85); }
.btn-ghost {
  background: transparent; color: var(--text-on-dark);
  border: 1px solid rgba(230,207,149,.4);
}
.btn-ghost:hover { border-color: var(--gold-1); background: rgba(230,207,149,.08); }
.btn-dark { background: var(--ink); color: var(--text-on-dark); }
.btn-dark:hover { transform: translateY(-3px); background: var(--ink-2); }

/* ---------- Header ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  padding: 18px 0; transition: .4s ease;
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.site-header.scrolled {
  background: rgba(20,18,15,.86);
  backdrop-filter: blur(14px);
  padding: 10px 0;
  box-shadow: 0 1px 0 rgba(230,207,149,.12);
}
.brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand img { height: 52px; width: auto; transition: .4s ease; filter: brightness(0) invert(1) drop-shadow(0 4px 14px rgba(0,0,0,.35)); }
.site-header.scrolled .brand img { height: 42px; }
.brand-tx { display: flex; flex-direction: column; line-height: 1.25; direction: ltr; }
.brand-tx b { font-family: var(--font-latin); font-size: 21px; letter-spacing: 3px; color: #ffffff; font-weight: 600; direction: ltr; display: inline-block; unicode-bidi: isolate; }
.brand-tx span { font-size: 12px; color: var(--text-on-dark-mid); }

.nav { display: flex; align-items: center; gap: clamp(14px, 2.2vw, 34px); }
.nav a {
  font-size: 16px; font-weight: 500; color: var(--text-on-dark);
  position: relative; padding: 4px 0; transition: color .25s;
  white-space: nowrap;
}
.nav a::after {
  content: ""; position: absolute; bottom: -2px; right: 0; height: 2px; width: 0;
  background: var(--gold-grad); transition: width .3s ease;
}
.nav a:hover { color: var(--gold-1); }
.nav a:hover::after { width: 100%; }

.header-cta { display: flex; align-items: center; gap: 14px; }
.header-controls { display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; background: none; border: none; cursor: pointer; flex-direction: column; gap: 5px; padding: 8px; }
.menu-btn span { width: 26px; height: 2px; background: var(--gold-1); transition: .3s; }

.theme-toggle-btn {
  background: none;
  border: none;
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-1);
  transition: background-color 0.3s, transform 0.3s;
}
.theme-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  transform: scale(1.05);
}
.theme-toggle-btn svg {
  width: 22px;
  height: 22px;
  stroke: var(--gold-1);
}
html[data-theme="dark"] .theme-toggle-btn .moon-icon { display: none; }
html:not([data-theme="dark"]) .theme-toggle-btn .sun-icon { display: none; }

.lang-toggle-btn {
  background: none;
  border: 1px solid rgba(230, 207, 149, 0.22);
  cursor: pointer;
  padding: 6px 14px;
  border-radius: 30px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--gold-1);
  font-family: var(--font-body);
  font-size: 13.5px;
  font-weight: 700;
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.lang-toggle-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--gold-1);
  transform: translateY(-1px);
}
.lang-toggle-btn svg {
  width: 15px;
  height: 15px;
  stroke: var(--gold-1);
}

/* --- LTR Layout Mirroring Overrides --- */
html[lang="en"] .about-body .lead {
  border-right: none;
  padding-right: 0;
  border-left: 3px solid var(--gold-2);
  padding-left: 18px;
}
html[lang="en"] .about-points {
  text-align: left;
}
html[lang="en"] .about-figure .badge {
  left: auto;
  right: -24px;
}
html[lang="en"] .about-figure .frame {
  inset: 24px 24px -24px -24px;
}
html[lang="en"] .about-figure:hover .frame {
  inset: 16px 16px -16px -16px;
}
html[lang="en"] .nav a::after {
  right: auto;
  left: 0;
}

/* ---------- Hero ---------- */
.hero {
  min-height: 100svh; display: flex; align-items: center;
  background: var(--ink); color: var(--text-on-dark); overflow: hidden;
  padding-top: 120px; padding-bottom: 60px;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .42; }
.hero-bg::after {
  content: ""; position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(20,18,15,.96) 18%, rgba(20,18,15,.55) 60%, rgba(20,18,15,.78) 100%),
    linear-gradient(0deg, var(--ink), transparent 40%);
}
.hero .wrap { position: relative; z-index: 2; width: 100%; }
.hero-inner { max-width: 760px; }
.hero h1 {
  font-size: clamp(40px, 6.6vw, 86px);
  letter-spacing: -1px; margin: 22px 0 0;
}
.hero h1 .gold-text { display: inline-block; }
.hero p {
  font-size: clamp(17px, 1.7vw, 22px); color: var(--text-on-dark-mid);
  margin: 26px 0 38px; max-width: 600px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; }
.hero-meta {
  margin-top: 56px; display: flex; flex-wrap: wrap; gap: 40px;
  padding-top: 30px; border-top: 1px solid rgba(230,207,149,.16);
}
.hero-meta div b { font-family: var(--font-latin); font-size: 34px; color: var(--gold-1); display: block; line-height: 1; }
.hero-meta div span { font-size: 14px; color: var(--text-on-dark-mid); }

.scroll-cue {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px;
  color: var(--text-on-dark-mid); font-size: 12px; letter-spacing: 1px;
}
.scroll-cue .mouse { width: 24px; height: 38px; border: 1.5px solid rgba(230,207,149,.5); border-radius: 14px; position: relative; }
.scroll-cue .mouse::after {
  content: ""; position: absolute; top: 7px; left: 50%; transform: translateX(-50%);
  width: 3px; height: 7px; background: var(--gold-1); border-radius: 3px;
  animation: wheel 1.6s infinite;
}
@keyframes wheel { 0%{opacity:0;transform:translate(-50%,0)} 40%{opacity:1} 100%{opacity:0;transform:translate(-50%,11px)} }

/* ---------- Marquee strip ---------- */
.strip {
  background: var(--ink-2); color: var(--gold-1); overflow: hidden;
  border-block: 1px solid rgba(230,207,149,.14); padding: 16px 0;
}
.strip-track { display: flex; gap: 60px; white-space: nowrap; animation: marquee 30s linear infinite; width: max-content; }
.strip-track span { font-family: var(--font-display); font-size: 19px; display: inline-flex; align-items: center; gap: 60px; }
.strip-track span::after { content: "✦"; color: var(--gold-3); font-size: 13px; }
@keyframes marquee { to { transform: translateX(50%); } }

/* ---------- About ---------- */
.about {
  padding: clamp(90px, 10vw, 150px) 0;
  background: var(--bg-cream-grad);
  position: relative;
  transition: var(--theme-transition);
}
.about::before {
  content: "";
  position: absolute;
  top: 10%; right: 5%;
  width: 180px; height: 180px;
  border: 1px solid rgba(200, 160, 80, 0.07);
  border-radius: 50%;
  pointer-events: none;
}
.about-grid { display: grid; grid-template-columns: 1fr 1.05fr; gap: clamp(40px, 6vw, 90px); align-items: center; }
.about-figure { position: relative; }
.about-figure .main-img {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 30px 70px -25px rgba(20, 18, 15, 0.25);
  aspect-ratio: 4/5;
  border: 1px solid rgba(255, 255, 255, 0.8);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-figure:hover .main-img {
  transform: translateY(-5px);
}
.about-figure .main-img img { width: 100%; height: 100%; object-fit: cover; }
.about-figure .badge {
  position: absolute;
  bottom: -24px;
  left: -24px;
  background: rgba(20, 18, 15, 0.95);
  color: var(--text-on-dark);
  padding: 24px 30px;
  border-radius: 12px;
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(200, 160, 80, 0.22);
  backdrop-filter: blur(10px);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 10;
}
.about-figure:hover .badge {
  transform: translateY(-2px);
  border-color: var(--gold-2);
  box-shadow: 0 25px 60px -10px rgba(200, 160, 80, 0.2);
}
.about-figure .badge b {
  font-family: var(--font-latin);
  font-size: 48px;
  font-weight: 700;
  color: transparent;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  display: block;
  line-height: 1;
  margin-bottom: 2px;
}
.about-figure .badge span {
  font-size: 13px;
  color: var(--text-on-dark-mid);
  letter-spacing: 0.5px;
  display: block;
}
.about-figure .frame {
  position: absolute;
  inset: 24px -24px -24px 24px;
  border: 2px solid var(--gold-2);
  opacity: 0.4;
  border-radius: 12px;
  z-index: -1;
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-figure:hover .frame {
  inset: 16px -16px -16px 16px;
  opacity: 0.75;
  border-color: var(--gold-1);
}
.about-body h2 {
  font-size: clamp(32px, 4vw, 50px);
  margin: 20px 0 0;
  letter-spacing: -.5px;
  color: var(--text-primary);
  transition: var(--theme-transition);
}
.about-body .lead {
  font-size: 20px;
  color: var(--text-primary);
  margin: 24px 0;
  font-weight: 600;
  border-right: 3px solid var(--gold-2);
  padding-right: 18px;
  line-height: 1.6;
  transition: var(--theme-transition);
}
.about-body p { color: var(--text-secondary); margin-bottom: 18px; transition: var(--theme-transition); }
.about-points {
  list-style: none;
  display: grid;
  gap: 18px;
  margin-top: 36px;
}
.about-points li {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 20px 24px;
  border-radius: 12px;
  box-shadow: 0 4px 24px -6px rgba(20, 18, 15, 0.02);
  transition: var(--theme-transition), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.about-points li:hover {
  transform: translateY(-3px) scale(1.01);
  background: var(--bg-card-hover);
  border-color: rgba(200, 160, 80, 0.25);
  box-shadow: 0 20px 40px -15px rgba(200, 160, 80, 0.12);
}
.about-points .ic {
  flex: none;
  width: 36px; height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--gold-grad);
  color: #2A1F0C;
  box-shadow: 0 4px 10px rgba(200, 160, 80, 0.2);
  transition: transform 0.3s ease;
}
.about-points li:hover .ic {
  transform: rotate(15deg) scale(1.1);
}
.about-points .ic svg { width: 18px; height: 18px; }
.about-points li b {
  font-size: 16.5px;
  color: var(--text-primary);
  display: block;
  margin-bottom: 4px;
  font-weight: 700;
  transition: var(--theme-transition);
}
.about-points li p {
  margin: 0;
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.6;
  transition: var(--theme-transition);
}
.signature {
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px dashed rgba(200, 160, 80, 0.25);
  display: flex;
  align-items: center;
  gap: 18px;
}
.signature .sig-name {
  font-family: var(--font-display);
  font-size: 23px;
  font-weight: 700;
  color: transparent;
  background: var(--gold-grad);
  -webkit-background-clip: text;
  background-clip: text;
  display: inline-block;
}
.signature .sig-role {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin-top: 2px;
  display: block;
  transition: var(--theme-transition);
}

/* ---------- Services ---------- */
.services { padding: clamp(80px, 9vw, 140px) 0; background: var(--ink); color: var(--text-on-dark); }
.services.on-dark .section-head p { color: var(--text-on-dark-mid); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: rgba(230,207,149,.14); border: 1px solid rgba(230,207,149,.14); border-radius: var(--r); overflow: hidden; }
.service-card {
  background: var(--ink-1); padding: 42px 34px; transition: .4s ease; position: relative; overflow: hidden;
}
.service-card::before {
  content: ""; position: absolute; inset: 0; opacity: 0; transition: .4s ease;
  background: radial-gradient(120% 120% at 100% 0, rgba(201,164,92,.16), transparent 55%);
}
.service-card:hover { background: var(--ink-2); }
.service-card:hover::before { opacity: 1; }
.service-card .num { font-family: var(--font-latin); font-size: 15px; color: var(--gold-3); letter-spacing: 1px; }
.service-card .ic {
  width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; margin: 18px 0 22px;
  border: 1px solid rgba(230,207,149,.3); color: var(--gold-1); transition: .4s;
}
.service-card:hover .ic { background: var(--gold-grad); color: var(--ink); border-color: transparent; }
.service-card .ic svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 23px; margin-bottom: 12px; }
.service-card p { color: var(--text-on-dark-mid); font-size: 15.5px; }

/* ---------- Stats ---------- */
.stats { background: var(--ink-2); padding: 70px 0; border-top: 1px solid rgba(230,207,149,.12); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; text-align: center; }
.stat b { font-family: var(--font-latin); font-size: clamp(44px, 5.5vw, 68px); color: transparent; background: var(--gold-grad); -webkit-background-clip: text; background-clip: text; line-height: 1; display: block; }
.stat span { color: var(--text-on-dark-mid); font-size: 15px; margin-top: 8px; display: block; }

/* ---------- Projects ---------- */
.projects { padding: clamp(80px, 9vw, 140px) 0; background: var(--bg-section-alternate); transition: var(--theme-transition); }
.proj-top { display: flex; justify-content: space-between; align-items: flex-end; flex-wrap: wrap; gap: 24px; }
.filters { display: flex; gap: 10px; flex-wrap: wrap; }
.filter {
  font-family: var(--font-body); font-weight: 600; font-size: 15px; cursor: pointer;
  padding: 10px 22px; border-radius: 40px; border: 1px solid var(--border-card); background: transparent; color: var(--text-secondary);
  transition: var(--theme-transition);
}
.filter:hover { border-color: var(--gold-2); color: var(--gold-3); }
.filter.active { background: var(--ink); color: var(--gold-1); border-color: var(--ink); }
.gallery { margin-top: 48px; display: grid; grid-template-columns: repeat(12, 1fr); gap: 18px; }
.tile {
  position: relative; overflow: hidden; border-radius: var(--r); cursor: pointer;
  background: var(--sand); transition: opacity .45s ease, transform .45s ease;
}
.tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s cubic-bezier(.2,.7,.3,1); }
.tile::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(20,18,15,.82) 0%, rgba(20,18,15,0) 45%);
  opacity: 0; transition: .4s;
}
.tile:hover img { transform: scale(1.07); }
.tile:hover::after { opacity: 1; }
.tile .cap {
  position: absolute; right: 22px; bottom: 18px; left: 22px; z-index: 2; color: #fff;
  transform: translateY(12px); opacity: 0; transition: .4s ease;
}
.tile:hover .cap { transform: translateY(0); opacity: 1; }
.tile .cap b { font-family: var(--font-display); font-size: 21px; display: block; }
.tile .cap span { font-size: 13px; color: var(--gold-1); }
.tile .tag {
  position: absolute; top: 16px; right: 16px; z-index: 2; font-size: 12px; font-weight: 700;
  padding: 5px 13px; border-radius: 30px; background: rgba(20,18,15,.55); color: var(--gold-1);
  backdrop-filter: blur(6px); opacity: 0; transition: .4s;
}
.tile:hover .tag { opacity: 1; }
/* gallery layout spans */
.tile.s4 { grid-column: span 4; aspect-ratio: 4/5; }
.tile.s6 { grid-column: span 6; aspect-ratio: 16/10; }
.tile.s8 { grid-column: span 8; aspect-ratio: 16/9; }
.tile.s12 { grid-column: span 12; }
.tile.hide { display: none; }

/* ---------- Process ---------- */
.process { padding: clamp(80px, 9vw, 140px) 0; background: var(--bg-page); transition: var(--theme-transition); }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; counter-reset: step; }
.step { position: relative; padding-top: 30px; }
.step .line { position: absolute; top: 36px; right: 0; left: 0; height: 1px; background: var(--border-card); transition: var(--theme-transition); }
.step .dot {
  width: 16px; height: 16px; border-radius: 50%; background: var(--bg-page); border: 2px solid var(--gold-2);
  position: relative; z-index: 2; margin-bottom: 26px; transition: var(--theme-transition);
}
.step .dot::after { content: ""; position: absolute; inset: 3px; border-radius: 50%; background: var(--gold-grad); }
.step .n { font-family: var(--font-latin); font-size: 16px; color: var(--gold-3); letter-spacing: 1px; }
.step h3 { font-size: 22px; margin: 8px 0 10px; }
.step p { color: var(--text-secondary); font-size: 15px; transition: var(--theme-transition); }

/* ---------- CTA banner ---------- */
.cta-band { padding: clamp(70px, 8vw, 120px) 0; background: var(--ink); color: var(--text-on-dark); text-align: center; position: relative; overflow: hidden; }
.cta-band .glow { position: absolute; inset: 0; background: radial-gradient(60% 90% at 50% 0, rgba(201,164,92,.22), transparent 60%); }
.cta-band .wrap { position: relative; z-index: 2; }
.cta-band h2 { font-size: clamp(30px, 4.4vw, 56px); letter-spacing: -.5px; }
.cta-band p { color: var(--text-on-dark-mid); font-size: 19px; margin: 18px auto 36px; max-width: 560px; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ---------- Contact ---------- */
.contact { padding: clamp(80px, 9vw, 140px) 0; background: var(--bg-section-alternate); transition: var(--theme-transition); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(40px, 6vw, 80px); align-items: start; }
.contact-info .ci-item { display: flex; gap: 18px; align-items: flex-start; padding: 22px 0; border-bottom: 1px solid var(--border-card); transition: var(--theme-transition); }
.contact-info .ci-item:first-of-type { padding-top: 0; }
.ci-item .ic { flex: none; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--gold-1); }
.ci-item .ic svg { width: 23px; height: 23px; }
.ci-item .t span { font-size: 14px; color: var(--text-secondary); display: block; transition: var(--theme-transition); }
.ci-item .t b { font-size: 19px; font-weight: 700; color: var(--text-primary); direction: ltr; display: inline-block; transition: var(--theme-transition); }
.ci-item .t b.rtl { direction: rtl; }
.social { display: flex; gap: 12px; margin-top: 30px; }
.social a { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; border: 1px solid var(--border-card); color: var(--text-secondary); transition: var(--theme-transition); }
.social a:hover { background: var(--ink); color: var(--gold-1); border-color: var(--ink); transform: translateY(-3px); }
.social a svg { width: 20px; height: 20px; }

.contact-form { background: var(--bg-card); padding: clamp(28px, 4vw, 44px); border-radius: var(--r); box-shadow: var(--shadow-card); border: 1px solid var(--border-card); transition: var(--theme-transition); }
.contact-form h3 { font-size: 26px; margin-bottom: 6px; }
.contact-form .sub { color: var(--text-secondary); font-size: 15px; margin-bottom: 26px; transition: var(--theme-transition); }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; color: var(--text-primary); transition: var(--theme-transition); }
.field input, .field textarea, .field select {
  width: 100%; font-family: var(--font-body); font-size: 16px; padding: 14px 16px;
  border: 1px solid var(--border-card); border-radius: var(--r); background: var(--bg-card-hover); color: var(--text-primary); transition: var(--theme-transition);
}
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--gold-2); box-shadow: 0 0 0 3px rgba(201,164,92,.16); }
.field textarea { resize: vertical; min-height: 110px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact-form .btn { width: 100%; justify-content: center; margin-top: 6px; }
.form-note { text-align: center; font-size: 13px; color: var(--text-secondary); margin-top: 14px; transition: var(--theme-transition); }

/* ---------- Footer ---------- */
.footer { background: var(--ink); color: var(--text-on-dark); padding: 70px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 50px; padding-bottom: 50px; }
.footer .brand img { height: 64px; filter: brightness(0) invert(1); }
.footer-about p { color: var(--text-on-dark-mid); margin-top: 20px; max-width: 340px; font-size: 15px; }
.footer h4 { color: var(--gold-1); font-size: 18px; margin-bottom: 20px; }
.footer ul { list-style: none; display: grid; gap: 12px; }
.footer ul a { color: var(--text-on-dark-mid); font-size: 15px; transition: .25s; }
.footer ul a:hover { color: var(--gold-1); padding-inline-start: 6px; }
.footer-bottom { border-top: 1px solid rgba(230,207,149,.14); padding: 24px 0; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { color: var(--text-on-dark-mid); font-size: 14px; }
.footer-bottom .made { color: var(--gold-3); }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed; bottom: 26px; left: 26px; z-index: 90;
  width: 60px; height: 60px; border-radius: 50%; background: #25D366; color: #fff;
  display: grid; place-items: center; box-shadow: 0 14px 34px -10px rgba(37,211,102,.6);
  transition: .35s; animation: wa-pop .5s .8s both;
}
.wa-float:hover { transform: scale(1.08) translateY(-2px); }
.wa-float svg { width: 32px; height: 32px; }
@keyframes wa-pop { from { transform: scale(0); } to { transform: scale(1); } }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; z-index: 200; background: rgba(15,13,10,.94);
  display: none; align-items: center; justify-content: center; padding: 5vw;
  opacity: 0; transition: opacity .3s;
}
.lightbox.open { display: flex; opacity: 1; }
.lightbox img { max-width: 92vw; max-height: 82vh; border-radius: var(--r); box-shadow: var(--shadow-soft); }
.lb-cap { position: absolute; bottom: 4vh; left: 0; right: 0; text-align: center; color: var(--text-on-dark); font-family: var(--font-display); font-size: 20px; }
.lb-cap span { color: var(--gold-1); }
.lb-close, .lb-nav { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(230,207,149,.3); color: var(--gold-1); width: 52px; height: 52px; border-radius: 50%; cursor: pointer; display: grid; place-items: center; transition: .25s; }
.lb-close:hover, .lb-nav:hover { background: var(--gold-grad); color: var(--ink); }
.lb-close { top: 4vh; left: 4vw; }
.lb-nav svg, .lb-close svg { width: 24px; height: 24px; }
.lb-prev { left: 3vw; top: 50%; transform: translateY(-50%); }
.lb-next { right: 3vw; top: 50%; transform: translateY(-50%); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s cubic-bezier(.2,.7,.3,1), transform .8s cubic-bezier(.2,.7,.3,1); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .08s; } .reveal.d2 { transition-delay: .16s; }
.reveal.d3 { transition-delay: .24s; } .reveal.d4 { transition-delay: .32s; }

/* ---------- Mobile nav ---------- */
/* ---------- Mobile nav ---------- */
.mobile-nav {
  position: fixed; 
  inset: 0; 
  z-index: 101; /* Renders above the header (z-index: 100) to hide clashing controls */
  background: rgba(20, 18, 15, 0.97); 
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex; 
  flex-direction: column;
  justify-content: space-between;
  padding: 30px 24px 50px;
  transform: translateX(100%); 
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}
.mobile-nav.open { 
  transform: translateX(0); 
}

/* Header inside mobile nav */
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-bottom: 1px solid rgba(230, 207, 149, 0.1);
  padding-bottom: 20px;
}
.mobile-nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.mobile-nav-logo img {
  height: 40px;
  width: auto;
  filter: brightness(0) invert(1) drop-shadow(0 4px 10px rgba(0,0,0,.3));
}
.mobile-nav-logo b {
  font-family: var(--font-latin);
  font-size: 19px;
  letter-spacing: 2px;
  color: #ffffff;
}
.mobile-nav .mclose {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(230, 207, 149, 0.22);
  color: var(--gold-1);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s;
}
.mobile-nav .mclose:hover {
  background: rgba(230, 207, 149, 0.1);
  border-color: var(--gold-1);
  transform: rotate(90deg);
}
.mobile-nav .mclose svg {
  width: 20px;
  height: 20px;
}

/* Links inside mobile nav */
.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-block: auto;
}
.mobile-nav-links a {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 600;
  color: var(--text-on-dark-mid);
  position: relative;
  padding: 6px 12px;
  transition: color 0.3s, transform 0.3s;
  opacity: 0;
  transform: translateY(15px);
}
.mobile-nav.open .mobile-nav-links a {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.5s ease var(--delay), transform 0.5s cubic-bezier(0.16, 1, 0.3, 1) var(--delay);
}
/* Staggered delay for nav links */
.mobile-nav-links a:nth-child(1) { --delay: 0.1s; }
.mobile-nav-links a:nth-child(2) { --delay: 0.15s; }
.mobile-nav-links a:nth-child(3) { --delay: 0.2s; }
.mobile-nav-links a:nth-child(4) { --delay: 0.25s; }
.mobile-nav-links a:nth-child(5) { --delay: 0.3s; }
.mobile-nav-links a:nth-child(6) { --delay: 0.35s; }

.mobile-nav-links a:hover, .mobile-nav-links a:active {
  color: var(--gold-1);
  transform: scale(1.05);
}

/* Footer inside mobile nav */
.mobile-nav-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
}
.mobile-nav-footer .btn-gold {
  width: 100%;
  max-width: 290px;
  justify-content: center;
  font-size: 16px;
  padding: 14px 28px;
}
.mobile-nav-social {
  display: flex;
  gap: 16px;
}
.mobile-nav-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  border: 1px solid rgba(230, 207, 149, 0.15);
  color: var(--text-on-dark-mid);
  transition: all 0.3s;
}
.mobile-nav-social a:hover {
  background: var(--gold-grad);
  color: #2A1F0C;
  border-color: transparent;
  transform: translateY(-3px);
}
.mobile-nav-social a svg {
  width: 18px;
  height: 18px;
}

/* ---------- Responsive (Consolidated at the end of the file) ---------- */

/* ======================================================
   INTRO SCREEN — شاشة الافتتاح
   ====================================================== */
#intro-screen {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: #ffffff; /* Premium white background */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
#intro-screen.intro-exit {
  animation: introExit 0.9s cubic-bezier(0.76, 0, 0.24, 1) forwards;
}
@keyframes introExit {
  0%   { clip-path: inset(0 0 0 0); opacity: 1; }
  100% { clip-path: inset(0 0 100% 0); opacity: 1; }
}

/* particles */
.intro-particles {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.intro-particles span {
  position: absolute;
  width: 2px;
  height: 2px;
  background: #c8a050;
  border-radius: 50%;
  opacity: 0;
  animation: particleFloat var(--dur, 3s) ease-in-out var(--delay, 0s) infinite;
}
@keyframes particleFloat {
  0%   { opacity: 0; transform: translateY(0) scale(1); }
  20%  { opacity: 0.8; }
  80%  { opacity: 0.4; }
  100% { opacity: 0; transform: translateY(-120px) scale(0.3); }
}

/* center content */
.intro-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}

/* Concentric rotating gold borders around logo */
.intro-ring {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 2px solid transparent;
  border-top-color: var(--gold-2);
  border-bottom-color: rgba(200, 160, 80, 0.2);
  border-radius: 50%;
  top: -40px;
  left: -40px;
  z-index: 1;
  pointer-events: none;
  animation: rotateOuter 3s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}
.intro-ring::after {
  content: "";
  position: absolute;
  inset: 16px;
  border: 1px solid transparent;
  border-left-color: var(--gold-1);
  border-right-color: rgba(200, 160, 80, 0.15);
  border-radius: 50%;
  animation: rotateInner 4s linear infinite reverse;
}
@keyframes rotateOuter {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
@keyframes rotateInner {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* logo */
.intro-logo {
  opacity: 0;
  transform: scale(0.8) translateY(15px);
  animation: logoIn 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.3s forwards;
  margin-bottom: 32px;
  position: relative;
  z-index: 2;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(200, 160, 80, 0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.intro-logo img {
  width: 90px;
  height: auto;
  filter: drop-shadow(0 4px 15px rgba(200, 160, 80, 0.25));
}
@keyframes logoIn {
  to { opacity: 1; transform: scale(1) translateY(0); }
}

/* gold divider line */
.intro-line {
  width: 220px;
  height: 1px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  overflow: hidden;
}
.intro-line span {
  display: block;
  height: 1px;
  width: 0;
  background: linear-gradient(90deg, transparent, #c8a050 40%, #a77e3c 50%, #c8a050 60%, transparent);
  animation: lineGrow 0.7s cubic-bezier(0.22, 1, 0.36, 1) 1.0s forwards;
}
@keyframes lineGrow {
  to { width: 220px; }
}

/* brand name with cinematic text spacing animation */
.intro-brand {
  opacity: 0;
  transform: translateY(12px);
  animation: brandContainerIn 0.8s cubic-bezier(0.16, 1, 0.3, 1) 1.0s forwards;
  text-align: center;
}
.intro-brand b {
  display: block;
  font-family: 'Cormorant Garamond', 'El Messiri', serif;
  font-size: clamp(2rem, 5vw, 2.8rem);
  font-weight: 700;
  background: linear-gradient(135deg, #c9a45c 0%, #a77e3c 50%, #8a6328 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1.1;
  letter-spacing: 0.35em;
  filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
  direction: ltr;
  unicode-bidi: isolate;
  animation: letterTrack 1.8s cubic-bezier(0.16, 1, 0.3, 1) 1.0s both;
}
.intro-brand span {
  display: block;
  font-family: 'Cairo', sans-serif;
  font-size: clamp(0.75rem, 2vw, 0.9rem);
  color: rgba(20, 18, 15, 0.65); /* Dark gray for white background contrast */
  letter-spacing: 0.12em;
  margin-top: 8px;
}
@keyframes brandContainerIn {
  to { opacity: 1; transform: translateY(0); }
}
@keyframes letterTrack {
  from { letter-spacing: 0.1em; }
  to { letter-spacing: 0.35em; }
}

/* tagline */
.intro-tagline {
  opacity: 0;
  font-family: 'Cairo', sans-serif;
  font-size: 0.8rem;
  color: var(--gold-deep); /* Dark gold for visibility on white background */
  letter-spacing: 0.2em;
  margin-top: 18px;
  animation: taglineIn 0.8s ease 1.8s forwards;
}
@keyframes taglineIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 0.75; transform: translateY(0); }
}

/* prevent scroll while intro active */
body.intro-active {
  overflow: hidden;
}

/* ======================================================
   TESTIMONIALS — آراء العملاء
   ====================================================== */
.testimonials { padding: 100px 0; }
.testi-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
  margin-top: 56px;
}
.testi-card {
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(200,160,80,.12);
  border-radius: 16px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  transition: border-color .3s, transform .3s;
}
.testi-card:hover { border-color: rgba(200,160,80,.4); transform: translateY(-4px); }
.testi-stars { color: #c8a050; font-size: 1.1rem; letter-spacing: 3px; }
.testi-text {
  font-family: 'Cairo', sans-serif;
  font-size: .95rem;
  line-height: 1.85;
  color: rgba(255,255,255,.75);
  flex: 1;
}
.testi-author { display: flex; align-items: center; gap: 14px; margin-top: 10px; }
.testi-author span { font-size: .9rem; color: var(--gold-1); font-weight: 500; }
.testi-dots { display: none; }

/* ======================================================
   TEAM — قسم الفريق
   ====================================================== */
.team { padding: 100px 0; background: #0f0f0f; }
.team-card {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: center;
  background: linear-gradient(135deg, rgba(200,160,80,.06) 0%, rgba(255,255,255,.03) 100%);
  border: 1px solid rgba(200,160,80,.15);
  border-radius: 20px;
  padding: 56px 60px;
  margin-top: 56px;
}
.team-avatar {
  position: relative;
  width: 200px; height: 200px;
  margin: 0 auto;
  display: flex; align-items: center; justify-content: center;
}
.team-avatar-ring {
  position: absolute; inset: 0;
  border: 2px solid rgba(200,160,80,.3);
  border-radius: 50%;
  animation: ringPulse 3s ease infinite;
}
.team-avatar-inner {
  width: 160px; height: 160px;
  border-radius: 50%;
  background: radial-gradient(circle at 40% 35%, rgba(200,160,80,.15), rgba(0,0,0,.5));
  border: 1px solid rgba(200,160,80,.25);
  display: flex; align-items: center; justify-content: center;
}
.team-avatar-inner svg { width: 80px; height: 80px; }
.team-info h3 {
  font-family: 'El Messiri', sans-serif;
  font-size: clamp(1.5rem, 3vw, 2rem);
  color: #e8d5a0;
  margin-bottom: 6px;
}
.team-role {
  display: inline-block;
  font-family: 'Cairo', sans-serif;
  font-size: .8rem;
  color: #c8a050;
  letter-spacing: .1em;
  margin-bottom: 20px;
  background: rgba(200,160,80,.1);
  padding: 4px 14px;
  border-radius: 20px;
  border: 1px solid rgba(200,160,80,.2);
}
.team-info p {
  font-family: 'Cairo', sans-serif;
  font-size: .95rem;
  line-height: 1.9;
  color: rgba(255,255,255,.65);
  margin-bottom: 24px;
}
.team-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 28px; }
.team-badges span {
  font-family: 'Cairo', sans-serif;
  font-size: .78rem;
  color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 6px;
  padding: 4px 12px;
}
.team-stats {
  display: flex;
  gap: 36px;
}
.team-stats div { text-align: center; }
.team-stats b {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-size: 2rem;
  color: #c8a050;
  line-height: 1;
}
.team-stats span {
  font-family: 'Cairo', sans-serif;
  font-size: .78rem;
  color: rgba(255,255,255,.45);
}

/* ======================================================
   MAP — خريطة الموقع
   ====================================================== */
.map-wrap {
  margin-top: 60px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(200,160,80,.15);
  height: 360px;
}
.map-wrap iframe { width: 100%; height: 100%; display: block; border: 0; filter: grayscale(.3); }

/* ======================================================
   BACK TO TOP — زر الرجوع للأعلى
   ====================================================== */
.back-top {
  position: fixed;
  bottom: 100px;
  left: 28px;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #c8a050;
  border: none;
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  color: #000;
  z-index: 9000;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .3s, transform .3s, background .2s;
  pointer-events: none;
}
.back-top.visible { opacity: 1; transform: translateY(0); pointer-events: all; }
.back-top:hover { background: #e0b860; }
.back-top svg { width: 20px; height: 20px; }

/* ======================================================
   RESPONSIVE DESIGN (CONSOLIDATED & MOBILE OPTIMIZED)
   ====================================================== */
@media (max-width: 1024px) {
  /* Header & Navigation */
  .nav, .header-cta .btn { display: none; }
  .menu-btn { display: flex; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-figure { max-width: 480px; margin-inline: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step .line { display: none; }
  .team-card { grid-template-columns: 1fr; text-align: center; padding: 40px; }
  .team-badges { justify-content: center; }
  .team-stats { justify-content: center; }
}

@media (max-width: 760px) {
  /* Hero Section */
  .hero { text-align: center; padding-top: 110px; padding-bottom: 50px; min-height: auto; }
  .hero-inner { margin-inline: auto; }
  .hero p { margin-inline: auto; }
  .hero-actions { justify-content: center; gap: 12px; }
  .hero-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(230,207,149,.15);
  }
  .hero-meta div { text-align: center; }
  .hero-meta div b { font-size: 24px; }
  .hero-meta div span { font-size: 11px; white-space: nowrap; }
  .scroll-cue { display: none; }

  /* About Section */
  .about { padding: 60px 0; }
  .about-grid { gap: 40px; }
  .about-figure { margin-inline: auto; width: 100%; max-width: 420px; }
  .about-figure .badge { position: relative; bottom: auto; left: auto; margin-top: 24px; display: block; width: 100%; text-align: center; }
  .about-figure .frame { display: none; }
  .about-body { text-align: center; }
  .about-body h2 { margin-inline: auto; }
  .about-body p { margin-inline: auto; }
  .about-points { margin-top: 24px; text-align: right; }
  .about-points li { flex-direction: column; align-items: center; text-align: center; gap: 8px; }
  .about-points .ic { margin-inline: auto; }
  .signature { justify-content: center; margin-top: 24px; }

  /* Services Section */
  .services { padding: 60px 0; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { text-align: center; padding: 36px 24px; display: flex; flex-direction: column; align-items: center; }
  .service-card .ic { margin: 10px auto 18px; }

  /* Stats Section */
  .stats { padding: 50px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 20px; }

  /* Projects / Gallery Section */
  .projects { padding: 60px 0; }
  .proj-top { flex-direction: column; align-items: center; text-align: center; }
  .proj-top .section-head { margin-bottom: 24px !important; }
  .filters { justify-content: center; width: 100%; }
  .filter { padding: 8px 18px; font-size: 14px; }
  .gallery { margin-top: 32px; }
  .gallery .tile { grid-column: span 12 !important; aspect-ratio: 16/11 !important; }
  .tile .cap { transform: translateY(0); opacity: 1; background: linear-gradient(0deg, rgba(20,18,15,0.92) 0%, rgba(20,18,15,0) 100%); padding: 16px; right: 0; left: 0; bottom: 0; text-align: center; }
  .tile .tag { opacity: 1; }

  /* Process Steps */
  .process { padding: 60px 0; }
  .steps {
    grid-template-columns: 1fr;
    gap: 48px;
    position: relative;
  }
  .steps::before {
    content: "";
    position: absolute;
    top: 16px;
    bottom: 16px;
    left: 50%;
    width: 2px;
    background: linear-gradient(180deg, var(--gold-2) 0%, rgba(200, 160, 80, 0.15) 100%);
    transform: translateX(-50%);
    z-index: 1;
  }
  .step {
    padding-top: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
  }
  .step .dot {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--bg-page);
    border: 2px solid var(--gold-2);
    position: relative;
    z-index: 3;
    margin-bottom: 16px;
    margin-inline: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 15px rgba(200, 160, 80, 0.2);
    transition: var(--theme-transition);
  }
  .step .dot::after {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: var(--gold-grad);
  }
  .step .n {
    font-family: var(--font-latin);
    font-size: 15px;
    font-weight: 700;
    color: var(--gold-1);
    background: rgba(200, 160, 80, 0.1);
    padding: 3px 14px;
    border-radius: 30px;
    border: 1px solid rgba(200, 160, 80, 0.2);
    margin-bottom: 12px;
    display: inline-block;
    letter-spacing: 0.5px;
  }

  /* Testimonials */
  .testimonials { padding: 60px 0; }
  .testi-track { grid-template-columns: 1fr; gap: 24px; }
  .testi-card { text-align: center; align-items: center; padding: 28px 20px; }
  .testi-author { flex-direction: column; align-items: center; text-align: center; }

  /* Team Section */
  .team { padding: 60px 0; }
  .team-card { padding: 32px 20px; gap: 30px; }
  .team-stats { gap: 20px; justify-content: space-around; width: 100%; }

  /* Contact Section */
  .contact { padding: 60px 0; }
  .contact-grid { gap: 40px; }
  .contact-info .ci-item { flex-direction: column; align-items: center; text-align: center; gap: 12px; padding: 18px 0; }
  .ci-item .ic { margin-inline: auto; }
  .social { justify-content: center; margin-top: 20px; }
  .contact-form { padding: 28px 20px; }
  .contact-form h3 { text-align: center; }
  .contact-form .sub { text-align: center; }
  .form-row { grid-template-columns: 1fr; }
  .map-wrap { height: 260px; margin-top: 30px; }

  /* Footer Section */
  .footer { padding-top: 50px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; padding-bottom: 30px; }
  .footer-about p { margin-inline: auto; }
  .footer-bottom { flex-direction: column; align-items: center; gap: 8px; padding: 20px 0; text-align: center; }
}

@media (max-width: 480px) {
  /* Header branding adjustments to prevent text wrapping on very small screens */
  .brand img { height: 42px; }
  .brand-tx b { font-size: 17px; letter-spacing: 1.5px; }
  .brand-tx span { font-size: 10px; }
  .site-header.scrolled .brand img { height: 34px; }
  
  /* Lightbox buttons sizing for thumb-friendly interaction */
  .lb-nav { width: 40px; height: 40px; }
  .lb-prev { left: 2vw; }
  .lb-next { right: 2vw; }
  .lb-close { top: 2vh; left: 2vw; width: 40px; height: 40px; }
}
