:root {
  --bg: #0c0f12;
  --surface: #14191e;
  --surface-2: #1b2229;
  --surface-3: #242c34;
  --text: #f4f5f6;
  --muted: #b9c0c7;
  --line: rgba(255,255,255,.12);
  --accent: #eea33a;
  --accent-2: #a487bd;
  --success: #72c89a;
  --shadow: 0 24px 80px rgba(0,0,0,.28);
  --radius: 22px;
  --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Tahoma, Arial, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.75;
  text-rendering: optimizeLegibility;
}
body[dir="rtl"] { font-family: Tahoma, Arial, sans-serif; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, textarea { font: inherit; }

.skip-link {
  position: fixed;
  z-index: 9999;
  inset-inline-start: 1rem;
  top: -5rem;
  background: var(--accent);
  color: #15100a;
  padding: .75rem 1rem;
  border-radius: 0 0 12px 12px;
  font-weight: 800;
}
.skip-link:focus { top: 0; }

.container { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
.section { padding: 6.5rem 0; }
.section-compact { padding: 4rem 0; }
.section-alt { background: linear-gradient(180deg, rgba(255,255,255,.025), rgba(255,255,255,0)); }

.eyebrow {
  margin: 0 0 .75rem;
  color: var(--accent);
  letter-spacing: .1em;
  text-transform: uppercase;
  font-size: .8rem;
  font-weight: 800;
}
body[dir="rtl"] .eyebrow { letter-spacing: 0; }

.section-heading { max-width: 760px; margin-bottom: 2.25rem; }
.section-heading h2 { margin: 0 0 .85rem; font-size: clamp(2rem, 4vw, 3.7rem); line-height: 1.12; }
.section-heading p { margin: 0; color: var(--muted); font-size: 1.05rem; }

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  inset-inline: 0;
  height: 82px;
  background: rgba(8, 11, 14, .82);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.brand { display: inline-flex; align-items: center; gap: .8rem; text-decoration: none; min-width: max-content; }
.brand img { width: 52px; height: 52px; border-radius: 14px; object-fit: cover; border: 1px solid rgba(255,255,255,.14); }
.brand-text { display: grid; line-height: 1.2; }
.brand-text strong { font-size: 1rem; }
.brand-text span { color: var(--muted); font-size: .72rem; }

.nav-wrap { display: flex; align-items: center; gap: 1rem; }
.primary-nav { display: flex; align-items: center; gap: 1.35rem; }
.primary-nav a { color: #d8dde2; text-decoration: none; font-size: .92rem; font-weight: 700; }
.primary-nav a:hover, .primary-nav a:focus-visible { color: var(--accent); }

.language-switcher { display: flex; align-items: center; gap: .3rem; border: 1px solid var(--line); border-radius: 999px; padding: .25rem; }
.language-switcher a { text-decoration: none; color: var(--muted); font-size: .76rem; font-weight: 800; padding: .38rem .58rem; border-radius: 999px; }
.language-switcher a[aria-current="page"] { background: var(--surface-3); color: #fff; }

.menu-toggle { display: none; background: transparent; color: #fff; border: 1px solid var(--line); border-radius: 12px; width: 44px; height: 44px; cursor: pointer; }
.menu-toggle span, .menu-toggle::before, .menu-toggle::after { content: ""; display: block; width: 20px; height: 2px; background: currentColor; margin: 4px auto; transition: .2s ease; }

.hero {
  min-height: 850px;
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
  background: #0a0d10 url('../img/hero.webp') center/cover no-repeat;
  padding-top: 82px;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5,7,9,.94) 0%, rgba(5,7,9,.78) 42%, rgba(5,7,9,.38) 72%, rgba(5,7,9,.66) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 32%);
}
body[dir="rtl"] .hero::before {
  background:
    linear-gradient(270deg, rgba(5,7,9,.94) 0%, rgba(5,7,9,.78) 42%, rgba(5,7,9,.38) 72%, rgba(5,7,9,.66) 100%),
    linear-gradient(0deg, var(--bg) 0%, transparent 32%);
}
.hero-content { width: min(800px, 100%); padding: 5rem 0 3rem; }
.hero-logo { width: 86px; height: 86px; object-fit: cover; border-radius: 22px; box-shadow: 0 18px 50px rgba(0,0,0,.35); border: 1px solid rgba(255,255,255,.16); margin-bottom: 1.5rem; }
.hero h1 { margin: 0; font-size: clamp(3rem, 7vw, 6.6rem); line-height: .98; letter-spacing: -.035em; max-width: 850px; }
body[dir="rtl"] .hero h1 { letter-spacing: 0; }
.hero h1 span { color: var(--accent); display: block; }
.hero-lead { margin: 1.5rem 0 0; max-width: 700px; font-size: clamp(1.05rem, 2vw, 1.28rem); color: #d7dce1; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .75rem; margin-top: 2rem; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .55rem; padding: .82rem 1.2rem; border-radius: 999px; border: 1px solid transparent; text-decoration: none; font-weight: 800; transition: transform .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--accent); color: #18110a; }
.btn-secondary { border-color: var(--line); background: rgba(255,255,255,.06); color: #fff; }
.btn-ghost { border-color: var(--line); color: #fff; }

.hero-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .8rem; margin-top: 3rem; max-width: 720px; }
.stat { padding: 1rem; background: rgba(20,25,30,.72); border: 1px solid rgba(255,255,255,.1); border-radius: 18px; backdrop-filter: blur(8px); }
.stat strong { display: block; font-size: 1.2rem; color: #fff; }
.stat span { color: var(--muted); font-size: .82rem; }

.trust-strip { margin-top: -1px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #101419; }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.trust-item { padding: 1.4rem 1rem; text-align: center; border-inline-end: 1px solid var(--line); color: #d7dce1; font-weight: 700; }
.trust-item:last-child { border-inline-end: 0; }
.trust-item span { color: var(--accent); margin-inline-end: .4rem; }

.split { display: grid; grid-template-columns: 1.02fr .98fr; gap: clamp(2rem, 6vw, 5.5rem); align-items: center; }
.split.reverse .media-card { order: 2; }
.media-card { position: relative; min-height: 560px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); background: var(--surface-2); }
.media-card img { width: 100%; height: 100%; position: absolute; inset: 0; object-fit: cover; }
.media-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0,0,0,.35), transparent 55%); }
.media-badge { position: absolute; z-index: 2; inset-inline-start: 1.25rem; bottom: 1.25rem; background: rgba(8,11,14,.82); border: 1px solid var(--line); border-radius: 14px; padding: .8rem 1rem; max-width: 80%; backdrop-filter: blur(10px); }
.media-badge strong { display: block; }
.media-badge span { color: var(--muted); font-size: .86rem; }
.content-block h2 { margin: 0 0 1.25rem; font-size: clamp(2.1rem, 4vw, 4rem); line-height: 1.12; }
.content-block p { color: var(--muted); font-size: 1.05rem; }
.key-list { display: grid; gap: .8rem; padding: 0; margin: 1.5rem 0 0; list-style: none; }
.key-list li { display: flex; gap: .75rem; align-items: flex-start; }
.key-list li::before { content: "✓"; flex: 0 0 1.65rem; height: 1.65rem; display: grid; place-items: center; border-radius: 50%; background: rgba(238,163,58,.14); color: var(--accent); font-weight: 900; margin-top: .15rem; }

.cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.feature-card, .product-card, .application-card, .process-card, .contact-card {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
  border-radius: var(--radius);
  overflow: hidden;
}
.feature-card { padding: 1.35rem; min-height: 210px; }
.feature-number { color: var(--accent); font-weight: 900; font-size: .82rem; letter-spacing: .08em; }
.feature-card h3 { margin: .55rem 0 .45rem; font-size: 1.15rem; }
.feature-card p { margin: 0; color: var(--muted); font-size: .93rem; }

.product-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 1rem; }
.product-card img { aspect-ratio: 16/10; width: 100%; object-fit: cover; }
.product-body { padding: 1.2rem; }
.product-body h3 { margin: 0 0 .35rem; font-size: 1.2rem; }
.product-body p { margin: 0; color: var(--muted); font-size: .93rem; }
.product-tags { display: flex; flex-wrap: wrap; gap: .4rem; margin-top: .9rem; }
.tag { background: rgba(255,255,255,.06); border: 1px solid var(--line); color: #dfe3e7; border-radius: 999px; padding: .28rem .55rem; font-size: .72rem; }

.application-grid { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1rem; }
.application-card { padding: 1.2rem; min-height: 220px; }
.application-icon { width: 46px; height: 46px; display: grid; place-items: center; background: rgba(164,135,189,.14); border: 1px solid rgba(164,135,189,.28); border-radius: 14px; font-size: 1.45rem; }
.application-card h3 { margin: 1rem 0 .45rem; font-size: 1.05rem; }
.application-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.process-wrap { position: relative; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.process-card { padding: 1.35rem; position: relative; }
.process-card::before { content: attr(data-step); display: grid; place-items: center; width: 2rem; height: 2rem; border-radius: 50%; background: var(--accent); color: #17110a; font-weight: 900; margin-bottom: .8rem; }
.process-card h3 { margin: 0 0 .4rem; }
.process-card p { margin: 0; color: var(--muted); font-size: .9rem; }

.gallery { display: grid; grid-template-columns: 1.3fr .7fr .7fr; grid-template-rows: 260px 260px; gap: 1rem; }
.gallery figure { margin: 0; position: relative; overflow: hidden; border-radius: var(--radius); border: 1px solid var(--line); background: var(--surface-2); }
.gallery figure:first-child { grid-row: 1 / 3; }
.gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.035); }
.gallery figcaption { position: absolute; inset-inline: .9rem; bottom: .9rem; padding: .55rem .7rem; border-radius: 12px; background: rgba(8,11,14,.78); backdrop-filter: blur(8px); font-size: .82rem; }

.download-panel { display: flex; align-items: center; justify-content: space-between; gap: 2rem; border: 1px solid var(--line); background: linear-gradient(100deg, rgba(238,163,58,.12), rgba(164,135,189,.1)); border-radius: var(--radius); padding: 1.5rem; }
.download-panel h3 { margin: 0 0 .3rem; }
.download-panel p { margin: 0; color: var(--muted); }

.contact-layout { display: grid; grid-template-columns: .9fr 1.1fr; gap: 1rem; }
.contact-stack { display: grid; gap: 1rem; }
.contact-card { padding: 1.25rem; }
.contact-card h3 { margin: 0 0 .65rem; }
.contact-card p, .contact-card address { margin: 0; color: var(--muted); font-style: normal; }
.contact-links { display: flex; flex-wrap: wrap; gap: .55rem; margin-top: .9rem; }
.contact-links a { text-decoration: none; border: 1px solid var(--line); border-radius: 999px; padding: .48rem .7rem; font-size: .84rem; }
.contact-links a:hover { border-color: var(--accent); color: var(--accent); }
.quote-panel { min-height: 100%; display: flex; flex-direction: column; justify-content: space-between; padding: clamp(1.5rem, 5vw, 3rem); border-radius: var(--radius); background: linear-gradient(135deg, #242c34, #151a20); border: 1px solid var(--line); }
.quote-panel h2 { margin: 0 0 1rem; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.1; }
.quote-panel p { color: var(--muted); }
.quote-actions { display: flex; flex-wrap: wrap; gap: .7rem; margin-top: 1.5rem; }

.site-footer { padding: 2rem 0; border-top: 1px solid var(--line); color: var(--muted); }
.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.footer-brand { display: flex; align-items: center; gap: .7rem; }
.footer-brand img { width: 40px; height: 40px; border-radius: 10px; object-fit: cover; }
.footer-links { display: flex; gap: .8rem; flex-wrap: wrap; }
.footer-links a { text-decoration: none; font-size: .85rem; }
.footer-links a:hover { color: var(--accent); }

.notice { border-inline-start: 3px solid var(--accent); padding: .9rem 1rem; background: rgba(238,163,58,.08); border-radius: 10px; color: #ddd; font-size: .92rem; }

@media (max-width: 1000px) {
  .primary-nav { position: fixed; top: 82px; inset-inline: 1rem; display: none; flex-direction: column; align-items: stretch; padding: 1rem; background: rgba(12,15,18,.98); border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--shadow); }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: .65rem .4rem; }
  .menu-toggle { display: block; }
  .language-switcher { margin-inline-start: auto; }
  .split, .contact-layout { grid-template-columns: 1fr; }
  .media-card { min-height: 480px; }
  .split.reverse .media-card { order: initial; }
  .cards, .product-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .application-grid, .process-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
  .gallery { grid-template-columns: 1fr 1fr; grid-template-rows: 350px 240px 240px; }
  .gallery figure:first-child { grid-column: 1 / 3; grid-row: auto; }
}

@media (max-width: 680px) {
  .site-header { height: 72px; }
  .brand img { width: 44px; height: 44px; }
  .brand-text span { display: none; }
  .language-switcher a { padding: .32rem .42rem; }
  .primary-nav { top: 72px; }
  .hero { min-height: 760px; padding-top: 72px; background-position: 58% center; }
  .hero-content { padding-top: 4rem; }
  .hero h1 { font-size: clamp(2.75rem, 15vw, 4.7rem); }
  .hero-stats { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(2) { border-inline-end: 0; }
  .trust-item:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .section { padding: 4.5rem 0; }
  .cards, .product-grid, .application-grid, .process-grid { grid-template-columns: 1fr; }
  .media-card { min-height: 420px; }
  .gallery { display: grid; grid-template-columns: 1fr; grid-template-rows: repeat(5, 260px); }
  .gallery figure:first-child { grid-column: auto; }
  .download-panel, .footer-inner { align-items: flex-start; flex-direction: column; }
  .hero-actions .btn, .quote-actions .btn { width: 100%; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; }
}

.content-block .process-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 1.5rem; }
@media (max-width: 680px) { .content-block .process-grid { grid-template-columns: 1fr; } }
