/* =====================================================================
   ENSGAS — Premium Natural Gas Systems
   Design system & stylesheet
   ---------------------------------------------------------------------
   0. Tokens & reset      6. Hero
   1. Base & typography    7. Marquee / trust
   2. Utilities            8. Stats
   3. Buttons              9. Services
   4. Reveal system       10. Process
   5. Navigation          11. About / Features / Projects /
                              Testimonials / CTA / Contact / Footer
   12. Project detail pages   13. Responsive   14. Reduced motion
   ===================================================================== */

/* ───────────────────────── FONTS ───────────────────────── */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(fonts/inter-400-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/inter-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/inter-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700-greek-ext.woff2) format('woff2');
  unicode-range: U+1F00-1FFF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700-greek.woff2) format('woff2');
  unicode-range: U+0370-0377, U+037A-037F, U+0384-038A, U+038C, U+038E-03A1, U+03A3-03FF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/inter-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/sora-500-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url(fonts/sora-500-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/sora-600-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(fonts/sora-600-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/sora-700-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(fonts/sora-700-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/sora-800-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF
}
@font-face {
  font-family: 'Sora';
  font-style: normal;
  font-weight: 800;
  font-display: swap;
  src: url(fonts/sora-800-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD
}

/* ───────────────────────── 0. TOKENS & RESET ───────────────────────── */
:root {
  /* surfaces */
  --bg:        #0a0e14;
  --bg-2:      #0c121b;
  --bg-3:      #0e151f;
  --surface:   #121c28;
  --surface-2: #16212f;
  --line:      rgba(255, 255, 255, 0.08);
  --line-2:    rgba(255, 255, 255, 0.14);

  /* brand */
  --navy:      #1e2a38;
  --gold:      #f5c518;
  --gold-2:    #ffda4d;
  --amber:     #ff9e2c;
  --blue:      #38bdf8;

  /* ink */
  --text:      #eef3f9;
  --muted:     #9aa9b8;
  --muted-2:   #64748b;

  /* gradients */
  --grad-flame: linear-gradient(135deg, #f7d038 0%, #f5c518 100%);
  --grad-energy: linear-gradient(120deg, #ffd84d 0%, #f5c518 35%, #38bdf8 110%);

  /* motion */
  --ease:     cubic-bezier(0.22, 1, 0.36, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  --radius:   18px;
  --radius-sm: 12px;
  --container: 1240px;

  --font-display: 'Sora', 'Helvetica Neue', Arial, sans-serif;
  --font-body:    'Inter', 'Helvetica Neue', Arial, sans-serif;
}

*,
*::before,
*::after { margin: 0; padding: 0; box-sizing: border-box; }

::selection { background: var(--gold); color: #10151c; }

html {
  font-size: 85%;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

/* ───────────────────────── 1. BASE & TYPOGRAPHY ────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: -0.02em;
}

.h-xl {
  font-size: clamp(2.6rem, 6.4vw, 5.6rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.02;
}
.h-lg { font-size: clamp(2rem, 4.4vw, 3.4rem); font-weight: 700; }

p { color: var(--muted); }

/* ───────────────────────── 2. UTILITIES ────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(20px, 5vw, 56px);
}

.section { padding: clamp(48px, 6vh, 90px) 0; position: relative; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 0.82rem/1 var(--font-body);
  letter-spacing: 3.4px;
  text-transform: uppercase;
  color: var(--gold);
}

.eyebrow::before {
  content: '';
  width: 26px;
  height: 2px;
  background: var(--grad-flame);
}

.eyebrow.center {
  justify-content: center;
}

.text-gradient {
  background: var(--grad-energy);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  animation: gradShift 5s linear infinite;
  will-change: background-position;
}

.section-head {
  max-width: 720px;
  margin-bottom: clamp(40px, 6vw, 72px);
}

.section-head.center {
  margin-inline: auto;
  text-align: center;
}

.section-head h2 {
  margin: 18px 0 0;
}

.section-head p {
  margin-top: 18px;
  font-size: 1.05rem;
}

.lead {
  font-size: 1.12rem;
  color: var(--muted);
  line-height: 1.8;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* faint engineering grid texture */
.grid-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--line) 1px, transparent 1px),
    linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 0%, transparent 75%);
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

/* ───────────────────────── 3. BUTTONS ──────────────────────────────── */
.btn {
  --pad: 17px 34px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  padding: var(--pad);
  font: 600 0.88rem/1 var(--font-body);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  border-radius: 999px;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  white-space: nowrap;
  transition: transform 0.32s var(--ease), box-shadow 0.32s var(--ease),
              background 0.3s, color 0.3s, border-color 0.3s;
}
.btn svg { width: 16px; height: 16px; transition: transform 0.32s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-primary {
  background: var(--grad-flame);
  color: #11161d;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--line-2);
  color: var(--text);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-3px);
}

.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: #11161d; transform: translateY(-3px); }

/* ripple */
.ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: scale(0);
  animation: ripple 0.65s var(--ease-out);
  pointer-events: none;
}
.btn-primary .ripple { background: rgba(17, 22, 29, 0.25); }
@keyframes ripple { to { transform: scale(3.4); opacity: 0; } }

/* ───────────────────────── 4. REVEAL SYSTEM ────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(42px);
  transition: opacity 0.85s var(--ease), transform 0.85s var(--ease);
  will-change: opacity, transform;
}
.reveal.left  { transform: translateX(-52px); }
.reveal.right { transform: translateX(52px); }
.reveal.scale { transform: scale(0.92); }
.reveal.in { opacity: 1; transform: none; }

.stagger > * {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  will-change: opacity, transform;
}
.stagger.in > * { opacity: 1; transform: none; }
.stagger.in > *:nth-child(1)  { transition-delay: 0.05s; }
.stagger.in > *:nth-child(2)  { transition-delay: 0.13s; }
.stagger.in > *:nth-child(3)  { transition-delay: 0.21s; }
.stagger.in > *:nth-child(4)  { transition-delay: 0.29s; }
.stagger.in > *:nth-child(5)  { transition-delay: 0.37s; }
.stagger.in > *:nth-child(6)  { transition-delay: 0.45s; }
.stagger.in > *:nth-child(7)  { transition-delay: 0.53s; }
.stagger.in > *:nth-child(8)  { transition-delay: 0.61s; }
.stagger.in > *:nth-child(9)  { transition-delay: 0.69s; }
.stagger.in > *:nth-child(10) { transition-delay: 0.77s; }

/* line that draws itself in */
.draw-line {
  height: 3px;
  width: 72px;
  background: var(--grad-flame);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.9s var(--ease) 0.1s;
  margin-top: 18px;
  margin-bottom: 24px;
}
.center .draw-line { margin-inline: auto; }
.reveal.in .draw-line,
.draw-line.in { transform: scaleX(1); }

/* ── Scroll-reveal entrance animations DISABLED for a perfectly smooth scroll ──
   Sections (services / process / about / projects / contact / footer …) now
   show in their final state immediately instead of animating in as you scroll.
   These wrappers have no hover transform, so forcing transform:none is safe.
   Hero/home load animations (word reveal, typewriter, nav, embers) and all
   hover effects are untouched. */
.reveal, .reveal.left, .reveal.right, .reveal.scale,
.stagger > * {
  opacity: 1 !important;
  transform: none !important;
  transition: none !important;
}
.draw-line { transform: scaleX(1) !important; transition: none !important; }

/* ───────────────────── PRELOADER ───────────────────── */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: var(--bg);
  display: grid;
  place-items: center;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  will-change: opacity, visibility;
}
.preloader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.preloader-inner { text-align: center; }
.preloader .flame {
  width: 46px;
  height: 60px;
  margin: 0 auto 22px;
  filter: drop-shadow(0 0 18px rgba(245, 197, 24, 0.6));
  animation: flicker 1.4s ease-in-out infinite;
}
.preloader-word {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.5em;
  font-size: 0.92rem;
  color: var(--text);
  padding-left: 0.5em;
}
.preloader-bar {
  width: 180px;
  height: 2px;
  margin: 18px auto 0;
  background: var(--line-2);
  border-radius: 2px;
  overflow: hidden;
}
.preloader-bar span {
  display: block;
  height: 100%;
  width: 0;
  background: var(--grad-flame);
  animation: load 1.5s var(--ease) forwards;
}
@keyframes load { to { width: 100%; } }
@keyframes flicker {
  0%, 100% { transform: scale(1) rotate(-1deg); opacity: 1; }
  50%      { transform: scale(1.08) rotate(1deg); opacity: 0.85; }
}

/* ───────────────────── SCROLL PROGRESS ───────────────────── */
#progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  width: 0;
  background: var(--grad-flame);
  z-index: 1200;
  box-shadow: 0 0 14px rgba(245, 197, 24, 0.7);
}

/* ───────────────────────── 5. NAVIGATION ───────────────────────────── */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  height: 86px;
  z-index: 1000;
  display: flex;
  align-items: center;
  border-bottom: 1px solid transparent;
  transition: height 0.4s var(--ease), background 0.4s, box-shadow 0.4s, border-color 0.4s;
}
.nav.scrolled {
  height: 66px;
  background: rgba(9, 13, 19, 0.72);
  -webkit-backdrop-filter: blur(18px) saturate(150%);
  backdrop-filter: blur(18px) saturate(150%);
  border-bottom-color: var(--line);
  box-shadow: 0 12px 40px -24px rgba(0, 0, 0, 0.9);
}
.nav .container { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.nav-logo img { height: 46px; width: auto; transition: height 0.4s var(--ease); }
.nav.scrolled .nav-logo img { height: 38px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 38px;
  list-style: none;
}
.nav-links a {
  position: relative;
  font: 600 0.86rem/1 var(--font-body);
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
  padding: 6px 0;
  transition: color 0.25s;
}
.nav-links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -3px;
  width: 100%; height: 2px;
  background: var(--grad-flame);
  transform: scaleX(0);
  transform-origin: right center;
  transition: transform 0.4s var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: #fff; }
.nav-links a:hover::after,
.nav-links a.active::after { transform: scaleX(1); transform-origin: left center; }

.nav-cta { display: inline-flex; }
.nav-actions { display: flex; align-items: center; gap: 18px; }

/* hamburger */
.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  background: none; border: 0;
  position: relative;
  z-index: 1101;
}
.nav-toggle span {
  position: absolute;
  left: 9px;
  width: 26px; height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: transform 0.4s var(--ease), opacity 0.3s, top 0.3s;
}
.nav-toggle span:nth-child(1) { top: 15px; }
.nav-toggle span:nth-child(2) { top: 21px; }
.nav-toggle span:nth-child(3) { top: 27px; }
.nav-toggle.open span:nth-child(1) { top: 21px; transform: rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { top: 21px; transform: rotate(-45deg); }

/* mobile overlay */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(8, 12, 18, 0.96);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  padding: 0 32px;
  clip-path: circle(0% at calc(100% - 44px) 44px);
  transition: clip-path 0.6s var(--ease);
  pointer-events: none;
}
.mobile-menu.open { clip-path: circle(150% at calc(100% - 44px) 44px); pointer-events: auto; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 8vw, 2.6rem);
  color: var(--text);
  padding: 8px 0;
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.5s var(--ease), transform 0.5s var(--ease), color 0.25s;
}
.mobile-menu.open a { opacity: 1; transform: none; }
.mobile-menu.open a:nth-child(1) { transition-delay: 0.18s; }
.mobile-menu.open a:nth-child(2) { transition-delay: 0.26s; }
.mobile-menu.open a:nth-child(3) { transition-delay: 0.34s; }
.mobile-menu.open a:nth-child(4) { transition-delay: 0.42s; }
.mobile-menu.open a:nth-child(5) { transition-delay: 0.5s; }
.mobile-menu.open a:nth-child(6) { transition-delay: 0.58s; }
.mobile-menu a:hover { color: var(--gold); }
.mobile-menu .mm-meta {
  margin-top: 36px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted-2);
  opacity: 0;
  transition: opacity 0.5s 0.66s;
}
.mobile-menu.open .mm-meta { opacity: 1; }

