/* ==========================================================================
   شركة آيتول للصناعة — Aytol Industrial Company
   Stylesheet. Brand colours are taken from the company logo:
   navy #1C3F77 and lime #B0C336.
   Written RTL-first; every directional rule uses logical properties so the
   English (LTR) toggle works without a second stylesheet.
   ========================================================================== */

/* ---------- 1. Tokens ---------- */
:root {
  --navy-900: #12294D;
  --navy-800: #16345E;
  --navy: #1C3F77;
  --navy-600: #2A5391;
  --navy-100: #E7EDF7;
  --navy-50: #F2F6FC;

  --lime: #B0C336;
  --lime-600: #98AA26;
  /* Darkened from #7E8E1B (3.30:1 on --lime-100) to clear AA at 5.30:1.
     Used for eyebrow text, the short-address chip and link hovers. */
  --lime-700: #5E6B12;
  --lime-100: #F2F6DF;
  /* Light tint for lime text sitting on the navy hero: the base lime only
     reached 3.07:1 against the lightest part of the gradient. */
  --lime-on-navy: #D8E88A;

  --ink: #10203A;
  --body: #46586F;
  /* #6B7C93 measured 4.26:1 on white — under the 4.5:1 AA floor for body
     text. This clears it on both white (5.04) and --bg-soft (4.73). */
  --muted: #5F7089;
  --line: #E2E9F3;
  --line-soft: #EEF3F9;

  --bg: #FFFFFF;
  --bg-soft: #F5F8FC;
  --white: #FFFFFF;

  /* WhatsApp brand green (#25D366) gives white text only 1.98:1. Darkened so
     the label is actually legible; still unmistakably a WhatsApp button. */
  --wa: #0F7B36;
  --wa-dark: #0B6229;
  --ok: #227A45;
  --danger: #D64545;

  --r-sm: 10px;
  --r: 16px;
  --r-lg: 22px;
  --r-xl: 28px;
  --r-pill: 999px;

  --sh-sm: 0 2px 8px rgba(16, 32, 58, .06);
  --sh: 0 10px 30px rgba(16, 32, 58, .08);
  --sh-lg: 0 24px 60px rgba(16, 32, 58, .14);
  --sh-navy: 0 18px 40px rgba(28, 63, 119, .22);

  --container: 1200px;
  --header-h: 78px;

  --f-head: "Cairo", "Segoe UI", Tahoma, sans-serif;
  --f-body: "Tajawal", "Segoe UI", Tahoma, sans-serif;

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

/* ---------- 2. Reset & base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--body);
  font-family: var(--f-body);
  font-size: 17px;
  line-height: 1.85;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--f-head);
  color: var(--ink);
  line-height: 1.35;
  margin: 0 0 .6rem;
  font-weight: 800;
}

p { margin: 0 0 1rem; }

a { color: var(--navy); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--lime-700); }

img { max-width: 100%; height: auto; display: block; }

ul, ol { margin: 0; padding: 0; list-style: none; }

svg { width: 1em; height: 1em; fill: currentColor; flex: none; }

button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

:focus-visible {
  outline: 3px solid var(--lime);
  outline-offset: 3px;
  border-radius: 6px;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  inset-block-start: -100px;
  inset-inline-start: 1rem;
  z-index: 999;
  background: var(--navy);
  color: #fff;
  padding: .7rem 1.2rem;
  border-radius: var(--r-sm);
  transition: inset-block-start .2s;
}
.skip-link:focus { inset-block-start: 1rem; color: #fff; }

/* ---------- 3. Buttons ---------- */
.btn {
  --btn-bg: var(--navy);
  --btn-fg: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
  padding: .78rem 1.5rem;
  border-radius: var(--r-pill);
  background: var(--btn-bg);
  color: var(--btn-fg);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .97rem;
  line-height: 1.4;
  white-space: nowrap;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), background .18s var(--ease), color .18s var(--ease);
}
.btn svg { width: 1.15em; height: 1.15em; }
.btn:hover { transform: translateY(-2px); color: var(--btn-fg); }

.btn--primary { --btn-bg: var(--navy); box-shadow: 0 8px 20px rgba(28, 63, 119, .25); }
.btn--primary:hover { --btn-bg: var(--navy-800); box-shadow: 0 12px 26px rgba(28, 63, 119, .32); }

.btn--lime { --btn-bg: var(--lime); --btn-fg: var(--navy-900); box-shadow: 0 8px 20px rgba(176, 195, 54, .38); }
/* Keeps the dark label on hover — white on lime-600 drops to ~2.8:1. */
.btn--lime:hover { --btn-bg: var(--lime-600); --btn-fg: var(--navy-900); }

