:root {
  --ink: #182024;
  --muted: #59676f;
  --line: #d7dde0;
  --paper: #f7f8f6;
  --white: #ffffff;
  --steel: #536973;
  --deep: #102027;
  --accent: #c96e2b;
  --accent-dark: #a24f1a;
  --green: #4d665f;
  --shadow: 0 10px 28px rgba(16, 32, 39, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.is-rtl {
  font-family: Arial, Helvetica, sans-serif;
}

body.is-rtl .hero {
  background:
    linear-gradient(270deg, rgba(16, 32, 39, 0.92), rgba(16, 32, 39, 0.42) 56%, rgba(16, 32, 39, 0.20)),
    var(--hero-photo),
    linear-gradient(135deg, #1b2a30, #314950);
  background-size: cover;
  background-position: center;
}

body.is-rtl .check-list li {
  padding-right: 24px;
  padding-left: 0;
}

body.is-rtl .check-list li::before {
  right: 0;
  left: auto;
}

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

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 72px;
  padding: 0 36px;
  background: rgba(247, 248, 246, 0.94);
  border-bottom: 1px solid rgba(215, 221, 224, 0.9);
  backdrop-filter: blur(8px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
}

.brand-mark {
  width: 28px;
  height: 28px;
  display: inline-block;
  background:
    linear-gradient(135deg, var(--accent) 0 48%, transparent 48% 100%),
    linear-gradient(135deg, transparent 0 52%, var(--steel) 52% 100%);
  border: 1px solid rgba(24, 32, 36, 0.18);
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  flex-wrap: wrap;
  justify-content: center;
}

body.is-rtl .site-nav,
body.is-rtl .brand,
body.is-rtl .language-switcher,
body.is-rtl .hero-actions {
  flex-direction: row-reverse;
}

.language-switcher {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.language-switcher select {
  width: auto;
  min-width: 116px;
  height: 38px;
  padding: 7px 30px 7px 10px;
  border-color: var(--line);
  background: var(--white);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a {
  padding: 8px 0;
}

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

.hero {
  position: relative;
  min-height: 660px;
  display: flex;
  align-items: flex-end;
  padding: 116px 36px 64px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(16, 32, 39, 0.92), rgba(16, 32, 39, 0.42) 56%, rgba(16, 32, 39, 0.20)),
    var(--hero-photo),
    linear-gradient(135deg, #1b2a30, #314950);
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(16, 32, 39, 0.48), transparent 44%);
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 880px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
}

.hero .eyebrow {
  color: #f0a269;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 20px;
  font-size: 50px;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: 34px;
  line-height: 1.18;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 19px;
  line-height: 1.25;
  letter-spacing: 0;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 20px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
}

.button-primary {
  color: var(--white);
  background: var(--accent);
}

.button-primary:hover {
  background: var(--accent-dark);
}

.button-secondary {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
}

.section,
.band {
  padding: 72px 36px;
}

.band {
  background: var(--white);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-inner {
  width: min(1180px, 100%);
  margin: 0 auto;
}

.intro-grid,
.equipment-grid,
.quote-grid,
.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: center;
}

.intro p,
.equipment-copy p,
.quote p,
.site-footer p {
  color: var(--muted);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 34px;
}

.capability-grid,
.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.capability-grid article,
.product-card,
.case-copy,
.quote-form {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.capability-grid article,
.product-card {
  min-height: 198px;
  padding: 24px;
}

.capability-grid p,
.product-card p,
.case-copy p,
.process-list p {
  color: var(--muted);
}

.media-panel {
  min-height: 410px;
  background: #dfe5e7;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.photo,
.case-photo {
  width: 100%;
  height: 100%;
  min-height: 430px;
  background:
    linear-gradient(0deg, rgba(16, 32, 39, 0.14), rgba(16, 32, 39, 0.02)),
    var(--photo),
    linear-gradient(135deg, #d7dde0, #eef1f2);
  background-size: cover;
  background-position: center;
}

.check-list {
  display: grid;
  gap: 10px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 24px;
  color: var(--ink);
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10px;
  width: 9px;
  height: 9px;
  background: var(--green);
}

.case-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.case-item {
  display: grid;
  grid-template-rows: auto auto;
  min-height: 100%;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
}

.case-photo {
  height: auto;
  min-height: 0;
  aspect-ratio: 3 / 4;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
  background-color: #eef1f2;
}

.case-copy {
  border: 0;
  border-radius: 0;
  padding: 22px;
}

.process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-list li {
  min-height: 240px;
  padding: 24px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.process-list span {
  display: block;
  margin-bottom: 28px;
  color: var(--accent);
  font-size: 28px;
  font-weight: 800;
}

.quote-grid {
  align-items: start;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.contact-card {
  align-content: start;
}

.contact-card h3 {
  margin-bottom: 0;
}

.contact-card p {
  margin-bottom: 0;
  color: var(--muted);
}

.contact-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-whatsapp {
  color: var(--ink);
  border-color: var(--line);
  background: var(--white);
}

.contact-whatsapp:hover {
  background: #eef1f2;
}

.contact-details {
  display: grid;
  gap: 4px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 4px;
}

.contact-note {
  font-size: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 4px;
  padding: 12px 13px;
  color: var(--ink);
  background: var(--white);
  font: inherit;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  outline: 2px solid rgba(201, 110, 43, 0.28);
  border-color: var(--accent);
}

.site-footer {
  padding: 42px 36px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--deep);
}

.site-footer p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.66);
}

@media (max-width: 1000px) {
  .site-header {
    align-items: flex-start;
    min-height: auto;
    padding: 16px 22px;
    flex-direction: column;
  }

  .site-nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .language-switcher {
    width: 100%;
    justify-content: space-between;
  }

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

  .hero {
    min-height: 620px;
    padding: 176px 24px 52px;
  }

  h1 {
    font-size: 42px;
  }

  h2 {
    font-size: 28px;
  }

  .section,
  .band {
    padding: 64px 24px;
  }

  .intro-grid,
  .equipment-grid,
  .quote-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 34px;
  }

  .capability-grid,
  .product-grid,
  .case-grid,
  .process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .brand {
    font-size: 15px;
  }

  .site-nav {
    gap: 16px;
    font-size: 13px;
  }

  .hero {
    min-height: 570px;
    padding: 176px 18px 40px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 24px;
  }

  .hero-copy {
    font-size: 18px;
  }

  .button {
    width: 100%;
  }

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

  .section,
  .band {
    padding: 52px 18px;
  }

  .capability-grid,
  .product-grid,
  .case-grid,
  .process-list {
    grid-template-columns: 1fr;
  }

  .capability-grid article,
  .product-card,
  .process-list li {
    min-height: auto;
  }

  .media-panel,
  .photo {
    min-height: 320px;
  }
}
