:root {
  --ink: #071815;
  --ink-soft: #102a25;
  --paper: #f6f8f4;
  --white: #ffffff;
  --sand: #d6b27b;
  --cyan: #00bde9;
  --green: #57ed89;
  --lime: #a9ff66;
  --muted: #61706b;
  --line: rgba(7, 24, 21, 0.14);
  --line-dark: rgba(255, 255, 255, 0.14);
  --shadow: 0 28px 80px rgba(6, 25, 21, 0.15);
  --radius-lg: 28px;
  --radius-md: 18px;
  --shell: min(1180px, calc(100vw - 48px));
  --header-height: 78px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "Segoe UI", "Microsoft YaHei", "Noto Sans", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

html[lang="ur"] body {
  font-family: "Noto Nastaliq Urdu", "Noto Sans Arabic", "Segoe UI", Tahoma, sans-serif;
  line-height: 1.9;
}

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

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

button,
a {
  -webkit-tap-highlight-color: transparent;
}

button {
  font: inherit;
}

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

h1,
h2,
h3 {
  margin-bottom: 0.7em;
  font-weight: 720;
  line-height: 1.08;
  letter-spacing: -0.035em;
}

h1 {
  max-width: 820px;
  font-size: clamp(3.35rem, 7vw, 6.7rem);
}

h2 {
  font-size: clamp(2.25rem, 4.4vw, 4.35rem);
}

h3 {
  font-size: clamp(1.25rem, 2vw, 1.65rem);
}

html[lang="ur"] h1,
html[lang="ur"] h2,
html[lang="ur"] h3 {
  line-height: 1.4;
  letter-spacing: 0;
}

.shell {
  width: var(--shell);
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 8px;
  inset-inline-start: 8px;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--green);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: fixed;
  z-index: 100;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  color: var(--white);
  background: linear-gradient(to bottom, rgba(4, 17, 15, 0.86), rgba(4, 17, 15, 0.42));
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
  transition: background 240ms ease, box-shadow 240ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 22, 19, 0.94);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.2);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 28px;
}

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

.brand-logo-wrap {
  width: 58px;
  height: 42px;
  overflow: hidden;
  background: var(--white);
  border-radius: 9px;
}

.brand-logo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 51%;
  transform: scale(1.85);
}

.brand-name {
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  white-space: nowrap;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-inline-start: auto;
  font-size: 0.9rem;
  font-weight: 650;
}

.primary-nav a {
  color: rgba(255, 255, 255, 0.82);
  transition: color 160ms ease;
}

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

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

.language-switcher {
  display: flex;
  align-items: center;
  padding: 3px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.07);
}

.language-switcher button {
  min-width: 38px;
  height: 30px;
  padding: 0 9px;
  color: rgba(255, 255, 255, 0.7);
  background: transparent;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-size: 0.75rem;
  font-weight: 700;
}

.language-switcher button[aria-pressed="true"] {
  color: var(--ink);
  background: var(--green);
}

.header-cta {
  padding: 9px 16px;
  color: var(--ink);
  background: var(--white);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 750;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 11px;
  margin-inline-start: auto;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 12px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 4px 0;
  background: var(--white);
  border-radius: 4px;
}

.hero {
  position: relative;
  min-height: 790px;
  height: min(930px, 100svh);
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.hero-image,
.hero-scrim,
.hero-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  object-position: center 57%;
  filter: saturate(0.8) contrast(1.05);
}

.hero-scrim {
  background:
    linear-gradient(90deg, rgba(3, 18, 15, 0.96) 0%, rgba(3, 18, 15, 0.78) 42%, rgba(3, 18, 15, 0.18) 76%),
    linear-gradient(0deg, rgba(3, 18, 15, 0.76) 0%, transparent 44%);
}

.hero-grid {
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to right, black, transparent 82%);
}

.hero-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 260px;
  align-items: end;
  gap: 60px;
  padding-top: calc(var(--header-height) + 50px);
  padding-bottom: 68px;
}

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

.eyebrow {
  margin-bottom: 22px;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.17em;
  text-transform: uppercase;
}

html[lang="ur"] .eyebrow {
  letter-spacing: 0;
}

.eyebrow.dark {
  color: #087e66;
}

