/* ================================================================
   PURE LINE — site.css  |  Dark & Light Mode Architecture
   مؤسسة الخط النقي للمقاولات والمصاعد
   ================================================================ */

/* ── DESIGN TOKENS ──────────────────────────────────────────────── */
:root {
  --gold:        #d4a338;
  --gold-light:  #f5cb68;
  --gold-vivid:  #ffd670;
  --gold-dim:    rgba(212,163,56,.16);
  --shell:       min(1240px, calc(100vw - 40px));
  --radius:      24px;
  --ease:        cubic-bezier(.4,0,.2,1);

  /* Dark Theme (Default) */
  --bg:          #07090d;
  --bg-soft:     #0d1218;
  --bg-card:     #121822;
  --surface:     #1a2330;
  --on-bg:       #f0f4f8;
  --on-bg-muted: rgba(240,244,248,.65);
  --on-bg-dim:   rgba(240,244,248,.38);
  --border:      rgba(255,255,255,.08);
  --border-gold: rgba(212,163,56,.38);
  --ink:         #07090d;
  --muted:       #828c9b;
  --line:        rgba(240,244,248,.09);
  --shadow:      rgba(0,0,0,.55);
  --nav-bg:      rgba(7,9,13,.92);
  --form-bg:     #f6f3eb;
  --form-input:  #ffffff;
  --form-border: #ded9cd;
  --form-text:   #0d1218;
}

[data-theme="light"] {
  --bg:          #f7f5ef;
  --bg-soft:     #eeebe2;
  --bg-card:     #ffffff;
  --surface:     #f3efe5;
  --on-bg:       #111720;
  --on-bg-muted: #4e5868;
  --on-bg-dim:   #7d8796;
  --border:      rgba(17,23,32,.09);
  --border-gold: rgba(201,148,31,.38);
  --ink:         #07090d;
  --muted:       #596373;
  --line:        rgba(17,23,32,.09);
  --shadow:      rgba(17,23,32,.07);
  --nav-bg:      rgba(247,245,239,.95);
  --form-bg:     #ffffff;
  --form-input:  #faf8f4;
  --form-border: #ded9cd;
  --form-text:   #111720;
}

/* ── RESET & BASE ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
  margin: 0;
  font-family: "Cairo", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--on-bg);
  background: var(--bg);
  overflow-x: hidden;
  transition: background .35s var(--ease), color .35s var(--ease);
}
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.shell { width: var(--shell); margin-inline: auto; }
.page-noise {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 100;
  opacity: .02;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 140 140' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
.form-honeypot {
  position: absolute !important;
  inset-inline-start: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

/* ── TOP CONTACT BAR ─────────────────────────────────────────────── */
.contact-bar {
  background: #030508;
  color: rgba(255,255,255,.75);
  font-size: 12px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .35s;
}
[data-theme="light"] .contact-bar {
  background: #141b24;
}
.contact-bar__inner {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.contact-bar p {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}
.status-dot {
  width: 7px;
  height: 7px;
  background: #58c67b;
  border-radius: 50%;
  box-shadow: 0 0 0 4px rgba(88,198,123,.18);
  animation: pulse 2.5s infinite;
}
@keyframes pulse {
  0%,100% { box-shadow: 0 0 0 4px rgba(88,198,123,.18); }
  50% { box-shadow: 0 0 0 9px rgba(88,198,123,.04); }
}
.contact-bar__links {
  display: flex;
  gap: 12px;
  direction: ltr;
  align-items: center;
}
.contact-bar a:hover { color: var(--gold-vivid); }

/* ── SITE HEADER & NAVIGATION ────────────────────────────────────── */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  color: #fff;
  transition: background .35s, box-shadow .35s;
}
[data-theme="light"] .site-header {
  color: var(--on-bg);
}
.site-header.is-scrolled {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 8px 36px var(--shadow);
  border-bottom: 1px solid var(--border);
}
.nav {
  height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img {
  width: 50px;
  height: 50px;
  object-fit: cover;
  border-radius: 13px;
  border: 1px solid rgba(255,255,255,.15);
}
[data-theme="light"] .brand img {
  border-color: var(--border-gold);
}
.brand span {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}
.brand b {
  font-size: 20px;
  font-weight: 900;
  letter-spacing: -.02em;
}
.brand small {
  margin-top: 4px;
  font-size: 9px;
  color: var(--gold-light);
  letter-spacing: .18em;
  direction: ltr;
  font-weight: 700;
}
.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  font-size: 13.5px;
  font-weight: 700;
}
.nav-menu > a:not(.nav-cta) {
  position: relative;
  color: rgba(255,255,255,.78);
  transition: color .2s;
}
[data-theme="light"] .nav-menu > a:not(.nav-cta) {
  color: var(--on-bg-muted);
}
.nav-menu > a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  width: 0;
  height: 2px;
  background: var(--gold);
  transition: width .25s;
}
.nav-menu > a:hover {
  color: #fff !important;
}
[data-theme="light"] .nav-menu > a:hover {
  color: var(--gold) !important;
}
.nav-menu > a:hover::after { width: 100%; }