.btn--wa { --btn-bg: var(--wa); --btn-fg: #fff; box-shadow: 0 8px 20px rgba(37, 211, 102, .32); }
.btn--wa:hover { --btn-bg: var(--wa-dark); }

.btn--outline {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  border: 2px solid var(--navy-100);
}
.btn--outline:hover { --btn-bg: var(--navy-50); border-color: var(--navy); }

.btn--ghost {
  --btn-bg: rgba(255, 255, 255, .10);
  --btn-fg: #fff;
  border: 2px solid rgba(255, 255, 255, .38);
  backdrop-filter: blur(4px);
}
.btn--ghost:hover { --btn-bg: rgba(255, 255, 255, .2); }

.btn--link {
  --btn-bg: transparent;
  --btn-fg: var(--navy);
  padding-inline: .2rem;
  box-shadow: none;
}
.btn--link:hover { --btn-fg: var(--lime-700); }

.btn--sm { padding: .55rem 1.15rem; font-size: .9rem; }
.btn--lg { padding: .95rem 2rem; font-size: 1.03rem; }
.btn--block { width: 100%; }

/* ---------- 4. Topbar ---------- */
.topbar {
  background: var(--navy-900);
  color: rgba(255, 255, 255, .8);
  font-size: .85rem;
}
.topbar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 42px;
  flex-wrap: wrap;
}
.topbar__contact { display: flex; align-items: center; gap: 1.5rem; flex-wrap: wrap; }
.topbar__link {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  color: rgba(255, 255, 255, .8);
}
.topbar__link:hover { color: var(--lime); }
.topbar__link--plain { cursor: default; }
.topbar__link--plain:hover { color: rgba(255, 255, 255, .8); }
.topbar__link svg { width: 1.05em; height: 1.05em; color: var(--lime); }

.lang-toggle {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  padding: .3rem .95rem;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: var(--r-pill);
  color: #fff;
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .84rem;
  transition: background .2s, border-color .2s;
}
.lang-toggle:hover { background: rgba(255, 255, 255, .12); border-color: var(--lime); }

/* ---------- 5. Header ---------- */
.header {
  position: sticky;
  inset-block-start: 0;
  z-index: 100;
  background: rgba(255, 255, 255, .94);
  backdrop-filter: blur(10px);
  border-block-end: 1px solid var(--line-soft);
  transition: box-shadow .25s var(--ease);
}
.header.is-stuck { box-shadow: var(--sh); }

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: var(--header-h);
}

.brand { display: flex; align-items: center; gap: .75rem; }
.brand__logo {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid var(--line);
  background: #fff;
}
.brand__text { display: flex; flex-direction: column; line-height: 1.3; }
.brand__text strong {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.06rem;
  color: var(--navy);
}
.brand__text small { font-size: .74rem; color: var(--muted); }

.nav { display: flex; align-items: center; gap: .3rem; }
.nav__link {
  position: relative;
  padding: .5rem .78rem;
  border-radius: var(--r-sm);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .93rem;
  color: var(--ink);
  transition: color .2s, background .2s;
}
.nav__link::after {
  content: "";
  position: absolute;
  inset-block-end: .18rem;
  inset-inline-start: 50%;
  translate: 50% 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: var(--lime);
  transition: width .25s var(--ease);
}
.nav__link:hover { color: var(--navy); background: var(--navy-50); }
.nav__link.is-active { color: var(--navy); }
.nav__link.is-active::after { width: 22px; }
.nav__cta { margin-inline-start: .55rem; }

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--line);
  padding: 0 11px;
}
.burger span {
  display: block;
  height: 2.5px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform .25s var(--ease), opacity .2s;
}
.burger.is-open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.burger.is-open span:nth-child(2) { opacity: 0; }
.burger.is-open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 6. Shared section furniture ---------- */
.section { padding-block: clamp(3.5rem, 7vw, 6rem); }
.section--soft { background: var(--bg-soft); }
.section--navy {
  background: linear-gradient(160deg, var(--navy-900), var(--navy) 60%, var(--navy-600));
  color: rgba(255, 255, 255, .82);
}

.section__head { max-width: 720px; margin-block-end: 3rem; }
.section__head--center { margin-inline: auto; text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .32rem 1rem;
  margin-block-end: 1rem;
  border-radius: var(--r-pill);
  background: var(--lime-100);
  color: var(--lime-700);
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .82rem;
}
.eyebrow .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime-600);
}
.eyebrow--light {
  background: rgba(176, 195, 54, .18);
  color: var(--lime-on-navy);
  border: 1px solid rgba(176, 195, 54, .35);
}
.eyebrow--light .dot { background: var(--lime); }

