@import url("https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Noto+Kufi+Arabic:wght@400;500;600;700&display=swap");

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html { -webkit-text-size-adjust: 100%; }
body { min-height: 100vh; }
ul, ol { list-style: none; padding: 0; margin: 0; }
input, button, textarea, select { font: inherit; }

.font-sans {
  font-family: var(--font-sans), system-ui, sans-serif;
}
.font-arabic {
  font-family: var(--font-noto-kufi), var(--font-sans), system-ui, sans-serif;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* =====================================================================
   Tokens
   ===================================================================== */
:root {
  --font-sans: "Manrope";
  --font-noto-kufi: "Noto Kufi Arabic";

  --navy: #14335e;
  --navy-deep: #0e2646;
  --steel: #2e5c94;
  --alu: #aeb4ba;
  --alu-light: #eef0f2;
  --alu-line: #d7dbdf;
  --ink: #12161c;
  --ink-2: #454c55;
  --ink-3: #6b727b;
  --white: #ffffff;
  --paper: #f7f8f9;
  --gold: #c9a15b;
  --gold-dark: #a8823d;
  --gold-soft: #f7f0e3;
  --whatsapp: #25d366;

  /* G2 continuous curvature ("squircle") — falls back to plain radius */
  --r-xs: 10px;
  --r-sm: 14px;
  --r-md: 20px;
  --r-lg: 28px;
  --r-xl: 36px;
  --r-pill: 999px;

  --shadow-soft: 0 10px 40px rgba(18, 22, 28, 0.08);
  --shadow-card: 0 1px 2px rgba(18, 22, 28, 0.04), 0 18px 40px -20px rgba(18, 22, 28, 0.18);
  --shadow-float: 0 24px 60px -16px rgba(18, 22, 28, 0.25);

  --wrap: 1180px;
  --gutter: 28px;
  --nav-h: 64px;
}

/* Every rounded corner on the site is a G2 squircle (Chrome 139+, others: circular fallback) */
*,
*::before,
*::after {
  corner-shape: squircle;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans), system-ui, -apple-system, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--alu-light);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

[dir="rtl"] body,
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4,
[dir="rtl"] h5 {
  font-family: var(--font-noto-kufi), var(--font-sans), system-ui, sans-serif;
  letter-spacing: 0;
}

h1,
h2,
h3,
h4,
h5 {
  font-family: var(--font-sans), system-ui, sans-serif;
  font-weight: 500;
  margin: 0 0 0.5em 0;
  letter-spacing: -0.025em;
  line-height: 1.1;
  text-wrap: balance;
}
h2 {
  font-size: clamp(30px, 3.6vw, 44px);
}
h3 {
  font-size: clamp(22px, 2.4vw, 28px);
}
h4 {
  font-size: 18px;
  letter-spacing: -0.015em;
}

p {
  margin: 0 0 1em 0;
  max-width: 62ch;
}
a {
  color: inherit;
}
button {
  font-family: inherit;
  cursor: pointer;
}
img {
  max-width: 100%;
  display: block;
}
::selection {
  background: var(--navy);
  color: #fff;
}

/* =====================================================================
   Page shell — white card floating on the alu ground
   ===================================================================== */
.page-shell {
  background: var(--white);
  border-radius: var(--r-xl);
  margin: 10px 10px 0;
  padding-top: calc(var(--nav-h) + 34px);
  overflow: clip;
  min-height: 80vh;
}
@media (max-width: 720px) {
  .page-shell {
    margin: 6px 6px 0;
    border-radius: var(--r-lg);
  }
}