.nav-cta {
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 999px;
  padding: 10px 22px;
  display: inline-flex;
  gap: 14px;
  align-items: center;
  transition: .25s;
}
[data-theme="light"] .nav-cta {
  border-color: var(--border-gold);
  color: var(--gold);
}
.nav-cta:hover {
  border-color: var(--gold);
  background: var(--gold);
  color: var(--ink) !important;
}

/* Nav Actions (Theme Toggle & Menu Burger) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}
.theme-toggle {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.05);
  color: var(--on-bg);
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 18px;
  transition: border-color .25s, transform .3s, background .25s;
  flex-shrink: 0;
}
.site-header:not(.is-scrolled) .theme-toggle {
  border-color: rgba(255,255,255,.22);
  color: #fff;
}
[data-theme="light"] .site-header:not(.is-scrolled) .theme-toggle {
  border-color: var(--border-gold);
  color: var(--on-bg);
  background: rgba(0,0,0,.03);
}
.theme-toggle:hover {
  border-color: var(--gold);
  transform: rotate(20deg) scale(1.05);
}
.icon-sun { display: none; }
.icon-moon { display: block; }
[data-theme="light"] .icon-sun { display: block; }
[data-theme="light"] .icon-moon { display: none; }

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 10px;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 12px;
  background: rgba(255,255,255,.06);
  color: #fff;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: stretch;
  gap: 4px;
}
[data-theme="light"] .nav-toggle {
  border-color: var(--border);
  color: var(--on-bg);
}
.nav-toggle span {
  display: block;
  width: 100%;
  height: 2px;
  margin: 0;
  border-radius: 999px;
  background: currentColor;
  transition: .25s;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}
.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}
.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* ── HERO ────────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: #fff;
  padding: 155px 0 95px;
  background: radial-gradient(circle at 28% 18%, #1c2734 0, #0a0f16 45%, #05070a 85%);
}
[data-theme="light"] .hero {
  background: radial-gradient(circle at 28% 18%, #273648 0, #162434 45%, #0e1926 85%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: .12;
  background-image: linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to left, #000, transparent 82%);
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  opacity: .25;
}
.hero-glow--one {
  width: 560px;
  height: 560px;
  right: -200px;
  top: 8%;
  background: var(--gold-vivid);
  filter: blur(150px);
}
.hero-glow--two {
  width: 440px;
  height: 440px;
  left: -80px;
  bottom: -240px;
  background: #1a3a5c;
  filter: blur(140px);
}
.hero__grid {
  position: relative;
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 70px;
  align-items: center;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--gold-light);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: .05em;
}
.eyebrow span {
  width: 30px;
  height: 2px;
  background: currentColor;
}
.eyebrow--dark { color: var(--gold); }
.hero h1 {
  font-size: clamp(40px, 5.2vw, 74px);
  line-height: 1.18;
  letter-spacing: -.04em;
  margin: 22px 0;
  font-weight: 900;
  max-width: 680px;
}
.hero__content > p {
  max-width: 580px;
  margin: 0;
  color: rgba(255,255,255,.7);
  font-size: 17px;
  line-height: 2;
}
.hero__actions {
  display: flex;
  gap: 14px;
  margin-top: 36px;
}
.button {
  min-height: 52px;
  padding: 0 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  border: 0;
  cursor: pointer;
  font-weight: 800;
  font-size: 14px;
  transition: transform .25s, box-shadow .25s, background .25s;
}
.button:hover { transform: translateY(-3px); }
.button--gold {
  background: linear-gradient(135deg, var(--gold-vivid), var(--gold));
  color: var(--ink);
  box-shadow: 0 14px 40px rgba(212,163,56,.28);
}
.button--gold:hover { box-shadow: 0 20px 50px rgba(212,163,56,.45); }
.button--ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.03);
}
.button--ghost:hover {
  border-color: rgba(255,255,255,.6);
  background: rgba(255,255,255,.1);
}
.button--full { width: 100%; border-radius: 14px; }
.hero__trust {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.12);
  display: flex;
  gap: 32px;
}
.hero__trust div {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.hero__trust strong {
  color: var(--gold);
  font-size: 12px;
  font-weight: 900;
}
.hero__trust span {
  color: rgba(255,255,255,.6);
  font-size: 11.5px;
  line-height: 1.7;
}
.hero__visual {
  position: relative;
  padding: 20px 0 20px 20px;
}
.hero__photo-wrap {
  position: relative;
  border-radius: 180px 180px 28px 28px;
  overflow: hidden;
  min-height: 610px;
  box-shadow: 0 40px 90px rgba(0,0,0,.5);
}
.hero__photo-wrap > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 52% center;
}
.hero__photo-shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(7,9,13,.88), transparent 52%), linear-gradient(to left, transparent 55%, rgba(7,9,13,.2));
}
.hero__outline {
  position: absolute;
  inset: 0 20px 0 0;
  border: 1px solid var(--border-gold);
  border-radius: 190px 190px 34px 34px;
  transform: translate(16px, -4px);
  pointer-events: none;
}
.hero__badge {
  position: absolute;
  top: 40px;
  right: 36px;
  width: 96px;
  height: 96px;
  border-radius: 50%;
  background: rgba(7,9,13,.84);
  border: 1px solid rgba(255,255,255,.16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(10px);
}
.hero__badge span, .hero__badge small {
  font-size: 9px;
  color: rgba(255,255,255,.55);
}
.hero__badge strong {
  color: var(--gold-light);
  font-size: 23px;
  line-height: 1.1;
  direction: ltr;
}
.hero__caption {
  position: absolute;
  bottom: 38px;
  right: 32px;
  display: flex;
  gap: 12px;
  align-items: center;
}
.hero__caption i {
  width: 3px;
  height: 42px;
  background: var(--gold);
  border-radius: 2px;
}
.hero__caption span {
  font-size: 12px;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
}
.hero__caption b { color: #fff; font-size: 14px; }
.hero__scroll {
  position: absolute;
  bottom: 22px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,.4);
  font-size: 10px;
}
.hero__scroll i {
  width: 1px;
  height: 22px;
  background: linear-gradient(var(--gold), transparent);
}

/* ── MARQUEE ──────────────────────────────────────────────────────── */
.service-marquee {
  overflow: hidden;
  background: linear-gradient(90deg, var(--gold) 0%, var(--gold-vivid) 50%, var(--gold) 100%);
  color: var(--ink);
  border-block: 1px solid rgba(0,0,0,.15);
}
.service-marquee__track {
  width: max-content;
  height: 58px;
  display: flex;
  align-items: center;
  gap: 28px;
  animation: marquee 34s linear infinite;
}
.service-marquee span {
  font-size: 14px;
  font-weight: 900;
  white-space: nowrap;
}
.service-marquee i {
  width: 7px;
  height: 7px;
  border: 1.5px solid rgba(0,0,0,.45);
  transform: rotate(45deg);
}
@keyframes marquee { to { transform: translateX(50%); } }

