:root {
  --bg-dark: #000000;
  --bg-deep: #101d2c;
  --panel-dark: #14263a;
  --panel-light: #f5f8fb;
  --steel: #c7d0da;
  --line: rgba(199, 208, 218, 0.18);
  --text-main: #eaf1f7;
  --text-dark: #132235;
  --text-soft: #8ea0b3;
  --text-muted: #627386;
  --accent: #2b7fff;
  --accent-strong: #0f6cf6;
  --accent-warm: #ff8a1d;
  --white: #ffffff;
  --success: #1e995d;
  --danger: #d74747;
  --radius-xl: 28px;
  --radius-lg: 22px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --shadow-hero: 0 32px 80px rgba(2, 10, 22, 0.42);
  --shadow-card: 0 20px 50px rgba(7, 18, 32, 0.12);
  --container-width: 1200px;
  --header-height: 96px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--text-dark);
  background:
    linear-gradient(180deg, #edf3f9 0%, #f6f8fb 18%, #ffffff 42%, #eef4f8 100%);
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

body[dir="rtl"] {
  text-align: right;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

section[id] {
  scroll-margin-top: calc(var(--header-height) + 20px);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(calc(100% - 40px), var(--container-width));
  margin: 0 auto;
}

.topbar {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(234, 241, 247, 0.82);
  background: #000000;
}

.topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 44px;
  font-size: 0.9rem;
}

.topbar-copy {
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.topbar-meta {
  display: flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 600;
}

.whatsapp-icon {
  display: grid;
  place-items: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  color: #ffffff;
  background: #25d366;
  flex-shrink: 0;
}

.whatsapp-icon svg {
  width: 14px;
  height: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: none;
  background: #000000;
  border-bottom: 1px solid rgba(199, 208, 218, 0.12);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: var(--header-height);
}

.logo {
  display: inline-flex;
  align-items: center;
  color: var(--white);
}

.logo-image {
  width: auto;
  height: 80px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.28));
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.site-nav a {
  position: relative;
  color: rgba(234, 241, 247, 0.82);
  font-weight: 500;
  transition: color 0.2s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  bottom: -10px;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-warm), var(--accent));
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--white);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after {
  transform: scaleX(1);
}

.language-switcher {
  position: relative;
}

.language-switcher::after {
  content: "▾";
  position: absolute;
  top: 50%;
  inset-inline-end: 14px;
  color: rgba(234, 241, 247, 0.72);
  transform: translateY(-50%);
  pointer-events: none;
}

.language-switcher select {
  min-width: 168px;
  height: 46px;
  padding: 0 42px 0 14px;
  border: 1px solid rgba(199, 208, 218, 0.16);
  border-radius: 14px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
  appearance: none;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 46px;
  height: 46px;
  padding: 10px;
  border: 1px solid rgba(199, 208, 218, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.06);
  cursor: pointer;
}

.menu-toggle span {
  width: 100%;
  height: 2px;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.hero {
  padding: 26px 0 0;
  background:
    linear-gradient(180deg, #08131e 0%, #0d1826 50%, transparent 50%);
}

.hero-slider {
  position: relative;
  width: min(calc(100% - 40px), 1300px);
  margin: 0 auto;
  border-radius: 30px;
  overflow: hidden;
  box-shadow: var(--shadow-hero);
}

.slides {
  position: relative;
  min-height: 680px;
}

.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.7s ease, visibility 0.7s ease;
}

.slide.active {
  opacity: 1;
  visibility: visible;
}

.slide img {
  min-height: 680px;
  object-fit: cover;
  filter: saturate(0.88) contrast(1.05);
}

.slide-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(6, 16, 28, 0.9) 0%, rgba(6, 16, 28, 0.48) 52%, rgba(6, 16, 28, 0.24) 100%),
    linear-gradient(180deg, rgba(255, 138, 29, 0.1), transparent 30%);
}

.slide-content {
  position: absolute;
  z-index: 2;
  top: 50%;
  left: 7%;
  transform: translateY(-50%);
  width: min(650px, 84%);
  color: var(--text-main);
}

body[dir="rtl"] .slide-content {
  left: auto;
  right: 7%;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.94rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 36px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-warm), var(--accent));
}