.wrap {
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
@media (max-width: 720px) {
  .wrap {
    padding: 0 20px;
  }
}

.section {
  padding: 96px 0;
}
.section.tight {
  padding: 64px 0;
}
.section.flush-top {
  padding-top: 0;
}
@media (max-width: 900px) {
  .section {
    padding: 72px 0;
  }
  .section.tight {
    padding: 48px 0;
  }
}

/* dark rounded band inside the white shell */
.band {
  margin: 0 16px;
  border-radius: var(--r-xl);
  background: var(--navy);
  color: #fff;
  position: relative;
  overflow: hidden;
}
.band::after {
  content: "";
  position: absolute;
  inset: auto -10% -40% auto;
  width: 60%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(46, 92, 148, 0.55), transparent 70%);
  pointer-events: none;
}
.band > * {
  position: relative;
  z-index: 1;
}
.band .section-head p,
.band p {
  color: #c9d4e3;
}
.band.tint {
  background: var(--paper);
  color: var(--ink);
}
.band.tint::after {
  display: none;
}
.band.tint p {
  color: var(--ink-2);
}
.band.gold {
  background: var(--gold-soft);
  color: var(--ink);
}
.band.gold::after {
  display: none;
}
.band.gold p {
  color: var(--ink-2);
}
.wrap .band {
  margin: 0;
}
.process-inner {
  padding: 64px 48px;
}
@media (max-width: 720px) {
  .band {
    margin: 0 8px;
    border-radius: var(--r-lg);
  }
  .process-inner {
    padding: 40px 22px !important;
  }
}

/* =====================================================================
   Typography helpers
   ===================================================================== */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
}
.band .eyebrow {
  color: #aebedb;
}
.section-head {
  max-width: 680px;
  margin-bottom: 52px;
}
.section-head p {
  color: var(--ink-2);
  font-size: 17px;
}
.section-head.row {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.section-head.row > div {
  max-width: 640px;
}
.section-head.row p {
  margin-bottom: 0;
}

.page-head {
  padding: 24px 0 56px;
}
.page-head h1 {
  font-size: clamp(40px, 5.4vw, 68px);
  font-weight: 400;
  letter-spacing: -0.035em;
  line-height: 1.02;
  max-width: 14ch;
}
.page-head .lead {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 56ch;
  margin-top: 18px;
}
@media (max-width: 720px) {
  .page-head {
    padding: 8px 0 40px;
  }
}

.muted {
  color: var(--ink-2);
}
.small {
  font-size: 14px;
}

/* =====================================================================
   Status pill / tags / chips
   ===================================================================== */
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 12px;
  border-radius: var(--r-pill);
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 13px;
  font-weight: 500;
  border: 1px solid rgba(201, 161, 91, 0.35);
}
.hero-pill .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 4px rgba(201, 161, 91, 0.2);
}
.hero-pill .sep {
  width: 1px;
  height: 14px;
  background: rgba(18, 22, 28, 0.15);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tag {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--alu-line);
  padding: 8px 14px;
  font-size: 13.5px;
  font-weight: 500;
  background: var(--paper);
  border-radius: var(--r-pill);
  color: var(--ink);
}
.band .tag {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.16);
  color: #fff;
}
.chip {
  display: inline-flex;
  align-items: center;
  padding: 5px 11px;
  border-radius: var(--r-pill);
  background: rgba(20, 51, 94, 0.08);
  color: var(--navy);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* =====================================================================
   Buttons
   ===================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 22px;
  font-size: 14.5px;
  font-weight: 600;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff;
  white-space: nowrap;
  border-radius: var(--r-pill);
  text-decoration: none;
  transition:
    background 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease,
    transform 0.18s ease,
    box-shadow 0.18s ease;
}
.btn:hover {
  background: var(--steel);
  border-color: var(--steel);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px -10px rgba(20, 51, 94, 0.6);
}
.btn .arrow {
  display: inline-block;
  transition: transform 0.18s ease;
}
.btn:hover .arrow {
  transform: translate(2px, -2px);
}
[dir="rtl"] .btn:hover .arrow {
  transform: translate(-2px, -2px);
}
.btn.gold {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.btn.gold:hover {
  background: var(--gold-dark);
  border-color: var(--gold-dark);
  color: #fff;
}
.btn.outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--alu-line);
}
.btn.outline:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
  box-shadow: none;
}
.btn.ghost {
  border-color: transparent;
  background: transparent;
  color: var(--ink);
  padding-inline: 10px;
}
.btn.ghost:hover {
  background: var(--paper);
  transform: none;
  box-shadow: none;
}
.btn.light {
  background: #fff;
  border-color: #fff;
  color: var(--navy);
}
.btn.light:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--navy);
}
.btn.whatsapp {
  background: var(--whatsapp);
  border-color: var(--whatsapp);
  color: #fff;
}
.btn.whatsapp:hover {
  background: #1ebe5b;
  border-color: #1ebe5b;
}
.btn.sm {
  padding: 10px 16px;
  font-size: 13.5px;
}
.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink);
  text-decoration: none;
  padding: 14px 6px;
}
.link-arrow:hover {
  color: var(--navy);
}