/* ── SECTIONS ─────────────────────────────────────────────────────── */
.section { padding: 110px 0; }

.section-head h2,
.section-title-row h2,
.process h2,
.contact h2,
.portfolio h2 {
  margin: 18px 0 0;
  font-size: clamp(34px, 4.8vw, 60px);
  line-height: 1.25;
  letter-spacing: -.04em;
  font-weight: 900;
  color: var(--on-bg);
}
.section-head h2 em,
.section-title-row h2 em,
.contact h2 em,
.portfolio h2 em {
  color: var(--gold-light);
  font-style: normal;
}
[data-theme="light"] .section-head h2 em,
[data-theme="light"] .section-title-row h2 em,
[data-theme="light"] .contact h2 em,
[data-theme="light"] .portfolio h2 em {
  color: var(--gold);
}

/* About */
.about { background: var(--bg); }
[data-theme="light"] .about { background: var(--bg); }
.about__grid {
  display: grid;
  grid-template-columns: .85fr 1.15fr;
  gap: 100px;
  align-items: start;
}
.about__body .lead {
  margin: 0;
  font-size: 20px;
  line-height: 2.1;
  color: var(--on-bg-muted);
}
.about__values {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.about__values b {
  font-size: 16px;
  font-weight: 800;
  color: var(--on-bg);
}
.about__values p {
  color: var(--muted);
  line-height: 1.85;
  font-size: 13px;
  margin: 10px 0 0;
}

/* Services */
.services {
  background: var(--bg-soft);
  color: var(--on-bg);
}
.section-title-row {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 50px;
  align-items: end;
  margin-bottom: 55px;
}
.section-title-row > p {
  color: var(--on-bg-muted);
  line-height: 2;
  font-size: 14.5px;
  margin: 0 0 6px;
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.service-card {
  min-width: 0;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: var(--border-gold);
  box-shadow: 0 26px 60px var(--shadow);
}
.service-card__media {
  position: relative;
  height: 245px;
  overflow: hidden;
}
.service-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(.85);
  transition: transform .6s, filter .35s;
}
.service-card:hover img {
  transform: scale(1.05);
  filter: saturate(1);
}
.service-card__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-card) 0%, transparent 65%);
}
.service-card__number {
  position: absolute;
  top: 18px;
  right: 20px;
  color: rgba(255,255,255,.8);
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,0,0,.4);
  padding: 3px 8px;
  border-radius: 6px;
  backdrop-filter: blur(6px);
}
.service-card__arrow {
  position: absolute;
  left: 18px;
  top: 18px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(7,9,13,.6);
  border: 1px solid rgba(255,255,255,.2);
  color: #fff;
  transition: background .25s, transform .25s;
}
.service-card:hover .service-card__arrow {
  background: var(--gold);
  color: var(--ink);
  transform: rotate(-45deg);
}
.service-card__body {
  padding: 10px 24px 26px;
}
.service-card h3 {
  margin: 0 0 12px;
  font-size: 20px;
  font-weight: 800;
  color: var(--on-bg);
}
.service-card p {
  min-height: 58px;
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  font-size: 13px;
}
.service-card__link {
  margin-top: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 12.5px;
  font-weight: 800;
}
.service-card__link i {
  width: 24px;
  height: 1.5px;
  background: currentColor;
  transition: width .25s;
}
.service-card:hover .service-card__link i { width: 40px; }

