@import url('https://fonts.googleapis.com/css2?family=Vazirmatn:wght@300;400;500;600;700;800&display=swap');

:root {
  --navy: #071b2c;
  --navy-2: #0d2a40;
  --amber: #eaa321;
  --paper: #f5f7f8;
  --ink: #12202b;
  --muted: #62717c;
  --line: #dfe5e8;
  --white: #fff;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--white);
  font-family: "Vazirmatn", Tahoma, Arial, sans-serif;
  line-height: 1.85;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 40px)); margin-inline: auto; }

.site-header {
  position: absolute;
  z-index: 10;
  inset: 0 0 auto;
  color: var(--white);
  border-bottom: 1px solid rgba(255,255,255,.18);
}
.nav-wrap { min-height: 86px; display: flex; align-items: center; gap: 36px; }
.brand { display: inline-flex; align-items: center; gap: 12px; margin-left: auto; }
.brand-mark { display: grid; place-items: center; width: 52px; height: 52px; font: 800 17px/1 Arial; border: 2px solid var(--amber); color: var(--amber); }
.brand-text { font-weight: 700; font-size: 18px; }
.main-nav { display: flex; gap: 28px; font-size: 14px; }
.main-nav a { transition: color .2s ease; }
.main-nav a:hover { color: var(--amber); }
.nav-cta { padding: 10px 18px; border: 1px solid rgba(255,255,255,.55); font-size: 13px; }

.hero {
  position: relative;
  min-height: 760px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: url('../images/locomotive-hero.webp') center center / cover no-repeat;
}
.hero-shade { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,15,24,.38), rgba(4,15,24,.62) 52%, rgba(4,15,24,.93)); }
.hero-content { position: relative; padding-top: 100px; }
.eyebrow, .section-kicker { margin: 0 0 12px; color: var(--amber); font-weight: 700; font-size: 13px; letter-spacing: .09em; }
.hero h1 { max-width: 720px; margin: 0; font-size: clamp(52px, 7vw, 92px); line-height: 1.2; font-weight: 800; }
.hero-lead { max-width: 650px; margin: 22px 0 34px; font-size: clamp(18px, 2vw, 25px); font-weight: 400; color: rgba(255,255,255,.88); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.btn { display: inline-flex; min-height: 50px; padding: 11px 25px; align-items: center; justify-content: center; font-weight: 700; transition: transform .2s ease, background .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn-primary { color: #101820; background: var(--amber); }
.btn-outline { color: var(--white); border: 1px solid rgba(255,255,255,.6); }
.btn-dark { color: var(--white); background: var(--navy); direction: ltr; }
.scroll-hint { position: absolute; bottom: 22px; left: 50%; font-size: 34px; color: rgba(255,255,255,.75); }

.section { padding: 100px 0; }
.section h2 { margin: 0; font-size: clamp(31px, 4vw, 50px); line-height: 1.45; }
.intro-grid { display: grid; grid-template-columns: .95fr 1.05fr; gap: 90px; align-items: start; }
.intro-copy { color: var(--muted); font-size: 18px; }
.intro-copy p { margin-top: 0; }
.intro-copy .note { padding-right: 18px; border-right: 3px solid var(--amber); font-size: 14px; }

.services { background: var(--paper); }
.section-heading { display: flex; justify-content: space-between; gap: 60px; align-items: end; margin-bottom: 45px; }
.section-heading > p { max-width: 490px; margin: 0; color: var(--muted); }
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.service-card { min-height: 290px; padding: 32px; background: var(--white); border: 1px solid var(--line); transition: transform .25s ease, border .25s ease; }
.service-card:hover { transform: translateY(-6px); border-color: var(--amber); }
.service-card.featured { color: var(--white); background: var(--navy); border-color: var(--navy); }
.card-number { color: var(--amber); font: 700 15px/1 Arial; }
.service-card h3 { margin: 58px 0 15px; font-size: 24px; }
.service-card p { margin: 0; color: var(--muted); }
.service-card.featured p { color: rgba(255,255,255,.68); }

.capabilities { color: var(--white); background: var(--navy); }
.capability-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: 90px; align-items: center; }
.capability-panel p:last-child { max-width: 620px; color: rgba(255,255,255,.68); }
.section-kicker.light { color: var(--amber); }
.capability-list { margin: 0; padding: 0; list-style: none; border-top: 1px solid rgba(255,255,255,.16); }
.capability-list li { display: flex; gap: 18px; padding: 18px 0; border-bottom: 1px solid rgba(255,255,255,.16); }
.capability-list span { color: var(--amber); font: 700 13px/1.8 Arial; }

.contact { background: var(--amber); }
.contact-box { display: flex; align-items: center; justify-content: space-between; gap: 60px; }
.contact .section-kicker { color: var(--navy); }
.contact h2 { max-width: 760px; font-size: clamp(27px, 3.2vw, 43px); }

.site-footer { padding: 30px 0; color: rgba(255,255,255,.65); background: #04111b; font-size: 13px; }
.footer-wrap { display: flex; align-items: center; justify-content: space-between; }
.footer-wrap div { display: flex; gap: 12px; color: var(--white); }
.footer-wrap p { margin: 0; }

@media (max-width: 860px) {
  .main-nav, .nav-cta { display: none; }
  .nav-wrap { min-height: 72px; }
  .hero { min-height: 680px; background-position: 36% center; }
  .hero-shade { background: rgba(4,15,24,.68); }
  .hero h1 { font-size: 52px; }
  .intro-grid, .capability-grid { grid-template-columns: 1fr; gap: 36px; }
  .section-heading, .contact-box { align-items: start; flex-direction: column; gap: 26px; }
  .service-grid { grid-template-columns: 1fr; }
  .service-card { min-height: 230px; }
  .service-card h3 { margin-top: 36px; }
}

@media (max-width: 520px) {
  .container { width: min(100% - 28px, 1180px); }
  .brand-text { font-size: 15px; }
  .brand-mark { width: 44px; height: 44px; }
  .hero { min-height: 620px; }
  .hero h1 { font-size: 43px; }
  .hero-lead { font-size: 17px; }
  .section { padding: 72px 0; }
  .footer-wrap { align-items: start; flex-direction: column; gap: 8px; }
}
