:root {
  --ink: #152529;
  --muted: #607076;
  --line: #dce6e4;
  --paper: #ffffff;
  --soft: #f6f8f5;
  --mint: #dfeee9;
  --teal: #23646d;
  --teal-dark: #153f45;
  --coral: #d95d39;
  --gold: #c49a45;
  --shadow: 0 18px 50px rgba(21, 63, 69, .12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--soft);
  font-family: "Source Han Sans SC", "Source Han Sans CN", "Noto Sans CJK SC", "Noto Sans SC", "Microsoft YaHei", sans-serif;
  line-height: 1.65;
}

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 28px;
  justify-content: space-between;
  padding: 16px clamp(20px, 5vw, 72px);
  background: rgba(255, 255, 255, .92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 170px;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  color: #fff;
  background: var(--teal);
  font-weight: 800;
  letter-spacing: 0;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.2;
}

.nav {
  display: flex;
  gap: 22px;
  color: #34494f;
  font-size: 15px;
}

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

.language-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 4px 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
}

.language-switch select {
  min-width: 116px;
  border: 0;
  color: var(--teal-dark);
  background: transparent;
  font: inherit;
  font-weight: 700;
  outline: 0;
  cursor: pointer;
}

html[dir="rtl"] body {
  font-family: "Source Han Sans SC", "Noto Sans Arabic", "Tahoma", "Arial", sans-serif;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .site-footer {
  flex-direction: row-reverse;
}

html[dir="rtl"] .service-card,
html[dir="rtl"] .case-list article,
html[dir="rtl"] .why-grid article,
html[dir="rtl"] .region-grid article,
html[dir="rtl"] .contact-card,
html[dir="rtl"] label {
  text-align: right;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  align-items: center;
  gap: clamp(30px, 5vw, 70px);
  padding: clamp(56px, 8vw, 110px) clamp(20px, 5vw, 72px) 56px;
  background:
    linear-gradient(120deg, rgba(223, 238, 233, .95), rgba(255, 255, 255, .64) 52%, rgba(246, 248, 245, .95)),
    radial-gradient(circle at 12% 20%, rgba(217, 93, 57, .16), transparent 34%);
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--coral);
  font-size: 14px;
  font-weight: 700;
}

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

h1 {
  margin-bottom: 22px;
  font-size: 29px;
  line-height: 1.25;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: 26px;
  line-height: 1.28;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
  line-height: 1.35;
}

.lead {
  max-width: 660px;
  color: #40545a;
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.button.primary {
  color: #fff;
  background: var(--coral);
  box-shadow: 0 12px 26px rgba(217, 93, 57, .22);
}

.button.secondary {
  color: var(--teal-dark);
  background: #fff;
  border-color: var(--line);
}

.hero-visual {
  min-width: 0;
  padding: 10px;
}

.hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  filter: hue-rotate(-18deg) saturate(.72) brightness(1.03) contrast(.94);
  border: 1px solid rgba(35, 100, 109, .16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.section {
  padding: 72px clamp(20px, 5vw, 72px);
}

.section-heading {
  max-width: 780px;
  margin-bottom: 32px;
}

.about {
  background: #fff;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  color: #40545a;
}

.about-grid p {
  padding-top: 18px;
  border-top: 3px solid var(--gold);
}

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

.service-card,
.why-grid article,
.case-list article,
.region-grid article,
.contact-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(21, 37, 41, .05);
}

.service-card {
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 24px;
}

.service-card span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
}

.service-card p,
.why-grid p,
.case-list p,
.region-grid p,
.contact p,
.form-note {
  color: var(--muted);
}

.service-card small {
  display: block;
  margin-top: auto;
  padding-top: 16px;
  color: #52656a;
}

.coverage {
  background: #eef5f1;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.region-grid article {
  min-height: 150px;
  padding: 22px;
}

.region-grid h3 {
  color: var(--teal);
}

.cases {
  background: #fff;
}

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

.case-list article,
.why-grid article {
  padding: 24px;
}

.case-list article:first-child {
  grid-column: span 2;
}

.case-gallery {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 18px;
}

.case-gallery.single {
  grid-template-columns: 1fr;
}

.case-gallery figure {
  margin: 0;
}

.case-gallery img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  background: #eef5f1;
  border: 1px solid var(--line);
}

.case-gallery figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
}

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

.why-grid article {
  min-height: 210px;
}

.request {
  display: grid;
  grid-template-columns: minmax(260px, .82fr) minmax(520px, 1.18fr);
  gap: 44px;
  background: var(--teal-dark);
  color: #fff;
}

.request .eyebrow,
.request .form-note {
  color: #f0b191;
}

.request-copy p {
  color: rgba(255, 255, 255, .78);
}

.request-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 24px;
  color: var(--ink);
  background: #fff;
  border-radius: 8px;
}

label {
  display: grid;
  gap: 6px;
  color: #42555b;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid #cfdcda;
  border-radius: 7px;
  padding: 12px 12px;
  color: var(--ink);
  background: #fff;
  font: inherit;
}

textarea {
  resize: vertical;
}

.wide {
  grid-column: 1 / -1;
}

.submit-hint {
  grid-column: 1 / -1;
  margin: 0;
  color: var(--teal);
  font-weight: 700;
}

.contact {
  display: grid;
  grid-template-columns: 1fr minmax(300px, 440px);
  gap: 34px;
  align-items: start;
  background: #fff;
}

.contact-card {
  padding: 26px;
}

.contact-card p {
  margin-bottom: 12px;
}

.contact-card a {
  color: var(--teal);
  font-weight: 700;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: #5e7076;
  background: #edf3f0;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 0;
}

@media (max-width: 980px) {
  .site-header {
    align-items: flex-start;
    flex-wrap: wrap;
  }

  .nav {
    order: 3;
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

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

  .hero {
    padding-top: 44px;
  }

  .service-grid,
  .about-grid,
  .case-list,
  .why-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .case-list article:first-child {
    grid-column: 1 / -1;
  }

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

@media (max-width: 640px) {
  .site-header {
    padding: 14px 16px;
  }

  .brand {
    min-width: 0;
  }

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

  .hero,
  .section {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero {
    grid-template-columns: 1fr;
  }

  .hero-actions,
  .site-footer {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

  .service-grid,
  .about-grid,
  .case-list,
  .why-grid,
  .case-gallery,
  .region-grid,
  .request-form {
    grid-template-columns: 1fr;
  }
}
