:root {
  --bg: #f6f6f4;
  --bg-alt: #ffffff;
  --text: #121417;
  --muted: #5a6169;
  --accent: #e87d23;
  --accent-dark: #0f1216;
  --line: #e6e8eb;
  --shadow: 0 30px 60px rgba(15, 18, 22, 0.08);
  --radius: 18px;
  --max-width: 1160px;
  --transition: 0.4s ease;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

html[dir="rtl"] body {
  direction: rtl;
}

a {
  color: inherit;
  text-decoration: none;
}

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

.container {
  width: min(100%, var(--max-width));
  margin: 0 auto;
  padding: 0 24px;
}

.bg-grid {
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(232, 125, 35, 0.08), transparent 35%),
    radial-gradient(circle at 80% 0%, rgba(15, 18, 22, 0.04), transparent 40%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.9));
  z-index: -2;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 246, 244, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  flex-wrap: wrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.logo-mark {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--line);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
}

.logo-mark svg {
  width: 26px;
  height: 26px;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}

.logo-title {
  font-size: 14px;
}

.logo-subtitle {
  font-size: 10px;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--muted);
}

.nav {
  display: flex;
  gap: 20px;
  font-weight: 500;
}

.nav a {
  color: var(--muted);
  transition: color var(--transition);
}

.nav a:hover {
  color: var(--text);
}

.lang-switch {
  position: relative;
}

.lang-toggle {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  padding: 8px 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.lang-toggle:hover,
.lang-switch.is-open .lang-toggle {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.lang-label {
  font-weight: 600;
}

.lang-current {
  font-weight: 700;
}

.lang-caret {
  font-size: 11px;
}

.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: var(--shadow);
  padding: 8px;
  min-width: 218px;
  display: none;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  z-index: 12;
}

.lang-switch.is-open .lang-menu {
  display: grid;
}

.lang-btn {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--muted);
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: var(--transition);
}

.lang-btn.is-active,
.lang-btn:hover {
  border-color: var(--accent);
  color: var(--accent-dark);
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  gap: 6px;
}

.nav-toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--text);
}

.hero {
  padding: 120px 0 100px;
}

.hero-inner {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 48px;
  align-items: center;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 12px;
  color: var(--accent);
  margin-bottom: 16px;
}

h1 {
  font-family: "Playfair Display", serif;
  font-size: clamp(32px, 5vw, 56px);
  line-height: 1.1;
  margin-bottom: 16px;
}

.subhead {
  color: var(--muted);
  font-size: 18px;
  margin-bottom: 24px;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 28px;
  font-weight: 600;
  border: 1px solid transparent;
  transition: var(--transition);
}

.btn.primary {
  background: var(--accent);
  color: #fff;
  box-shadow: var(--shadow);
}

.btn.primary:hover {
  background: #d96e1b;
}

.btn.ghost {
  border-color: var(--line);
  background: #fff;
}

.btn.ghost:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.hero-metrics {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  font-size: 14px;
  color: var(--muted);
}

.metric {
  font-size: 24px;
  font-weight: 700;
  color: var(--text);
  display: block;
}

.hero-visual {
  position: relative;
  min-height: 360px;
}

.ring {
  position: absolute;
  border-radius: 50%;
  border: 3px solid rgba(15, 18, 22, 0.12);
}

.ring-1 {
  width: 280px;
  height: 280px;
  top: 0;
  right: 10%;
  border-color: rgba(232, 125, 35, 0.3);
}

.ring-2 {
  width: 220px;
  height: 220px;
  top: 60px;
  right: 30%;
}

.ring-3 {
  width: 160px;
  height: 160px;
  top: 140px;
  right: 45%;
  border-color: rgba(15, 18, 22, 0.22);
}

.blade-card {
  position: absolute;
  bottom: 0;
  left: 0;
  background: #fff;
  padding: 24px;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  max-width: 320px;
}

.card-title {
  font-weight: 700;
  margin-bottom: 8px;
}

.section {
  padding: 100px 0;
}

.section.alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-header {
  max-width: 640px;
  margin-bottom: 40px;
}

.section-header h2 {
  font-size: clamp(28px, 4vw, 42px);
  margin-bottom: 12px;
}

.section-lead {
  color: var(--muted);
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.card,
.icon-card,
.product-card,
.cert-card,
.contact-card,
.contact-form {
  background: #fff;
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
  transition: transform var(--transition), box-shadow var(--transition);
}

.card:hover,
.icon-card:hover,
.product-card:hover,
.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.product-media {
  height: 140px;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(15, 18, 22, 0.1), rgba(232, 125, 35, 0.25));
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-dark);
}

.product-media svg {
  width: 64px;
  height: 64px;
}

.icon-card .icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(232, 125, 35, 0.12);
  border-radius: 12px;
  margin-bottom: 12px;
}

.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 24px;
}

.cert-card span {
  font-weight: 700;
  font-size: 20px;
  display: block;
  margin-bottom: 10px;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.contact-form label {
  display: block;
  font-size: 14px;
  color: var(--muted);
  margin-bottom: 14px;
}

.hours {
  margin-top: 18px;
  border-top: 1px solid var(--line);
  padding-top: 16px;
}

.hours-title {
  font-weight: 600;
  margin-bottom: 10px;
}

.hours-list {
  list-style: none;
  color: var(--muted);
  font-size: 14px;
  display: grid;
  gap: 6px;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 6px;
  font-family: inherit;
  font-size: 14px;
}

.site-footer {
  background: var(--accent-dark);
  color: #fff;
  padding: 30px 0;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-links a {
  color: #fff;
  opacity: 0.7;
  margin-left: 16px;
}

.footer-links a:hover {
  opacity: 1;
}

.reveal {
  opacity: 0;
  transform: translateY(20px);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  transition: var(--transition);
}

html[dir="rtl"] .hero-cta,
html[dir="rtl"] .hero-metrics,
html[dir="rtl"] .footer-inner {
  flex-direction: row-reverse;
}

@media (max-width: 980px) {
  .nav {
    display: none;
    position: absolute;
    top: 76px;
    right: 24px;
    background: #fff;
    border-radius: 14px;
    box-shadow: var(--shadow);
    padding: 18px;
    flex-direction: column;
    min-width: 200px;
  }

  .nav.is-open {
    display: flex;
  }

  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
  }

  .lang-switch {
    order: 2;
    margin-left: auto;
  }

  .lang-menu {
    right: 0;
    left: auto;
  }
}

@media (max-width: 720px) {
  .hero {
    padding: 90px 0 70px;
  }

  .hero-visual {
    min-height: 280px;
  }

  .hero-metrics {
    gap: 16px;
  }

  .section {
    padding: 80px 0;
  }

  .hero-cta {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero-cta .btn {
    width: 100%;
    justify-content: center;
  }

  .product-grid,
  .grid-3,
  .certs-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .blade-card {
    position: static;
    margin-top: 20px;
  }

  .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
  }

  .ring {
    display: none;
  }

  .header-inner {
    padding: 12px 0;
  }

  .nav {
    right: 16px;
    left: 16px;
    min-width: auto;
  }

  .logo-title {
    font-size: 13px;
  }

  .logo-subtitle {
    font-size: 9px;
  }

  .hero-metrics {
    flex-direction: column;
    align-items: flex-start;
  }

  .lang-btn {
    padding: 6px 10px;
  }

  .lang-menu {
    min-width: 196px;
    right: 0;
  }
}