.section__title { font-size: clamp(1.7rem, 3.4vw, 2.45rem); }
.section__title--light { color: #fff; }
.section__lead { font-size: 1.08rem; color: var(--body); margin-block-end: 0; }
.section__lead--light { color: rgba(255, 255, 255, .78); }
.section__text { color: var(--body); }

.section__note {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  max-width: 780px;
  margin: 2.5rem auto 0;
  padding: 1rem 1.3rem;
  border-radius: var(--r);
  background: var(--navy-50);
  border: 1px solid var(--navy-100);
  color: var(--body);
  font-size: .95rem;
}
.section__note svg { width: 1.3em; height: 1.3em; color: var(--navy); margin-block-start: .35rem; }

.checklist { display: grid; gap: .7rem; margin-block: 1.5rem; }
.checklist li {
  position: relative;
  padding-inline-start: 2rem;
  color: var(--ink);
  font-weight: 500;
}
.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .55rem;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--lime-100) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%237E8E1B'%3E%3Cpath d='M9 16.2 4.8 12l-1.4 1.4L9 19 21 7l-1.4-1.4z'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* ---------- 7. Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(155deg, var(--navy-900) 0%, var(--navy) 55%, var(--navy-600) 100%);
  color: rgba(255, 255, 255, .85);
  padding-block: clamp(3rem, 6vw, 5.5rem) clamp(4rem, 8vw, 7rem);
}
.hero__bg { position: absolute; inset: 0; pointer-events: none; }
.hero__pattern { width: 100%; height: 100%; }

.hero__inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.35fr .85fr;
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.hero__title {
  color: #fff;
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.3;
  margin-block-end: 1.1rem;
  text-wrap: balance;
}
.hero__lead {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
  color: rgba(255, 255, 255, .8);
  max-width: 62ch;
  margin-block-end: 2rem;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-block-end: 2.5rem; }

.hero__badges {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .8rem 1.5rem;
  max-width: 620px;
}
.hero__badges li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-size: .92rem;
  color: rgba(255, 255, 255, .88);
}
.hero__badges svg { width: 1.35em; height: 1.35em; color: var(--lime); }

/* Quote card */
.quote-card {
  background: #fff;
  border-radius: var(--r-xl);
  padding: 1.8rem;
  box-shadow: var(--sh-lg);
  color: var(--body);
}
.quote-card__head h2 { font-size: 1.35rem; margin-block-end: .25rem; }
.quote-card__head p { font-size: .93rem; color: var(--muted); margin-block-end: 1.3rem; }
.quote-card__list { display: grid; gap: .85rem; margin-block-end: 1.5rem; }
.quote-card__list li {
  display: flex;
  align-items: center;
  gap: .7rem;
  font-size: .95rem;
  color: var(--ink);
}
.qc-ico {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy);
  flex: none;
}
.qc-ico svg { width: 1.05em; height: 1.05em; }
.quote-card__actions { display: grid; gap: .6rem; }
.quote-card__note {
  margin: 1.1rem 0 0;
  padding-block-start: 1rem;
  border-block-start: 1px solid var(--line);
  text-align: center;
  font-size: .85rem;
  color: var(--muted);
}

/* ---------- 8. Stats ---------- */
.stats {
  position: relative;
  z-index: 2;
  margin-block-start: -3.2rem;
}
.stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--sh);
}
.stat {
  background: #fff;
  padding: 1.6rem 1rem;
  text-align: center;
}
.stat__num {
  display: block;
  font-family: var(--f-head);
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 900;
  color: var(--navy);
  line-height: 1.15;
}
.stat__num--text { font-size: clamp(1.5rem, 2.6vw, 2rem); letter-spacing: .04em; }
.stat__suffix { color: var(--lime-600); }
.stat span { font-size: .9rem; color: var(--muted); }

/* ---------- 9. About ---------- */
.about__grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: clamp(2rem, 5vw, 4.5rem);
  align-items: center;
}
.about__logo-wrap {
  display: grid;
  place-items: center;
  padding: 2.5rem;
  border-radius: var(--r-xl);
  background:
    radial-gradient(circle at 30% 20%, rgba(176, 195, 54, .16), transparent 60%),
    var(--navy-50);
  border: 1px solid var(--navy-100);
}
.about__logo-wrap img {
  width: min(100%, 300px);
  border-radius: var(--r-lg);
  box-shadow: var(--sh);
}
.about__facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: .8rem;
  margin-block-start: 1rem;
}
.fact {
  padding: .85rem 1rem;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
}
.fact__label { display: block; font-size: .78rem; color: var(--muted); }
.fact__val {
  display: block;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .95rem;
  color: var(--navy);
}
.fact__val--ok { color: var(--ok); }
.about__actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }

