:root {
  --blue: #194c93;
  --sky: #51acfb;
  --ink: #172033;
  --muted: #667085;
  --line: #e7eaf0;
  --soft: #f5f8fb;
  --green: #50c6a8;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, Arial, Helvetica, sans-serif;
  background: #fff;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; height: auto; }
.wrap { width: min(var(--max), calc(100% - 48px)); margin: 0 auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.header-shell { padding: 16px 0 18px; }
.header-contact {
  min-height: 22px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 24px;
  margin-bottom: 8px;
  color: #555;
  font-size: 16px;
  line-height: 1.25;
}
.header-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}
.header-contact span { color: var(--sky); font-size: 18px; line-height: 1; }
.nav {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 34px;
}
.logo { flex: 0 0 270px; width: 270px; display: block; }
.logo img { width: 236px; max-width: 100%; }
.header-menu-info { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; gap: 24px; min-width: 0; }
.menu { flex: 1 1 auto; display: flex; align-items: center; justify-content: flex-end; flex-wrap: wrap; gap: 10px 24px; color: var(--blue); font-weight: 700; font-size: 16px; min-width: 0; }
.menu a { white-space: nowrap; }
.menu a:hover, .menu a.active { color: var(--sky); }
.header-actions { display: flex; align-items: center; gap: 12px; flex: 0 0 auto; }
.lang,
.lang-current {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--blue);
  background: #fff;
  font-size: 14px;
  font-weight: 800;
}
.lang-switch {
  position: relative;
  display: inline-flex;
  z-index: 30;
}
.lang-current {
  padding: 0;
  cursor: pointer;
}
.lang-switch:hover .lang-current,
.lang-switch:focus-within .lang-current {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  min-width: 80px;
  padding: 7px;
  margin: 0;
  list-style: none;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 12px;
  box-shadow: 0 12px 26px rgba(25,76,147,.16);
  opacity: 0;
  visibility: hidden;
  transform: translateY(6px);
  transition: all .2s ease;
}
.lang-switch:hover .lang-menu,
.lang-switch:focus-within .lang-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.lang-menu a {
  display: block;
  padding: 8px 11px;
  border-radius: 8px;
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
  text-align: center;
}
.lang-menu a:hover,
.lang-menu a[aria-current="true"] {
  color: #fff;
  background: var(--sky);
}
.quote, .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 34px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  white-space: nowrap;
}
.quote, .btn.primary { color: #fff; background: var(--sky); }
.btn.secondary { background: #fff; color: var(--blue); }
.btn.outline { border-color: var(--line); color: var(--blue); background: #fff; }
.hero { position: relative; min-height: 590px; color: #fff; overflow: hidden; }
.hero > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero:after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(10,42,84,.88), rgba(10,42,84,.48) 55%, rgba(10,42,84,.12)); }
.hero-content { position: relative; z-index: 1; min-height: 590px; display: flex; flex-direction: column; justify-content: center; max-width: 780px; padding: 56px 0; }
.eyebrow { color: var(--green); font-weight: 800; text-transform: uppercase; margin-bottom: 16px; }
h1 { margin: 0; font-size: clamp(38px, 6vw, 70px); line-height: 1.04; }
.hero p, .lead { color: rgba(255,255,255,.88); font-size: 19px; line-height: 1.65; margin: 24px 0 0; }
.hero-actions, .actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 32px; }
.section { padding: 72px 0; }
.section.soft { background: var(--soft); }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 36px; margin-bottom: 34px; }
.section-head h2, .page-title h1, .product-detail h1 { margin: 0; color: var(--blue); font-size: clamp(30px, 4vw, 48px); line-height: 1.12; }
.section-head p, .page-title p, .muted { color: var(--muted); line-height: 1.7; }
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.card { border: 1px solid var(--line); border-radius: 9px; background: #fff; overflow: hidden; transition: transform .2s ease, box-shadow .2s ease; }
.card:hover { transform: translateY(-4px); box-shadow: 0 18px 38px rgba(25,76,147,.14); }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card-body { padding: 22px; }
.card h3 { margin: 0; color: var(--blue); font-size: 21px; line-height: 1.28; }
.card p { color: var(--muted); line-height: 1.65; }
.banner { position: relative; min-height: 300px; color: #fff; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, var(--blue), #102f5d); }
.banner img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.banner:after { content: ""; position: absolute; inset: 0; background: rgba(25,76,147,.66); }
.banner .wrap { position: relative; z-index: 1; }
.page-title { max-width: 820px; }
.page-title h1, .page-title p { color: #fff; }
.product-detail { display: grid; grid-template-columns: minmax(0, 1fr) minmax(360px, .85fr); gap: 44px; align-items: start; }
.product-detail img { width: 100%; border-radius: 9px; border: 1px solid var(--line); }
.product-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 14px; }
.product-gallery img { aspect-ratio: 1; object-fit: cover; }
.detail-box { border: 1px solid var(--line); border-radius: 9px; padding: 26px; background: #fff; }
.detail-box h2, .text-block h2 { color: var(--blue); }
.text-block { max-width: 960px; }
.text-block p, .text-block li, .detail-box li { color: var(--muted); line-height: 1.75; }
.translated-content { overflow-wrap: anywhere; }
.translated-content img, .article-image { max-width: 100%; height: auto; border-radius: 9px; }
.translated-content iframe,
.translated-content video {
  width: 100%;
  max-width: 100%;
  min-height: 420px;
  border: 0;
  border-radius: 9px;
}
.article-image { width: 100%; margin-bottom: 30px; }
.translated-content table { width: 100%; border-collapse: collapse; margin: 20px 0; background: #fff; }
.translated-content th, .translated-content td { padding: 11px 13px; border: 1px solid var(--line); text-align: start; vertical-align: top; }
.translated-content th { color: var(--blue); background: var(--soft); }
.product-section + .product-section { margin-top: 40px; padding-top: 40px; border-top: 1px solid var(--line); }
.content-link { margin: 24px 0 0; }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 44px; align-items: center; }
.about-panel { background: var(--blue); color: #fff; padding: 42px; border-radius: 9px; }
.about-panel p { line-height: 1.7; color: rgba(255,255,255,.86); }
.faq details { border: 1px solid var(--line); border-radius: 9px; padding: 20px 22px; background: #fff; }
.faq details + details { margin-top: 14px; }
.faq summary { cursor: pointer; color: var(--blue); font-weight: 800; }
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 28px; }
.contact-list { padding: 0; margin: 0; }
.contact-list li { list-style: none; padding: 16px 0; border-bottom: 1px solid var(--line); color: var(--muted); }
.contact-list strong { display: block; color: var(--blue); margin-bottom: 5px; }
.empty-state { grid-column: 1 / -1; padding: 38px; border: 1px solid var(--line); border-radius: 9px; background: var(--soft); }
.footer { background: #101828; color: #fff; padding: 54px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.2fr .8fr .8fr 1fr; gap: 30px; }
.footer h3 { margin: 0 0 16px; }
.footer p, .footer a, .footer li { color: rgba(255,255,255,.72); line-height: 1.7; }
.footer ul { padding: 0; margin: 0; }
.footer li { list-style: none; }
.copy { margin-top: 34px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); color: rgba(255,255,255,.55); }
html[dir="rtl"] body { text-align: right; }
html[dir="rtl"] .hero:after { background: linear-gradient(270deg, rgba(10,42,84,.88), rgba(10,42,84,.48) 55%, rgba(10,42,84,.12)); }
@media (max-width: 980px) {
  .nav, .section-head { align-items: flex-start; flex-direction: column; }
  .logo { flex-basis: auto; width: 236px; }
  .header-contact { justify-content: flex-start; flex-wrap: wrap; gap: 10px 18px; }
  .header-menu-info { width: 100%; align-items: flex-start; flex-direction: column; gap: 18px; }
  .menu { flex-wrap: wrap; }
  .grid.cols-3, .split, .product-detail, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
}
@media (max-width: 1360px) and (min-width: 981px) {
  .nav { gap: 24px; }
  .logo { flex-basis: 252px; width: 252px; }
  .logo img { width: 224px; }
  .header-menu-info { gap: 18px; }
  .menu { gap: 8px 18px; font-size: 15px; }
  .quote { padding: 0 24px; }
}
@media (max-width: 1180px) and (min-width: 981px) {
  .wrap { width: min(1340px, calc(100% - 48px)); }
  .logo { flex-basis: 232px; width: 232px; }
  .logo img { width: 206px; }
  .header-menu-info { gap: 14px; }
  .menu { gap: 8px 14px; font-size: 14px; }
  .quote { padding: 0 20px; }
}
@media (max-width: 620px) {
  .wrap { width: min(100% - 28px, var(--max)); }
  .header-shell { padding: 12px 0 14px; }
  .header-contact { font-size: 13px; }
  .nav { min-height: 76px; gap: 18px; }
  .logo { width: 170px; }
  .logo img { width: 160px; }
  .menu { gap: 14px; font-size: 14px; }
  .header-actions { gap: 10px; }
  .quote { min-height: 40px; padding: 0 18px; }
  .lang { width: 38px; height: 38px; }
  .hero, .hero-content { min-height: 510px; }
  .section { padding: 52px 0; }
  .product-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .translated-content { overflow-x: auto; }
  .translated-content iframe,
  .translated-content video { min-height: 240px; }
}