.hero-lead {
  max-width: 720px;
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: clamp(1.05rem, 1.7vw, 1.3rem);
}

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

.button {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 780;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button-primary {
  color: var(--ink);
  background: linear-gradient(115deg, var(--cyan), var(--green));
  box-shadow: 0 14px 40px rgba(0, 220, 174, 0.22);
}

.button-ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.32);
  background: rgba(255, 255, 255, 0.06);
}

.authority-line {
  max-width: 720px;
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.86rem;
}

.authority-mark {
  width: 38px;
  height: 1px;
  flex: 0 0 auto;
  background: var(--green);
}

.hero-side-note {
  align-self: end;
  margin-bottom: 14px;
  padding-inline-start: 18px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.28);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.side-note-index {
  display: block;
  margin-bottom: 20px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 800;
}

.proof-strip {
  position: relative;
  z-index: 3;
  color: var(--white);
  background: var(--ink-soft);
  border-bottom: 1px solid var(--line-dark);
}

.proof-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.proof-item {
  min-height: 150px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 26px;
  border-inline-end: 1px solid var(--line-dark);
}

.proof-item:first-child {
  border-inline-start: 1px solid var(--line-dark);
}

.proof-item strong {
  color: var(--green);
  font-size: clamp(2rem, 4vw, 3.4rem);
  line-height: 1;
  letter-spacing: -0.05em;
}

.proof-item span {
  margin-top: 12px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.82rem;
  line-height: 1.4;
}

.section {
  position: relative;
  padding: clamp(88px, 11vw, 150px) 0;
}

.section-light {
  background: var(--paper);
}

.section-dark {
  color: var(--white);
  background:
    radial-gradient(circle at 90% 4%, rgba(0, 189, 233, 0.13), transparent 30%),
    var(--ink);
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(420px, 1.08fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.section-copy > p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
}

.lead-copy {
  color: var(--ink) !important;
  font-size: 1.18rem;
}

.principles {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 38px;
}

.principles div {
  min-height: 120px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.5);
}

.principles span {
  color: #0e8a73;
  font-size: 0.72rem;
  font-weight: 800;
}

.principles strong {
  font-size: 0.95rem;
}

.media-frame {
  position: relative;
  min-height: 520px;
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.media-frame img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  object-fit: cover;
  object-position: center;
}

.media-frame::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(4, 20, 17, 0.84), transparent 50%);
}

.media-frame figcaption {
  position: absolute;
  z-index: 2;
  right: 26px;
  bottom: 24px;
  left: 26px;
  display: flex;
  justify-content: space-between;
  gap: 30px;
  color: var(--white);
}

.media-frame figcaption span {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.86rem;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, 0.75fr);
  align-items: end;
  gap: 60px;
  margin-bottom: 58px;
}

.section-heading h2 {
  max-width: 800px;
  margin-bottom: 0;
}

.section-heading > p {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.6);
}

.stories-section .section-heading > p {
  color: var(--muted);
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line-dark);
  border-inline-start: 1px solid var(--line-dark);
}

.service-card {
  position: relative;
  min-height: 330px;
  display: flex;
  flex-direction: column;
  padding: 32px;
  border-inline-end: 1px solid var(--line-dark);
  border-bottom: 1px solid var(--line-dark);
  background: rgba(255, 255, 255, 0.025);
  transition: background 200ms ease, transform 200ms ease;
}

.service-card:hover {
  z-index: 2;
  background: rgba(255, 255, 255, 0.07);
  transform: translateY(-3px);
}

.service-card-accent {
  color: var(--ink);
  background: linear-gradient(145deg, var(--cyan), var(--green));
}