/* ---------- 10. Divisions ---------- */
.divisions {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.division {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.division:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-lg);
  border-color: var(--lime);
}
.division__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-block-end: 1.2rem;
}
.division__icon {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 18px;
  font-size: 1.6rem;
}
.division__icon--blue { background: var(--navy-50); color: var(--navy); }
.division__icon--lime { background: var(--lime-100); color: var(--lime-700); }
.division__icon--green { background: #E8F5EC; color: var(--ok); }
.division__num {
  font-family: var(--f-head);
  font-size: 2.2rem;
  font-weight: 900;
  color: var(--line);
  line-height: 1;
}
.division__title { font-size: 1.32rem; }
.division__desc { font-size: .96rem; color: var(--body); }
.division__list {
  display: grid;
  gap: .55rem;
  margin-block: 1.2rem;
  padding-block-start: 1.2rem;
  border-block-start: 1px dashed var(--line);
}
.division__list li {
  position: relative;
  padding-inline-start: 1.4rem;
  font-size: .93rem;
  color: var(--body);
}
.division__list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  inset-block-start: .72rem;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--lime);
}
.division__cta {
  margin-block-start: auto;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .93rem;
  color: var(--navy);
}
.division__cta:hover { color: var(--lime-700); }

/* ---------- 11. Features ---------- */
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
}
.feature {
  padding: 1.8rem 1.6rem;
  border-radius: var(--r-lg);
  background: var(--bg-soft);
  border: 1px solid transparent;
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.feature:hover { background: #fff; border-color: var(--line); transform: translateY(-4px); box-shadow: var(--sh); }
.feature__icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin-block-end: 1rem;
  border-radius: 16px;
  background: var(--navy);
  color: var(--lime);
  font-size: 1.4rem;
}
.feature h3 { font-size: 1.12rem; }
.feature p { font-size: .94rem; margin: 0; }

/* ---------- 12. Process ---------- */
.process {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  counter-reset: step;
}
.process__step {
  position: relative;
  padding: 1.7rem 1.5rem;
  border-radius: var(--r-lg);
  background: rgba(255, 255, 255, .06);
  border: 1px solid rgba(255, 255, 255, .13);
  backdrop-filter: blur(3px);
  transition: background .3s, border-color .3s, transform .3s var(--ease);
}
.process__step:hover {
  background: rgba(255, 255, 255, .11);
  border-color: rgba(176, 195, 54, .5);
  transform: translateY(-4px);
}
.process__num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-block-end: .9rem;
  border-radius: 14px;
  background: var(--lime);
  color: var(--navy-900);
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 1.15rem;
}
.process__step h3 { color: #fff; font-size: 1.1rem; }
.process__step p { color: rgba(255, 255, 255, .72); font-size: .93rem; margin: 0; }

/* ---------- 13. Sectors ---------- */
.sectors {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.1rem;
}
.sector {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1.15rem 1.2rem;
  border-radius: var(--r);
  background: #fff;
  border: 1px solid var(--line);
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .95rem;
  color: var(--ink);
  transition: border-color .25s, box-shadow .25s, transform .25s var(--ease);
}
.sector:hover { border-color: var(--lime); box-shadow: var(--sh-sm); transform: translateY(-3px); }
.sector svg {
  width: 1.6em;
  height: 1.6em;
  padding: .28em;
  border-radius: 10px;
  background: var(--navy-50);
  color: var(--navy);
  box-sizing: content-box;
}

/* ---------- 14. OEM ---------- */
.oem__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
}
.oem__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.oem__card {
  padding: 1.5rem 1.3rem;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.oem__card:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.oem__step {
  display: inline-block;
  margin-block-end: .6rem;
  font-family: var(--f-head);
  font-weight: 900;
  font-size: 1.5rem;
  color: var(--lime);
}
.oem__card h3 { font-size: 1.05rem; }
.oem__card p { font-size: .9rem; margin: 0; }

/* ---------- 15. Credentials ---------- */
.creds {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.3rem;
}
.cred {
  padding: 1.8rem 1.5rem;
  text-align: center;
  border-radius: var(--r-lg);
  background: #fff;
  border: 1px solid var(--line);
  transition: transform .3s var(--ease), box-shadow .3s;
}
.cred:hover { transform: translateY(-4px); box-shadow: var(--sh); }
.cred__ico {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: var(--lime-100);
  color: var(--lime-700);
  font-size: 1.4rem;
}
.cred h3 { font-size: 1rem; color: var(--muted); font-weight: 600; margin-block-end: .35rem; }
.cred__val {
  font-family: var(--f-head);
  font-weight: 800;
  font-size: 1.22rem;
  color: var(--navy);
  margin: 0 0 .3rem;
  letter-spacing: .02em;
  word-break: break-word;
}
.cred__val--sm { font-size: 1rem; }
.cred__sub { font-size: .84rem; color: var(--muted); margin: 0; }

/* ---------- 16. CTA band ---------- */
.cta-band {
  padding-block: clamp(2.5rem, 5vw, 3.8rem);
  background: linear-gradient(120deg, var(--navy) 0%, var(--navy-800) 100%);
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset-block-end: -60%;
  inset-inline-end: -10%;
  width: 520px;
  height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(176, 195, 54, .28), transparent 65%);
}
.cta-band__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.cta-band h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2rem); margin-block-end: .3rem; }
.cta-band p { color: rgba(255, 255, 255, .78); margin: 0; }
.cta-band__actions { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- 17. FAQ ---------- */
.faq__wrap { max-width: 860px; }
.faq { display: grid; gap: .8rem; }
.faq__item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r);
  overflow: hidden;
  transition: border-color .25s, box-shadow .25s;
}
.faq__item[open] { border-color: var(--lime); box-shadow: var(--sh-sm); }
.faq__item summary {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1.1rem 1.4rem;
  cursor: pointer;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: 1.02rem;
  color: var(--ink);
  list-style: none;
}
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after {
  content: "";
  margin-inline-start: auto;
  width: 26px;
  height: 26px;
  flex: none;
  border-radius: 50%;
  background: var(--navy-50) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%231C3F77'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z'/%3E%3C/svg%3E") center / 15px no-repeat;
  transition: transform .3s var(--ease), background-color .25s;
}
.faq__item[open] summary::after {
  transform: rotate(135deg);
  background-color: var(--lime-100);
}
.faq__item summary:hover { color: var(--navy); }
.faq__a { padding: 0 1.4rem 1.2rem; }
.faq__a p { margin: 0; font-size: .96rem; color: var(--body); }