/* =====================================================================
   Floating pill navigation
   ===================================================================== */
.site-header {
  position: fixed;
  top: 14px;
  inset-inline: 0;
  z-index: 60;
  display: flex;
  justify-content: center;
  padding: 0 16px;
  pointer-events: none;
}
.nav-pill {
  pointer-events: auto;
  width: min(1120px, 100%);
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 8px 0 20px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  backdrop-filter: blur(18px) saturate(1.4);
  border: 1px solid rgba(18, 22, 28, 0.06);
  box-shadow: var(--shadow-soft);
}
[dir="rtl"] .nav-pill {
  padding: 0 20px 0 8px;
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}
.logo .brand-logo {
  display: block;
  width: 174px;
  height: auto;
}
@media (max-width: 420px) {
  .logo .brand-logo {
    width: 154px;
  }
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}
.navlink {
  background: none;
  border: none;
  padding: 9px 14px;
  font-size: 14.5px;
  font-weight: 500;
  color: var(--ink-2);
  border-radius: var(--r-pill);
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.navlink:hover {
  color: var(--ink);
  background: rgba(18, 22, 28, 0.05);
}
.navlink.active {
  color: var(--navy);
  font-weight: 600;
  background: rgba(20, 51, 94, 0.08);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* language dropdown */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 44px;
  border: 1px solid var(--alu-line);
  border-radius: var(--r-pill);
  background: #fff;
  padding: 0 12px 0 14px;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--ink);
}
.lang-switch select {
  appearance: none;
  -webkit-appearance: none;
  border: none;
  background: transparent;
  font: inherit;
  color: inherit;
  padding: 0 18px 0 0;
  cursor: pointer;
  outline: none;
  width: auto;
}
[dir="rtl"] .lang-switch select {
  padding: 0 0 0 18px;
}
.lang-switch svg {
  position: absolute;
  inset-inline-end: 12px;
  pointer-events: none;
  color: var(--ink-3);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--alu-line);
  background: #fff;
  place-items: center;
  color: var(--ink);
}
.menu-toggle svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 1024px) {
  .main-nav,
  .header-right {
    display: none;
  }
  .menu-toggle {
    display: grid;
  }
  .nav-pill {
    height: 60px;
    padding-inline-start: 14px;
  }
}

/* =====================================================================
   Mobile drawer (matches the reference sheet)
   ===================================================================== */
.drawer-root {
  position: fixed;
  inset: 0;
  z-index: 80;
  pointer-events: none;
  visibility: hidden;
  transition: visibility 0s linear 0.35s;
}
.drawer-root.open {
  pointer-events: auto;
  visibility: visible;
  transition-delay: 0s;
}
.drawer-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 22, 28, 0.35);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}
.drawer-root.open .drawer-backdrop {
  opacity: 1;
}
.drawer-panel {
  position: absolute;
  top: 10px;
  bottom: 10px;
  inset-inline-end: 10px;
  width: min(400px, calc(100% - 20px));
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-float);
  padding: 22px 24px 24px;
  display: flex;
  flex-direction: column;
  transform: translateX(calc(100% + 20px));
  transition: transform 0.32s cubic-bezier(0.32, 0.72, 0, 1);
  overflow-y: auto;
}
[dir="rtl"] .drawer-panel {
  transform: translateX(calc(-100% - 20px));
}
.drawer-root.open .drawer-panel {
  transform: translateX(0);
}
.drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 26px;
}
.drawer-close {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background: var(--ink);
  color: #fff;
  display: grid;
  place-items: center;
}
.drawer-close svg {
  width: 18px;
  height: 18px;
}
.drawer-label {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 6px;
}
.drawer-nav {
  display: flex;
  flex-direction: column;
}
.drawer-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
  font-size: 22px;
  font-weight: 500;
  letter-spacing: -0.02em;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 1px solid var(--alu-line);
}
.drawer-link.active {
  color: var(--navy);
}
.drawer-link svg {
  width: 14px;
  height: 14px;
  color: var(--alu);
}
.drawer-cta {
  margin-top: 22px;
  width: 100%;
  padding: 17px 22px;
  font-size: 16px;
}
.drawer-lang {
  margin-top: 12px;
}
.drawer-foot {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--alu-line);
  font-size: 13.5px;
  color: var(--ink-2);
}
.drawer-foot a {
  color: var(--steel);
  font-weight: 600;
  text-decoration: none;
}