.service-card-accent:hover {
  background: linear-gradient(145deg, #19c9ec, #73f29b);
}

.service-number {
  margin-bottom: 62px;
  color: var(--green);
  font-size: 0.76rem;
  font-weight: 850;
}

.service-card-accent .service-number {
  color: rgba(7, 24, 21, 0.62);
}

.service-card p {
  margin-bottom: 30px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.93rem;
}

.service-card-accent p {
  color: rgba(7, 24, 21, 0.72);
}

.service-tag {
  margin-top: auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.74rem;
  font-weight: 780;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.service-card-accent .service-tag {
  color: var(--ink);
}

.green-section {
  overflow: hidden;
  background:
    radial-gradient(circle at 90% 20%, rgba(87, 237, 137, 0.28), transparent 28%),
    #e9f5ed;
}

.green-grid {
  display: grid;
  grid-template-columns: minmax(420px, 1.08fr) minmax(0, 0.92fr);
  align-items: center;
  gap: clamp(48px, 8vw, 110px);
}

.electric-visual {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.electric-visual > img {
  width: 100%;
  height: 680px;
  object-fit: cover;
  object-position: 46% center;
}

.electric-badge {
  position: absolute;
  right: 20px;
  bottom: 20px;
  max-width: 230px;
  padding: 24px;
  color: var(--white);
  background: rgba(7, 24, 21, 0.9);
  border-radius: 18px;
  backdrop-filter: blur(12px);
}

.electric-badge strong {
  display: block;
  color: var(--green);
  font-size: 3.4rem;
  line-height: 1;
}

.electric-badge span {
  display: block;
  margin-top: 9px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.green-copy > p:not(.eyebrow) {
  color: #46625b;
}

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

.check-list li {
  position: relative;
  padding-inline-start: 28px;
  font-weight: 650;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 0.55em;
  inset-inline-start: 0;
  width: 11px;
  height: 11px;
  background: linear-gradient(135deg, var(--cyan), var(--green));
  border-radius: 50%;
}

.inline-photo {
  display: grid;
  grid-template-columns: 150px 1fr;
  align-items: center;
  gap: 18px;
  margin: 34px 0 0;
  padding-top: 24px;
  border-top: 1px solid rgba(7, 24, 21, 0.16);
}

.inline-photo img {
  width: 150px;
  height: 98px;
  object-fit: cover;
  border-radius: 12px;
}

.inline-photo figcaption {
  color: #31534b;
  font-size: 0.86rem;
  font-weight: 650;
}

.smart-section {
  color: var(--white);
  overflow: hidden;
  background:
    linear-gradient(120deg, rgba(0, 189, 233, 0.11), transparent 35%),
    var(--ink-soft);
}

.smart-section::after {
  content: "";
  position: absolute;
  width: 460px;
  height: 460px;
  right: -120px;
  top: -180px;
  border: 1px solid rgba(87, 237, 137, 0.26);
  border-radius: 50%;
  box-shadow: 0 0 0 90px rgba(87, 237, 137, 0.03), 0 0 0 180px rgba(87, 237, 137, 0.02);
}

.smart-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(460px, 1.1fr);
  align-items: center;
  gap: clamp(48px, 9vw, 120px);
}

.smart-copy > p:not(.eyebrow) {
  color: rgba(255, 255, 255, 0.62);
}

.smart-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-top: 36px;
}

.smart-list span {
  padding: 14px 16px;
  border: 1px solid var(--line-dark);
  border-radius: 12px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.dashboard-card {
  padding: 26px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg);
  box-shadow: 0 36px 90px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(16px);
}

.dashboard-top {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--line-dark);
}

.dashboard-top div {
  display: flex;
  flex-direction: column;
}

.dashboard-top span {
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.69rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.dashboard-top strong {
  margin-top: 4px;
  font-size: 1.15rem;
}

.dashboard-live {
  align-self: flex-start;
  padding: 6px 9px;
  color: var(--green) !important;
  background: rgba(87, 237, 137, 0.1);
  border: 1px solid rgba(87, 237, 137, 0.22);
  border-radius: 999px;
}

.dashboard-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 20px 0;
}

.dashboard-metrics div {
  padding: 16px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
}

.dashboard-metrics span {
  display: block;
  color: rgba(255, 255, 255, 0.52);
  font-size: 0.7rem;
}

.dashboard-metrics strong {
  display: block;
  margin-top: 7px;
  color: var(--green);
  font-size: 1.7rem;
}

.dashboard-chart {
  height: 130px;
  display: flex;
  align-items: end;
  gap: 12px;
  padding: 18px;
  background: rgba(0, 0, 0, 0.14);
  border-radius: 14px;
}

.dashboard-chart span {
  height: var(--h);
  flex: 1;
  background: linear-gradient(to top, rgba(0, 189, 233, 0.28), var(--green));
  border-radius: 4px 4px 0 0;
}

.warehouse-thumb {
  position: relative;
  height: 190px;
  margin: 20px 0 0;
  overflow: hidden;
  border-radius: 14px;
}

.warehouse-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.warehouse-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(5, 20, 17, 0.9), transparent 65%);
}

