/* ============================================================
   SAM IMPERION — Corporate Website
   Design tokens
   ============================================================ */
:root {
  --navy:        #0B1424;
  --navy-800:    #0F1B2E;
  --navy-700:    #16243A;
  --navy-600:    #1E3050;
  --white:       #FFFFFF;
  --silver:      #A7B0BC;
  --silver-dk:   #6B7686;
  --light-blue:  #DCEAF5;
  --accent:      #2FA8F5;
  --accent-dk:   #1B8FD8;
  --logo-blue:   #4DB8FF;
  --logo-navy:   #0B2B5E;
  --line:        #E3E8EF;
  --line-dark:   rgba(255,255,255,.12);

  --ink:         #0B1424;
  --ink-soft:    #4A5668;

  --font-en: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-ar: "IBM Plex Sans Arabic", "Inter", system-ui, sans-serif;

  --maxw: 1240px;
  --pad: clamp(1.25rem, 4vw, 2.5rem);
  --sec-y: clamp(4.5rem, 9vw, 8rem);

  --ease: cubic-bezier(.22,.61,.36,1);
}

/* ===== Reset ===== */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--white);
  color: var(--ink);
  font-family: var(--font-en);
  font-size: 17px;
  line-height: 1.75;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
html[lang="ar"] body { font-family: var(--font-ar); line-height: 1.9; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
button { font-family: inherit; }

h1, h2, h3, h4 {
  margin: 0 0 .7em;
  font-weight: 600;
  line-height: 1.18;
  letter-spacing: -.022em;
}
html[lang="ar"] h1,
html[lang="ar"] h2,
html[lang="ar"] h3,
html[lang="ar"] h4 { letter-spacing: 0; line-height: 1.35; }

h1 { font-size: clamp(2.4rem, 5.6vw, 4.4rem); font-weight: 600; }
h2 { font-size: clamp(1.85rem, 3.6vw, 2.9rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.4rem); font-weight: 600; }
h4 { font-size: .82rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; }
html[lang="ar"] h4 { letter-spacing: 0; text-transform: none; font-size: .95rem; }

p { margin: 0 0 1.1rem; color: var(--ink-soft); }
p:last-child { margin-bottom: 0; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: var(--pad);
}

.skip-link {
  position: absolute; inset-inline-start: -9999px; top: 0;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; z-index: 200;
}
.skip-link:focus { inset-inline-start: 1rem; top: 1rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: 1rem 2rem;
  font-size: .9rem; font-weight: 500; letter-spacing: .02em;
  border: 1px solid transparent; border-radius: 2px;
  cursor: pointer; white-space: nowrap;
  transition: background .25s var(--ease), color .25s var(--ease),
              border-color .25s var(--ease), transform .25s var(--ease);
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-dk); }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,.35); }
.btn-outline:hover { border-color: #fff; background: rgba(255,255,255,.07); }
.btn-sm { padding: .7rem 1.4rem; font-size: .82rem; }
.btn-block { width: 100%; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: fixed; inset-inline: 0; top: 0; z-index: 100;
  background: rgba(11,20,36,.55);
  backdrop-filter: blur(14px) saturate(140%);
  -webkit-backdrop-filter: blur(14px) saturate(140%);
  border-bottom: 1px solid rgba(255,255,255,.08);
  transition: background .35s var(--ease), border-color .35s var(--ease);
}
.site-header.scrolled {
  background: rgba(11,20,36,.96);
  border-bottom-color: rgba(255,255,255,.1);
}
.header-inner {
  display: flex; align-items: center; gap: 1.5rem;
  min-height: 76px;
}

/* Brand */
.brand { display: flex; align-items: center; gap: .75rem; flex: none; }
.brand-mark { border-radius: 11px; }
.brand-word { display: flex; flex-direction: column; line-height: 1; }
.brand-sam {
  font-family: "Poppins", var(--font-en);
  font-size: .68rem; font-weight: 500; letter-spacing: .34em;
  color: #fff; margin-bottom: .3rem;
}
.brand-imperion {
  font-family: "Poppins", var(--font-en);
  font-size: 1.02rem; font-weight: 500; letter-spacing: .1em; color: #fff;
}
.brand-im { color: var(--logo-blue); }

/* Nav */
.nav { display: flex; align-items: center; gap: 1.9rem; margin-inline-start: auto; }
.nav a {
  position: relative; font-size: .84rem; font-weight: 400;
  letter-spacing: .02em; color: rgba(255,255,255,.72);
  padding-block: .4rem; transition: color .2s var(--ease);
}
.nav a::after {
  content: ""; position: absolute; inset-inline-start: 0; bottom: 0;
  height: 1px; width: 0; background: var(--accent);
  transition: width .3s var(--ease);
}
.nav a:hover, .nav a.active { color: #fff; }
.nav a:hover::after, .nav a.active::after { width: 100%; }

.header-actions { display: flex; align-items: center; gap: .75rem; flex: none; }

.lang-switch {
  background: transparent; border: 1px solid rgba(255,255,255,.28);
  color: #fff; font-size: .74rem; font-weight: 500; letter-spacing: .1em;
  padding: .45rem .75rem; border-radius: 2px; cursor: pointer;
  transition: border-color .2s var(--ease), background .2s var(--ease);
}
.lang-switch:hover { border-color: #fff; background: rgba(255,255,255,.08); }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 1.5px; background: #fff; border-radius: 2px;
  transition: transform .3s var(--ease), opacity .2s var(--ease);
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* ============================================================
   HERO
   ============================================================ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex; align-items: center;
  padding-top: 120px; padding-bottom: 90px;
  background: var(--navy);
  overflow: hidden;
  isolation: isolate;
}
/* Cinematic background image — drop /assets/hero.jpg to activate */
.hero-media {
  position: absolute; inset: 0; z-index: -3;
  background-image: url("/assets/hero.jpg");
  background-size: cover; background-position: center;
  opacity: .38;
  filter: grayscale(.25) contrast(1.05);
}
/* Layered gradient fallback (visible when no image) */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -4;
  background:
    radial-gradient(120% 90% at 78% 18%, rgba(47,168,245,.30), transparent 58%),
    radial-gradient(90% 80% at 12% 92%, rgba(30,48,80,.9), transparent 62%),
    linear-gradient(160deg, #0B1424 0%, #0F1B2E 48%, #0B1424 100%);
}
.hero::after {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background: linear-gradient(100deg, rgba(11,20,36,.96) 0%, rgba(11,20,36,.82) 42%, rgba(11,20,36,.55) 100%);
}
/* Blueprint grid */
.hero-grid {
  position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 84px 84px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 78%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 40%, #000 25%, transparent 78%);
}
.hero-glow {
  position: absolute; z-index: -1; pointer-events: none;
  inset-inline-end: -12%; top: 8%;
  width: 46vw; height: 46vw; max-width: 640px; max-height: 640px;
  background: radial-gradient(circle, rgba(47,168,245,.22), transparent 66%);
  filter: blur(30px);
  animation: floatGlow 14s ease-in-out infinite alternate;
}
@keyframes floatGlow {
  from { transform: translate3d(0,0,0) scale(1); }
  to   { transform: translate3d(-24px, 30px, 0) scale(1.08); }
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, .75fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: end;
  width: 100%;
}
.hero-content { max-width: 44rem; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .7rem;
  font-size: .74rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--light-blue);
  margin-bottom: 1.6rem;
}
html[lang="ar"] .hero-eyebrow { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.hero-eyebrow::before {
  content: ""; width: 34px; height: 1px; background: var(--accent); flex: none;
}

.hero h1 { color: #fff; margin-bottom: 1.4rem; }
.hero h1 .accent {
  background: linear-gradient(96deg, #2FA8F5 0%, #DCEAF5 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-sub {
  font-size: clamp(1.02rem, 1.5vw, 1.22rem);
  color: rgba(255,255,255,.9);
  font-weight: 300;
  max-width: 38rem;
  margin-bottom: 1.2rem;
}
.hero-desc {
  font-size: .95rem; font-weight: 300;
  color: rgba(220,234,245,.62);
  max-width: 40rem;
  margin-bottom: 2.2rem;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: .85rem; }

/* Hero side panel */
.hero-panel {
  display: grid; gap: 0;
  border-inline-start: 1px solid rgba(255,255,255,.14);
  padding-inline-start: 1.6rem;
  align-self: end;
}
.panel-item { padding-block: 1.1rem; border-bottom: 1px solid rgba(255,255,255,.1); }
.panel-item:last-child { border-bottom: 0; }
.panel-label {
  display: block; font-size: .68rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--silver); margin-bottom: .35rem;
}
html[lang="ar"] .panel-label { letter-spacing: 0; text-transform: none; font-size: .78rem; }
.panel-value { display: block; font-size: .92rem; color: #fff; font-weight: 400; line-height: 1.5; }

/* Scroll cue */
.hero-scroll {
  position: absolute; inset-inline-start: 50%; bottom: 26px;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .6rem;
  font-size: .64rem; letter-spacing: .22em; text-transform: uppercase;
  color: rgba(255,255,255,.4);
}
.hero-scroll i {
  width: 1px; height: 42px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
  animation: scrollPulse 2.4s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: .25; transform: scaleY(.7); transform-origin: top; }
  50%      { opacity: 1;   transform: scaleY(1);  transform-origin: top; }
}

/* ============================================================
   SECTION PRIMITIVES
   ============================================================ */
.section { padding-block: var(--sec-y); position: relative; }
.section-alt { background: #F7F9FB; }
.section-dark { background: var(--navy-800); color: #fff; }
.section-navy { background: var(--navy); color: #fff; }

.section-dark p, .section-navy p { color: rgba(220,234,245,.66); }
.section-dark h2, .section-navy h2, .section-dark h3, .section-navy h3 { color: #fff; }

.section-head { max-width: 62rem; margin-bottom: clamp(2.5rem, 5vw, 4rem); }
.section-num {
  display: block;
  font-size: .72rem; font-weight: 500; letter-spacing: .22em;
  color: var(--accent); margin-bottom: 1rem;
}
.eyebrow {
  display: block;
  font-size: .74rem; font-weight: 500; letter-spacing: .18em;
  text-transform: uppercase; color: var(--silver-dk); margin-bottom: .8rem;
}
html[lang="ar"] .eyebrow { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.section-dark .eyebrow, .section-navy .eyebrow { color: var(--silver); }

.section-head h2 { max-width: 34ch; }
.section-head p { max-width: 62ch; font-size: 1rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: start;
}
.about-copy .lead {
  font-size: clamp(1.1rem, 1.7vw, 1.35rem);
  font-weight: 400; color: var(--ink); line-height: 1.6;
  margin-bottom: 1.4rem;
}
.about-copy p { font-size: .98rem; }

.about-figure { position: sticky; top: 110px; }
.figure-frame {
  position: relative; aspect-ratio: 4 / 5;
  background: linear-gradient(155deg, var(--navy-700), var(--navy));
  border-radius: 2px; overflow: hidden;
  display: grid; place-items: center;
}
.figure-frame img {
  width: 100%; height: 100%; object-fit: cover;
  position: absolute; inset: 0;
}
.figure-fallback { display: grid; place-items: center; opacity: .22; }
.figure-fallback img { position: static; width: 64px; height: 64px; }
.figure-frame::after {
  content: ""; position: absolute; inset: 0;
  border: 1px solid rgba(255,255,255,.08);
  pointer-events: none;
}
.figure-caption {
  margin-top: 1rem; font-size: .82rem; color: var(--silver-dk);
  padding-inline-start: 1rem; border-inline-start: 2px solid var(--accent);
}

/* ============================================================
   INDUSTRIES
   ============================================================ */
.sectors {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
}
.sector {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1.8rem, 3vw, 2.6rem);
  transition: border-color .3s var(--ease), box-shadow .3s var(--ease), transform .3s var(--ease);
}
.sector:hover {
  border-color: rgba(47,168,245,.5);
  box-shadow: 0 24px 60px -34px rgba(11,20,36,.4);
  transform: translateY(-4px);
}
.sector-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 1.4rem;
}
.sector-num {
  font-size: .78rem; font-weight: 500; letter-spacing: .18em; color: var(--silver);
}
.sector-icon {
  width: 46px; height: 46px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 2px;
  color: var(--accent); background: #fff;
}
.sector-icon svg { width: 24px; height: 24px; }
.sector h3 { margin-bottom: .7rem; }
.sector > p { font-size: .95rem; }

.list-label {
  font-size: .7rem !important; font-weight: 600; letter-spacing: .16em;
  text-transform: uppercase; color: var(--silver-dk) !important;
  margin: 1.8rem 0 .9rem !important;
  padding-top: 1.4rem; border-top: 1px solid var(--line);
}
html[lang="ar"] .list-label { letter-spacing: 0; text-transform: none; font-size: .82rem !important; }

.tick-list { display: grid; gap: .6rem; }
.tick-list li {
  position: relative;
  padding-inline-start: 1.5rem;
  font-size: .93rem; color: var(--ink-soft);
}
.tick-list li::before {
  content: ""; position: absolute; inset-inline-start: 0; top: .62em;
  width: 6px; height: 6px; background: var(--accent); border-radius: 1px;
  transform: rotate(45deg);
}

/* ============================================================
   MANUFACTURING
   ============================================================ */
.cap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 0;
  border-top: 1px solid var(--line-dark);
}
.cap-item {
  padding: clamp(1.6rem, 3vw, 2.4rem) clamp(1rem, 2vw, 1.8rem);
  border-bottom: 1px solid var(--line-dark);
  border-inline-end: 1px solid var(--line-dark);
  transition: background .3s var(--ease);
  position: relative;
}
.cap-item:hover { background: rgba(47,168,245,.07); }
.cap-item::before {
  content: ""; position: absolute; inset-inline-start: 0; top: 0;
  width: 0; height: 2px; background: var(--accent);
  transition: width .4s var(--ease);
}
.cap-item:hover::before { width: 100%; }
.cap-index {
  display: block; font-size: .72rem; letter-spacing: .2em;
  color: var(--accent); margin-bottom: .9rem;
}
.cap-item h3 { font-size: 1.05rem; font-weight: 500; margin: 0; }

/* ============================================================
   QUALITY
   ============================================================ */
.quality-wrap { border-top: 1px solid var(--line); padding-top: 2.5rem; }
.quality-intro {
  font-size: .95rem; color: var(--ink-soft); margin-bottom: 1.8rem;
}
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.quality-item {
  background: #fff;
  display: flex; align-items: center; gap: .85rem;
  padding: 1.5rem 1.4rem;
  font-size: .95rem; font-weight: 500; color: var(--ink);
  transition: background .25s var(--ease);
}
.quality-item:hover { background: #F2F8FD; }
.q-dot {
  width: 8px; height: 8px; flex: none; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(47,168,245,.14);
}

/* ============================================================
   VISION
   ============================================================ */
.vision-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, .9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.vision-copy h2 { max-width: 22ch; }
.vision-copy p { font-size: .98rem; }

.vision-quote {
  margin: 0;
  padding: clamp(1.8rem, 4vw, 3rem);
  background: var(--navy);
  color: #fff;
  border-radius: 2px;
  position: relative;
  overflow: hidden;
}
.vision-quote::before {
  content: ""; position: absolute; inset-inline-end: -40px; top: -40px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(47,168,245,.28), transparent 68%);
}
.vision-quote p {
  position: relative;
  font-size: clamp(1.02rem, 1.5vw, 1.18rem);
  font-weight: 300; line-height: 1.7;
  color: rgba(255,255,255,.92);
  margin-bottom: 1.6rem;
}
.vision-quote footer {
  position: relative;
  font-size: .78rem; letter-spacing: .14em; text-transform: uppercase;
  color: var(--accent); font-weight: 500;
}
html[lang="ar"] .vision-quote footer { letter-spacing: 0; text-transform: none; font-size: .9rem; }

/* ============================================================
   PARTNERSHIPS
   ============================================================ */
.partners-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, .8fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}
.partners-inner h2 { max-width: 20ch; }
.partners-inner p { font-size: .98rem; max-width: 46ch; }
.partners-inner .btn { margin-top: 1rem; }

.partner-tags { display: flex; flex-wrap: wrap; gap: .6rem; }
.partner-tags li {
  font-size: .84rem; color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.18);
  padding: .6rem 1.1rem; border-radius: 2px;
  transition: border-color .25s var(--ease), background .25s var(--ease), color .25s var(--ease);
}
.partner-tags li:hover {
  border-color: var(--accent); background: rgba(47,168,245,.1); color: #fff;
}

/* ============================================================
   CONTACT
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, .75fr) minmax(0, 1.25fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: start;
}
.contact-info { display: grid; gap: 1.6rem; }
.info-block { border-inline-start: 2px solid var(--line); padding-inline-start: 1.1rem; }
.info-label {
  display: block; font-size: .68rem; letter-spacing: .16em;
  text-transform: uppercase; color: var(--silver-dk); margin-bottom: .3rem;
}
html[lang="ar"] .info-label { letter-spacing: 0; text-transform: none; font-size: .78rem; }
.info-value { font-size: .98rem; font-weight: 500; color: var(--ink); }
a.info-value:hover { color: var(--accent); }

.social-row { display: flex; gap: .6rem; }
.social-row a {
  width: 42px; height: 42px; display: grid; place-items: center;
  border: 1px solid var(--line); border-radius: 2px; color: var(--ink-soft);
  transition: color .25s var(--ease), border-color .25s var(--ease), background .25s var(--ease);
}
.social-row a:hover { color: var(--accent); border-color: var(--accent); background: rgba(47,168,245,.06); }
.social-row svg { width: 18px; height: 18px; }
.section-navy .social-row a, .site-footer .social-row a {
  border-color: rgba(255,255,255,.18); color: rgba(255,255,255,.8);
}

/* Form */
.contact-form {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 2px;
  padding: clamp(1.5rem, 3.5vw, 2.6rem);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.field { margin-bottom: 1.1rem; }
.field label {
  display: block; font-size: .76rem; font-weight: 500;
  letter-spacing: .06em; text-transform: uppercase;
  color: var(--silver-dk); margin-bottom: .45rem;
}
html[lang="ar"] .field label { letter-spacing: 0; text-transform: none; font-size: .85rem; }
.field input, .field textarea {
  width: 100%;
  font-family: inherit; font-size: .95rem; color: var(--ink);
  padding: .85rem 1rem;
  background: #F7F9FB;
  border: 1px solid var(--line);
  border-radius: 2px;
  transition: border-color .2s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  resize: vertical;
}
.field input:focus, .field textarea:focus {
  outline: none; background: #fff; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(47,168,245,.14);
}
.field input:invalid:not(:placeholder-shown) { border-color: #D9534F; }

.form-note { margin: .9rem 0 0; font-size: .88rem; min-height: 1.3em; }
.form-note.ok { color: #12805C; }
.form-note.err { color: #C0392B; }
.form-privacy { margin: .6rem 0 0; font-size: .76rem; color: var(--silver-dk); }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--navy);
  color: #fff;
  padding-top: clamp(3rem, 6vw, 4.5rem);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr .7fr;
  gap: 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer-brand { display: flex; gap: .9rem; align-items: flex-start; }
.footer-brand img { border-radius: 10px; }
.footer-name {
  font-family: "Poppins", var(--font-en);
  font-size: .95rem; font-weight: 500; letter-spacing: .12em; color: #fff;
  margin-bottom: .4rem;
}
.footer-tag { font-size: .86rem; color: var(--silver); line-height: 1.5; }
.footer-col h4 { color: rgba(255,255,255,.5); margin-bottom: .9rem; }
.footer-col p { font-size: .88rem; color: rgba(255,255,255,.72); margin-bottom: .45rem; }
.footer-col a:hover { color: var(--accent); }

.footer-bottom {
  display: flex; flex-wrap: wrap; gap: 1rem;
  align-items: center; justify-content: space-between;
  padding-block: 1.6rem;
}
.footer-bottom p { font-size: .8rem; color: rgba(255,255,255,.45); margin: 0; }
.to-top { font-size: .8rem; color: rgba(255,255,255,.6); }
.to-top:hover { color: var(--accent); }

/* WhatsApp float */
.wa-float {
  position: fixed; inset-inline-end: 22px; bottom: 22px; z-index: 90;
  width: 54px; height: 54px; border-radius: 50%;
  display: grid; place-items: center;
  background: #25D366; color: #fff;
  box-shadow: 0 10px 28px -8px rgba(37,211,102,.7);
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.wa-float:hover { transform: scale(1.07); box-shadow: 0 14px 34px -8px rgba(37,211,102,.85); }
.wa-float svg { width: 28px; height: 28px; }
.wa-float[hidden] { display: none; }

/* ============================================================
   ANIMATIONS
   ============================================================ */
.reveal {
  opacity: 0; transform: translateY(22px);
  transition: opacity .8s var(--ease), transform .8s var(--ease);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-glow, .hero-scroll i { animation: none; }
  .btn:hover, .sector:hover, .wa-float:hover { transform: none; }
}

/* ============================================================
   RTL ADJUSTMENTS
   ============================================================ */
html[dir="rtl"] .hero-scroll { transform: translateX(50%); }
html[dir="rtl"] .tick-list li::before { transform: rotate(45deg); }
html[dir="rtl"] .brand-sam { letter-spacing: .26em; }
html[dir="rtl"] .footer-name { letter-spacing: .08em; }
html[dir="rtl"] .btn { letter-spacing: 0; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .nav { gap: 1.3rem; }
  .nav a { font-size: .78rem; }
  .header-cta { display: none; }
}

@media (max-width: 900px) {
  html { scroll-padding-top: 72px; }
  .header-inner { min-height: 68px; }
  .nav-toggle { display: flex; }

  .nav {
    position: fixed; inset-inline: 0; top: 68px;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(11,20,36,.99);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(255,255,255,.1);
    padding: .5rem var(--pad) 1.5rem;
    margin: 0;
    transform: translateY(-8px);
    opacity: 0; visibility: hidden; pointer-events: none;
    transition: opacity .28s var(--ease), transform .28s var(--ease), visibility .28s;
    max-height: calc(100svh - 68px); overflow-y: auto;
  }
  .nav.open { opacity: 1; transform: none; visibility: visible; pointer-events: auto; }
  .nav a {
    padding-block: 1rem; font-size: .95rem;
    border-bottom: 1px solid rgba(255,255,255,.08);
  }
  .nav a:last-child { border-bottom: 0; }
  .nav a::after { display: none; }

  .hero { min-height: auto; padding-top: 118px; padding-bottom: 70px; }
  .hero-inner { grid-template-columns: 1fr; align-items: start; }
  .hero-panel {
    border-inline-start: 0; border-top: 1px solid rgba(255,255,255,.14);
    padding-inline-start: 0; padding-top: .5rem;
    display: grid; grid-template-columns: 1fr 1fr; gap: 0 1.5rem;
  }
  .hero-scroll { display: none; }

  .about-grid, .vision-grid, .partners-inner, .contact-grid { grid-template-columns: 1fr; }
  .about-figure { position: static; max-width: 460px; }
  .figure-frame { aspect-ratio: 16 / 10; }

  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; }
}

@media (max-width: 620px) {
  body { font-size: 16px; }
  .brand-imperion { font-size: .88rem; letter-spacing: .1em; }
  .brand-sam { font-size: .55rem; }
  .hero-panel { grid-template-columns: 1fr; }
  .panel-item:first-child { padding-top: 1rem; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .footer-top { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
  .sectors { grid-template-columns: 1fr; }
  .quality-grid { grid-template-columns: 1fr; }
  .wa-float { width: 48px; height: 48px; inset-inline-end: 16px; bottom: 16px; }
  .wa-float svg { width: 24px; height: 24px; }
}