/* ───────────────────────── 6. HERO ─────────────────────────────────── */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--bg);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media img {
  width: 100%;
  height: 116%;
  object-fit: cover;
  object-position: center 30%;
  position: absolute;
  top: -8%; left: 0;
}
.hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 6%, rgba(10, 14, 20, 0.72) 42%, rgba(10, 14, 20, 0.35) 100%),
    linear-gradient(0deg, var(--bg) 2%, rgba(10, 14, 20, 0.2) 38%, rgba(10, 14, 20, 0.55) 100%);
}
.hero-glow-1 { width: 540px; height: 540px; background: rgba(245, 197, 24, 0.22); top: -10%; right: -6%; }
.hero-glow-2 { width: 460px; height: 460px; background: rgba(56, 189, 248, 0.14); bottom: -12%; left: -8%; }

/* drifting embers */
.embers { position: absolute; inset: 0; z-index: 1; overflow: hidden; pointer-events: none; }
.ember {
  position: absolute;
  bottom: -12px;
  width: 4px; height: 4px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 8px 1px rgba(245, 197, 24, 0.7);
  opacity: 0;
  animation: rise linear infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
  12%  { opacity: 0.9; }
  85%  { opacity: 0.7; }
  100% { transform: translateY(-92vh) translateX(var(--drift, 30px)) scale(0.4); opacity: 0; }
}

.hero-inner { position: relative; z-index: 2; width: 100%; }
.hero-tag {
  margin-bottom: 26px;
  animation: fadeUp 0.9s var(--ease) 0.1s both;
}
.hero h1 { max-width: 16ch; margin-bottom: 26px; }
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(40px) rotate(3deg);
  animation: wordIn 0.9s var(--ease) forwards;
}
@keyframes wordIn { to { opacity: 1; transform: none; } }