/* =====================================================================
   Hero
   ===================================================================== */
.hero {
  position: relative;
  padding: 32px 0 40px;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: -20% -10% auto auto;
  width: 60%;
  aspect-ratio: 1;
  background: radial-gradient(closest-side, rgba(201, 161, 91, 0.18), transparent 72%);
  pointer-events: none;
}
.hero-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
  position: relative;
}
@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
}
.hero h1 {
  font-size: clamp(42px, 6.2vw, 80px);
  font-weight: 400;
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin: 22px 0 22px;
  max-width: 11ch;
}
.hero h1 em {
  font-style: normal;
  color: var(--navy);
}
.hero .lead {
  font-size: 18px;
  color: var(--ink-2);
  max-width: 46ch;
}
.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 26px;
  flex-wrap: wrap;
}
.hero-proof {
  list-style: none;
  padding: 0;
  margin: 34px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
  font-size: 13.5px;
  color: var(--ink-2);
}
.hero-proof li {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-proof li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}

.hero-visual {
  position: relative;
}
.hero-canvas {
  position: relative;
  border-radius: var(--r-xl);
  background:
    radial-gradient(120% 90% at 80% 10%, rgba(201, 161, 91, 0.16), transparent 60%),
    linear-gradient(160deg, var(--paper), var(--alu-light));
  padding: 36px 32px 36px 100px;
}
[dir="rtl"] .hero-canvas {
  padding: 36px 100px 36px 32px;
}
@media (max-width: 980px) {
  .hero-canvas,
  [dir="rtl"] .hero-canvas {
    padding: 20px;
  }
}
.hero-photo {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-float);
  background: var(--alu);
}
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 51, 94, 0) 55%, rgba(20, 51, 94, 0.55) 100%);
  pointer-events: none;
}
.hero-photo-caption {
  position: absolute;
  z-index: 2;
  inset-inline: 96px 16px;
  bottom: 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  color: #fff;
  font-size: 12.5px;
  font-weight: 500;
}
.hero-photo-caption .chip {
  background: rgba(255, 255, 255, 0.16);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.25);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}

/* floating step cards on the visual's left edge */
.hero-steps {
  position: absolute;
  inset-inline-start: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 3;
}
.hero-step {
  display: grid;
  grid-template-columns: 26px 1fr;
  align-items: center;
  gap: 8px;
  width: 168px;
  padding: 12px 14px;
  background: #fff;
  border-radius: 18px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(18, 22, 28, 0.05);
  font-size: 13px;
  line-height: 1.25;
}
.hero-step .n {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-dark);
}
.hero-step b {
  display: block;
  font-weight: 600;
  color: var(--ink);
}
.hero-step small {
  color: var(--ink-3);
  font-size: 12px;
}
.hero-step.active {
  background: var(--ink);
  border-color: var(--ink);
  width: 184px;
  transform: translateX(-10px);
}
[dir="rtl"] .hero-step.active {
  transform: translateX(10px);
}
.hero-step.active b {
  color: #fff;
}
.hero-step.active small {
  color: #aeb4ba;
}
.hero-step.active .n {
  color: var(--gold);
}
@media (max-width: 980px) {
  .hero-photo-caption {
    inset-inline: 16px;
  }
  .hero-steps {
    position: static;
    transform: none;
    flex-direction: row;
    flex-wrap: wrap;
    margin-top: 14px;
  }
  .hero-step,
  .hero-step.active {
    width: auto;
    flex: 1 1 140px;
    transform: none;
  }
}