/* Statement */
.statement {
  background: linear-gradient(135deg, var(--gold) 0%, #b38018 100%);
  padding: 75px 0;
  color: var(--ink);
}
.statement__inner {
  display: grid;
  grid-template-columns: auto 1fr 120px;
  gap: 32px;
  align-items: center;
}
.statement__mark {
  font-family: Georgia, serif;
  font-size: 90px;
  line-height: .5;
  opacity: .35;
}
.statement p {
  margin: 0;
  max-width: 860px;
  font-size: clamp(24px, 3.2vw, 42px);
  font-weight: 900;
  line-height: 1.55;
  letter-spacing: -.03em;
}
.statement__line {
  height: 1px;
  background: rgba(0,0,0,.3);
}

/* Process */
.process { background: var(--bg); }
.process__grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 100px;
  align-items: start;
}
.process__sticky {
  position: sticky;
  top: 130px;
}
.process__sticky > p {
  max-width: 400px;
  color: var(--muted);
  line-height: 2;
  font-size: 14.5px;
}
.text-link {
  display: inline-flex;
  gap: 16px;
  margin-top: 24px;
  font-size: 13.5px;
  font-weight: 800;
  border-bottom: 1.5px solid var(--on-bg);
  padding-bottom: 6px;
  color: var(--on-bg);
  transition: color .2s, border-color .2s;
}
.text-link:hover {
  color: var(--gold);
  border-bottom-color: var(--gold);
}
.process__steps {
  border-top: 1px solid var(--line);
}
.process-step {
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 24px;
  padding: 34px 0;
  border-bottom: 1px solid var(--line);
}
.process-step > span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 900;
  padding-top: 6px;
}
.process-step h3 {
  margin: 0 0 10px;
  font-size: 22px;
  font-weight: 800;
  color: var(--on-bg);
}
.process-step p {
  margin: 0;
  color: var(--muted);
  line-height: 1.9;
  font-size: 13.5px;
}