/* ---------- 18. Contact ---------- */
.contact__grid {
  display: grid;
  grid-template-columns: 1.25fr .85fr;
  gap: 1.8rem;
  align-items: start;
}
.contact__form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.1rem;
  padding: 2rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.field { display: flex; flex-direction: column; gap: .4rem; }
.field--full { grid-column: 1 / -1; }
.field label {
  font-family: var(--f-head);
  font-weight: 600;
  font-size: .9rem;
  color: var(--ink);
}
.req { color: var(--danger); }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: .8rem 1rem;
  border: 1.5px solid var(--line);
  border-radius: var(--r-sm);
  background: var(--bg-soft);
  font-family: var(--f-body);
  font-size: .97rem;
  color: var(--ink);
  transition: border-color .2s, background .2s, box-shadow .2s;
}
.field textarea { resize: vertical; min-height: 110px; }
.field input::placeholder,
.field textarea::placeholder { color: #9BA9BC; }
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  background: #fff;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(28, 63, 119, .1);
}
.field .err {
  display: none;
  font-size: .82rem;
  color: var(--danger);
}
.field.is-invalid input,
.field.is-invalid select { border-color: var(--danger); background: #FDF3F3; }
.field.is-invalid .err { display: block; }

/* This element is also a .field, which sets flex-direction: column — it must be
   reset to row here, otherwise `flex: 1 1 200px` below sizes the buttons
   vertically and they balloon to 200px tall. */
.form__actions { display: flex; flex-direction: row; gap: .8rem; flex-wrap: wrap; }
.form__actions .btn { flex: 1 1 200px; }
.form__hint { font-size: .84rem; color: var(--muted); margin: 0; text-align: center; }

.contact__info { display: grid; gap: 1.2rem; }
.info-card {
  padding: 1.8rem;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--sh-sm);
}
.info-card h3 { font-size: 1.15rem; margin-block-end: 1.2rem; }
.info-list { display: grid; gap: 1.1rem; margin-block-end: 1.5rem; }
.info-list li { display: flex; gap: .85rem; }
.info-ico {
  display: grid;
  place-items: center;
  width: 40px;
  height: 40px;
  flex: none;
  border-radius: 12px;
  background: var(--navy-50);
  color: var(--navy);
  font-size: 1.15rem;
}
.info-list small { display: block; font-size: .78rem; color: var(--muted); }
.info-list a, .info-list span { font-size: .95rem; color: var(--ink); font-weight: 500; }
.info-list a:hover { color: var(--navy); }
.short-addr {
  display: inline-block;
  margin-block-start: .3rem;
  padding: .1rem .6rem;
  border-radius: 6px;
  background: var(--lime-100);
  color: var(--lime-700) !important;
  font-family: var(--f-head);
  font-weight: 700;
  font-size: .82rem !important;
  letter-spacing: .08em;
}

.info-card--legal { background: var(--navy-50); border-color: var(--navy-100); }
.legal-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: .6rem;
  border-block-end: 1px dashed var(--navy-100);
  font-size: .9rem;
}
.legal-row:last-child { border: 0; padding-block-end: 0; }
.legal-row b { font-family: var(--f-head); color: var(--navy); }

