:root {
  color-scheme: light;
  --ink: #243642;
  --muted: #667987;
  --paper: #f4f7fb;
  --white: #ffffff;
  --line: #d8e2eb;
  --green: #2d4cfe;
  --green-dark: #2e424f;
  --blue: #4d6ddd;
  --gold: #8fbb25;
  --red: #749b3d;
  --shadow: 0 18px 48px rgba(46, 66, 79, 0.13);
  font-family: Inter, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  letter-spacing: 0;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(244, 247, 251, 0.94);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(216, 226, 235, 0.78);
}

.header-inner {
  min-height: 78px;
  display: grid;
  grid-template-columns: minmax(220px, auto) 1fr auto;
  align-items: center;
  gap: 20px;
}

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

.brand img {
  width: 54px;
  height: 54px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  line-height: 1.15;
}

.brand-text strong {
  font-size: 1.02rem;
  font-weight: 900;
}

.brand-text span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.nav a {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border-radius: 8px;
  padding: 8px 12px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.nav a:hover,
.nav a.active {
  background: rgba(45, 76, 254, 0.1);
  color: var(--green-dark);
}

.header-actions {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  padding: 3px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.language-switch a {
  min-width: 38px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
}

.language-switch a.active {
  background: var(--green);
  color: var(--white);
}

.button {
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 8px;
  padding: 10px 16px;
  background: var(--green);
  color: var(--white);
  font-weight: 900;
  box-shadow: 0 14px 30px rgba(45, 76, 254, 0.24);
}

.button.secondary {
  background: var(--white);
  color: var(--green-dark);
  border: 1px solid rgba(255, 255, 255, 0.62);
  box-shadow: none;
}

.button.outline {
  background: transparent;
  color: var(--green-dark);
  border: 1px solid rgba(45, 76, 254, 0.28);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 82vh;
  color: var(--white);
  isolation: isolate;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(46, 66, 79, 0.94), rgba(36, 54, 66, 0.74) 46%, rgba(45, 76, 254, 0.16)),
    url("../images/solar-field.jpg") center / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.34), transparent 50%);
}

.hero-content {
  min-height: 82vh;
  display: grid;
  align-items: center;
  padding: 88px 0 80px;
}

.hero-copy {
  width: min(760px, 100%);
}

.eyebrow {
  margin: 0 0 14px;
  color: #b7d842;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 22px;
  font-size: clamp(2.8rem, 7vw, 5.25rem);
  line-height: 1.02;
  font-weight: 950;
  letter-spacing: 0;
}

.hero-lead {
  max-width: 690px;
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.2rem;
}

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

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

.stat-card {
  min-height: 112px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.stat-card strong {
  display: block;
  color: var(--green);
  font-size: 1.9rem;
  line-height: 1;
}

.stat-card span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 750;
}

.section {
  padding: 82px 0;
}

.section.alt {
  background: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(260px, 0.5fr);
  gap: 42px;
  align-items: end;
  margin-bottom: 36px;
}

.section-kicker {
  margin-bottom: 12px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.08;
  font-weight: 950;
}

.section-head p,
.page-intro p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 1.02rem;
}

.grid {
  display: grid;
  gap: 18px;
}

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

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

.card {
  min-width: 0;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(46, 66, 79, 0.08);
}

.card-media {
  height: 210px;
  background: var(--green-dark);
}

.card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-body {
  padding: 22px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  margin-bottom: 12px;
  border-radius: 999px;
  padding: 4px 10px;
  background: rgba(45, 76, 254, 0.1);
  color: var(--blue);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
}

.card h3 {
  margin-bottom: 10px;
  font-size: 1.26rem;
  line-height: 1.24;
}

.card p {
  color: var(--muted);
}

.spec-list {
  display: grid;
  gap: 8px;
  margin: 16px 0 0;
}

.spec-row {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 10px;
  align-items: baseline;
  padding-top: 8px;
  border-top: 1px solid rgba(216, 226, 235, 0.86);
}

.spec-row span:first-child {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.spec-row span:last-child {
  font-size: 0.94rem;
  font-weight: 750;
}

.source-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 900;
}

.band {
  background: var(--green-dark);
  color: var(--white);
}

.band p,
.band .section-head p {
  color: rgba(255, 255, 255, 0.76);
}

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

.step {
  padding: 22px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.07);
}

.step strong {
  display: block;
  margin-bottom: 8px;
  color: #b7d842;
  font-size: 0.88rem;
  text-transform: uppercase;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: 28px;
  align-items: center;
}

.split img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

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

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

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--gold);
}

.page-hero {
  padding: 76px 0 48px;
  background:
    linear-gradient(90deg, rgba(45, 76, 254, 0.1), rgba(143, 187, 37, 0.12)),
    var(--paper);
  border-bottom: 1px solid var(--line);
}

.page-intro {
  width: min(820px, 100%);
}

.page-intro h1 {
  color: var(--ink);
  font-size: clamp(2.4rem, 6vw, 4.2rem);
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(320px, 0.55fr);
  gap: 24px;
  align-items: stretch;
}

.contact-box {
  padding: 28px;
}

.contact-items {
  display: grid;
  gap: 14px;
}

.contact-item {
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.contact-item span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-item strong,
.contact-item a {
  display: block;
  margin-top: 4px;
  font-weight: 850;
}

.map-frame {
  min-height: 410px;
  width: 100%;
  border: 0;
  border-radius: 8px;
  filter: saturate(0.95);
}

.site-footer {
  padding: 34px 0;
  background: #20303a;
  color: rgba(255, 255, 255, 0.78);
}

.footer-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
}

.footer-inner strong {
  color: var(--white);
}

.footer-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 0.9rem;
  font-weight: 800;
}

body.rtl {
  direction: rtl;
  font-family: "Segoe UI", Tahoma, Arial, sans-serif;
}

body.rtl .brand,
body.rtl .header-actions,
body.rtl .language-switch,
body.rtl .footer-links {
  direction: ltr;
}

body.rtl .brand-text {
  direction: rtl;
}

body.rtl .section-head {
  grid-template-columns: minmax(260px, 0.5fr) minmax(0, 0.82fr);
}

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

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

body.rtl .spec-row {
  grid-template-columns: 1fr 118px;
}

body.rtl .source-link {
  direction: rtl;
}

@media (max-width: 920px) {
  .container {
    width: min(100% - 32px, 1180px);
  }

  .header-inner {
    grid-template-columns: 1fr;
    padding: 14px 0;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .nav {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .header-actions .button {
    display: none;
  }

  .stats,
  .grid.three,
  .grid.two,
  .process,
  .section-head,
  .split,
  .contact-panel,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  body.rtl .section-head {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    min-height: 74vh;
    padding: 76px 0 70px;
  }

  .stats {
    margin-top: 18px;
  }

  .section {
    padding: 58px 0;
  }

  .card-media {
    height: 230px;
  }
}

@media (max-width: 560px) {
  .brand img {
    width: 48px;
    height: 48px;
  }

  .nav a {
    padding: 8px 10px;
    font-size: 0.86rem;
  }

  .spec-row {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  body.rtl .spec-row {
    grid-template-columns: 1fr;
  }

  .contact-box {
    padding: 20px;
  }

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

  .button {
    width: 100%;
  }
}