/* Projects Showcase */
.projects {
  background: var(--bg-soft);
  color: var(--on-bg);
}
.section-title-row--light { margin-bottom: 50px; }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.project-card {
  min-height: 460px;
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
}
.project-card--wide {
  grid-column: 1 / -1;
  min-height: 520px;
}
.project-card__media {
  position: relative;
  height: 100%;
  min-height: inherit;
  overflow: hidden;
}
.project-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .7s var(--ease);
}
.project-card:hover img { transform: scale(1.04); }
.project-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(5,7,10,.94) 0%, rgba(5,7,10,.1) 65%);
}
.project-card__category {
  position: absolute;
  top: 24px;
  right: 24px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  backdrop-filter: blur(10px);
  background: rgba(0,0,0,.35);
  color: #fff;
}
.project-card__content {
  position: absolute;
  right: 28px;
  left: 28px;
  bottom: 28px;
}
.project-card__content h3 {
  margin: 0 0 8px;
  font-size: 24px;
  font-weight: 800;
  color: #fff;
}
.project-card__content p {
  max-width: 580px;
  margin: 0;
  color: rgba(255,255,255,.7);
  line-height: 1.8;
  font-size: 13.5px;
}
.project-card__content small {
  display: block;
  margin-top: 12px;
  color: var(--gold-light);
  font-weight: 700;
}

/* Portfolio / Clients Section */
.portfolio {
  background: var(--bg);
  color: var(--on-bg);
}
.portfolio .section-head {
  max-width: 760px;
  margin-bottom: 55px;
}
.portfolio-lead {
  margin: 16px 0 0;
  color: var(--on-bg-muted);
  line-height: 2;
  font-size: 15px;
  max-width: 620px;
}
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.portfolio-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 20px;
  align-items: start;
  transition: transform .35s var(--ease), border-color .35s, box-shadow .35s;
  cursor: default;
}
.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: var(--border-gold);
  box-shadow: 0 20px 50px var(--shadow);
}
.portfolio-item__icon {
  width: 60px;
  height: 60px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--surface), var(--bg-soft));
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 26px;
  flex-shrink: 0;
}
[data-theme="light"] .portfolio-item__icon {
  background: linear-gradient(135deg, #ffffff, #f1ede3);
  border-color: rgba(212,163,56,.25);
}
.portfolio-item__body h3 {
  margin: 0 0 8px;
  font-size: 17.5px;
  font-weight: 800;
  line-height: 1.35;
  color: var(--on-bg);
}
.portfolio-item__body p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.8;
}
.portfolio-item__tag {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: var(--gold-dim);
  border: 1px solid var(--border-gold);
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
}
[data-theme="light"] .portfolio-item__tag {
  color: #996e17;
  background: rgba(212,163,56,.12);
}