.hero-sub {
  font-size: clamp(0.95rem, 1.4vw, 1.15rem);
  letter-spacing: 1px;
  color: rgba(255, 255, 255, 0.78);
  max-width: 46ch;
  min-height: 1.6em;
  margin-bottom: 40px;
  animation: fadeUp 0.9s var(--ease) 0.5s both;
}
.hero-sub .typed { color: var(--gold-2); font-weight: 600; }
.typed-cursor { color: var(--gold); font-weight: 300; animation: blink 0.8s step-end infinite; }
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  animation: fadeUp 0.9s var(--ease) 0.66s both;
}

.hero-scroll {
  position: absolute;
  left: 50%;
  bottom: 30px;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font: 600 0.66rem/1 var(--font-body);
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--muted);
  animation: fadeUp 1s var(--ease) 1s both;
}
.hero-scroll .mouse {
  width: 24px; height: 38px;
  border: 1.5px solid var(--line-2);
  border-radius: 14px;
  position: relative;
}
.hero-scroll .mouse::after {
  content: '';
  position: absolute;
  left: 50%; top: 8px;
  width: 4px; height: 7px;
  background: var(--gold);
  border-radius: 3px;
  transform: translateX(-50%);
  animation: wheel 1.6s var(--ease) infinite;
}
@keyframes wheel { 0% { opacity: 0; top: 7px; } 30% { opacity: 1; } 60% { opacity: 1; } 100% { opacity: 0; top: 18px; } }

@keyframes fadeUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: none; } }

/* ───────────────────────── 7. MARQUEE / TRUST ──────────────────────── */
.marquee {
  border-block: 1px solid var(--line);
  background: var(--bg-2);
  padding: 26px 0;
  overflow: hidden;
  position: relative;
}
.marquee::before, .marquee::after {
  content: '';
  position: absolute;
  top: 0; width: 140px; height: 100%;
  z-index: 2;
}
.marquee::before { left: 0; background: linear-gradient(90deg, var(--bg-2), transparent); }
.marquee::after  { right: 0; background: linear-gradient(270deg, var(--bg-2), transparent); }
.marquee-track {
  display: flex;
  gap: 56px;
  width: max-content;
  animation: scroll 32s linear infinite;
}
.marquee:hover .marquee-track { animation-play-state: paused; }
.marquee-item {
  display: inline-flex;
  align-items: center;
  gap: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.55);
  white-space: nowrap;
}
.marquee-item svg { width: 18px; height: 18px; color: var(--gold); }
@keyframes scroll { to { transform: translateX(-50%); } }

/* ───────────────────────── 8. STATS ────────────────────────────────── */
.stats { background: var(--bg); position: relative; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  position: relative;
  z-index: 1;
}
.stat {
  text-align: center;
  padding: 36px 20px;
  position: relative;
}
.stat-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2.4rem, 4.5vw, 3.6rem);
  line-height: 1;
  background: var(--grad-flame);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-variant-numeric: tabular-nums;
}
.stat p {
  margin-top: 12px;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
}

/* ───────────────────────── 9. SERVICES ─────────────────────────────── */
.services { background: var(--bg-2); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.s-card {
  position: relative;
  /* aspect-ratio: 3 / 4; */
  height: 370px;
  border-radius: var(--radius);
  overflow: hidden;
  background: #090e15;
  border: 1px solid var(--line);
}
.s-card-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.s-card-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 14, 21, 0.1) 0%, rgba(9, 14, 21, 0.3) 50%, rgba(9, 14, 21, 0.85) 100%);
  z-index: 1;
}
.s-card img.s-card-img,
.s-card .placeholder-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease);
}
.s-card .placeholder-bg {
  background: linear-gradient(135deg, #16222f 0%, #090e15 100%);
}
.s-card:hover img.s-card-img {
  transform: scale(1.08);
}
.s-card-content {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  z-index: 2;
  background: rgba(9, 14, 21, 0.82);
  border-radius: 16px;
  padding: 24px;
}
.s-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.35;
}
.s-card p {
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.75);
}

/* ───────────────────────── 10. PROCESS ─────────────────────────────── */
.process { background: var(--bg); overflow: hidden; }
.timeline { position: relative; max-width: 940px; margin-inline: auto; }
.timeline::before {
  content: '';
  position: absolute;
  left: 50%; top: 0; bottom: 0;
  width: 2px;
  background: var(--line-2);
  transform: translateX(-50%);
}
.timeline-fill {
  position: absolute;
  left: 50%; top: 0;
  width: 2px;
  height: 0;
  background: var(--grad-flame);
  transform: translateX(-50%);
  box-shadow: 0 0 16px rgba(245, 197, 24, 0.6);
  z-index: 1;
}
.t-step {
  position: relative;
  width: 50%;
  padding: 0 48px 56px;
}
.t-step:nth-child(odd)  { left: 0; text-align: right; }
.t-step:nth-child(even) { left: 50%; text-align: left; }
.t-step .dot {
  position: absolute;
  top: 4px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--line-2);
  z-index: 2;
  transition: border-color 0.4s, background 0.4s, box-shadow 0.4s;
}
.t-step:nth-child(odd) .dot  { right: -9px; }
.t-step:nth-child(even) .dot { left: -9px; }
.t-step.in .dot {
  border-color: var(--gold);
  background: var(--gold);
  box-shadow: 0 0 0 6px rgba(245, 197, 24, 0.16);
}
.t-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.82rem;
  color: var(--gold);
  letter-spacing: 2px;
}
.t-step h3 { font-size: 1.3rem; margin: 10px 0 10px; }
.t-step p { font-size: 0.95rem; line-height: 1.7; }

/* ───────────────────────── 11. ABOUT ───────────────────────────────── */
.about {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  color: #ffffff;
  padding: 190px 0 130px;
  z-index: 1;
}
.about-parallax-bg {
  position: absolute;
  top: 0; left: 0;
  width: 100%;
  height: 140%;
  background-size: cover;
  background-position: center;
  z-index: 0;
  will-change: transform;
}
.about-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(9, 14, 21, 0.6) 0%, rgba(9, 14, 21, 0.78) 50%, rgba(9, 14, 21, 0.9) 100%);
  z-index: 1;
}
.about-container {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: center;
  width: 100%;
}
.about-content {
  text-align: center;
  max-width: 740px;
  margin: 0 auto;
  padding: 0 20px;
}
.about-title {
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 28px;
  color: #ffffff;
  font-family: var(--font-display);
}
.about-desc p {
  font-size: 1.05rem;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 0;
  font-weight: 400;
}
.about-grid-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding-top: 48px;
  margin-top: 48px;
  list-style: none;
  text-align: center;
}
.about-grid-list li {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.about-grid-list h4 {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.about-grid-list p {
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.65);
}
.about-scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  animation: bounceAbout 2.2s infinite;
  cursor: pointer;
}
.about-scroll-indicator svg {
  width: 28px;
  height: 28px;
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.3s, transform 0.3s;
}
.about-scroll-indicator:hover svg {
  color: var(--gold);
  transform: scale(1.1);
}
@keyframes bounceAbout {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0) translateX(-50%);
  }
  40% {
    transform: translateY(-8px) translateX(-50%);
  }
  60% {
    transform: translateY(-4px) translateX(-50%);
  }
}