/* ---------- 19. Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255, 255, 255, .68); }
.footer__grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  padding-block: clamp(2.5rem, 5vw, 4rem);
}
.footer__logo {
  display: inline-grid;
  place-items: center;
  padding: .5rem;
  margin-block-end: .9rem;
  background: #fff;
  border-radius: var(--r);
}
.footer__logo img { width: 64px; height: 64px; border-radius: 10px; object-fit: cover; }
.footer__brand strong {
  display: block;
  font-family: var(--f-head);
  font-size: 1.1rem;
  color: #fff;
  margin-block-end: .5rem;
}
.footer__brand p { font-size: .92rem; max-width: 40ch; }
.footer__social { display: flex; gap: .6rem; margin-block-start: 1.2rem; }
.footer__social a {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .08);
  color: #fff;
  font-size: 1.1rem;
  transition: background .25s, color .25s, transform .25s var(--ease);
}
.footer__social a:hover { background: var(--lime); color: var(--navy-900); transform: translateY(-3px); }

.footer__col h4 {
  color: #fff;
  font-size: 1rem;
  margin-block-end: 1.1rem;
  position: relative;
  padding-block-end: .6rem;
}
.footer__col h4::after {
  content: "";
  position: absolute;
  inset-block-end: 0;
  inset-inline-start: 0;
  width: 32px;
  height: 3px;
  border-radius: 3px;
  background: var(--lime);
}
.footer__col a, .footer__col span {
  display: block;
  margin-block-end: .6rem;
  font-size: .93rem;
  color: rgba(255, 255, 255, .68);
}
.footer__col a:hover { color: var(--lime); }

.footer__bar { border-block-start: 1px solid rgba(255, 255, 255, .1); }
.footer__bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding-block: 1.2rem;
  font-size: .85rem;
}
.footer__legal b { color: rgba(255, 255, 255, .85); font-weight: 600; }
.footer__legal .sep { margin-inline: .5rem; opacity: .5; }

/* ---------- 20. Floating buttons ---------- */
.fab {
  position: fixed;
  inset-inline-end: 1.2rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  font-size: 1.5rem;
  box-shadow: var(--sh-lg);
  transition: transform .25s var(--ease), opacity .25s, visibility .25s;
}
.fab:hover { transform: scale(1.08); }
.fab--wa { inset-block-end: 1.2rem; background: var(--wa); color: #fff; }
.fab--wa:hover { color: #fff; }
.fab--top {
  inset-block-end: 5.2rem;
  background: #fff;
  color: var(--navy);
  border: 1px solid var(--line);
  font-size: 1.4rem;
  opacity: 0;
  visibility: hidden;
}
.fab--top.is-visible { opacity: 1; visibility: visible; }

/* ---------- 21. Motion ----------
   Everything here is decorative. The whole block is neutralised by the
   prefers-reduced-motion rule in section 23, so the page stays fully usable
   for anyone who asks the browser for less movement.
   -------------------------------------------------------------------- */

/* 21.1 Scroll reveal, with per-item stagger driven by --i (set in main.js) */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity .7s var(--ease),
    transform .7s var(--ease);
  transition-delay: calc(var(--i, 0) * 90ms);
  will-change: opacity, transform;
}
.reveal.is-in { opacity: 1; transform: none; will-change: auto; }

/* Cards scale up rather than slide — reads as "assembling" in a grid */
.division.reveal,
.feature.reveal,
.cred.reveal,
.oem__card,
.sector.reveal { transform: translateY(26px) scale(.965); }
.division.reveal.is-in,
.feature.reveal.is-in,
.cred.reveal.is-in,
.sector.reveal.is-in { transform: none; }

/* 21.2 Reading-progress bar */
.scroll-progress {
  position: fixed;
  inset-block-start: 0;
  inset-inline: 0;
  height: 3px;
  z-index: 200;
  pointer-events: none;
  background: transparent;
}
.scroll-progress span {
  display: block;
  height: 100%;
  width: 100%;
  background: linear-gradient(90deg, var(--lime), var(--navy-600));
  transform: scaleX(0);
  transform-origin: left center;
}
html[dir="rtl"] .scroll-progress span { transform-origin: right center; }

/* 21.3 Hero entrance — each child arrives just after the one before it */
@keyframes heroIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: none; }
}
@keyframes heroCardIn {
  from { opacity: 0; transform: translateY(36px) scale(.94); }
  to   { opacity: 1; transform: none; }
}
.hero__content > * { animation: heroIn .8s var(--ease) both; }
.hero__content > *:nth-child(1) { animation-delay: .10s; }
.hero__content > *:nth-child(2) { animation-delay: .20s; }
.hero__content > *:nth-child(3) { animation-delay: .30s; }
.hero__content > *:nth-child(4) { animation-delay: .40s; }
.hero__content > *:nth-child(5) { animation-delay: .50s; }
.hero__card { animation: heroCardIn 1s var(--ease) .45s both; }