/* Stats Counter */
.stats {
  background: linear-gradient(135deg, var(--gold) 0%, #9e6a10 100%);
  padding: 55px 0;
  color: var(--ink);
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stats__grid > div {
  text-align: center;
  padding: 0 24px;
  border-left: 1px solid rgba(0,0,0,.18);
}
.stats__grid > div:last-child { border-left: 0; }
.stats strong, .stats b {
  font-size: 50px;
  line-height: 1;
  font-weight: 900;
}
.stats b { font-size: 22px; }
.stats span {
  display: block;
  margin-top: 10px;
  font-size: 12.5px;
  font-weight: 700;
}

/* Testimonials */
.testimonials {
  background: var(--bg-soft);
  color: var(--on-bg);
}
.testimonials .section-head {
  max-width: 620px;
  margin-bottom: 48px;
}
.testimonials__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.testimonial {
  margin: 0;
  padding: 30px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: box-shadow .35s, transform .35s;
}
.testimonial:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 45px var(--shadow);
}
.testimonial > span {
  font-family: Georgia, serif;
  font-size: 64px;
  line-height: .65;
  color: var(--gold);
}
.testimonial p {
  min-height: 100px;
  line-height: 2;
  color: var(--on-bg-muted);
  font-size: 14px;
}
.testimonial footer {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.testimonial b {
  color: var(--on-bg);
  font-size: 14px;
  font-weight: 800;
}
.testimonial small {
  margin-top: 4px;
  color: var(--muted);
}

/* ── FAQ ACCORDION SECTION (SEO ENHANCEMENT) ──────────────────────── */
.faq-section {
  background: var(--bg);
  color: var(--on-bg);
}
.faq-grid {
  max-width: 860px;
  margin: 45px auto 0;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq-item:hover, .faq-item.is-open {
  border-color: var(--border-gold);
}
.faq-item__header {
  width: 100%;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: transparent;
  border: 0;
  color: var(--on-bg);
  text-align: right;
  font-size: 16px;
  font-weight: 800;
  cursor: pointer;
}
.faq-item__icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  font-size: 14px;
  color: var(--gold);
  flex-shrink: 0;
  transition: transform .3s;
}
.faq-item.is-open .faq-item__icon {
  transform: rotate(180deg);
  background: var(--gold);
  color: var(--ink);
  border-color: var(--gold);
}
.faq-item__body {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s var(--ease), padding .35s var(--ease);
  padding: 0 26px;
  color: var(--on-bg-muted);
  font-size: 14px;
  line-height: 1.95;
}
.faq-item.is-open .faq-item__body {
  max-height: 280px;
  padding: 0 26px 24px;
}

/* Contact Section */
.contact {
  background: radial-gradient(circle at 20% 10%, #1c2738 0%, var(--bg-soft) 60%);
  color: var(--on-bg);
}
[data-theme="light"] .contact {
  background: radial-gradient(circle at 20% 10%, #efebe1 0%, #e2ded4 60%);
}
.contact__grid {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 80px;
  align-items: start;
}
.contact__copy > p {
  color: var(--on-bg-muted);
  line-height: 2;
  max-width: 480px;
}
.contact__details {
  margin-top: 42px;
  display: grid;
  gap: 18px;
}
.contact__details > * {
  display: flex;
  flex-direction: column;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
}
.contact__details small {
  color: var(--on-bg-dim);
  font-size: 11px;
}
.contact__details b {
  margin-top: 6px;
  direction: ltr;
  text-align: right;
  font-size: 15px;
}
.contact__form-wrap {
  background: var(--form-bg);
  color: var(--form-text);
  padding: 38px;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,.25);
  border: 1px solid var(--border);
}
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.field { margin-bottom: 18px; }
.field label {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 800;
  color: var(--form-text);
}
.form-control {
  width: 100%;
  border: 1px solid var(--form-border);
  background: var(--form-input);
  color: var(--form-text);
  border-radius: 12px;
  padding: 13px 14px;
  outline: 0;
  transition: border-color .2s, box-shadow .2s;
}
.form-control:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212,163,56,.18);
}
textarea.form-control { resize: vertical; }
.privacy-note {
  margin: 14px 0 0;
  color: var(--muted);
  text-align: center;
  font-size: 11px;
}

/* ── FOOTER ───────────────────────────────────────────────────────── */
.footer {
  background: #030508;
  color: #fff;
  padding: 65px 0 28px;
  border-top: 1px solid rgba(255,255,255,.07);
}
[data-theme="light"] .footer {
  background: #111720;
}
.footer__top {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 70px;
  align-items: start;
  padding-bottom: 45px;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.brand--footer img { width: 56px; height: 56px; }
.footer__top > p {
  color: rgba(255,255,255,.55);
  line-height: 2;
  font-size: 13px;
  margin: 0;
}
.footer__links {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  font-size: 12.5px;
  color: rgba(255,255,255,.7);
}
.footer__links a:hover { color: var(--gold-light); }
.footer__bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  color: rgba(255,255,255,.4);
  font-size: 11px;
}

/* ── FLOATING ACTION & BACK TO TOP ────────────────────────────────── */
.float-action {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 35;
  padding: 12px 20px;
  border-radius: 999px;
  background: #1fa855;
  color: #fff;
  box-shadow: 0 12px 36px rgba(0,0,0,.35);
  font-size: 12.5px;
  font-weight: 800;
  display: flex;
  gap: 10px;
  align-items: center;
  transition: transform .25s, box-shadow .25s;
}
.float-action:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 18px 45px rgba(0,0,0,.45);
}
.back-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 35;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  font-weight: 900;
  font-size: 16px;
  cursor: pointer;
  opacity: 0;
  transform: translateY(15px);
  pointer-events: none;
  transition: opacity .25s, transform .25s;
  box-shadow: 0 10px 30px rgba(0,0,0,.3);
}
.back-top.is-visible {
  opacity: 1;
  transform: none;
  pointer-events: auto;
}
.back-top:hover {
  transform: translateY(-3px);
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .75s var(--ease), transform .75s var(--ease);
}
.reveal.is-visible {
  opacity: 1;
  transform: none;
}

