:root {
  --navy: #0F2742;
  --charcoal: #2B2F33;
  --light: #F4F5F7;
  --white: #FFFFFF;
  --orange: #E67E22;
  --muted: #97A3AF;
  --border: rgba(255,255,255,0.08);
  --soft-border: rgba(15,39,66,0.1);
  --shadow: 0 12px 30px rgba(15, 39, 66, 0.12);
  --radius: 18px;
  --max: 1240px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--charcoal);
  font-family: "Vazirmatn", sans-serif;
  line-height: 1.8;
}

body.en {
  font-family: "Inter", sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
}

.section {
  padding: 88px 0;
}

.section-head {
  margin-bottom: 32px;
}

.section-head.center {
  text-align: center;
}

.section-kicker {
  color: var(--orange);
  font-weight: 700;
  letter-spacing: 0.3px;
  margin: 0 0 10px;
}

.section-head h2 {
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.2;
  margin: 0 0 14px;
  color: var(--navy);
}

.section-sub,
.lead {
  color: #54606d;
  font-size: 1.03rem;
  margin: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(15, 39, 66, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.header-inner {
  min-height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  color: var(--white);
}

.brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--orange), #b95d11);
  display: grid;
  place-items: center;
  font-weight: 800;
  color: var(--white);
  box-shadow: var(--shadow);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.brand-text strong {
  font-size: 1rem;
}

.brand-text span {
  font-size: 0.82rem;
  color: #c6d1dc;
}

.desktop-nav {
  display: flex;
  gap: 24px;
  align-items: center;
}

.desktop-nav a {
  color: #d9e0e7;
  font-size: 0.95rem;
  transition: color 0.25s ease;
}

.desktop-nav a:hover {
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  border: 1px solid rgba(255,255,255,0.18);
  background: transparent;
  color: var(--white);
  padding: 10px 14px;
  border-radius: 12px;
  cursor: pointer;
  font-weight: 700;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 14px;
  font-weight: 700;
  transition: all 0.25s ease;
  border: none;
  cursor: pointer;
}

.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(230, 126, 34, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  background: #cf6f18;
}

.btn-secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,0.26);
}

.btn-secondary:hover {
  background: rgba(255,255,255,0.08);
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255,255,255,0.15);
  background: transparent;
  border-radius: 12px;
  padding: 0;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  margin: 5px auto;
  border-radius: 2px;
}

.mobile-menu {
  display: none;
  padding: 0 16px 18px;
  background: var(--navy);
  border-top: 1px solid rgba(255,255,255,0.06);
}

.mobile-menu.open {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.mobile-menu a {
  color: var(--white);
  padding: 10px 4px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.hero {
  position: relative;
  min-height: 88vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(rgba(15, 39, 66, 0.45), rgba(15, 39, 66, 0.55)),
    url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
  color: var(--white);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(230,126,34,0.18), transparent 30%),
    linear-gradient(180deg, rgba(15,39,66,0.35), rgba(15,39,66,0.7));
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 32px;
  align-items: end;
  padding: 70px 0;
}

.eyebrow {
  margin: 0 0 14px;
  color: #ffcf9a;
  font-weight: 700;
}

.hero h1 {
  margin: 0 0 18px;
  font-size: clamp(36px, 6vw, 72px);
  line-height: 1.08;
  max-width: 900px;
}

.hero-desc {
  margin: 0 0 28px;
  max-width: 720px;
  color: #d9e2eb;
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-card {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: var(--radius);
  padding: 24px;
  backdrop-filter: blur(10px);
}

.stat-card strong {
  display: block;
  font-size: 2rem;
  margin-bottom: 6px;
}

.stat-card span {
  color: #d8e0e8;
  font-size: 0.95rem;
}

.metrics {
  background: var(--light);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.metric-box {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--soft-border);
}

.metric-box h3 {
  margin: 0 0 8px;
  font-size: 2rem;
  color: var(--navy);
}

.metric-box p {
  margin: 0;
  color: #55606c;
}

.split-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 30px;
  align-items: center;
}

.feature-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  margin-top: 28px;
}

.feature-item {
  background: var(--light);
  border: 1px solid var(--soft-border);
  border-radius: 14px;
  padding: 14px 16px;
  font-weight: 600;
  color: var(--navy);
}

.visual-panel {
  min-height: 420px;
  background:
    linear-gradient(rgba(15,39,66,0.45), rgba(15,39,66,0.65)),
    url('https://images.unsplash.com/photo-1513828583688-c52646db42da?auto=format&fit=crop&w=1200&q=80') center/cover no-repeat;
  border-radius: 26px;
  padding: 26px;
  display: flex;
  align-items: end;
}