/* floating layer stack card */
.hero-stack {
  position: absolute;
  z-index: 3;
  top: -10px;
  inset-inline-end: -10px;
  width: 190px;
  padding: 14px 14px 12px;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-card);
  border: 1px solid rgba(18, 22, 28, 0.05);
}
.hero-stack .t {
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-bottom: 10px;
}
.hero-stack .layers {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.hero-stack .layers span {
  height: 22px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 10px;
  font-size: 11px;
  font-weight: 600;
  color: #fff;
}
@media (max-width: 980px) {
  .hero-stack {
    position: static;
    width: 100%;
    margin-top: 14px;
  }
}

.hero-curve {
  position: absolute;
  z-index: 2;
  inset-inline-start: 40px;
  top: 6%;
  width: 46%;
  height: 60%;
  pointer-events: none;
  color: var(--gold);
}
@media (max-width: 980px) {
  .hero-curve {
    display: none;
  }
}

.hero-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  margin-top: 48px;
  padding-top: 20px;
  border-top: 1px solid var(--alu-line);
  font-size: 13px;
  color: var(--ink-3);
}
.hero-foot .scroll {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-foot .scroll i {
  width: 22px;
  height: 34px;
  border: 1px solid var(--alu-line);
  border-radius: var(--r-pill);
  position: relative;
}
.hero-foot .scroll i::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 7px;
  width: 3px;
  height: 7px;
  margin-left: -1.5px;
  border-radius: 2px;
  background: var(--navy);
  animation: scroll-hint 1.6s ease-in-out infinite;
}
@keyframes scroll-hint {
  0%,
  100% {
    transform: translateY(0);
    opacity: 1;
  }
  60% {
    transform: translateY(10px);
    opacity: 0;
  }
}

/* entrance animation */
.reveal {
  animation: reveal 0.7s cubic-bezier(0.2, 0.7, 0.2, 1) both;
}
.reveal.d1 {
  animation-delay: 0.08s;
}
.reveal.d2 {
  animation-delay: 0.16s;
}
.reveal.d3 {
  animation-delay: 0.26s;
}
@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(14px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }
}

/* =====================================================================
   Marquee strip of materials
   ===================================================================== */
.marquee {
  overflow: hidden;
  border-block: 1px solid var(--alu-line);
  padding: 18px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee-track span {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--ink-2);
  white-space: nowrap;
}
.marquee-track span::after {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
@keyframes marquee {
  to {
    transform: translateX(-50%);
  }
}
[dir="rtl"] .marquee-track {
  animation-direction: reverse;
}
@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    animation: none;
  }
}

/* =====================================================================
   Cards
   ===================================================================== */
.card {
  background: #fff;
  border: 1px solid var(--alu-line);
  border-radius: var(--r-lg);
  padding: 28px;
}
.card.tint {
  background: var(--paper);
}
.card.dark {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}
.card.dark p {
  color: #c9d4e3;
}
.card h4 {
  margin-bottom: 8px;
}
.card p {
  color: var(--ink-2);
  font-size: 15px;
}
.card-num {
  display: inline-grid;
  place-items: center;
  width: 40px;
  height: 40px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-weight: 700;
  font-size: 13px;
  margin-bottom: 18px;
}
.card.dark .card-num {
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold);
}
.card-icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 15px;
  background: rgba(20, 51, 94, 0.07);
  color: var(--navy);
  margin-bottom: 18px;
}
.card-icon svg {
  width: 22px;
  height: 22px;
}

.feature {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-radius: var(--r-lg);
  overflow: hidden;
  border: 1px solid var(--alu-line);
  background: #fff;
}
.feature .media {
  position: relative;
  min-height: 300px;
  background: var(--alu-light);
}
.feature .body {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.feature .body p {
  color: var(--ink-2);
  font-size: 15.5px;
}
.feature.flip .media {
  order: 2;
}
@media (max-width: 860px) {
  .feature {
    grid-template-columns: 1fr;
  }
  .feature .media {
    min-height: 240px;
    aspect-ratio: 16 / 10;
  }
  .feature.flip .media {
    order: 0;
  }
  .feature .body {
    padding: 28px;
  }
}

/* =====================================================================
   Bento gallery (usine)
   ===================================================================== */
.bento {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  grid-template-rows: 250px 250px;
  gap: 14px;
}
.bento figure {
  margin: 0;
  position: relative;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--alu);
}
.bento figure:first-child {
  grid-row: span 2;
}
.bento figcaption {
  position: absolute;
  left: 14px;
  bottom: 14px;
  z-index: 2;
  padding: 8px 14px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.86);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  font-size: 12.5px;
  font-weight: 600;
  color: var(--ink);
}
.bento img {
  transition: transform 0.6s ease;
}
.bento figure:hover img {
  transform: scale(1.04);
}
@media (max-width: 760px) {
  .bento {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }
  .bento figure {
    aspect-ratio: 16 / 10;
  }
  .bento figure:first-child {
    grid-row: auto;
  }
}