/* ── RESPONSIVE ADAPTATIONS ───────────────────────────────────────── */
@media(max-width: 1060px) {
  .hero__grid { gap: 35px; }
  .hero__photo-wrap { min-height: 520px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .about__grid, .process__grid { gap: 60px; }
  .contact__grid { gap: 50px; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
}

@media(max-width: 820px) {
  :root { --shell: min(100% - 32px, 680px); }
  .contact-bar { display: none; }
  .nav { height: 74px; }
  .nav-toggle { display: flex; }
  .nav-menu {
    position: fixed;
    top: 74px;
    right: 16px;
    left: 16px;
    padding: 24px;
    background: var(--nav-bg);
    border: 1px solid var(--border);
    border-radius: 20px;
    flex-direction: column;
    align-items: stretch;
    opacity: 0;
    transform: translateY(-15px);
    pointer-events: none;
    transition: .25s;
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
  }
  .nav-menu.is-open {
    opacity: 1;
    transform: none;
    pointer-events: auto;
  }
  .nav-menu > a:not(.nav-cta) { color: var(--on-bg); }
  .nav-menu a { padding: 8px; }
  .nav-cta { justify-content: space-between; }
  .hero { padding-top: 110px; }
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { max-width: 560px; width: 100%; margin-inline: auto; }
  .hero__photo-wrap { min-height: 540px; }
  .about__grid, .process__grid, .contact__grid, .section-title-row { grid-template-columns: 1fr; gap: 40px; }
  .process__sticky { position: static; }
  .section { padding: 80px 0; }
  .statement__inner { grid-template-columns: auto 1fr; }
  .statement__line { display: none; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); gap: 35px 0; }
  .stats__grid > div:nth-child(2) { border-left: 0; }
  .testimonials__grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .footer__top { grid-template-columns: 1fr; gap: 32px; }
}

@media(max-width: 560px) {
  .brand img { width: 44px; height: 44px; }
  .brand b { font-size: 17px; }
  .hero { min-height: auto; }
  .hero h1 { font-size: 38px; }
  .hero__actions { flex-direction: column; align-items: stretch; }
  .hero__trust { gap: 14px; justify-content: space-between; }
  .hero__trust div { flex-direction: column; gap: 2px; }
  .hero__photo-wrap { min-height: 420px; border-radius: 110px 110px 24px 24px; }
  .hero__outline { border-radius: 120px 120px 26px 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .about__values { grid-template-columns: 1fr; }
  .section-head h2, .section-title-row h2, .process h2, .contact h2, .portfolio h2 { font-size: 34px; }
  .about__body .lead { font-size: 16.5px; }
  .statement { padding: 55px 0; }
  .statement__inner { gap: 16px; }
  .statement__mark { font-size: 65px; }
  .projects-grid { grid-template-columns: 1fr; }
  .project-card--wide { grid-column: auto; }
  .project-card, .project-card--wide { min-height: 400px; }
  .stats strong { font-size: 40px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .contact__form-wrap { padding: 24px; }
  .footer__bottom { flex-direction: column; gap: 10px; }
  .float-action { left: 14px; bottom: 14px; }
  .back-top { right: 14px; bottom: 14px; }
  .theme-toggle { width: 38px; height: 38px; font-size: 16px; }
}

@media(prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: .01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