@media (max-width: 768px) {
  .about {
    padding: 80px 0;
  }
  .about-grid-list {
    grid-template-columns: 1fr;
    gap: 28px;
    padding-top: 36px;
    margin-top: 36px;
  }
}

/* ───────────────── FEATURES (why us) ───────────────── */
.features {
  background: var(--bg);
  padding: 100px 0;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 48px;
}
.f-card {
  position: relative;
  text-align: center;
  padding: 38px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  transition: background-color 0.3s;
}
.f-card:hover {
  background-color: rgba(255, 255, 255, 0.02);
}
/* Grid borders layout */
.f-card:nth-child(4n) {
  border-right: none;
}
.f-card:nth-child(n+5) {
  border-bottom: none;
}
.f-card .f-icon {
  width: auto;
  height: auto;
  background: transparent;
  border: none;
  margin-bottom: 22px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.f-card .f-icon svg {
  width: 44px;
  height: 44px;
  color: #ffffff;
  stroke-width: 1.25;
  transition: transform 0.4s var(--ease), color 0.4s var(--ease);
}
.f-card:hover .f-icon svg {
  transform: translateY(-4px) scale(1.05);
  color: var(--gold);
}
.f-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.35;
}
.f-card p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.7);
  max-width: 280px;
  margin: 0 auto;
}

/* ───────────────────── CERTIFICATIONS (SPLIT VERSION) ───────────────── */
.certifications {
  background: var(--bg-2);
  position: relative;
  overflow: hidden;
}
.certifications::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 80%;
  transform: translate(-50%, -50%);
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.04) 0%, rgba(56, 189, 248, 0.02) 50%, transparent 100%);
  pointer-events: none;
  filter: blur(60px);
  z-index: 1;
}
/* ───────────────────────── ARCHITECTURAL CERTIFICATIONS SECTION ───────────────────────── */
.certifications {
  position: relative;
  background: var(--bg);
  padding: clamp(60px, 8vw, 110px) 0;
  overflow: hidden;
}

/* Background vertical grid lines */
.certifications::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: calc(100% / 3) 100%;
  pointer-events: none;
  z-index: 0;
}

.arch-header {
  margin-bottom: clamp(40px, 5vw, 70px);
  position: relative;
  z-index: 1;
}

.arch-eyebrow {
  font-family: var(--font-body);
  font-size: 0.90rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.arch-eyebrow span {
  color: var(--gold);
}

.arch-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 3.5vw, 3.2rem);
  font-weight: 600;
  color: var(--text);
  letter-spacing: -0.02em;
}

/* Architectural Stepped Grid */
.arch-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 48px 64px;
  position: relative;
  z-index: 1;
}

/* Row items */
.arch-step-item {
  display: flex;
  align-items: center;
  gap: 28px;
  position: relative;
}

/* Stagger offset for right column items (even steps) */
.arch-step-item:nth-child(even) {
  margin-top: 50px;
}

/* Large Outline Wireframe Numbers */
.arch-number {
  font-family: var(--font-display);
  font-size: clamp(4.5rem, 6.5vw, 6rem);
  font-weight: 300;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.25);
  user-select: none;
  flex-shrink: 0;
  transition: -webkit-text-stroke 0.3s, transform 0.3s;
}

.arch-step-item:hover .arch-number {
  -webkit-text-stroke: 1.5px var(--gold);
  transform: scale(1.06);
}

/* Borderless Clean Content Box */
.arch-card {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 8px 0;
  width: 100%;
  box-shadow: none;
  transition: transform 0.3s;
}

.arch-card:hover {
  transform: translateY(-3px);
}

.arch-card-badge {
  font: 700 0.85rem/1 var(--font-body);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: inline-block;
}

.arch-card h3 {
  font-family: var(--font-display);
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
}

.arch-card p {
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--muted);
}

@media (max-width: 900px) {
  .arch-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .arch-step-item:nth-child(even) {
    margin-top: 0;
  }
  .arch-step-item {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 12px;
  }
}

/* Custom media overrides inside the section styles */
@media (max-width: 1024px) {
  .cert-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .cert-left {
    position: static;
  }
}
@media (max-width: 640px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}

/* ───────────────────────── PROJECTS ────────────────────────────────── */
.projects { background: var(--bg-2); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}
.proj {
  position: relative;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 11;
  border: 1px solid var(--line);
}
.proj img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.8s var(--ease), filter 0.6s;
  filter: saturate(0.92);
}
.proj::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 12, 18, 0.92) 0%, rgba(8, 12, 18, 0.2) 50%, transparent 80%);
  opacity: 0.85;
  transition: opacity 0.5s;
}
.proj:hover img { transform: scale(1.08); filter: saturate(1.05); }
.proj-body {
  position: absolute;
  left: 0; bottom: 0;
  z-index: 2;
  padding: 30px;
  width: 100%;
}
.proj-cat {
  font: 600 0.68rem/1 var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 10px;
}
.proj-body h3 {
  font-size: 1.4rem;
  color: #fff;
  transition: transform 0.5s var(--ease);
}
.proj-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  color: var(--gold-2);
  font: 600 0.74rem/1 var(--font-body);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: opacity 0.4s var(--ease), max-height 0.4s var(--ease), margin-top 0.4s var(--ease);
}
.proj-link svg { width: 15px; height: 15px; }
.proj:hover .proj-link { opacity: 1; max-height: 30px; margin-top: 14px; }

/* full-width hero project (first) */
.proj.wide { grid-column: 1 / -1; aspect-ratio: 21 / 9; }

/* ───────────────────────── TESTIMONIALS ────────────────────────────── */
.testimonials { background: var(--bg); position: relative; overflow: hidden; }
.tcarousel { max-width: 880px; margin-inline: auto; position: relative; }
.tquote-mark {
  font-family: var(--font-display);
  font-size: 7rem;
  line-height: 0.6;
  color: rgba(245, 197, 24, 0.2);
  margin-bottom: 10px;
}
.tslides { position: relative; min-height: 230px; }
.tslide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
  pointer-events: none;
}
.tslide.active { opacity: 1; transform: none; pointer-events: auto; position: relative; }
.tslide blockquote {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(1.25rem, 2.6vw, 1.9rem);
  line-height: 1.45;
  letter-spacing: -0.01em;
  color: var(--text);
}
.tslide .tperson { margin-top: 26px; display: flex; align-items: center; gap: 14px; }
.tslide .tavatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: #11161d;
  background: var(--grad-flame);
}
.tslide .tname { font-weight: 600; color: var(--text); }
.tslide .trole { font-size: 0.85rem; color: var(--muted); }
.tdots { display: flex; gap: 10px; margin-top: 36px; }
.tdot {
  width: 9px; height: 9px;
  border-radius: 50%;
  background: var(--line-2);
  border: 0;
  cursor: pointer;
  transition: background 0.3s, width 0.3s, transform 0.3s;
}
.tdot.active { background: var(--gold); width: 26px; border-radius: 5px; }