.visual-card {
  background: rgba(255,255,255,0.92);
  color: var(--charcoal);
  padding: 24px;
  border-radius: 20px;
  max-width: 520px;
  box-shadow: var(--shadow);
}

.visual-badge {
  display: inline-block;
  margin-bottom: 12px;
  background: rgba(230,126,34,0.12);
  color: #a75512;
  padding: 8px 12px;
  border-radius: 999px;
  font-weight: 700;
}

.visual-card h3 {
  margin: 0 0 12px;
  color: var(--navy);
  font-size: 1.6rem;
  line-height: 1.2;
}

.card-grid {
  display: grid;
  gap: 18px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.card-grid.three {
  grid-template-columns: repeat(3, 1fr);
}

.service-card,
.plant-card,
.info-card,
.policy-card,
.project-card,
.contact-card,
.fleet-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--soft-border);
  box-shadow: var(--shadow);
}

.service-card {
  padding: 24px;
}

.service-icon {
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: var(--navy);
  color: var(--white);
  display: grid;
  place-items: center;
  font-weight: 800;
  margin-bottom: 18px;
}

.service-card h3,
.plant-card h3,
.info-card h3,
.policy-card h3,
.contact-card h3,
.fleet-card h3,
.project-card h3 {
  margin: 0 0 10px;
  color: var(--navy);
  line-height: 1.3;
}

.service-card p,
.plant-card p,
.info-card p,
.policy-card p,
.contact-card p,
.project-card p {
  margin: 0;
  color: #5b6673;
}

.dark-section {
  background: var(--navy);
  color: var(--white);
}

.dark-section .section-head h2,
.dark-section .section-sub,
.dark-section .section-kicker {
  color: var(--white);
}

.dark-section .section-kicker {
  color: #ffcb92;
}

.fleet-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.8fr;
  gap: 18px;
}

.fleet-card {
  padding: 24px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow: none;
}

.fleet-card ul {
  margin: 0;
  padding-inline-start: 20px;
  color: #dde6ef;
}

.fleet-card li {
  margin-bottom: 8px;
}

.fleet-card.highlight {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.big-number {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1;
  margin: 10px 0 14px;
  color: var(--orange);
}

.plant-card,
.info-card,
.policy-card {
  padding: 24px;
}

.projects {
  background: var(--light);
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.project-card {
  padding: 24px;
}

.status-tag {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(230,126,34,0.12);
  color: #a85615;
  font-weight: 700;
  font-size: 0.88rem;
}

.project-meta {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(15,39,66,0.08);
  color: var(--navy);
  font-weight: 700;
}

.policy-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 18px;
}

.people {
  background: var(--white);
}

.people-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.people-item {
  background: var(--light);
  border: 1px solid var(--soft-border);
  border-radius: 16px;
  padding: 20px;
}

.people-item strong {
  display: block;
  font-size: 2rem;
  color: var(--navy);
}

.contact {
  background: var(--light);
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.contact-card {
  padding: 24px;
}

.contact-form {
  background: var(--white);
  border-radius: 24px;
  padding: 24px;
  border: 1px solid var(--soft-border);
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 18px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(15,39,66,0.12);
  border-radius: 14px;
  padding: 15px 16px;
  font: inherit;
  background: #fff;
  color: var(--charcoal);
  outline: none;
}

input:focus,
textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(230,126,34,0.08);
}

.site-footer {
  background: #0b1d31;
  color: var(--white);
  padding-top: 56px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr;
  gap: 24px;
  padding-bottom: 28px;
}

.footer-brand {
  margin-bottom: 14px;
}

.footer-text {
  color: #c8d4df;
  max-width: 540px;
}

.site-footer h4 {
  margin-top: 0;
  margin-bottom: 12px;
  color: #fff;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
  color: #c8d4df;
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255,255,255,0.08);
  color: #b9c8d6;
  font-size: 0.92rem;
}

@media (max-width: 1100px) {
  .hero-content,
  .split-grid,
  .fleet-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .metrics-grid,
  .projects-grid,
  .contact-grid,
  .card-grid.four,
  .card-grid.three {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero {
    min-height: auto;
  }
}

@media (max-width: 860px) {
  .desktop-nav,
  .desktop-cta {
    display: none;
  }

  .menu-toggle {
    display: inline-block;
  }

  .section {
    padding: 70px 0;
  }

  .hero-content {
    padding: 50px 0;
  }

  .hero-stats,
  .feature-list,
  .policy-grid,
  .people-stats,
  .form-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .container {
    width: min(calc(100% - 24px), var(--max));
  }

  .metrics-grid,
  .projects-grid,
  .contact-grid,
  .card-grid.four,
  .card-grid.three {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    font-size: 2.2rem;
  }

  .section-head h2 {
    font-size: 2rem;
  }

  .btn {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

  .brand-text span {
    display: none;
  }
}