/* =====================================================================
   Layer diagram
   ===================================================================== */
.layer-diagram {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  max-width: 360px;
}
.layer-diagram .layer {
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 600;
  color: var(--white);
  letter-spacing: 0.01em;
  border-radius: 12px;
}
.layer-diagram .layer:first-child {
  border-radius: 16px 16px 12px 12px;
}
.layer-diagram .layer:last-child {
  border-radius: 12px 12px 16px 16px;
}
.layer-bands {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 3px;
}
.layer-bands div {
  border-radius: 8px;
}

/* =====================================================================
   Products
   ===================================================================== */
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media (max-width: 960px) {
  .product-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}
.product-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--alu-line);
  border-radius: var(--r-lg);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease;
}
.product-tile:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-card);
  border-color: var(--alu);
}
.product-media {
  position: relative;
  aspect-ratio: 4 / 3;
  background: var(--alu-light);
  overflow: hidden;
}
.product-media img {
  transition: transform 0.6s ease;
}
.product-tile:hover .product-media img {
  transform: scale(1.04);
}
.chip.on-media {
  position: absolute;
  top: 12px;
  inset-inline-start: 12px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.product-tile .body {
  padding: 18px 20px 20px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.product-tile h4 {
  font-size: 17px;
  margin: 0;
}
.product-tile .code {
  font-size: 13px;
  color: var(--ink-3);
  font-weight: 500;
}
.product-tile p {
  font-size: 14px;
  color: var(--ink-2);
  margin: 8px 0 0;
}
.product-tile .go {
  margin-top: auto;
  padding-top: 14px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.seg {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  background: var(--paper);
  border: 1px solid var(--alu-line);
  border-radius: var(--r-pill);
  margin-bottom: 32px;
  flex-wrap: wrap;
}
.seg a {
  padding: 10px 18px;
  border-radius: var(--r-pill);
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  transition:
    background 0.15s ease,
    color 0.15s ease;
}
.seg a:hover {
  color: var(--ink);
}
.seg a.active {
  background: var(--navy);
  color: #fff;
}

.note-box {
  border: 1px dashed var(--alu-line);
  padding: 16px 20px;
  font-size: 14px;
  color: var(--ink-2);
  margin-top: 28px;
  background: var(--paper);
  border-radius: var(--r-md);
}

/* product detail */
.pdp-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
}
@media (max-width: 860px) {
  .pdp-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
.pdp-media {
  position: relative;
  aspect-ratio: 4 / 3;
  border-radius: var(--r-lg);
  overflow: hidden;
  background: var(--alu-light);
  border: 1px solid var(--alu-line);
}
.pdp-title h1 {
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: -0.03em;
  margin: 10px 0 16px;
}
.pdp-table {
  width: 100%;
  border-collapse: collapse;
  margin: 22px 0 28px 0;
}
.pdp-table tr {
  border-top: 1px solid var(--alu-line);
}
.pdp-table tr:last-child {
  border-bottom: 1px solid var(--alu-line);
}
.pdp-table td {
  padding: 13px 0;
  font-size: 14.5px;
  vertical-align: top;
}
.pdp-table td:first-child {
  color: var(--ink-3);
  width: 36%;
  font-weight: 500;
}
.pdp-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
  text-decoration: none;
  padding: 8px 14px 8px 10px;
  border-radius: var(--r-pill);
  border: 1px solid var(--alu-line);
}
.back-link:hover {
  color: var(--navy);
  border-color: var(--navy);
}

/* =====================================================================
   Steps / factors / grids
   ===================================================================== */
.steps {
  display: grid;
  gap: 0;
}
.step {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}
.step:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}
.step .num {
  font-size: 13px;
  font-weight: 700;
  color: var(--gold);
  padding-top: 4px;
}
.step h4 {
  font-size: 18px;
  margin-bottom: 6px;
  color: #fff;
}
.step p {
  font-size: 14.5px;
  color: #c9d4e3;
  margin: 0;
}
.steps.light .step {
  border-color: var(--alu-line);
}
.steps.light .step h4 {
  color: var(--ink);
}
.steps.light .step p {
  color: var(--ink-2);
}
.steps.light .step .num {
  color: var(--gold-dark);
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
@media (max-width: 960px) {
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 640px) {
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
}

.factor {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 20px;
  border: 1px solid var(--alu-line);
  border-radius: var(--r-md);
  background: #fff;
  font-size: 15px;
  font-weight: 500;
}
.factor .idx {
  flex: none;
  width: 34px;
  height: 34px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 700;
}

.material-card {
  position: relative;
  border-radius: var(--r-lg);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--alu);
  color: #fff;
  border: 1px solid var(--alu-line);
}
.material-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 51, 94, 0) 40%, rgba(20, 51, 94, 0.82) 100%);
}
.material-card .body {
  position: absolute;
  z-index: 2;
  left: 18px;
  right: 18px;
  bottom: 18px;
}
.material-card .code {
  display: inline-flex;
  padding: 4px 10px;
  border-radius: var(--r-pill);
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin-bottom: 10px;
}
.material-card h4 {
  color: #fff;
  margin: 0 0 4px;
  font-size: 18px;
}
.material-card p {
  color: #d5deea;
  font-size: 13px;
  margin: 0;
}