/* ───────────────────────── CTA BAND ────────────────────────────────── */
.cta { position: relative; overflow: hidden; }
.cta-inner {
  position: relative;
  z-index: 1;
  border-radius: 28px;
  padding: clamp(48px, 7vw, 90px) clamp(28px, 6vw, 80px);
  background:
    radial-gradient(120% 140% at 100% 100%, rgba(56, 189, 248, 0.08), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-2);
  box-shadow: 0 20px 50px -20px rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}
.cta-inner h2 { max-width: 16ch; }
.cta-inner p { margin-top: 14px; max-width: 44ch; }

/* ───────────────────────── CONTACT ─────────────────────────────────── */
.contact { background: var(--bg-2); }
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(32px, 5vw, 64px);
}
.contact-info-block { margin-bottom: 30px; display: flex; gap: 16px; align-items: flex-start; }
.contact-info-block .ci-icon {
  flex-shrink: 0;
  width: 46px; height: 46px;
  border-radius: 12px;
  display: grid; place-items: center;
  background: rgba(245, 197, 24, 0.12);
  border: 1px solid rgba(245, 197, 24, 0.3);
}
.contact-info-block .ci-icon svg { width: 20px; height: 20px; color: var(--gold); }
.contact-info-block h4 { font-size: 0.78rem; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 8px; font-family: var(--font-body); font-weight: 600; }
.contact-info-block p { color: var(--text); font-size: 1.02rem; line-height: 1.6; }
.contact-info-block a:hover { color: var(--gold); }

.contact-map {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--line);
  height: 220px;
  /* blend OpenStreetMap's light tiles into the dark theme (kept bright enough to read) */
  filter: invert(0.91) hue-rotate(180deg) grayscale(0.3) brightness(1.05) contrast(0.9);
}
.contact-map iframe { width: 100%; height: 100%; border: 0; display: block; }

.contact-form {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: clamp(28px, 4vw, 44px);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { position: relative; margin-bottom: 22px; }
.form-group input,
.form-group textarea {
  width: 100%;
  padding: 22px 16px 10px;
  background: var(--bg-3);
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--text);
  font: 400 0.98rem/1.5 var(--font-body);
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.form-group textarea { min-height: 140px; resize: vertical; padding-top: 24px; }
.form-group label {
  position: absolute;
  left: 16px; top: 17px;
  font-size: 0.95rem;
  color: var(--muted-2);
  pointer-events: none;
  transition: top 0.22s var(--ease), font-size 0.22s, color 0.22s;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.12); }
.form-group input:focus ~ label,
.form-group input:not(:placeholder-shown) ~ label,
.form-group textarea:focus ~ label,
.form-group textarea:not(:placeholder-shown) ~ label {
  top: 8px;
  font-size: 0.68rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.contact-form button { width: 100%; justify-content: center; margin-top: 4px; }
.form-success {
  display: none;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  padding: 14px 18px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.1);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: var(--text);
  font-size: 0.92rem;
}
.form-success.show { display: flex; animation: fadeUp 0.5s var(--ease); }
.form-success svg { width: 18px; height: 18px; color: var(--blue); flex-shrink: 0; }

/* ───────────────────────── FOOTER ──────────────────────────────────── */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--line);
  padding-top: clamp(56px, 8vw, 90px);
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: -1px; left: 50%;
  transform: translateX(-50%);
  width: 280px; height: 2px;
  background: var(--grad-flame);
  box-shadow: 0 0 24px rgba(245, 197, 24, 0.5);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 56px;
  border-bottom: 1px solid var(--line);
}
.footer-brand img { height: 50px; width: auto; margin-bottom: 22px; }
.footer-brand p { font-size: 0.95rem; line-height: 1.8; max-width: 34ch; }
.footer-social { display: flex; gap: 12px; margin-top: 24px; }
.footer-social a {
  width: 40px; height: 40px;
  border-radius: 10px;
  display: grid; place-items: center;
  border: 1px solid var(--line-2);
  color: var(--muted);
  transition: color 0.3s, border-color 0.3s, transform 0.3s, background 0.3s;
}
.footer-social a:hover { color: #11161d; background: var(--gold); border-color: var(--gold); transform: translateY(-3px); }
.footer-social svg { width: 18px; height: 18px; }
.footer-col h5 {
  font: 600 0.85rem/1 var(--font-body);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; display: grid; gap: 13px; }
.footer-col a { color: var(--muted); font-size: 0.96rem; transition: color 0.25s, padding-left 0.25s; }
.footer-col a:hover { color: var(--gold); padding-left: 5px; }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding: 28px 0 34px;
  font-size: 0.92rem;
  color: var(--muted-2);
}
.footer-bottom a:hover { color: var(--gold); }

/* back to top */
.to-top {
  position: fixed;
  right: 26px; bottom: 26px;
  width: 50px; height: 50px;
  border-radius: 50%;
  background: var(--grad-flame);
  color: #11161d;
  display: grid;
  place-items: center;
  border: 0;
  cursor: pointer;
  z-index: 900;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px) scale(0.8);
  transition: opacity 0.4s var(--ease), transform 0.4s var(--ease), box-shadow 0.3s;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
}
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { transform: translateY(-3px); }
.to-top svg { width: 20px; height: 20px; }