.slide-content h1,
.slide-content h2 {
  margin-bottom: 22px;
  font-family: "Barlow", sans-serif;
  font-size: clamp(2.7rem, 5vw, 4.75rem);
  line-height: 0.98;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.slide-content p {
  max-width: 600px;
  margin-bottom: 30px;
  color: rgba(234, 241, 247, 0.82);
  font-size: 1.06rem;
}

.slide-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 26px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease,
    border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  color: var(--white);
  background: linear-gradient(135deg, var(--accent-strong), #4498ff);
  box-shadow: 0 18px 32px rgba(15, 108, 246, 0.28);
}

.btn-secondary,
.btn-outline {
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.22);
}

.btn-outline {
  color: var(--text-dark);
  background: transparent;
  border-color: rgba(18, 34, 53, 0.14);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 50%;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-50%);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.slider-arrow:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-50%) scale(1.04);
}

.slider-arrow.prev {
  left: 24px;
}

.slider-arrow.next {
  right: 24px;
}

body[dir="rtl"] .slider-arrow.prev {
  left: auto;
  right: 24px;
}

body[dir="rtl"] .slider-arrow.next {
  right: auto;
  left: 24px;
}

.slider-dots {
  position: absolute;
  left: 50%;
  bottom: 30px;
  z-index: 3;
  display: flex;
  gap: 10px;
  transform: translateX(-50%);
}

.dot {
  width: 12px;
  height: 12px;
  border: none;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.36);
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.dot.active {
  background: var(--accent-warm);
  transform: scale(1.2);
}

.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-top: -52px;
}

.metric-card {
  padding: 24px 22px;
  border: 1px solid rgba(199, 208, 218, 0.1);
  border-radius: 22px;
  color: var(--text-main);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(255, 255, 255, 0.02)),
    #102031;
  box-shadow: 0 18px 42px rgba(5, 13, 24, 0.34);
}

.metric-value {
  display: block;
  margin-bottom: 8px;
  font-family: "Barlow", sans-serif;
  font-size: 2rem;
  font-weight: 800;
  color: var(--white);
}

.metric-label {
  color: rgba(234, 241, 247, 0.72);
  font-size: 0.95rem;
}

.section {
  padding: 104px 0;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 16px;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.section-tag::before {
  content: "";
  width: 34px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-warm), var(--accent-strong));
}

.section-heading h2,
.section-header h2,
.contact-copy h2 {
  margin-bottom: 18px;
  font-family: "Barlow", sans-serif;
  font-size: clamp(2.3rem, 4vw, 3.25rem);
  line-height: 1.02;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}

.section-heading p,
.section-header p,
.contact-copy p,
.feature-item span,
.product-card-body p,
.capability-card p,
.testimonial-card span,
.contact-list,
.form-feedback {
  color: var(--text-muted);
}

.section-header {
  max-width: 780px;
  margin-bottom: 52px;
}

.section-header.centered {
  margin-inline: auto;
  text-align: center;
}

.section-header.centered .section-tag {
  justify-content: center;
}

.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  align-items: center;
  gap: 56px;
}

.feature-list {
  display: grid;
  gap: 18px;
  margin: 30px 0 32px;
}

.feature-item {
  display: grid;
  gap: 4px;
  padding: 18px 20px;
  border-left: 3px solid var(--accent-warm);
  border-radius: 0 16px 16px 0;
  background: rgba(255, 255, 255, 0.7);
}

body[dir="rtl"] .feature-item {
  border-left: none;
  border-right: 3px solid var(--accent-warm);
  border-radius: 16px 0 0 16px;
}

.about-visual {
  position: relative;
}

.about-image-card {
  padding: 16px;
  border: 1px solid rgba(18, 34, 53, 0.08);
  border-radius: var(--radius-xl);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.92), rgba(238, 244, 248, 0.92));
  box-shadow: var(--shadow-card);
}

.about-image-card img {
  border-radius: calc(var(--radius-xl) - 6px);
}