/* The lime stroke draws itself across the hero */
@keyframes drawStroke { from { stroke-dashoffset: 1600; } to { stroke-dashoffset: 0; } }
.hero__stroke {
  stroke-dasharray: 1600;
  animation: drawStroke 2.6s var(--ease) .3s both;
}

/* 21.4 Drifting droplets */
.hero__bubbles {
  position: absolute;
  inset: 0;
  overflow: hidden;
}
.hero__bubbles span {
  position: absolute;
  inset-block-end: -40px;
  inset-inline-start: var(--x);
  width: var(--s);
  height: var(--s);
  border-radius: 50%;
  background: radial-gradient(circle at 32% 30%, rgba(255, 255, 255, .45), rgba(176, 195, 54, .12));
  border: 1px solid rgba(255, 255, 255, .2);
  opacity: 0;
  animation: rise var(--d) linear var(--delay) infinite;
}
@keyframes rise {
  0%   { transform: translateY(0) translateX(0) scale(.65); opacity: 0; }
  12%  { opacity: .75; }
  85%  { opacity: .35; }
  100% { transform: translateY(-860px) translateX(26px) scale(1.15); opacity: 0; }
}

/* 21.5 Section headings draw an underline as they arrive */
.section__head--center .section__title::after {
  content: "";
  display: block;
  width: 0;
  height: 4px;
  margin: 1.1rem auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--lime), var(--navy-600));
  transition: width .9s var(--ease) .25s;
}
.section__head--center.is-in .section__title::after { width: 92px; }

/* 21.6 Buttons — a light sweep passes across on hover */
.btn { position: relative; overflow: hidden; isolation: isolate; }
.btn::after {
  content: "";
  position: absolute;
  inset-block: 0;
  inset-inline-start: -140%;
  width: 45%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .3), transparent);
  transform: skewX(-22deg);
  transition: inset-inline-start .65s var(--ease);
  pointer-events: none;
}
.btn:hover::after { inset-inline-start: 150%; }
.btn--link::after, .btn--link { overflow: visible; }
.btn:active { transform: translateY(0) scale(.98); }

/* 21.7 Card micro-interactions */
.division__icon,
.feature__icon,
.cred__ico,
.sector svg,
.info-ico,
.qc-ico { transition: transform .38s var(--ease), background-color .3s, color .3s; }

.division:hover .division__icon { transform: rotate(-7deg) scale(1.09); }
.division__num { transition: color .3s, transform .38s var(--ease); }
.division:hover .division__num { color: var(--lime); transform: scale(1.06); }

.feature:hover .feature__icon { transform: translateY(-5px) rotate(7deg); }
.cred:hover .cred__ico { transform: scale(1.1) rotate(-8deg); }
.sector:hover svg { transform: scale(1.12) rotate(-8deg); }

.division__cta { display: inline-block; transition: transform .28s var(--ease), color .25s; }
.division__cta:hover { transform: translateX(-5px); }
html[dir="ltr"] .division__cta:hover { transform: translateX(5px); }

.stat { transition: background-color .3s, transform .3s var(--ease); }
.stat:hover { background: var(--navy-50); }
.stat__num { transition: transform .35s var(--ease); }
.stat:hover .stat__num { transform: scale(1.06); }

.process__num { transition: transform .38s var(--ease), box-shadow .3s; }
.process__step:hover .process__num {
  transform: scale(1.12) rotate(-6deg);
  box-shadow: 0 8px 22px rgba(176, 195, 54, .45);
}

.footer__col a { transition: color .25s, transform .25s var(--ease); }
.footer__col a:hover { transform: translateX(-4px); }
html[dir="ltr"] .footer__col a:hover { transform: translateX(4px); }

/* 21.8 Header compacts once the page is scrolled (desktop only — the mobile
   menu is anchored to --header-h and must not shift under it) */
@media (min-width: 961px) {
  .header__inner { transition: min-height .3s var(--ease); }
  .header.is-stuck .header__inner { min-height: 62px; }
  .brand__logo { transition: width .3s var(--ease), height .3s var(--ease); }
  .header.is-stuck .brand__logo { width: 44px; height: 44px; }
}