/* ───────────────────────── 12. PROJECT DETAIL ──────────────────────── */
.proj-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
  padding-bottom: clamp(40px, 6vw, 70px);
}
.proj-hero-media { position: absolute; inset: 0; z-index: 0; }
.proj-hero-media img {
  width: 100%; height: 118%;
  object-fit: cover;
  position: absolute; top: -9%; left: 0;
}
.proj-hero-media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--bg) 2%, rgba(10, 14, 20, 0.55) 45%, rgba(10, 14, 20, 0.5) 100%);
}
.proj-hero-inner { position: relative; z-index: 2; }
.proj-badge {
  display: inline-flex;
  align-items: center;
  background: var(--grad-flame);
  color: #11161d;
  font: 700 0.7rem/1 var(--font-body);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.proj-hero h1 { font-size: clamp(2.2rem, 5.5vw, 4.4rem); font-weight: 800; max-width: 18ch; }

.proj-detail { background: var(--bg); }
.proj-detail-grid {
  display: block;
  max-width: 1000px;
}
.proj-detail-text h2 { margin: 16px 0 22px; font-size: clamp(1.6rem, 3vw, 2.2rem); }
.proj-detail-text p { font-size: 1.05rem; line-height: 1.9; margin-bottom: 18px; color: var(--muted); }
.proj-specs {
  list-style: none;
  margin-top: 36px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}
@media (max-width: 860px) {
  .proj-specs { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .proj-specs { grid-template-columns: 1fr; }
}
.proj-specs li {
  background: var(--surface);
  padding: 20px 22px;
  border-radius: 12px;
  border: 1px solid var(--line);
  border-left: 3px solid var(--gold);
}
.proj-specs .k { font-size: 0.82rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-2); }
.proj-specs .v { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; color: var(--text); margin-top: 6px; }
.proj-detail-media { display: grid; gap: 18px; }
.proj-detail-media img {
  border-radius: var(--radius);
  border: 1px solid var(--line);
  display: block;
  width: 100%;
  height: auto;
  /* Frame every project photo to a consistent landscape box and crop to fill.
     Without this the grid cell forced each image to its full natural height
     while width was 100% → the photo got vertically stretched (squished). */
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.proj-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 600 0.86rem/1 var(--font-body);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.25s, gap 0.25s;
}
.proj-back:hover { color: var(--gold); gap: 14px; }
.proj-back svg { width: 16px; height: 16px; }
.proj-nav {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--line);
  margin-top: 20px;
  padding-top: 36px;
}
.proj-nav a { color: var(--muted); font-weight: 600; transition: color 0.25s; }
.proj-nav a:hover { color: var(--gold); }
.proj-nav .nxt { text-align: right; }
.proj-nav small { display: block; font-size: 0.72rem; letter-spacing: 1.5px; text-transform: uppercase; color: var(--muted-2); margin-bottom: 6px; }

/* ───────────────────────── POLICY PAGE ────────────────────────────── */
.policy-page {
  padding-top: clamp(180px, 22vh, 250px);
  padding-bottom: clamp(100px, 12vh, 160px);
}

.policy-header {
  margin-bottom: 48px;
}

.policy-header h1 {
  margin-bottom: 16px;
}

.policy-section {
  margin-bottom: 44px;
}

.policy-section h2 {
  margin-top: 24px;
  margin-bottom: 14px;
}

.policy-section p {
  line-height: 1.85;
  margin-bottom: 16px;
}

.policy-section ul {
  margin-top: 14px;
  margin-bottom: 24px;
}

.policy-section li {
  margin-bottom: 12px;
  line-height: 1.8;
}

.policy-contact-box {
  margin-top: 56px;
}

/* ───────────────────────── 13. RESPONSIVE ──────────────────────────── */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .f-card {
    border-right: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .f-card:nth-child(2n) {
    border-right: none;
  }
  .f-card:nth-child(n+7) {
    border-bottom: none;
  }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px 32px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 860px) {
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: block; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }

  .contact-grid { grid-template-columns: 1fr; }

  /* timeline collapses to single side */
  .timeline::before, .timeline-fill { left: 9px; }
  .t-step { width: 100%; left: 0 !important; text-align: left !important; padding: 0 0 48px 44px; }
  .t-step .dot { left: 1px !important; right: auto !important; }

  .proj-detail-grid { grid-template-columns: 1fr; }
  .proj.wide { aspect-ratio: 16 / 11; }
}

@media (max-width: 560px) {
  .services-grid, .features-grid, .projects-grid, .cert-grid { grid-template-columns: 1fr; }
  .f-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }
  .f-card:last-child {
    border-bottom: none;
  }
  .stats-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .form-row { grid-template-columns: 1fr; }
  .proj-specs { grid-template-columns: 1fr; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
  .hero h1 { font-size: clamp(2.2rem, 11vw, 3.4rem); }
  .footer-grid { grid-template-columns: 1fr; }
}

/* ───────────────────────── 14. REDUCED MOTION ──────────────────────── */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .stagger > * { opacity: 1 !important; transform: none !important; }
  .embers, .hero-scroll .mouse::after { display: none; }
  .marquee-track { animation: none; }
}

/* ═══════════════════════════════════════════════════════════════════════
   15. PREMIUM MOTION LAYER
   Stacked on top of the existing system — adds:
   noise grain · page transitions · spring tokens · 3-D tilt perspectives
   shimmer sweeps · glow pulses · floating elements · animated text gradients
   scroll-linked cursor glow · scrollbar · section-child reveals
   ═══════════════════════════════════════════════════════════════════════ */

/* ─── Extended easing tokens ─── */
:root {
  --ease-spring:  cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease-bounce:  cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

/* ─── Noise grain overlay ─── */
.noise {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3001;
  pointer-events: none;
  overflow: hidden;
}
.noise::before {
  content: '';
  position: absolute;
  inset: -100%;
  width: 300%;
  height: 300%;
  opacity: 0.038;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.72' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: noise-drift 14s linear infinite;
}
@keyframes noise-drift {
  to { transform: translate(-33.3%, -33.3%); }
}

/* ─── Cursor-following ambient glow (body-level) ─── */
body::after {
  content: '';
  position: fixed;
  width: 900px;
  height: 900px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(245, 197, 24, 0.045) 0%, transparent 65%);
  transform: translate(var(--glow-x, 50vw), var(--glow-y, 50vh)) translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  transition: transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* Page-transition wipe removed — links navigate natively for a smooth feel. */

/* ─── Word reveal: clip-path sliding-up ─── */
.word-wrap {
  display: inline-block;
  overflow: hidden;
  vertical-align: bottom;
  padding-bottom: 0.04em; /* prevent clipping descenders */
}
.hero h1 .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(110%);
  animation: wordUp 0.9s var(--ease-spring) forwards;
}
@keyframes wordUp {
  to { opacity: 1; transform: translateY(0); }
}

/* ─── Nav entrance on load ─── */
.nav {
  animation: navSlide 0.8s var(--ease) 0.05s both;
}
@keyframes navSlide {
  from { opacity: 0; transform: translateY(-24px); }
  to   { opacity: 1; transform: none; }
}

/* ─── Hero glow orbs animate ─── */
.hero-glow-1 { animation: glowPulse 6s ease-in-out infinite; }
.hero-glow-2 { animation: glowPulse 8s ease-in-out infinite reverse; animation-delay: -3s; }
@keyframes glowPulse {
  0%, 100% { opacity: 0.35; transform: scale(1); }
  50%       { opacity: 0.65; transform: scale(1.18); }
}

/* ─── Hero scroll indicator float ─── */
.hero-scroll { animation: fadeUp 1s var(--ease) 1.2s both, scrollFloat 2.6s ease-in-out 2.3s infinite; }
@keyframes scrollFloat {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(7px); }
}

/* ─── About badge float ─── */
.about-badge { animation: badgeFloat 5s ease-in-out infinite; }
@keyframes badgeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  35%       { transform: translateY(-8px) rotate(-0.4deg); }
  65%       { transform: translateY(-4px) rotate(0.3deg); }
}

/* ─── Text gradient animated sweep ─── */
@keyframes gradShift {
  to { background-position: 200% center; }
}

/* ─── Card shimmer sweep on hover ─── */
.s-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: -70%;
  width: 45%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.065),
    transparent
  );
  transform: skewX(-18deg);
  pointer-events: none;
  z-index: 2;
  transition: none;
}
.s-card:hover::after {
  left: 145%;
  transition: left 0.72s var(--ease);
}