.warehouse-thumb figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 13px;
  left: 16px;
  color: var(--white);
  font-size: 0.78rem;
}

.project-section {
  min-height: 760px;
  display: flex;
  align-items: end;
  color: var(--white);
  overflow: hidden;
  background: var(--ink);
}

.project-backdrop,
.project-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.project-backdrop {
  object-fit: cover;
  object-position: center;
}

.project-overlay {
  background:
    linear-gradient(0deg, rgba(4, 18, 15, 0.95) 0%, rgba(4, 18, 15, 0.28) 70%),
    linear-gradient(90deg, rgba(4, 18, 15, 0.38), transparent 60%);
}

.project-content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.72fr);
  align-items: end;
  gap: 70px;
}

.project-heading h2 {
  max-width: 780px;
  margin-bottom: 0;
}

.project-panel {
  padding: 30px;
  background: rgba(5, 22, 19, 0.74);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  backdrop-filter: blur(16px);
}

.project-panel > p {
  color: rgba(255, 255, 255, 0.76);
}

.project-scope {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-scope span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.74rem;
}

.stories-section {
  background: #f5f2eb;
}

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

.story-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(7, 24, 21, 0.1);
  border-radius: 20px;
  box-shadow: 0 22px 56px rgba(8, 27, 22, 0.08);
}

.story-card > img,
.story-image-pair {
  width: 100%;
  height: 310px;
}

.story-card > img {
  object-fit: cover;
}

.story-image-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.story-image-pair img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-copy {
  padding: 26px;
}

.story-copy > span {
  display: block;
  margin-bottom: 14px;
  color: #0b8a70;
  font-size: 0.69rem;
  font-weight: 850;
  letter-spacing: 0.13em;
}

.story-copy p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

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

.field-grid {
  display: grid;
  grid-template-columns: 0.78fr 1.12fr 0.62fr;
  align-items: stretch;
  gap: 18px;
}

.field-copy {
  align-self: center;
  padding-inline-end: 24px;
}

.field-copy p:not(.eyebrow) {
  color: var(--muted);
}

.field-photo {
  min-height: 470px;
  margin: 0;
  overflow: hidden;
  border-radius: 20px;
}

.field-photo img {
  width: 100%;
  height: 100%;
  min-height: 470px;
  object-fit: cover;
}

.field-photo-tall img {
  object-position: center 30%;
}