/* 21.9 Floating WhatsApp button — a slow outward pulse */
@keyframes pulseRing {
  0%   { transform: scale(1);   opacity: .55; }
  70%  { transform: scale(1.75); opacity: 0; }
  100% { transform: scale(1.75); opacity: 0; }
}
.fab--wa::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: 50%;
  background: var(--wa);
  animation: pulseRing 2.6s ease-out infinite;
}
.fab--top { transition: transform .25s var(--ease), opacity .25s, visibility .25s, background-color .25s; }
.fab--top:hover { background: var(--navy); color: #fff; }

/* 21.10 FAQ — height is animated from main.js; keep the content clipped */
.faq__a { overflow: hidden; }
.faq__item summary { transition: background-color .25s, color .25s; }
.faq__item summary:hover { background: var(--navy-50); }

/* 21.11 Form focus lift */
.field input,
.field select,
.field textarea { transition: border-color .2s, background .2s, box-shadow .2s, transform .2s var(--ease); }
.field input:focus,
.field select:focus,
.field textarea:focus { transform: translateY(-1px); }

/* ---------- 22. Responsive ---------- */
@media (max-width: 1100px) {
  .hero__inner { grid-template-columns: 1fr; }
  .hero__card { max-width: 480px; }
  .divisions, .features, .process { grid-template-columns: repeat(2, 1fr); }
  .sectors, .creds { grid-template-columns: repeat(2, 1fr); }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
}

@media (max-width: 960px) {
  .nav {
    position: fixed;
    inset-block-start: var(--header-h);
    inset-inline: 0;
    flex-direction: column;
    align-items: stretch;
    gap: .2rem;
    padding: 1rem 1.25rem 1.6rem;
    background: #fff;
    border-block-end: 1px solid var(--line);
    box-shadow: var(--sh);
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
    transform: translateY(-120%);
    opacity: 0;
    visibility: hidden;
    /* visibility is switched instantly, never interpolated — a menu that gets
       stuck mid-transition would be unopenable on mobile. */
    transition: transform .35s var(--ease), opacity .25s var(--ease), visibility 0s linear .35s;
  }
  .nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
    transition: transform .35s var(--ease), opacity .25s var(--ease), visibility 0s;
  }
  .nav__link { padding: .85rem 1rem; border-block-end: 1px solid var(--line-soft); border-radius: 0; }
  .nav__link::after { display: none; }
  .nav__cta { margin: .9rem 0 0; justify-content: center; }
  .burger { display: flex; }
  .about__grid, .oem__grid { grid-template-columns: 1fr; }
  .stats__grid { grid-template-columns: repeat(2, 1fr); }
  .topbar__contact { gap: .9rem; font-size: .8rem; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }

  /* The topbar stacked onto three rows here and ate 127px of a phone screen
     before the hero even started. Only the tap-to-call number earns that
     space — e-mail and location both repeat in the contact section and
     footer, so they are dropped and the bar stays a single compact row. */
  .topbar__inner { justify-content: space-between; padding-block: 0; flex-wrap: nowrap; }
  .topbar__contact { gap: .5rem; }
  .topbar__link:not(:first-child) { display: none; }
  .topbar__link,
  .lang-toggle { min-height: 44px; }
  .lang-toggle { padding-block: .4rem; }
  .divisions, .features, .process, .sectors, .creds, .oem__cards { grid-template-columns: 1fr; }
  .contact__form { grid-template-columns: 1fr; padding: 1.4rem; }
  .hero__badges { grid-template-columns: 1fr; }
  .hero__actions .btn { flex: 1 1 100%; }
  .about__facts { grid-template-columns: 1fr; }
  .footer__grid { grid-template-columns: 1fr; gap: 2rem; }
  .cta-band__inner { flex-direction: column; text-align: center; }
  .cta-band__actions { width: 100%; justify-content: center; }
  .stats { margin-block-start: -2rem; }
  .fab { width: 52px; height: 52px; }

  /* Touch targets — everything below was under the 44px minimum on a phone. */
  .footer__col a {
    padding-block: .5rem;
    margin-block-end: .1rem;
  }
  .footer__col span { margin-block-end: .5rem; }
  /* padding rather than min-height: these are flex items with an auto margin,
     where the min-height floor is not honoured. */
  .division__cta { padding-block: .6rem; }
  .nav__cta { padding-block: .85rem; }
  .info-list a { display: inline-block; padding-block: .55rem; }
  .topbar__link { padding-block: .6rem; }
}

@media (max-width: 400px) {
  .brand__text small { display: none; }
}

/* Four stacked stat cards made the strip needlessly tall on a phone; two
   columns hold comfortably down to ~320px. */
@media (max-width: 330px) {
  .stats__grid { grid-template-columns: 1fr; }
}

/* ---------- 23. Motion & print ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    transition-delay: 0s !important;
  }
  /* !important is needed: the staggered card rules are more specific than
     a bare .reveal selector and would otherwise keep them offset. */
  .reveal, .hero__content > *, .hero__card {
    opacity: 1 !important;
    transform: none !important;
  }
  .hero__bubbles, .fab--wa::before, .btn::after { display: none; }
  .hero__stroke { stroke-dasharray: none; }
  .section__head--center .section__title::after { width: 92px; }
}

@media print {
  .topbar, .header, .fab, .hero__bg, .cta-band, .contact__form { display: none !important; }
  body { color: #000; font-size: 12pt; }
  .section { padding-block: 1rem; }
  .reveal { opacity: 1; transform: none; }
}