.quality-badge {
  position: absolute;
  right: -12px;
  bottom: 26px;
  width: min(300px, 86%);
  padding: 22px 24px;
  border: 1px solid rgba(199, 208, 218, 0.14);
  border-radius: 20px;
  color: var(--text-main);
  background:
    linear-gradient(145deg, rgba(255, 138, 29, 0.14), rgba(43, 127, 255, 0.12)),
    #0f1d2d;
  box-shadow: 0 18px 40px rgba(6, 16, 28, 0.3);
}

body[dir="rtl"] .quality-badge {
  right: auto;
  left: -12px;
}

.quality-badge-label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(234, 241, 247, 0.68);
}

.quality-badge strong {
  font-family: "Barlow", sans-serif;
  font-size: 1.25rem;
  line-height: 1.15;
  text-transform: uppercase;
}

.products-section {
  background:
    linear-gradient(180deg, rgba(16, 29, 44, 0.04) 0%, rgba(255, 255, 255, 0.98) 40%, rgba(239, 244, 248, 0.96) 100%);
}

.products-grid,
.testimonials-grid,
.capabilities-grid {
  display: grid;
  gap: 24px;
}

.products-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(18, 34, 53, 0.08);
  border-radius: var(--radius-lg);
  background: var(--white);
  box-shadow: var(--shadow-card);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 26px 52px rgba(7, 18, 32, 0.15);
}

.product-card img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.product-card-body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 24px;
}

.product-index {
  display: inline-flex;
  margin-bottom: 14px;
  color: var(--accent-warm);
  font-family: "Barlow", sans-serif;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.product-card-body h3,
.capability-card h3,
.testimonial-card h3 {
  margin-bottom: 12px;
  font-family: "Barlow", sans-serif;
  font-size: 1.35rem;
  text-transform: uppercase;
  line-height: 1.1;
}

.subcategory-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
  list-style: none;
}

.subcategory-list li {
  padding: 8px 12px;
  border: 1px solid rgba(15, 108, 246, 0.12);
  border-radius: 999px;
  color: var(--text-dark);
  background: linear-gradient(180deg, rgba(43, 127, 255, 0.08), rgba(255, 138, 29, 0.08));
  font-size: 0.88rem;
  line-height: 1.3;
}

.capabilities-section {
  background:
    linear-gradient(180deg, #0e1827 0%, #122234 100%);
}

.capabilities-section .section-tag,
.capabilities-section .section-header h2 {
  color: var(--text-main);
}

.capabilities-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.capability-card {
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  color: var(--text-main);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), rgba(255, 255, 255, 0.03));
}

.capability-card p {
  color: rgba(234, 241, 247, 0.72);
}

