/* ==========================================================================
   Smartech — style.css  ·  "Bold Vibrant Gradient" theme
   Energetic orange gradients, big rounded shapes, soft warm shadows.
   Brand colours are injected as CSS variables by generate.js
   (see <style id="theme-vars"> in index.html). Edit base colours in .env.
   JS-coupled mechanics (slideshow, projects carousel, loader, reveal,
   mobile nav, form) are preserved — only the look is rebuilt.
   ========================================================================== */

:root {
  --primary: #f3a418;
  --secondary: #e07d10;
  --accent: #fbbf24;
  --bg: #fdfdfc;
  --text: #33343a;
  --dark: #2b2b2d;

  --primary-dark: color-mix(in srgb, var(--primary), #000 16%);
  --primary-soft: color-mix(in srgb, var(--primary), #fff 90%);
  --primary-tint: color-mix(in srgb, var(--primary), transparent 88%);
  --card-bg: #ffffff;
  --border: color-mix(in srgb, var(--text), transparent 88%);
  --muted: color-mix(in srgb, var(--text), transparent 32%);

  /* bold vibrant building blocks */
  --grad: linear-gradient(135deg, var(--accent), var(--primary) 45%, var(--secondary));
  --grad-rev: linear-gradient(135deg, var(--secondary), var(--primary) 55%, var(--accent));
  --grad-bar: linear-gradient(90deg, var(--primary), var(--accent));
  --shadow: 0 22px 48px -22px color-mix(in srgb, var(--secondary), transparent 62%);
  --shadow-sm: 0 10px 26px -16px color-mix(in srgb, var(--secondary), transparent 64%);
  --shadow-lg: 0 40px 80px -34px color-mix(in srgb, var(--secondary), transparent 52%);
  --shadow-ink: 0 18px 40px -20px color-mix(in srgb, var(--dark), transparent 72%);

  --radius-lg: 30px;
  --radius: 22px;
  --radius-sm: 14px;
  --maxw: 1160px;
  --header-h: 70px;

  font-family: 'Cairo', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { color: var(--text); background: var(--bg); line-height: 1.75; font-size: 16px; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
::selection { background: color-mix(in srgb, var(--primary), transparent 70%); }

.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
.center { text-align: center; }

/* ---------------------------- buttons ----------------------------------- */
.btn { position: relative; display: inline-flex; align-items: center; justify-content: center; gap: 9px; padding: 14px 30px; border-radius: 999px; font-weight: 800; font-size: 0.98rem; cursor: pointer; border: 2px solid transparent; transition: transform .18s cubic-bezier(.34,1.4,.5,1), box-shadow .25s, background .25s, color .2s; font-family: inherit; }
.btn-primary { background: var(--grad); background-size: 160% 160%; color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: var(--shadow); background-position: 100% 0; }
.btn-ghost { background: #fff; color: var(--primary-dark); border-color: color-mix(in srgb, var(--primary), transparent 64%); box-shadow: var(--shadow-sm); }
.btn-ghost:hover { transform: translateY(-3px); border-color: var(--primary); background: var(--primary-tint); }
.btn-block { width: 100%; }

/* ---------------------------- header ------------------------------------ */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg), transparent 8%); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid transparent; transition: box-shadow .25s, border-color .25s, background .25s; }
.site-header.scrolled { box-shadow: var(--shadow-sm); border-color: color-mix(in srgb, var(--primary), transparent 82%); }
.header-inner { height: var(--header-h); display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.brand { display: inline-flex; align-items: center; }
.brand-logo { height: 27px; width: auto; }
.nav { display: flex; align-items: center; gap: 2px; }
/* sliding gradient bar rides the top edge of the active link; hover previews it */
.nav-link { position: relative; display: inline-flex; align-items: center; padding: 10px 14px; font-weight: 700; font-size: .96rem; color: var(--text); transition: color .18s; }
.nav-link::before { content: ""; position: absolute; inset-inline: 8px; top: -1px; height: 3px; border-radius: 0 0 4px 4px; background: var(--grad-bar); transform: scaleX(0); transform-origin: center; opacity: 0; transition: transform .25s cubic-bezier(.4,0,.2,1), opacity .2s; }
.nav-link__txt { position: relative; }
.nav-link:hover { color: var(--primary-dark); }
.nav-link:hover::before { transform: scaleX(.55); opacity: .5; }
.nav-link.active { color: var(--primary-dark); }
.nav-link.active::before { transform: scaleX(1); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 12px; }

.lang-switcher { display: inline-flex; gap: 4px; background: var(--primary-tint); padding: 4px; border-radius: 999px; }
.lang-btn { border: 0; cursor: pointer; min-width: 36px; height: 30px; padding: 0 10px; border-radius: 999px; font-weight: 800; font-size: .82rem; background: transparent; color: var(--primary-dark); font-family: inherit; transition: background .18s, color .18s; }
.lang-btn:hover { background: color-mix(in srgb, var(--primary), transparent 78%); }
.lang-btn.active { background: var(--grad); color: #fff; }

.nav-toggle { display: none; width: 42px; height: 42px; border: 1px solid var(--border); background: #fff; border-radius: 12px; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.nav-toggle span { width: 20px; height: 2px; background: var(--dark); border-radius: 2px; transition: .2s; }

/* ---------------------------- hero (bold gradient band) ----------------- */
.hero { position: relative; isolation: isolate; overflow: hidden; text-align: center; color: #fff;
  padding: clamp(66px, 10vw, 116px) 0 clamp(60px, 9vw, 104px);
  background:
    radial-gradient(60% 80% at 12% 4%, color-mix(in srgb, var(--accent), transparent 22%), transparent 60%),
    radial-gradient(70% 90% at 100% 100%, color-mix(in srgb, var(--secondary), transparent 8%), transparent 58%),
    linear-gradient(135deg, var(--primary), var(--secondary)); }
/* floating decorative blobs */
.hero::before, .hero::after { content: ''; position: absolute; z-index: -1; border-radius: 50%; pointer-events: none; }
.hero::before { width: clamp(220px, 34vw, 420px); aspect-ratio: 1; top: -16%; inset-inline-end: -6%; background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.4), transparent 68%); animation: blob-float 14s ease-in-out infinite; }
.hero::after { width: clamp(260px, 40vw, 520px); aspect-ratio: 1; bottom: -28%; inset-inline-start: -10%; background: radial-gradient(circle at 50% 50%, color-mix(in srgb, var(--accent), transparent 26%), transparent 66%); animation: blob-float 18s ease-in-out infinite reverse; }
.hero-inner { position: relative; z-index: 1; max-width: 900px; margin-inline: auto; }
.hero-eyebrow { display: inline-block; font-weight: 800; font-size: .9rem; color: #fff; background: rgba(255,255,255,.18); padding: 8px 18px; border-radius: 999px; margin-bottom: 22px; border: 1px solid rgba(255,255,255,.4); backdrop-filter: blur(6px); }
.hero-title { font-size: clamp(2rem, 5.4vw, 3.5rem); line-height: 1.18; color: #fff; font-weight: 800; letter-spacing: -.5px; text-shadow: 0 4px 22px color-mix(in srgb, var(--secondary), transparent 35%); }
.hero-subtitle { margin: 20px auto 34px; max-width: 720px; font-size: clamp(1.02rem, 2.2vw, 1.22rem); color: rgba(255,255,255,.94); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }
.hero .btn-primary { background: #fff; color: var(--secondary); box-shadow: 0 16px 40px -18px rgba(0,0,0,.4); }
.hero .btn-primary:hover { background: #fff; color: var(--primary-dark); }
.hero .btn-ghost { background: rgba(255,255,255,.14); color: #fff; border-color: rgba(255,255,255,.6); box-shadow: none; backdrop-filter: blur(6px); }
.hero .btn-ghost:hover { background: rgba(255,255,255,.26); border-color: #fff; }
@keyframes blob-float { 0%,100% { transform: translateY(0) translateX(0); } 50% { transform: translateY(26px) translateX(-18px); } }

/* ---------------------------- slideshow (top slider) -------------------- */
/* Full-width, image-only continuous slider. Hidden until script.js confirms
   there is at least one image that actually loads. Mechanics unchanged. */
.slideshow-section { display: none; }
.slideshow-section.is-ready { display: block; }
.top-slider { width: 100%; }

.slideshow { position: relative; direction: ltr; }
.slideshow-viewport { position: relative; width: 100%; height: 80vh; overflow: hidden; background: linear-gradient(135deg, var(--dark), #1f1f21); }
.slideshow-track { display: flex; height: 100%; will-change: transform; }
.slideshow-track.is-animating { transition: transform .7s cubic-bezier(.4, 0, .2, 1); }
.slide { position: relative; flex: 0 0 100%; width: 100%; height: 100%; }
.slide img { width: 100%; height: 100%; object-fit: cover; }

/* per-slide title + brief description overlay */
.slide-caption { position: absolute; inset: 0; z-index: 1; pointer-events: none; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: clamp(24px, 6vw, 72px); gap: 16px; text-align: center; color: #fff; background: linear-gradient(to top, rgba(0,0,0,.72), rgba(0,0,0,.3) 55%, rgba(0,0,0,.45)); }
.slide-caption::before { content: ''; display: block; width: 72px; height: 4px; border-radius: 4px; background: var(--grad-bar); }
.slide.is-current .slide-caption { animation: ss-cap-in .7s .12s cubic-bezier(.2, .7, .2, 1) both; }
@keyframes ss-cap-in { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
.slide-title { font-size: clamp(1.7rem, 4.4vw, 3.3rem); font-weight: 800; line-height: 1.15; letter-spacing: -.4px; text-shadow: 0 2px 6px rgba(0,0,0,.7), 0 4px 24px rgba(0,0,0,.55); }
.slide-desc { margin-top: 2px; max-width: 56ch; font-size: clamp(1.05rem, 2vw, 1.4rem); font-weight: 600; line-height: 1.55; color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.75), 0 2px 16px rgba(0,0,0,.6); }

.slideshow-progress { position: absolute; top: 0; left: 0; right: 0; height: 3px; z-index: 3; background: rgba(255,255,255,.18); }
.slideshow-progress span { display: block; height: 100%; transform-origin: left center; transform: scaleX(0); background: var(--grad-bar); }
@keyframes ss-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }

.slideshow-arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 50px; height: 50px; display: grid; place-items: center; cursor: pointer; border: 0; border-radius: 50%; color: #fff; z-index: 2; background: color-mix(in srgb, var(--dark), transparent 28%); backdrop-filter: blur(4px); transition: background .2s, transform .15s; }
.slideshow-arrow:hover { background: var(--primary); transform: translateY(-50%) scale(1.06); }
.slideshow-arrow:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.slideshow-arrow svg { width: 26px; height: 26px; fill: currentColor; }
.slideshow-prev { left: 16px; }
.slideshow-next { right: 16px; }
.slideshow-next svg { transform: rotate(180deg); }

.slideshow-dots { position: absolute; left: 0; right: 0; bottom: 16px; display: flex; justify-content: center; gap: 10px; z-index: 2; }
.slideshow-dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 999px; cursor: pointer; background: color-mix(in srgb, #fff, transparent 45%); box-shadow: 0 1px 3px rgba(0,0,0,.4); transition: width .28s ease, background .2s; }
.slideshow-dot:hover { background: color-mix(in srgb, #fff, transparent 18%); }
.slideshow-dot.is-active { width: 30px; background: var(--grad-bar); }

@media (max-width: 560px) { .slideshow-arrow { width: 42px; height: 42px; } }
@media (prefers-reduced-motion: reduce) {
  .slideshow-track.is-animating { transition: none; }
  .slide.is-current .slide-caption { animation: none; }
  .slideshow-progress { display: none; }
  .hero::before, .hero::after { animation: none; }
}

/* ---------------------------- sections ---------------------------------- */
.section { position: relative; padding: clamp(56px, 8vw, 96px) 0; scroll-margin-top: calc(var(--header-h) + 6px); }
.section-alt { background:
  radial-gradient(80% 60% at 100% 0%, var(--primary-tint), transparent 60%),
  radial-gradient(70% 50% at 0% 100%, color-mix(in srgb, var(--accent), transparent 90%), transparent 60%),
  var(--primary-soft); }
.section-title { font-size: clamp(1.65rem, 4vw, 2.45rem); color: var(--dark); font-weight: 800; text-align: center; margin-bottom: 16px; letter-spacing: -.3px; }
.section-title::after { content: ''; display: block; width: 66px; height: 5px; margin: 18px auto 0; border-radius: 999px; background: var(--grad-bar); }
.section-lead { max-width: 780px; margin: 0 auto 46px; text-align: center; color: var(--muted); font-size: 1.06rem; }
.section-note { max-width: 820px; margin: 34px auto 0; text-align: center; color: var(--primary-dark); font-weight: 600; }

.prose p { margin-bottom: 14px; color: var(--text); }
.prose p:last-child { margin-bottom: 0; }
.center-prose { max-width: 840px; margin-inline: auto; }

/* about — spotlighted feature section: brand-tinted backdrop + accent panel */
.section-highlight { position: relative; overflow: hidden; background: linear-gradient(180deg, var(--primary-soft), color-mix(in srgb, var(--accent), #fff 86%)); }
.section-highlight::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(72% 60% at 50% -8%, var(--primary-tint), transparent 70%); }
.section-highlight > .container { position: relative; }
.about-panel { position: relative; max-width: 900px; margin: 8px auto 0; padding: clamp(30px, 5vw, 54px); background: var(--card-bg); border: 1px solid color-mix(in srgb, var(--primary), transparent 80%); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; }
.about-panel::before { content: ''; position: absolute; inset-block: 0; inset-inline-start: 0; width: 6px; background: var(--grad); }
.about-panel::after { content: ''; position: absolute; width: 220px; height: 220px; border-radius: 50%; top: -90px; inset-inline-end: -70px; background: radial-gradient(circle, var(--primary-tint), transparent 70%); pointer-events: none; }
.about-panel .prose p:first-child { font-size: 1.16rem; font-weight: 600; color: var(--dark); }

/* ---- per-section title flair (Arabic is cursive — no letter-spacing) ---- */
#vision .section-title { color: transparent; -webkit-text-fill-color: transparent; background: var(--grad-rev); -webkit-background-clip: text; background-clip: text; }
#values .section-title, #products .section-title, #future .section-title { text-align: start; }
#values .section-title::after, #products .section-title::after, #future .section-title::after { margin-inline: 0 auto; }
#values .section-lead, #products .section-lead, #future .section-lead { text-align: start; margin-inline: 0; }
#services .section-lead { color: var(--primary-dark); font-weight: 700; }
#certs .section-lead { font-style: italic; }
#clients .section-lead { font-style: italic; color: var(--primary-dark); }

/* ---------------------------- cards / grids ----------------------------- */
.grid { display: grid; gap: 24px; }
.grid-cards { grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); }

.card { position: relative; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 30px 26px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s, box-shadow .25s, border-color .25s; }
.card::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--grad-bar); transform: scaleX(0); transform-origin: var(--logical-start, left); transition: transform .3s ease; }
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary), transparent 60%); }
.card:hover::before { transform: scaleX(1); }
.card-icon { width: 54px; height: 54px; display: grid; place-items: center; border-radius: 16px; margin-bottom: 18px; color: #fff; background: var(--grad); box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--secondary), transparent 30%); transition: transform .25s ease; }
.card:hover .card-icon { transform: scale(1.08) rotate(-4deg); }
.card-icon svg { width: 27px; height: 27px; fill: currentColor; }
.card-title { font-size: 1.18rem; color: var(--dark); font-weight: 800; margin-bottom: 9px; }
.card-text { color: var(--muted); font-size: .97rem; }

/* vision & mission — open editorial split with a center divider */
.vm-split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px 56px; max-width: 1000px; margin-inline: auto; position: relative; }
.vm-split::before { content: ''; position: absolute; top: 6%; bottom: 6%; inset-inline-start: 50%; width: 2px; background: linear-gradient(var(--primary), transparent); transform: translateX(-50%); }
.vm-glyph { display: grid; place-items: center; width: 60px; height: 60px; border-radius: 18px; color: #fff; background: var(--grad); box-shadow: 0 12px 26px -14px color-mix(in srgb, var(--secondary), transparent 30%); margin-bottom: 18px; }
.vm-glyph svg { width: 30px; height: 30px; fill: currentColor; }
.vm-heading { font-size: 1.34rem; color: var(--dark); font-weight: 800; position: relative; padding-bottom: 12px; margin-bottom: 14px; }
.vm-heading::after { content: ''; position: absolute; inset-inline-start: 0; bottom: 0; width: 44px; height: 4px; border-radius: 999px; background: var(--grad-bar); }
.vm-item .prose p { color: var(--text); }

/* values — numbered editorial list with gradient numerals */
.values-list { max-width: 920px; margin-inline: auto; }
.value-row { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; padding: 28px 0; border-top: 1px solid var(--border); }
.value-row:first-child { border-top: 0; padding-top: 6px; }
.value-num { font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 800; line-height: 1; font-variant-numeric: tabular-nums; color: transparent; -webkit-text-fill-color: transparent; background: var(--grad); -webkit-background-clip: text; background-clip: text; }
.value-name { font-size: 1.2rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.value-desc { color: var(--muted); }

/* products — spec / definition rows */
.spec-list { max-width: 980px; margin-inline: auto; border-top: 2px solid var(--primary-tint); }
.spec-row { display: grid; grid-template-columns: minmax(170px, .85fr) 1.6fr; gap: 8px 34px; padding: 22px 0; border-bottom: 1px solid var(--border); align-items: start; transition: background .2s; }
.spec-row:hover { background: linear-gradient(90deg, var(--primary-tint), transparent); }
.spec-term { position: relative; padding-inline-start: 24px; font-weight: 800; color: var(--dark); font-size: 1.05rem; }
.spec-term::before { content: ''; position: absolute; inset-inline-start: 0; top: .35em; width: 11px; height: 11px; border-radius: 3px; background: var(--grad); transform: rotate(45deg); }
.spec-def { color: var(--muted); margin: 0; }

/* departments — accent-bar directory list */
.dept-grid { display: grid; gap: 26px 44px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); max-width: 1000px; margin-inline: auto; }
.dept-item { position: relative; padding-inline-start: 20px; border-inline-start: 3px solid transparent; border-image: var(--grad) 1; }
.dept-name { font-size: 1.1rem; font-weight: 800; color: var(--dark); margin-bottom: 7px; }
.dept-desc { color: var(--muted); font-size: .96rem; }

/* target market — gradient sector medallions */
.sector-row { display: flex; flex-wrap: wrap; justify-content: center; gap: clamp(20px, 4vw, 48px); max-width: 960px; margin-inline: auto; }
.sector { display: flex; flex-direction: column; align-items: center; gap: 16px; flex: 0 1 130px; }
.sector-ico { width: 76px; height: 76px; border-radius: 24px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 16px 30px -16px color-mix(in srgb, var(--secondary), transparent 30%); transition: transform .25s, border-radius .25s; }
.sector-ico svg { width: 38px; height: 38px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.sector:hover .sector-ico { transform: translateY(-6px) scale(1.05); border-radius: 50%; }
.sector-label { font-weight: 800; font-size: .98rem; color: var(--dark); text-align: center; line-height: 1.3; transition: color .2s; }
.sector:hover .sector-label { color: var(--primary-dark); }
@media (max-width: 560px) { .sector { flex-basis: 38%; } }

/* experience — top-rule columns with check lists */
.exp-split { display: grid; grid-template-columns: 1fr 1fr; gap: 30px 48px; max-width: 1000px; margin-inline: auto; }
.exp-col { padding-top: 20px; border-top: 4px solid transparent; border-image: var(--grad-bar) 1; }
.exp-h { font-size: 1.24rem; font-weight: 800; color: var(--dark); margin-bottom: 18px; }

/* projects — responsive wall of equal-height project cards. Each card: a
   category icon chip + badge, the project title, and the delivery location
   pinned to the bottom. No JS — every project is visible and scannable. */
.project-grid { display: grid; gap: 22px; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); }
.project-card { position: relative; isolation: isolate; display: flex; flex-direction: column; gap: 15px; background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px 24px; box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .2s, box-shadow .25s, border-color .25s; }
/* gradient top-edge accent (revealed on hover) + soft brand corner glow */
.project-card::before { content: ''; position: absolute; inset-inline: 0; top: 0; height: 4px; background: var(--grad-bar); transform: scaleX(0); transform-origin: var(--logical-start, left); transition: transform .3s ease; }
.project-card::after { content: ''; position: absolute; z-index: -1; width: 150px; height: 150px; border-radius: 50%; top: -68px; inset-inline-end: -54px; background: radial-gradient(circle, var(--primary-tint), transparent 70%); opacity: .6; transition: opacity .3s ease; pointer-events: none; }
.project-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary), transparent 58%); }
.project-card:hover::before { transform: scaleX(1); }
.project-card:hover::after { opacity: 1; }
.project-card__head { display: flex; align-items: center; gap: 13px; }
.project-ico { flex: none; width: 48px; height: 48px; display: grid; place-items: center; border-radius: 14px; color: #fff; background: var(--grad); box-shadow: 0 10px 22px -12px color-mix(in srgb, var(--secondary), transparent 30%); transition: transform .25s ease; }
.project-card:hover .project-ico { transform: scale(1.08) rotate(-4deg); }
.project-ico svg { width: 25px; height: 25px; fill: currentColor; }
.project-cat { font-weight: 800; font-size: .76rem; line-height: 1.4; color: var(--primary-dark); background: var(--primary-tint); padding: 6px 13px; border-radius: 999px; }
.project-title { font-size: 1.12rem; font-weight: 800; line-height: 1.42; letter-spacing: -.2px; color: var(--dark); }
.project-loc { margin-top: auto; display: inline-flex; align-items: center; gap: 7px; padding-top: 14px; border-top: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: .92rem; }
.project-loc svg { flex: none; width: 17px; height: 17px; fill: var(--primary); }
@media (max-width: 480px) { .project-grid { grid-template-columns: 1fr; } }

/* sustainability & innovation — stacked feature rows with gradient icons */
.commit-rows { max-width: 940px; margin-inline: auto; }
.commit-row { display: grid; grid-template-columns: auto 1fr; gap: 26px; align-items: start; padding: 34px 0; border-top: 1px solid var(--border); }
.commit-row:first-child { border-top: 0; padding-top: 6px; }
.commit-ico { width: 66px; height: 66px; border-radius: 20px; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 14px 28px -14px color-mix(in srgb, var(--secondary), transparent 30%); transition: transform .25s; }
.commit-row:hover .commit-ico { transform: rotate(-6deg) scale(1.06); }
.commit-ico svg { width: 32px; height: 32px; fill: currentColor; }
.commit-h { font-size: 1.26rem; font-weight: 800; color: var(--dark); margin-bottom: 10px; }

/* future plans — vertical roadmap timeline */
.timeline { max-width: 800px; margin-inline: auto; position: relative; list-style: none; padding: 0; }
.timeline::before { content: ''; position: absolute; top: 8px; bottom: 8px; inset-inline-start: 8px; width: 3px; border-radius: 3px; background: linear-gradient(var(--primary), var(--accent), color-mix(in srgb, var(--primary), transparent 75%)); }
.tl-item { position: relative; padding-inline-start: 40px; padding-bottom: 32px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot { position: absolute; inset-inline-start: 0; top: 4px; width: 18px; height: 18px; border-radius: 50%; background: var(--grad); border: 3px solid var(--bg); box-shadow: 0 0 0 4px var(--primary-tint); }
.tl-h { font-size: 1.14rem; font-weight: 800; color: var(--dark); margin-bottom: 6px; }
.tl-desc { color: var(--muted); margin: 0; }

/* certifications — circular gradient seals */
.cert-badges { display: grid; gap: 34px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); max-width: 1000px; margin-inline: auto; }
.cert-badge { display: flex; flex-direction: column; align-items: center; text-align: center; }
.cert-seal { position: relative; width: 96px; height: 96px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--grad); box-shadow: 0 18px 34px -16px color-mix(in srgb, var(--secondary), transparent 24%); margin-bottom: 20px; transition: transform .25s; }
.cert-badge:hover .cert-seal { transform: translateY(-5px) scale(1.04); }
.cert-seal::after { content: ''; position: absolute; inset: 7px; border-radius: 50%; border: 1.5px dashed rgba(255,255,255,.7); }
.cert-seal svg { width: 42px; height: 42px; fill: currentColor; }
.cert-h { font-size: 1.12rem; font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.cert-desc { color: var(--muted); font-size: .96rem; max-width: 300px; margin: 0; }

.col-title { font-size: 1.24rem; color: var(--dark); font-weight: 800; margin-bottom: 16px; }
.bullet-list { display: grid; gap: 14px; }
.bullet-list li { display: flex; align-items: flex-start; gap: 12px; color: var(--text); }
.bullet-list svg { width: 24px; height: 24px; fill: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* chips */
.chip-list { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.chip { background: var(--card-bg); border: 1px solid var(--border); border-radius: 999px; padding: 10px 20px; font-weight: 700; font-size: .95rem; color: var(--text); box-shadow: var(--shadow-sm); transition: transform .15s, border-color .2s, color .2s; }
.chip:hover { transform: translateY(-2px); border-color: var(--primary); color: var(--primary-dark); }

/* partners & clients blocks */
.pc-block { margin-bottom: 40px; }
.pc-block .col-title { text-align: center; margin-bottom: 22px; }

/* partners & clients — auto-scrolling "trusted by" marquee bands */
.partners-wall, .clients-wall { display: flex; flex-direction: column; gap: 14px; }
.marquee { --mq-gap: 14px; --mq-dur: 46s; position: relative; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.marquee--clients { --mq-dur: 54s; }
.mq-track { display: flex; gap: var(--mq-gap); width: max-content; animation: mq-scroll var(--mq-dur) linear infinite; }
.mq-group { display: flex; gap: var(--mq-gap); }
.marquee--rev .mq-track { animation-direction: reverse; }
.marquee:hover .mq-track { animation-play-state: paused; }
@keyframes mq-scroll { to { transform: translateX(calc(-50% - var(--mq-gap) / 2)); } }

.mq-tag { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 9px; padding: 12px 22px; white-space: nowrap; background: var(--card-bg); border: 1px solid var(--border); border-radius: 14px; box-shadow: var(--shadow-sm); transition: transform .2s, box-shadow .2s, border-color .2s; }
.mq-tag:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: color-mix(in srgb, var(--primary), transparent 48%); }
.marquee--partners .mq-tag { padding: 14px 24px; background: linear-gradient(180deg, var(--card-bg), var(--primary-soft)); border-color: color-mix(in srgb, var(--primary), transparent 66%); }
.mq-name { font-weight: 800; font-size: .95rem; color: var(--dark); line-height: 1.3; }
.mq-loc { display: inline-flex; align-items: center; gap: 4px; font-size: .78rem; font-weight: 700; color: var(--primary-dark); padding-inline-start: 9px; border-inline-start: 1px solid var(--border); }
.mq-loc svg { width: 12px; height: 12px; fill: var(--primary); flex-shrink: 0; }

/* band fades in when its .pc-block scrolls into view */
@media (prefers-reduced-motion: no-preference) {
  .js .pc-block.reveal .partners-wall,
  .js .pc-block.reveal .clients-wall { opacity: 0; }
  .js .pc-block.reveal--in .partners-wall,
  .js .pc-block.reveal--in .clients-wall { animation: client-in .5s ease both; }
}
@keyframes client-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* no scrolling for reduced-motion: static, wrapped, centred; hide the clone */
@media (prefers-reduced-motion: reduce) {
  .marquee { overflow: visible; -webkit-mask-image: none; mask-image: none; }
  .mq-track { animation: none; width: auto; }
  .mq-group { flex-wrap: wrap; justify-content: center; }
  .mq-group[aria-hidden="true"] { display: none; }
}
@media (max-width: 600px) {
  .marquee { --mq-gap: 10px; }
  .mq-tag, .marquee--partners .mq-tag { padding: 11px 17px; }
}

/* ---------------------------- company profile (PDF) — gradient CTA ------- */
.section-profile { background: var(--primary-soft); }
.profile-cta { position: relative; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; justify-content: center; text-align: center; color: #fff; background: var(--grad); border-radius: var(--radius-lg); padding: 38px 40px; box-shadow: var(--shadow-lg); overflow: hidden; }
.profile-cta::after { content: ''; position: absolute; width: 280px; height: 280px; border-radius: 50%; top: -120px; inset-inline-end: -80px; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); pointer-events: none; }
.profile-cta > * { position: relative; }
.profile-cta-icon { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 17px; background: rgba(255,255,255,.2); color: #fff; flex-shrink: 0; border: 1px solid rgba(255,255,255,.4); }
.profile-cta-icon svg { width: 30px; height: 30px; fill: currentColor; }
.profile-cta-text { flex: 1 1 320px; text-align: start; }
.profile-cta-title { font-size: clamp(1.3rem, 2.6vw, 1.7rem); color: #fff; font-weight: 800; margin-bottom: 8px; }
.profile-cta-lead { color: rgba(255,255,255,.92); font-size: 1.02rem; margin: 0; }
.profile-cta-btn { flex-shrink: 0; }
.profile-cta .btn-primary { background: #fff; color: var(--secondary); box-shadow: 0 16px 36px -16px rgba(0,0,0,.4); }
.profile-cta .btn-primary:hover { color: var(--primary-dark); }
.profile-cta-btn svg { width: 20px; height: 20px; fill: currentColor; }
@media (max-width: 720px) { .profile-cta { flex-direction: column; padding: 32px 24px; } .profile-cta-text { text-align: center; } .profile-cta-btn { width: 100%; } }

/* ---------------------------- contact ----------------------------------- */
.section-contact { position: relative; background: linear-gradient(180deg, color-mix(in srgb, var(--primary), #fff 84%), var(--primary-soft)); }
.section-contact::before { content: ''; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(60% 60% at 50% 0%, var(--primary-tint), transparent 70%); }
.section-contact > .container { position: relative; }
.contact-grid { display: grid; gap: 30px; grid-template-columns: 1fr 1.2fr; align-items: start; }

/* vibrant gradient panel holding the contact details */
.contact-info { position: relative; padding: 36px 32px; border-radius: var(--radius-lg); overflow: hidden; color: #fff; background: linear-gradient(155deg, var(--primary), var(--secondary) 78%); box-shadow: var(--shadow-lg); }
.contact-info::before { content: ''; position: absolute; width: 260px; height: 260px; border-radius: 50%; top: -110px; inset-inline-end: -70px; background: radial-gradient(circle, rgba(255,255,255,.22), transparent 70%); pointer-events: none; }
.contact-info > * { position: relative; }
.contact-info-title { font-size: 1.38rem; font-weight: 800; color: #fff; margin-bottom: 24px; }
.contact-info-title::after { content: ''; display: block; width: 50px; height: 4px; margin-top: 12px; border-radius: 999px; background: rgba(255,255,255,.85); }
.contact-list { display: grid; gap: 11px; margin-bottom: 26px; }
.contact-card { position: relative; display: flex; align-items: center; gap: 14px; padding: 12px 14px; border-radius: var(--radius-sm); color: inherit; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.22); transition: transform .18s ease, background .22s ease, border-color .22s ease; }
.contact-card:hover { transform: translateX(-4px); background: rgba(255,255,255,.24); border-color: rgba(255,255,255,.5); }
.contact-card:hover .contact-ic, .contact-card:focus-visible .contact-ic { transform: scale(1.08); }
.contact-card:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
.contact-ic { flex-shrink: 0; width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; transition: transform .2s ease; }
.contact-ic svg { width: 20px; height: 20px; fill: var(--secondary); }
.contact-val { color: #fff; font-weight: 600; word-break: break-word; }

.social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link { width: 42px; height: 42px; display: grid; place-items: center; border-radius: 12px; background: #fff; border: 1px solid var(--border); color: var(--primary-dark); transition: transform .15s, background .2s, color .2s; }
.social-link svg { width: 20px; height: 20px; fill: currentColor; }
.social-link:hover { background: var(--grad); color: #fff; transform: translateY(-3px); border-color: transparent; }
.contact-info .social-link { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.28); color: #fff; }
.contact-info .social-link:hover { background: #fff; color: var(--secondary); }

.contact-form { background: var(--card-bg); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-ink); }
.field { margin-bottom: 16px; }
.field-row { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.field label { display: block; font-weight: 700; font-size: .92rem; margin-bottom: 7px; color: var(--dark); }
.field label .req { color: #dc2626; font-weight: 800; }
.field input, .field textarea { width: 100%; padding: 13px 15px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-family: inherit; font-size: .98rem; color: var(--text); background: #fff; transition: border-color .18s, box-shadow .18s; }
.field input::placeholder, .field textarea::placeholder { color: var(--muted); opacity: .7; }
.field input:focus, .field textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 4px var(--primary-tint); }
.field textarea { resize: vertical; min-height: 120px; }
.field input.invalid, .field textarea.invalid { border-color: #dc2626; box-shadow: 0 0 0 4px color-mix(in srgb, #dc2626, transparent 88%); }
.form-status { margin-top: 14px; font-weight: 700; font-size: .95rem; min-height: 1.2em; }
.form-status.success { color: #15803d; }
.form-status.error { color: #dc2626; }
/* anti-spam honeypot: visually hidden WITHOUT pushing layout off-axis.
   (left:-9999px in an RTL page blew the document width out to ~10000px,
   so mobile browsers zoomed out until the page looked blank.) */
.hp-field { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; border: 0; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }

/* ---------------------------- footer ------------------------------------ */
.site-footer { position: relative; isolation: isolate; background: radial-gradient(125% 150% at 50% -25%, color-mix(in srgb, var(--secondary), #000 16%), var(--dark) 52%, #1b1b1d); color: color-mix(in srgb, #fff, transparent 22%); }
/* animated gradient top edge */
.site-footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--secondary), var(--accent), var(--primary), var(--accent), var(--secondary)); background-size: 200% 100%; animation: footer-bar 6s linear infinite; }
@keyframes footer-bar { to { background-position: -200% 0; } }
/* soft drifting aurora behind the content (clipped to the footer) */
.footer-aurora { position: absolute; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.footer-aurora::before, .footer-aurora::after { content: ''; position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; }
.footer-aurora::before { width: 460px; height: 460px; top: -190px; inset-inline-start: -90px; background: radial-gradient(circle, color-mix(in srgb, var(--primary), transparent 38%), transparent 70%); animation: blob-float 20s ease-in-out infinite; }
.footer-aurora::after { width: 380px; height: 380px; bottom: -170px; inset-inline-end: -70px; background: radial-gradient(circle, color-mix(in srgb, var(--accent), transparent 44%), transparent 70%); animation: blob-float 24s ease-in-out infinite reverse; }

.footer-grid { position: relative; display: grid; grid-template-columns: 1.5fr 1fr; gap: 48px; padding: 74px 20px 40px; max-width: var(--maxw); margin-inline: auto; }
.footer-logo-wrap { display: inline-flex; }
.footer-logo { height: 30px; width: auto; filter: drop-shadow(0 8px 20px color-mix(in srgb, var(--primary), transparent 55%)); }
.footer-fullname { margin-top: 16px; color: #fff; font-weight: 800; font-size: 1.05rem; letter-spacing: .2px; }
.footer-tagline { margin: 10px 0 20px; max-width: 460px; color: color-mix(in srgb, #fff, transparent 42%); line-height: 1.7; }
.footer-brand .social-link { background: color-mix(in srgb, #fff, transparent 88%); border-color: transparent; color: #fff; }
.footer-brand .social-link:hover { background: var(--grad); transform: translateY(-4px); box-shadow: 0 14px 26px -12px color-mix(in srgb, var(--primary), transparent 30%); }

.footer-reach { align-content: start; }
.footer-col-title { color: #fff; font-size: .8rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 20px; padding-bottom: 12px; position: relative; }
.footer-col-title::after { content: ''; position: absolute; bottom: 0; inset-inline-start: 0; width: 44px; height: 3px; border-radius: 3px; background: var(--grad-bar); }
.footer-contact { display: grid; gap: 14px; align-content: start; }
.footer-contact li { display: flex; align-items: center; gap: 13px; color: color-mix(in srgb, #fff, transparent 30%); }
.fc-ic { flex: none; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 11px; background: color-mix(in srgb, #fff, transparent 92%); border: 1px solid color-mix(in srgb, #fff, transparent 88%); color: var(--accent); transition: background .25s, color .25s, transform .25s; }
.fc-ic svg { width: 18px; height: 18px; fill: currentColor; }
.footer-contact li:hover .fc-ic { background: var(--grad); color: #fff; transform: translateY(-2px) rotate(-4deg); }
.footer-contact a { color: inherit; transition: color .2s; }
.footer-contact a:hover { color: var(--accent); }

.footer-bottom { position: relative; border-top: 1px solid color-mix(in srgb, #fff, transparent 90%); }
.footer-bottom-inner { display: flex; flex-wrap: wrap; gap: 8px; justify-content: space-between; align-items: center; padding: 20px; font-size: .9rem; color: color-mix(in srgb, #fff, transparent 46%); }
.dev-credit a { color: var(--accent); font-weight: 800; }
.dev-credit a:hover { text-decoration: underline; }

/* floating back-to-top, straddling the footer's top edge */
.footer-top { position: absolute; top: -26px; inset-inline-end: clamp(16px, 5vw, 60px); z-index: 3; width: 52px; height: 52px; display: grid; place-items: center; border: none; border-radius: 50%; cursor: pointer; color: #fff; background: var(--grad); box-shadow: 0 16px 32px -12px color-mix(in srgb, var(--secondary), transparent 28%); transition: transform .25s ease, box-shadow .25s ease; }
.footer-top svg { width: 22px; height: 22px; fill: currentColor; }
.footer-top:hover { transform: translateY(-4px); box-shadow: 0 24px 42px -14px color-mix(in srgb, var(--secondary), transparent 16%); }
.footer-top:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }

@media (prefers-reduced-motion: reduce) {
  .site-footer::before, .footer-aurora::before, .footer-aurora::after { animation: none; }
}

/* ---------------------------- reveal ------------------------------------ */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal--in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .js .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------------------------- tech loader ------------------------------- */
html.is-loading { overflow: hidden; }
.loader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; background: radial-gradient(130% 130% at 50% 0%, color-mix(in srgb, var(--secondary), #000 30%), var(--dark) 60%, #161617); transition: opacity .5s ease, visibility .5s ease; }
.loader.is-hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader__stage { display: flex; align-items: center; justify-content: center; padding: 24px; }
.loader__logo { width: clamp(190px, 56vw, 340px); height: auto; animation: logo-in .5s ease both, logo-pulse 1.6s ease-in-out .5s infinite; }
@keyframes logo-in { from { opacity: 0; } }
@keyframes logo-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: .4; transform: scale(.97); } }
@media (prefers-reduced-motion: reduce) { .loader__logo { animation: none; opacity: 1; } }

/* ---------------------------- responsive -------------------------------- */
@media (max-width: 900px) {
  .nav { position: fixed; inset-block-start: var(--header-h); inset-inline: 0; flex-direction: column; align-items: stretch; gap: 0; background: var(--bg); padding: 8px 14px 18px; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); transform: translateY(-130%); transition: transform .28s ease; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
  .nav.open { transform: translateY(0); }
  .nav-link { padding: 13px 12px; border-radius: 10px; }
  .nav-link::before { top: 8px; bottom: 8px; height: auto; inset-inline: auto; inset-inline-start: 0; width: 3px; border-radius: 0 3px 3px 0; transform: scaleY(0); transform-origin: center; }
  .nav-link:hover::before { transform: scaleY(.55); opacity: .5; }
  .nav-link.active::before { transform: scaleY(1); opacity: 1; }
  .nav-toggle { display: flex; }
  .contact-grid, .vm-split, .exp-split { grid-template-columns: 1fr; }
  .vm-split { gap: 36px; }
  .vm-split::before { display: none; }
  .spec-row { grid-template-columns: 1fr; gap: 4px; }
}
@media (max-width: 560px) {
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-inner { justify-content: center; text-align: center; }
  .btn { width: 100%; }
  .hero-actions { flex-direction: column; }
}
