
    html {
      scroll-behavior: smooth;
      -webkit-text-size-adjust: 100%;
      text-size-adjust: 100%;
    }
    body {
      overflow-x: clip;
      min-height: 100dvh;
    }
    img, video, iframe, svg {
      max-width: 100%;
    }
    html[dir="rtl"] body {
      font-family: "Cairo", system-ui, -apple-system, "Segoe UI", sans-serif;
    }
    .reveal { position: relative; z-index: 0; opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
    .reveal-visible { opacity: 1; transform: translateY(0); }
    .nav-link::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: #93c5fd; transition: width 0.25s ease; }
    .nav-link:hover::after { width: 100%; }
    html[dir="rtl"] .nav-link::after { left: auto; right: 0; }

    /* Premium depth & glass (no WebGL) */
    .glass-header {
      background: linear-gradient(180deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.82) 100%);
      box-shadow: 0 4px 24px rgba(0, 0, 0, 0.12), 0 1px 0 rgba(255, 255, 255, 0.06) inset;
    }
    .perspective-wrap { perspective: 1400px; perspective-origin: 50% 40%; }
    .card-3d {
      transform-style: preserve-3d;
      transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.45s ease, border-color 0.35s ease;
      box-shadow:
        0 1px 2px rgba(15, 23, 42, 0.04),
        0 8px 24px rgba(15, 23, 42, 0.06),
        0 24px 48px rgba(15, 23, 42, 0.04);
    }
    .card-3d:hover {
      transform: translateY(-6px) rotateX(1.5deg) translateZ(0);
      box-shadow:
        0 2px 4px rgba(15, 23, 42, 0.06),
        0 12px 28px rgba(30, 58, 138, 0.12),
        0 32px 64px rgba(15, 23, 42, 0.08);
    }
    .card-3d:active { transform: translateY(-2px) rotateX(0.5deg); }

    /* Product flip cards */
    .product-flip-card {
      perspective: 1200px;
      min-height: 22rem;
    }
    .product-flip-card__inner {
      position: relative;
      width: 100%;
      height: 100%;
      min-height: 22rem;
      transform-style: preserve-3d;
      transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    }
    .product-flip-card:hover .product-flip-card__inner,
    .product-flip-card:focus-within .product-flip-card__inner {
      transform: rotateY(180deg);
    }
    html[dir="rtl"] .product-flip-card:hover .product-flip-card__inner,
    html[dir="rtl"] .product-flip-card:focus-within .product-flip-card__inner {
      transform: rotateY(-180deg);
    }
    .product-flip-card__face {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      backface-visibility: hidden;
      -webkit-backface-visibility: hidden;
    }
    .product-flip-card__face--back {
      transform: rotateY(180deg);
    }
    html[dir="rtl"] .product-flip-card__face--back {
      transform: rotateY(-180deg);
    }
    .product-flip-card:hover,
    .product-flip-card:focus-within,
    .product-flip-card--flipped {
      z-index: 2;
    }
    @media (hover: none) and (pointer: coarse) {
      .product-flip-card--flipped .product-flip-card__inner {
        transform: rotateY(180deg);
      }
      html[dir="rtl"] .product-flip-card--flipped .product-flip-card__inner {
        transform: rotateY(-180deg);
      }
    }

    .card-glass-dark {
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border-color: rgba(255, 255, 255, 0.12) !important;
    }
    .card-glass-dark:hover {
      background: linear-gradient(145deg, rgba(255, 255, 255, 0.12) 0%, rgba(255, 255, 255, 0.04) 100%);
      border-color: rgba(125, 211, 252, 0.35) !important;
    }
    .filter-chip-3d {
      transform-style: preserve-3d;
      transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, background-color 0.25s ease, border-color 0.25s ease;
      box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    }
    .filter-chip-3d:hover:not([aria-pressed="true"]) {
      transform: translateY(-2px) translateZ(0);
      box-shadow: 0 6px 16px rgba(30, 58, 138, 0.12);
    }

    /* Stats — corporate credentials panel */
    .stats-header {
      margin-bottom: 1rem;
      text-align: center;
    }
    .stats-header__title {
      margin: 0;
      font-size: 0.6875rem;
      font-weight: 600;
      line-height: 1.4;
      letter-spacing: 0.16em;
      text-transform: uppercase;
      color: #64748b;
    }
    html[dir="rtl"] .stats-header__title {
      letter-spacing: 0;
      text-transform: none;
      font-size: 0.8125rem;
      font-weight: 700;
    }
    .stats-panel {
      overflow: hidden;
      border: 1px solid #e2e8f0;
      border-radius: 16px;
      background: #ffffff;
      box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04), 0 6px 20px rgba(15, 23, 42, 0.04);
    }
    .stats-panel::before {
      content: "";
      display: block;
      height: 3px;
      background: #1e3a8a;
    }
    .stats-grid {
      display: grid;
      grid-template-columns: 1fr;
      align-items: stretch;
    }
    .stat-item {
      position: relative;
      display: flex;
      flex-direction: column;
      justify-content: center;
      min-height: 100%;
      padding: 2.25rem 1.5rem;
      text-align: start;
      border-bottom: 1px solid #e2e8f0;
      transition:
        background-color 300ms ease,
        box-shadow 300ms ease,
        transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
    }
    .stat-item:last-child {
      border-bottom: none;
    }
    .stat-item:hover {
      z-index: 1;
      background-color: #fafbfd;
      transform: translateY(-3px);
      box-shadow: 0 4px 14px rgba(30, 58, 138, 0.07), 0 12px 28px rgba(15, 23, 42, 0.05);
    }
    .stat-item__value {
      margin: 0;
      font-size: 2.5rem;
      font-weight: 600;
      line-height: 1.12;
      letter-spacing: -0.02em;
      color: #1e3a8a;
      font-variant-numeric: tabular-nums;
    }
    .stat-item__value .counter {
      display: inline-block;
    }
    .stat-item__label {
      margin: 1.125rem 0 0;
      max-width: 20rem;
      font-size: 0.8125rem;
      font-weight: 400;
      line-height: 1.65;
      letter-spacing: 0.015em;
      color: #64748b;
    }
    html[dir="rtl"] .stat-item__label {
      letter-spacing: 0;
      line-height: 1.7;
    }
    @media (min-width: 640px) {
      .stats-header {
        margin-bottom: 1.25rem;
      }
      .stats-grid {
        grid-template-columns: repeat(2, 1fr);
      }
      .stat-item {
        padding: 2.5rem 1.75rem;
      }
      .stat-item:nth-child(-n+2) {
        border-bottom: 1px solid #e2e8f0;
      }
      .stat-item:nth-child(odd) {
        border-inline-end: 1px solid #e2e8f0;
      }
      .stat-item:nth-last-child(-n+2) {
        border-bottom: none;
      }
      .stat-item__value {
        font-size: 2.875rem;
      }
      .stat-item__label {
        margin-top: 1.25rem;
        font-size: 0.8125rem;
      }
    }
    @media (min-width: 1024px) {
      .stats-header {
        margin-bottom: 1.5rem;
      }
      .stats-grid {
        grid-template-columns: repeat(4, 1fr);
      }
      .stat-item {
        padding: 2.75rem 2rem;
      }
      .stat-item:nth-child(-n+2) {
        border-bottom: none;
      }
      .stat-item:nth-child(odd) {
        border-inline-end: none;
      }
      .stat-item:not(:last-child) {
        border-bottom: none;
        border-inline-end: 1px solid #e2e8f0;
      }
      .stat-item__value {
        font-size: 3.25rem;
      }
      .stat-item__label {
        margin-top: 1.375rem;
      }
    }

    /* Hero: 100vh factory bg — img uses object-fit: cover (= background-size: cover behavior) */
    .hero-section {
      min-height: 100vh;
      min-height: 100dvh;
    }
    .hero-bg-stack {
      position: absolute;
      inset: 0;
      z-index: 0;
      overflow: hidden;
      background: #0b1628;
    }
    .hero-parallax-layer {
      position: absolute;
      left: 50%;
      top: 50%;
      width: 115%;
      height: 115%;
      min-width: 100%;
      min-height: 100%;
      will-change: transform;
      transition: transform 0.22s ease-out;
      transform: translate3d(-50%, -50%, 0);
    }
    .hero-bg-img {
      position: absolute;
      inset: 0;
      display: block;
      width: 100%;
      height: 100%;
      max-width: none;
      object-fit: cover;
      object-position: center;
      background-repeat: no-repeat;
      image-rendering: auto;
      -webkit-backface-visibility: hidden;
      backface-visibility: hidden;
      transform: translateZ(0);
      animation: heroKenburns 32s ease-in-out infinite alternate;
    }
    @keyframes heroKenburns {
      0% { transform: scale(1.035); }
      100% { transform: scale(1.075); }
    }
    .hero-soft-light {
      position: absolute;
      inset: 0;
      z-index: 2;
      pointer-events: none;
      background: radial-gradient(ellipse 90% 65% at 70% 18%, rgba(59, 130, 246, 0.1), transparent 55%),
        radial-gradient(ellipse 100% 80% at 50% 100%, rgba(0, 0, 0, 0.38), transparent 55%);
    }
    .hero-inner {
      width: 100%;
      max-width: 56rem;
    }
    @keyframes heroEntrance {
      from {
        opacity: 0;
        transform: translateY(1.25rem);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }
    .hero-entrance > * {
      opacity: 0;
      animation: heroEntrance 0.95s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    }
    .hero-entrance > *:nth-child(1) { animation-delay: 0.06s; }
    .hero-entrance > *:nth-child(2) { animation-delay: 0.14s; }
    .hero-entrance > *:nth-child(3) { animation-delay: 0.22s; }
    .hero-entrance > *:nth-child(4) { animation-delay: 0.3s; }
    .hero-entrance > *:nth-child(5) { animation-delay: 0.38s; }
    .hero-text-glow {
      text-shadow:
        0 2px 28px rgba(0, 0, 0, 0.45),
        0 1px 3px rgba(0, 0, 0, 0.55);
    }
    .hero-text-glow-soft {
      text-shadow: 0 1px 18px rgba(0, 0, 0, 0.4);
    }
    @keyframes industrialMeshDrift {
      0% { opacity: 0.35; transform: translate3d(0, 0, 0) scale(1); }
      50% { opacity: 0.5; transform: translate3d(-1.5%, 1%, 0) scale(1.02); }
      100% { opacity: 0.35; transform: translate3d(0, 0, 0) scale(1); }
    }
    .industrial-mesh {
      position: absolute;
      inset: -5%;
      background:
        radial-gradient(ellipse 80% 50% at 20% 40%, rgba(56, 189, 248, 0.12), transparent 55%),
        radial-gradient(ellipse 60% 40% at 80% 60%, rgba(30, 58, 138, 0.25), transparent 50%),
        linear-gradient(105deg, transparent 40%, rgba(255, 255, 255, 0.03) 50%, transparent 60%);
      background-size: 120% 120%, 100% 100%, 200% 100%;
      animation: industrialMeshDrift 28s ease-in-out infinite;
      pointer-events: none;
    }
    @keyframes floatSoft {
      0%, 100% { transform: translate3d(0, 0, 0); }
      50% { transform: translate3d(0, -6px, 0); }
    }
    .float-soft { animation: floatSoft 7s ease-in-out infinite; }
    .float-soft-delayed { animation: floatSoft 7s ease-in-out infinite 2.5s; }
    .hero-cta-3d {
      transform-style: preserve-3d;
      transition:
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        background-color 0.35s ease,
        border-color 0.35s ease,
        color 0.25s ease;
      box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15), 0 12px 28px rgba(0, 0, 0, 0.12);
    }
    .hero-cta-3d:hover {
      transform: translateY(-3px) translateZ(0);
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 20px 44px rgba(30, 58, 138, 0.18);
    }
    /* Corporate profile — engineering layout */
    .section-engineering { background: linear-gradient(180deg, #f8fafc 0%, #fff 100%); }
    .profile-pillar {
      transition: transform 0.4s ease, box-shadow 0.4s ease, border-color 0.35s ease;
    }
    .profile-pillar:hover {
      transform: translateY(-4px);
      box-shadow: 0 16px 40px rgba(30, 58, 138, 0.1);
      border-color: rgba(37, 99, 235, 0.25);
    }
    .process-timeline { position: relative; }
    .process-timeline::before {
      content: "";
      position: absolute;
      top: 0;
      bottom: 0;
      left: 1.75rem;
      width: 2px;
      background: linear-gradient(180deg, #1e40af, #93c5fd, #1e3a8a);
    }
    html[dir="rtl"] .process-timeline::before { left: auto; right: 1.75rem; }
    .process-step {
      position: relative;
      padding-inline-start: 4.5rem;
      transition: transform 0.35s ease, box-shadow 0.35s ease;
    }
    html[dir="rtl"] .process-step { padding-inline-start: 0; padding-inline-end: 4.5rem; }
    .process-step:hover { transform: translateX(4px); }
    html[dir="rtl"] .process-step:hover { transform: translateX(-4px); }
    .process-step-num {
      position: absolute;
      inset-inline-start: 0;
      top: 0.25rem;
      z-index: 1;
      display: flex;
      height: 3rem;
      width: 3rem;
      align-items: center;
      justify-content: center;
      border-radius: 0.75rem;
      border: 2px solid #bfdbfe;
      background: #fff;
      font-size: 0.875rem;
      font-weight: 800;
      color: #1e3a8a;
      box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08), 0 0 0 4px #f8fafc;
    }
    .process-step-card {
      border-radius: 1rem;
      border: 1px solid rgba(226, 232, 240, 0.9);
      background: #fff;
      padding: 1.25rem 1.5rem;
      box-shadow: 0 4px 20px rgba(15, 23, 42, 0.05);
      transition: border-color 0.3s ease, box-shadow 0.35s ease;
    }
    .process-step-card--photo {
      padding: 0;
    }
    .process-step:hover .process-step-card {
      border-color: rgba(59, 130, 246, 0.35);
      box-shadow: 0 12px 32px rgba(30, 58, 138, 0.12);
    }
    .mfg-gallery-card {
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease, border-color 0.35s ease;
    }
    .mfg-gallery-card:hover {
      transform: translateY(-4px);
      border-color: rgba(125, 211, 252, 0.35);
      box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    }
    .mfg-gallery-card img {
      transition: transform 0.6s ease;
    }
    .mfg-gallery-card:hover img {
      transform: scale(1.04);
    }
    .process-step-photo img {
      display: block;
    }
    .lab-card {
      transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.4s ease;
    }
    .lab-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 20px 48px rgba(15, 23, 42, 0.1);
    }
    .client-logo-slot {
      display: flex;
      min-height: 3.5rem;
      align-items: center;
      justify-content: center;
      border-radius: 0.75rem;
      border: 1px solid #e2e8f0;
      background: #fff;
      padding: 0 1rem;
      text-align: center;
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.05em;
      color: #475569;
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
      transition: border-color 0.25s ease, color 0.25s ease;
    }
    .client-logo-slot:hover {
      border-color: #93c5fd;
      color: #1e3a8a;
    }
    .brand-lockup {
      text-decoration: none;
      transition: opacity 0.2s ease;
    }
    .brand-lockup:hover { opacity: 0.92; }
    .brand-lockup:focus-visible {
      outline: 2px solid rgba(96, 165, 250, 0.85);
      outline-offset: 3px;
      border-radius: 0.5rem;
    }
    .brand-mark {
      flex-shrink: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      overflow: hidden;
      border-radius: 0.5rem;
      background: linear-gradient(145deg, #1e3a8a 0%, #2563eb 52%, #1e40af 100%);
      box-shadow: 0 1px 3px rgba(15, 23, 42, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.14);
    }
    .brand-mark img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      -webkit-user-drag: none;
      user-select: none;
    }
    .brand-mark--sm { width: 2.25rem; height: 2.25rem; padding: 0.22rem; }
    .brand-mark--md { width: 2.75rem; height: 2.75rem; padding: 0.28rem; }
    .brand-mark--lg { width: 3.25rem; height: 3.25rem; padding: 0.32rem; }
    .brand-logo {
      height: 3.35rem;
      width: auto;
      max-height: 3.5rem;
      max-width: 18rem;
      object-fit: contain;
      object-position: center;
      flex-shrink: 0;
      display: block;
      filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.4));
      -webkit-user-drag: none;
      user-select: none;
    }
    .brand-name {
      line-height: 1.25;
      letter-spacing: -0.01em;
    }
    .brand-lockup--mobile {
      padding: 0.65rem 0.75rem;
      border-radius: 0.75rem;
      border: 1px solid rgba(255, 255, 255, 0.08);
      background: rgba(255, 255, 255, 0.04);
    }
    .brand-lockup--mobile:hover { background: rgba(255, 255, 255, 0.07); }
    .nav-scroll { scrollbar-width: thin; }
    @media (min-width: 768px) and (max-width: 1023px) {
      .process-timeline-lg {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 1.25rem;
      }
      .process-timeline-lg::before { display: none; }
      .process-timeline-lg .process-step {
        padding-inline-start: 0;
        padding-top: 3.5rem;
      }
      .process-timeline-lg .process-step-num {
        top: 0;
        inset-inline-start: 50%;
        transform: translateX(-50%);
      }
      html[dir="rtl"] .process-timeline-lg .process-step-num { transform: translateX(50%); }
    }
    @media (min-width: 1024px) {
      .process-timeline-lg { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
      .process-timeline-lg::before { display: none; }
      .process-timeline-lg .process-step { padding-inline-start: 0; padding-top: 3.5rem; }
      .process-timeline-lg .process-step-num { top: 0; inset-inline-start: 50%; transform: translateX(-50%); }
      html[dir="rtl"] .process-timeline-lg .process-step-num { transform: translateX(50%); }
      .process-timeline-lg .process-step:hover { transform: translateY(-4px); }
    }
    @media (prefers-reduced-motion: reduce) {
      html { scroll-behavior: auto; }
      .process-step:hover { transform: none !important; }
      .process-timeline-lg .process-step:hover { transform: none !important; }
      .reveal, .reveal-visible { opacity: 1; transform: none; transition: none; }
      .card-3d, .filter-chip-3d, .hero-cta-3d, .stat-item, .product-flip-card__inner { transition: none !important; }
      .card-3d:hover, .filter-chip-3d:hover, .hero-cta-3d:hover, .stat-item:hover { transform: none !important; }
      .product-flip-card:hover .product-flip-card__inner,
      .product-flip-card:focus-within .product-flip-card__inner { transform: none !important; }
      .product-flip-card__inner { min-height: auto; }
      .product-flip-card__face {
        position: relative;
        transform: none !important;
        backface-visibility: visible;
        -webkit-backface-visibility: visible;
      }
      .product-flip-card__face--back { margin-top: 0.75rem; }
      .industrial-mesh { animation: none !important; opacity: 0.4; }
      .float-soft, .float-soft-delayed { animation: none !important; }
      .hero-bg-img { animation: none !important; transform: scale(1.05) !important; }
      .hero-parallax-layer { transform: translate3d(-50%, -50%, 0) !important; transition: none !important; }
      .hero-entrance > * {
        opacity: 1 !important;
        transform: none !important;
        animation: none !important;
      }
    }
    @media (max-width: 767px) {
      .card-3d:hover { transform: translateY(-3px); }
      .hero-parallax-layer {
        width: 100%;
        height: 100%;
      }
      .hero-section .px-6 { padding-inline: 1rem; }
      .stat-item__value { font-size: 2.125rem; }
      .stat-item { padding: 1.75rem 1.25rem; }
      .product-flip-card,
      .product-flip-card__inner { min-height: 19rem; }
      .process-step { padding-inline-start: 3.75rem; }
      html[dir="rtl"] .process-step { padding-inline-start: 0; padding-inline-end: 3.75rem; }
      .process-step-num {
        height: 2.5rem;
        width: 2.5rem;
        font-size: 0.75rem;
      }
      .process-timeline::before { left: 1.25rem; }
      html[dir="rtl"] .process-timeline::before { left: auto; right: 1.25rem; }
    }
    @media (max-width: 639px) {
      .brand-logo {
        height: 2.5rem;
        max-height: 2.75rem;
      }
      .brand-lockup .brand-name {
        max-width: 7.5rem;
        font-size: 0.8125rem;
      }
      input, select, textarea { font-size: 16px; }
    }
    @media (pointer: coarse) {
      .lang-btn,
      .nav-mobile-link,
      .product-filter,
      .product-detail-btn,
      .filter-chip-3d {
        min-height: 2.75rem;
      }
    }
    #mobile-menu {
      max-height: min(32rem, calc(100dvh - 4.5rem));
      overflow-y: auto;
      overscroll-behavior: contain;
      -webkit-overflow-scrolling: touch;
    }
    #whatsapp-float {
      bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
      inset-inline-start: max(1.5rem, env(safe-area-inset-left, 0px));
    }
    #scroll-top-btn {
      bottom: max(1.5rem, env(safe-area-inset-bottom, 0px));
      inset-inline-end: max(1.5rem, env(safe-area-inset-right, 0px));
    }
    @supports (padding: max(0px)) {
      body {
        padding-left: env(safe-area-inset-left);
        padding-right: env(safe-area-inset-right);
      }
    }
  
    .nav-link-active { color: #fff !important; }
    .nav-link-active::after { width: 100% !important; }
    .page-hero { scroll-margin-top: 5rem; }
    .home-cert-preview .card-glass-dark { min-height: 100%; }