/* ─── 3-D card tilt perspective containers ─── */
.services-grid,
.cert-grid,
.arch-grid {
  perspective: 1400px;
}
.s-card,
.cert-card,
.arch-card {
  transform-style: preserve-3d;
  will-change: transform;
}

/* Entry states are set by WAAPI keyframes (first keyframe),
   not by CSS — so they don't fight the cascade. */

/* ─── Project overlay colour accent on hover ─── */
.proj::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(245, 197, 24, 0.07) 0%,
    transparent 40%,
    rgba(56, 189, 248, 0.05) 100%
  );
  opacity: 0;
  transition: opacity 0.5s var(--ease);
  z-index: 1;
  pointer-events: none;
}
.proj:hover::before { opacity: 1; }

/* ─── Timeline dot pulse when it activates ─── */
@keyframes dotPulse {
  0%   { box-shadow: 0 0 0 0 rgba(245, 197, 24, 0.7); }
  50%  { box-shadow: 0 0 0 12px rgba(245, 197, 24, 0); }
  100% { box-shadow: 0 0 0 8px rgba(245, 197, 24, 0.14); }
}
.t-step.in .dot { animation: dotPulse 0.8s var(--ease) 0.2s both; }

/* ─── Back-to-top subtle pulse ─── */
@keyframes topPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25); }
  50%       { box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35); }
}
.to-top.show { animation: topPulse 2.8s ease-in-out infinite; }

/* ─── Section-head children staggered ─── */
.section-head .eyebrow,
.section-head h2,
.section-head p {
  will-change: opacity, transform;
}

/* ─── Marquee icon hover spin ─── */
.marquee-item svg {
  transition: transform 0.4s var(--ease-spring), color 0.3s;
}
.marquee-item:hover svg { transform: rotate(18deg) scale(1.25); }

/* ─── Footer link animated arrow ─── */
.footer-col a {
  position: relative;
  padding-left: 0;
}
.footer-col a::before {
  content: '›';
  position: absolute;
  left: -12px;
  opacity: 0;
  color: var(--gold);
  font-size: 1em;
  line-height: 1;
  transition: opacity 0.22s, left 0.22s var(--ease);
}
.footer-col a:hover {
  padding-left: 16px;
}
.footer-col a:hover::before {
  opacity: 1;
  left: 0;
}

/* ─── Custom scrollbar ─── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb {
  background: rgba(245, 197, 24, 0.28);
  border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover { background: rgba(245, 197, 24, 0.55); }

/* ─── Contact form focus glow ─── */
.form-group input:focus,
.form-group textarea:focus {
  box-shadow: 0 0 0 3px rgba(245, 197, 24, 0.14), 0 0 24px rgba(245, 197, 24, 0.07);
}

/* ─── Preloader enhanced exit ─── */
.preloader.done {
  clip-path: inset(0 0 100% 0);
  transition: clip-path 0.9s cubic-bezier(0.76, 0, 0.24, 1) 0.1s,
              opacity 0.4s 0.7s,
              visibility 0.4s 0.7s;
  opacity: 0;
  visibility: hidden;
}

/* ─── Extended reduced-motion overrides ─── */
@media (prefers-reduced-motion: reduce) {
  .noise::before,
  .hero-glow-1,
  .hero-glow-2,
  .about-badge,
  .text-gradient,
  .hero-scroll,
  .to-top.show,
  .t-step.in .dot,
  .nav {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
  body::after { display: none; }
  .preloader.done { clip-path: none; }
}

/* ───────────────── CLIENTS CAROUSEL ───────────────── */
.section.clients {
  padding: clamp(72px, 11vh, 140px) 0;
  background: var(--bg-2);
  overflow: hidden;
  position: relative;
}
.section.clients::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--line-2), transparent);
}

/* ── Marquee wrapper ── */
.clients-marquee-wrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
  contain: layout paint;
}
.clients-marquee-wrapper::before,
.clients-marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 12%;
  z-index: 3;
  pointer-events: none;
}
.clients-marquee-wrapper::before {
  left: 0;
  background: linear-gradient(to right, var(--bg-2), transparent);
}
.clients-marquee-wrapper::after {
  right: 0;
  background: linear-gradient(to left, var(--bg-2), transparent);
}

/* ── Marquee track ── */
.clients-marquee {
  display: flex;
  width: max-content;
  animation: scrollMarquee 35s linear infinite;
  gap: 28px;
  padding: 0 14px;
  will-change: transform;
  transform: translateZ(0);
}

.clients-marquee-wrapper:hover .clients-marquee {
  animation-play-state: paused;
}

/* ── Individual logo card ── */
.client-logo {
  cursor: pointer;
  flex-shrink: 0;
  width: 240px;
  height: 120px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 28px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  background: var(--surface);
  position: relative;
  overflow: hidden;
  contain: content;
  transition: transform 0.4s var(--ease), border-color 0.3s, box-shadow 0.3s;
}
.client-logo::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(300px circle at 50% 50%, rgba(245,197,24,0.08), transparent 70%);
  opacity: 0;
  transition: opacity 0.4s;
}
.client-logo span {
  font: 600 0.8rem var(--font-body);
  color: var(--muted-2);
  position: relative;
  z-index: 1;
}
.client-logo img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  position: relative;
  z-index: 1;
  transition: transform 0.4s var(--ease);
  filter: none;
  opacity: 1;
}
.client-logo:hover {
  transform: translateY(-6px);
  border-color: rgba(245,197,24,0.3);
  box-shadow: 0 8px 30px -8px rgba(245,197,24,0.12);
}
.client-logo:hover::before {
  opacity: 1;
}
.client-logo:hover img {
  transform: scale(1.08);
}

@keyframes scrollMarquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - 14px)); }
}

@media (max-width: 768px) {
  .client-logo {
    width: 180px;
    height: 95px;
    padding: 16px 20px;
  }
  .clients-marquee {
    gap: 20px;
  }
}

/* ───────────────────────── 15. PROJECT MODAL & LIGHTBOX ───────────────── */
.project-modal {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(10, 14, 20, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s var(--ease), visibility 0.4s;
}

.project-modal.active {
  opacity: 1;
  visibility: visible;
}

.project-modal-content {
  position: relative;
  width: 100%;
  max-width: 1100px;
  max-height: 90vh;
  margin: 0 20px;
  background: var(--bg-2);
  border: 1px solid var(--gold);
  border-radius: var(--radius);
  padding: 40px;
  overflow-y: auto;
  box-shadow: 0 24px 60px -12px rgba(0, 0, 0, 0.8);
  transform: translateY(20px) scale(0.98);
  transition: transform 0.5s var(--ease);
}

.project-modal.active .project-modal-content {
  transform: translateY(0) scale(1);
}

.project-modal-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 40px;
  height: 40px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s, color 0.3s;
  z-index: 2;
}