/* CTA block */
.cta-block {
  padding: 72px 40px;
  text-align: center;
}
.cta-block h2 {
  color: #fff;
  max-width: 18ch;
  margin-inline: auto;
}
.cta-block p {
  margin-inline: auto;
  margin-bottom: 28px;
  max-width: 50ch;
}
.cta-block .actions {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .cta-block {
    padding: 52px 24px;
  }
}

/* =====================================================================
   Forms
   ===================================================================== */
.profal-form {
  display: grid;
  gap: 18px;
}
.form-card {
  background: #fff;
  border: 1px solid var(--alu-line);
  border-radius: var(--r-lg);
  padding: 32px;
  box-shadow: var(--shadow-card);
}
@media (max-width: 640px) {
  .form-card {
    padding: 22px;
  }
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
@media (max-width: 640px) {
  .form-row {
    grid-template-columns: 1fr;
  }
}
label {
  font-size: 13.5px;
  font-weight: 600;
  display: block;
  margin-bottom: 8px;
  color: var(--ink);
}
input,
select,
textarea {
  width: 100%;
  padding: 14px 16px;
  font-size: 15px;
  border: 1px solid var(--alu-line);
  font-family: inherit;
  background: var(--paper);
  color: var(--ink);
  border-radius: var(--r-sm);
  transition:
    border-color 0.15s ease,
    box-shadow 0.15s ease,
    background 0.15s ease;
}
input::placeholder,
textarea::placeholder {
  color: var(--alu);
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(20, 51, 94, 0.12);
}
textarea {
  resize: vertical;
  min-height: 110px;
}
.form-hint {
  font-size: 12.5px;
  color: var(--ink-3);
  margin: 6px 0 0;
}
.form-error {
  color: #b3261e;
  font-size: 12.5px;
  margin: 6px 0 0 0;
}
.form-success {
  border: 1px solid rgba(20, 51, 94, 0.2);
  background: #eef3fa;
  padding: 20px 22px;
  font-size: 15px;
  border-radius: var(--r-md);
  color: var(--navy);
  font-weight: 500;
}

/* =====================================================================
   Contact
   ===================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
.contact-grid.quote-grid {
  grid-template-columns: 0.7fr 1.3fr;
}
@media (max-width: 900px) {
  .contact-grid,
  .contact-grid.quote-grid {
    grid-template-columns: 1fr;
  }
}
.contact-list {
  display: grid;
  gap: 10px;
}
.contact-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 18px 20px;
  border: 1px solid var(--alu-line);
  border-radius: var(--r-md);
  background: #fff;
}
.contact-item .ico {
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(20, 51, 94, 0.07);
  color: var(--navy);
  display: grid;
  place-items: center;
}
.contact-item .ico svg {
  width: 20px;
  height: 20px;
}
.contact-item .k {
  font-size: 12.5px;
  color: var(--ink-3);
  font-weight: 600;
  margin-bottom: 2px;
}
.contact-item .v {
  font-size: 15px;
  font-weight: 500;
}
.contact-item .v a {
  text-decoration: none;
  color: var(--ink);
}
.contact-item .v a:hover {
  color: var(--navy);
}
.map-frame {
  border-radius: var(--r-lg);
  overflow: hidden;
  height: 260px;
  margin-top: 14px;
  border: 1px solid var(--alu-line);
  background: var(--alu-light);
}
.map-frame iframe {
  width: 100%;
  height: 100%;
  border: 0;
  display: block;
}

/* =====================================================================
   Footer
   ===================================================================== */
.site-footer {
  margin: 12px 10px 10px;
  border-radius: var(--r-xl);
  background: var(--navy);
  color: #c9d4e3;
  padding: 64px 0 28px 0;
  position: relative;
  overflow: hidden;
}
.site-footer::after {
  content: "";
  position: absolute;
  inset: auto auto -50% -10%;
  width: 50%;
  aspect-ratio: 1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(46, 92, 148, 0.5), transparent 70%);
  pointer-events: none;
}
@media (max-width: 720px) {
  .site-footer {
    margin: 8px 6px 6px;
    border-radius: var(--r-lg);
    padding-top: 48px;
  }
}
.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  position: relative;
  z-index: 1;
}
@media (max-width: 860px) {
  .foot-grid {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 520px) {
  .foot-grid {
    grid-template-columns: 1fr;
  }
}
.site-footer .logo {
  color: #fff;
}
.site-footer .logo .brand-logo {
  width: 190px;
  padding: 8px;
  border-radius: 10px;
  background: #fff;
}
.site-footer h5 {
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.site-footer a {
  font-size: 14px;
  color: #c9d4e3;
  text-decoration: none;
}
.site-footer a:hover {
  color: var(--gold);
}
.foot-desc {
  font-size: 14px;
  color: #aebedb;
  margin-top: 16px;
  max-width: 34ch;
}
.foot-bottom {
  padding-top: 22px;
  font-size: 12.5px;
  color: #8ca0bf;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 1;
}

/* =====================================================================
   Admin (kept functional, lightly modernised)
   ===================================================================== */
.admin-shell {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}
@media (max-width: 860px) {
  .admin-shell {
    grid-template-columns: 1fr;
  }
}
.admin-sidebar {
  background: var(--navy);
  color: #c9d4e3;
  padding: 24px 12px;
}
.admin-sidebar a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px 14px;
  font-size: 14px;
  color: #c9d4e3;
  text-decoration: none;
  border-radius: var(--r-sm);
}
.admin-sidebar a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}
.admin-sidebar a.active {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
}
.admin-content {
  background: var(--paper);
  padding: 32px;
}
.admin-card {
  background: #fff;
  border: 1px solid var(--alu-line);
  padding: 24px;
  border-radius: var(--r-md);
}
.admin-stat {
  background: #fff;
  border: 1px solid var(--alu-line);
  padding: 22px;
  border-radius: var(--r-md);
}
.admin-stat b {
  display: block;
  font-size: 30px;
  color: var(--navy);
  letter-spacing: -0.02em;
}
.tab-btn {
  border: 1px solid var(--alu-line);
  background: #fff;
  padding: 8px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--ink-2);
  border-radius: var(--r-pill);
}
.tab-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.status-pill {
  font-size: 11.5px;
  font-weight: 600;
  padding: 4px 10px;
  display: inline-block;
  border-radius: var(--r-pill);
}
.status-new {
  background: #fdf3e7;
  color: #8a5a00;
}
.status-progress {
  background: #e7f0fb;
  color: #1c4d8a;
}
.status-done {
  background: #e8f5ec;
  color: #1e6b39;
}
.demo-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13.5px;
}
.demo-table th,
.demo-table td {
  border-bottom: 1px solid var(--alu-line);
  padding: 10px 12px;
  text-align: left;
}
[dir="rtl"] .demo-table th,
[dir="rtl"] .demo-table td {
  text-align: right;
}
.demo-table th {
  background: var(--alu-light);
  font-weight: 600;
  font-size: 12px;
  color: var(--ink-2);
}
.empty-row td {
  color: #8a9099;
  text-align: center;
  padding: 26px 0;
}
.panel {
  border: 1px solid var(--alu-line);
  background: var(--white);
  padding: 28px;
  border-radius: var(--r-md);
}
.panel-tint {
  background: var(--alu-light);
}