.testimonials-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.testimonial-card {
  padding: 32px 28px;
  border: 1px solid rgba(18, 34, 53, 0.08);
  border-radius: var(--radius-lg);
  background: linear-gradient(180deg, #ffffff 0%, #f4f7fa 100%);
  box-shadow: var(--shadow-card);
}

.testimonial-avatar {
  width: 96px;
  height: 96px;
  margin-bottom: 18px;
  border-radius: 50%;
  border: 4px solid rgba(43, 127, 255, 0.08);
}

.testimonial-text {
  margin-bottom: 16px;
  color: var(--text-dark);
  font-size: 1.04rem;
  font-weight: 500;
}

.contact-section {
  background:
    linear-gradient(135deg, rgba(16, 29, 44, 0.94), rgba(8, 19, 30, 0.98)),
    #0b1420;
}

.contact-copy {
  color: var(--text-main);
}

.contact-copy .section-tag,
.contact-copy h2 {
  color: var(--white);
}

.contact-copy p,
.contact-list {
  color: rgba(234, 241, 247, 0.74);
}

.contact-list {
  margin-top: 22px;
  padding-left: 18px;
}

.contact-list li + li {
  margin-top: 12px;
}

.contact-whatsapp-link {
  color: rgba(234, 241, 247, 0.92);
}

.contact-whatsapp-link:hover {
  color: #ffffff;
}

body[dir="rtl"] .contact-list {
  padding-left: 0;
  padding-right: 18px;
}

.contact-form {
  padding: 30px;
  border: 1px solid rgba(199, 208, 218, 0.12);
  border-radius: var(--radius-xl);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 24px 54px rgba(2, 10, 22, 0.28);
}

.form-row {
  margin-bottom: 18px;
}

.form-row label {
  display: block;
  margin-bottom: 8px;
  font-weight: 700;
  color: var(--text-dark);
}

.form-row input,
.form-row textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid rgba(18, 34, 53, 0.12);
  border-radius: var(--radius-sm);
  color: var(--text-dark);
  background: #f7f9fb;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-row input:focus,
.form-row textarea:focus,
.language-switcher select:focus {
  outline: none;
  border-color: var(--accent-strong);
  box-shadow: 0 0 0 4px rgba(15, 108, 246, 0.14);
}

.form-feedback {
  min-height: 24px;
  margin-bottom: 12px;
  font-size: 0.94rem;
}

.form-feedback.error {
  color: var(--danger);
}

.form-feedback.success {
  color: var(--success);
}

.form-submit {
  width: 100%;
}

.site-footer {
  padding: 26px 0;
  color: rgba(234, 241, 247, 0.74);
  background: #08131e;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

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

.social-links {
  display: flex;
  gap: 12px;
}

.social-links a {
  display: grid;
  place-items: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.social-links a:hover {
  background: rgba(255, 255, 255, 0.16);
  transform: translateY(-2px);
}

@media (max-width: 1120px) {
  .hero-metrics,
  .capabilities-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .products-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .quality-badge {
    position: static;
    width: 100%;
    margin-top: 18px;
  }
}

@media (max-width: 900px) {
  .topbar-inner,
  .header-inner,
  .header-actions {
    gap: 14px;
  }

  .topbar-inner {
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
  }

  .site-nav {
    gap: 18px;
  }

  .slides,
  .slide img {
    min-height: 620px;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 86px;
  }

  .container {
    width: min(calc(100% - 28px), var(--container-width));
  }

  .menu-toggle {
    display: inline-flex;
  }

  .header-actions {
    gap: 12px;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 12px);
    left: 14px;
    right: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid rgba(199, 208, 218, 0.12);
    border-radius: 18px;
    background: rgba(8, 19, 30, 0.98);
    box-shadow: 0 22px 42px rgba(2, 10, 22, 0.34);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition:
      opacity 0.25s ease,
      visibility 0.25s ease,
      transform 0.25s ease;
  }

  .site-nav.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav a {
    padding: 14px 12px;
    border-radius: 12px;
  }

  .site-nav a::after {
    display: none;
  }

  .language-switcher select {
    min-width: 148px;
  }

  .hero {
    padding-top: 16px;
  }

  .hero-slider {
    width: min(calc(100% - 20px), 1300px);
    border-radius: 24px;
  }

  .slides,
  .slide img {
    min-height: 640px;
  }

  .slide-content {
    left: 24px;
    right: 24px;
    width: auto;
  }

  body[dir="rtl"] .slide-content {
    right: 24px;
    left: 24px;
  }

  .hero-metrics,
  .products-grid,
  .testimonials-grid,
  .capabilities-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 18px;
  }

  .footer-inner {
    display: grid;
    justify-items: start;
  }

  body[dir="rtl"] .footer-inner {
    justify-items: end;
  }
}

@media (max-width: 560px) {
  .section {
    padding: 78px 0;
  }

  .logo-image {
    height: 60px;
  }

  .language-switcher {
    order: -1;
    width: 100%;
  }

  .language-switcher select {
    width: 100%;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .slides,
  .slide img {
    min-height: 680px;
  }

  .slide-content h1,
  .slide-content h2 {
    font-size: 2.2rem;
  }

  .slide-content p {
    font-size: 0.98rem;
  }

  .slide-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .slider-arrow {
    width: 46px;
    height: 46px;
  }

  .slider-arrow.prev {
    left: 14px;
  }

  .slider-arrow.next {
    right: 14px;
  }

  body[dir="rtl"] .slider-arrow.prev {
    right: 14px;
    left: auto;
  }

  body[dir="rtl"] .slider-arrow.next {
    left: 14px;
    right: auto;
  }

  .contact-form {
    padding: 22px 18px;
  }
}