.contact-section {
  padding: clamp(82px, 10vw, 130px) 0;
  color: var(--white);
  background:
    radial-gradient(circle at 5% 100%, rgba(0, 189, 233, 0.18), transparent 30%),
    linear-gradient(135deg, var(--ink), #10362e);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(50px, 10vw, 130px);
}

.contact-copy h2 {
  max-width: 760px;
}

.contact-copy > p:not(.eyebrow) {
  max-width: 640px;
  color: rgba(255, 255, 255, 0.64);
}

.contact-details {
  display: grid;
  gap: 0;
  border-top: 1px solid var(--line-dark);
}

.contact-details > div {
  padding: 22px 0;
  border-bottom: 1px solid var(--line-dark);
}

.contact-details span {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.contact-details strong {
  display: block;
  font-size: 1.28rem;
}

.contact-details a {
  display: inline-block;
  margin-top: 6px;
  color: var(--green);
  font-weight: 750;
}

.contact-details address {
  color: rgba(255, 255, 255, 0.8);
  font-style: normal;
}

.site-footer {
  color: rgba(255, 255, 255, 0.68);
  background: #030e0c;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
  min-height: 180px;
  display: grid;
  grid-template-columns: 1.3fr 0.7fr auto;
  align-items: center;
  gap: 40px;
}

.footer-inner strong {
  color: var(--white);
  letter-spacing: 0.12em;
}

.footer-inner p {
  margin: 7px 0 0;
  font-size: 0.8rem;
}

.footer-links {
  display: flex;
  gap: 20px;
  font-size: 0.82rem;
}

.copyright {
  white-space: nowrap;
}

.js .reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 700ms ease, transform 700ms cubic-bezier(0.2, 0.68, 0.2, 1);
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

html[dir="rtl"] .hero-scrim {
  background:
    linear-gradient(270deg, rgba(3, 18, 15, 0.96) 0%, rgba(3, 18, 15, 0.78) 42%, rgba(3, 18, 15, 0.18) 76%),
    linear-gradient(0deg, rgba(3, 18, 15, 0.76) 0%, transparent 44%);
}

html[dir="rtl"] .hero-grid {
  mask-image: linear-gradient(to left, black, transparent 82%);
}

html[dir="rtl"] .brand-name {
  letter-spacing: 0.1em;
}

@media (max-width: 1050px) {
  :root {
    --header-height: 72px;
  }

  .primary-nav,
  .header-cta {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .primary-nav.is-open {
    position: absolute;
    top: calc(var(--header-height) - 1px);
    left: 0;
    width: 100%;
    display: grid;
    gap: 0;
    padding: 14px 24px 22px;
    background: rgba(5, 22, 19, 0.98);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
  }

  .primary-nav.is-open a {
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .header-actions {
    margin-inline-start: 0;
  }

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

  .hero-side-note {
    display: none;
  }

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

  .proof-item:nth-child(4),
  .proof-item:nth-child(5) {
    border-top: 1px solid var(--line-dark);
  }

  .split-layout,
  .green-grid,
  .smart-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .media-frame {
    min-height: 460px;
  }

  .service-grid,
  .story-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .project-content {
    grid-template-columns: 1fr;
  }

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

  .field-copy {
    grid-column: 1 / -1;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    padding: 38px 0;
  }

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

@media (max-width: 720px) {
  :root {
    --shell: min(100% - 30px, 1180px);
  }

  h1 {
    font-size: clamp(2.85rem, 14vw, 4.4rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.2rem);
  }

  .brand-name {
    display: none;
  }

  .language-switcher button {
    min-width: 34px;
    padding: 0 7px;
  }

  .hero {
    min-height: 760px;
    height: 100svh;
  }

  .hero-image {
    object-position: 34% center;
  }

  .hero-scrim,
  html[dir="rtl"] .hero-scrim {
    background: linear-gradient(0deg, rgba(3, 18, 15, 0.97) 0%, rgba(3, 18, 15, 0.65) 58%, rgba(3, 18, 15, 0.2) 100%);
  }

  .hero-content {
    padding-bottom: 34px;
  }

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

  .button {
    width: 100%;
  }

  .authority-line {
    align-items: flex-start;
  }

  .authority-mark {
    margin-top: 0.7em;
  }

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

  .proof-item {
    min-height: 130px;
    padding: 20px;
  }

  .proof-item:nth-child(3) {
    border-top: 1px solid var(--line-dark);
  }

  .proof-item:last-child {
    grid-column: 1 / -1;
  }

  .section-heading {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .principles,
  .service-grid,
  .story-grid,
  .smart-list,
  .dashboard-metrics,
  .field-grid {
    grid-template-columns: 1fr;
  }

  .media-frame,
  .media-frame img {
    min-height: 410px;
  }

  .media-frame figcaption {
    flex-direction: column;
    gap: 4px;
  }

  .service-card {
    min-height: 300px;
  }

  .electric-visual,
  .electric-visual > img {
    min-height: 500px;
    height: 500px;
  }

  .electric-badge {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .inline-photo {
    grid-template-columns: 110px 1fr;
  }

  .inline-photo img {
    width: 110px;
    height: 84px;
  }

  .smart-grid {
    gap: 50px;
  }

  .dashboard-card {
    padding: 18px;
  }

  .dashboard-top {
    flex-direction: column;
  }

  .project-section {
    min-height: 820px;
  }

  .project-content {
    gap: 28px;
  }

  .project-panel {
    padding: 22px;
  }

  .story-card > img,
  .story-image-pair {
    height: 280px;
  }

  .field-copy {
    grid-column: auto;
  }

  .field-photo,
  .field-photo img {
    min-height: 360px;
  }

  .contact-grid {
    gap: 48px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .copyright {
    grid-column: auto;
    white-space: normal;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .js .reveal {
    opacity: 1;
    transform: none;
  }
}