.project-modal-close:hover {
  background: var(--gold);
  color: var(--bg);
  transform: scale(1.1);
}

.project-modal-header {
  margin-bottom: 30px;
}

.project-modal-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  margin-bottom: 12px;
  color: var(--text);
}

.project-modal-header .category-tag {
  display: inline-block;
  padding: 6px 12px;
  background: rgba(245, 197, 24, 0.1);
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.project-modal-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--muted);
  margin-bottom: 40px;
  max-width: 800px;
}

.project-modal-gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .project-modal-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .project-modal-gallery {
    grid-template-columns: 1fr;
  }
  .project-modal-content {
    padding: 24px;
  }
}

.project-modal-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius-sm);
  cursor: zoom-in;
  transition: transform 0.4s var(--ease), box-shadow 0.4s var(--ease);
}

.project-modal-gallery img:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 12px 30px -10px rgba(0, 0, 0, 0.5);
}

/* Lightbox Overlay */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 4px;
  transform: scale(0.95);
  transition: transform 0.4s var(--ease);
}

.lightbox-overlay.active .lightbox-img {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 48px;
  height: 48px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  z-index: 2;
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--bg);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  z-index: 2;
}

.lightbox-nav:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

/* ── Modal header category tag ── */
.project-modal-header .proj-cat {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(245, 197, 24, 0.1);
  color: var(--gold);
  border: 1px solid rgba(245, 197, 24, 0.2);
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 16px;
}

/* ── Modal text list styling ── */
.project-modal-text ul {
  list-style: none;
  padding: 0;
  margin: 16px 0 24px;
}

.project-modal-text li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 14px;
  line-height: 1.7;
}

.project-modal-text li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  background: var(--gold);
  border-radius: 50%;
}

.project-modal-text li strong {
  color: var(--text);
}

/* ── Project card cursor ── */
.proj[data-project-id] {
  cursor: pointer;
}

/* ───────────────────────── 16. PROFESSIONAL PROJECT GALLERY & INTERACTIVE LIGHTBOX ZOOM ───────────────── */
.proj-gallery-section {
  margin-top: 54px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}

.proj-gallery-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 28px;
  flex-wrap: wrap;
  gap: 12px;
}

.proj-gallery-title {
  font-size: clamp(1.3rem, 2.2vw, 1.75rem);
  color: var(--text);
  margin: 0;
  display: flex;
  align-items: center;
  gap: 12px;
}

.proj-gallery-title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 24px;
  background: var(--gold);
  border-radius: 2px;
}

.proj-gallery-count {
  font-size: 0.82rem;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(245, 197, 24, 0.1);
  padding: 6px 14px;
  border-radius: 99px;
  border: 1px solid rgba(245, 197, 24, 0.25);
}

.proj-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

@media (max-width: 960px) {
  .proj-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 600px) {
  .proj-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.proj-gallery-item {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: #0c1017;
  border: 1px solid var(--line);
  aspect-ratio: 4 / 3;
  width: 100%;
  cursor: zoom-in;
  transition: transform 0.4s var(--ease), border-color 0.4s, box-shadow 0.4s;
}

.proj-gallery-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border-radius: 0 !important;
  border: none !important;
  aspect-ratio: auto !important;
  transition: transform 0.6s var(--ease);
}

.proj-gallery-item:hover {
  transform: translateY(-6px);
  border-color: rgba(245, 197, 24, 0.5);
  box-shadow: 0 16px 36px -10px rgba(0, 0, 0, 0.7);
}

.proj-gallery-item:hover img {
  transform: scale(1.06);
}

.proj-gallery-item::after {
  content: '🔍 Πατήστε για Μεγέθυνση';
  position: absolute;
  inset: 0;
  background: rgba(8, 12, 18, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
  opacity: 0;
  transition: opacity 0.3s var(--ease);
  pointer-events: none;
}

.proj-gallery-item:hover::after {
  opacity: 1;
}

/* Featured Card in Project Overview Grid */
.proj-featured-card {
  position: relative;
  width: 100%;
  height: 100%;
  min-height: 380px;
  border-radius: 16px;
  overflow: hidden;
  background: #0c1017;
  border: 1px solid var(--line);
  cursor: zoom-in;
  transition: border-color 0.3s, box-shadow 0.3s;
}

.proj-featured-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  border: none !important;
  transition: transform 0.6s var(--ease);
}

.proj-featured-card:hover img {
  transform: scale(1.05);
}

.proj-featured-badge {
  position: absolute;
  bottom: 16px;
  right: 16px;
  background: rgba(8, 12, 18, 0.85);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(245, 197, 24, 0.4);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 1px;
  display: flex;
  align-items: center;
  gap: 8px;
  pointer-events: none;
}

/* Lightbox Styling & Interactive Zoom Toolbar */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 100000;
  background: rgba(6, 9, 14, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s var(--ease), visibility 0.35s;
  user-select: none;
}

.lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-toolbar {
  position: absolute;
  top: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(20, 26, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 6px 16px;
  border-radius: 99px;
  z-index: 10;
}

.lightbox-btn {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.1rem;
  font-weight: 600;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.25s, color 0.25s;
}

.lightbox-btn:hover {
  background: var(--gold);
  color: var(--bg);
}

.lightbox-zoom-level {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--gold);
  min-width: 48px;
  text-align: center;
}

.lightbox-container {
  position: relative;
  width: 90vw;
  height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: grab;
}

.lightbox-container.grabbing {
  cursor: grabbing;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.9);
  border: 1px solid rgba(245, 197, 24, 0.35);
  transform-origin: center center;
  transition: transform 0.25s var(--ease);
  will-change: transform;
}

.lightbox-img.lightbox-client-logo {
  background: #ffffff;
  padding: 32px 48px;
  border-radius: 20px;
  max-width: clamp(280px, 80vw, 560px);
  max-height: 280px;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9), 0 0 35px rgba(245, 197, 24, 0.3);
  border: 2px solid var(--gold);
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  background: rgba(20, 26, 36, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  padding: 8px 20px;
  border-radius: 99px;
  color: var(--text);
  font-size: 0.88rem;
  font-family: var(--font-body);
  text-align: center;
  max-width: 80vw;
}

.lightbox-close {
  position: absolute;
  top: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: #fff;
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s, color 0.3s;
  z-index: 10;
}

.lightbox-close:hover {
  background: var(--gold);
  color: var(--bg);
  transform: scale(1.1);
}

.lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  color: #fff;
  font-size: 1.4rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, transform 0.3s;
  z-index: 10;
}

.lightbox-nav:hover {
  background: var(--gold);
  color: var(--bg);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

@media (max-width: 768px) {
  .lightbox-toolbar { top: 16px; padding: 4px 12px; }
  .lightbox-close { top: 16px; right: 16px; width: 40px; height: 40px; font-size: 1.2rem; }
  .lightbox-nav { width: 42px; height: 42px; font-size: 1.2rem; }
  .lightbox-prev { left: 12px; }
  .lightbox-next { right: 12px; }
}
