/* e-mechanical — self-contained stylesheet (no external fonts/CDNs).
   Palette matches company letterhead: navy #10263d, gold #b98a2e. */

:root {
  --navy: #10263d;
  --navy-2: #16324e;
  --gold: #b98a2e;
  --ink: #222730;
  --dim: #6b7480;
  --bg: #ffffff;
  --bg-alt: #f5f7fa;
  --border: #d8dce2;
  --radius: 8px;
  --sans: "Helvetica Neue", Helvetica, "Liberation Sans", Arial, sans-serif;
  --serif: Georgia, "Liberation Serif", serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--serif);
  background: var(--bg);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}

img { max-width: 100%; }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--gold); }

h1, h2, h3 {
  font-family: var(--sans);
  color: var(--navy);
  line-height: 1.2;
  font-weight: 700;
}
h2 { font-size: 1.9rem; margin-bottom: 0.5rem; }
h2::after {
  content: "";
  display: block;
  width: 48px;
  height: 3px;
  background: var(--gold);
  margin-top: 10px;
}
h3 { font-size: 1.05rem; margin-bottom: 0.5rem; }

/* ---------- header ---------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 3px solid var(--navy);
  box-shadow: 0 3px 0 rgba(185, 138, 46, 0.55);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.brand-logo { height: 46px; display: block; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
  font-family: var(--sans);
}

.nav-links a { color: var(--navy); font-size: 0.93rem; font-weight: 600; }
.nav-links a:hover { color: var(--gold); }

/* ---------- buttons ---------- */

.btn {
  display: inline-block;
  font-family: var(--sans);
  background: var(--navy);
  color: #ffffff;
  font-weight: 700;
  padding: 12px 26px;
  border-radius: var(--radius);
  transition: background 0.15s ease;
}
.btn:hover { background: var(--navy-2); color: #ffffff; }

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}
.btn-ghost:hover { background: var(--bg-alt); color: var(--navy); }

.btn-small { padding: 8px 18px; font-size: 0.88rem; }
.nav-links .btn-small { color: #ffffff; }
.nav-links .btn-small:hover { color: #ffffff; }

/* ---------- hero ---------- */

.hero {
  padding: 100px 0 80px;
  background:
    radial-gradient(ellipse 55% 60% at 80% 0%, rgba(185, 138, 46, 0.08), transparent),
    var(--bg);
}

.eyebrow {
  font-family: var(--sans);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

.hero h1 { font-size: clamp(2rem, 4.6vw, 3rem); margin-bottom: 22px; }
.accent { color: var(--gold); }

.lead {
  font-size: 1.12rem;
  color: var(--dim);
  max-width: 660px;
  margin-bottom: 32px;
}

.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-facts {
  display: flex;
  gap: 32px;
  flex-wrap: wrap;
  list-style: none;
  font-family: var(--sans);
  color: var(--dim);
  font-size: 0.9rem;
}
.hero-facts strong { color: var(--navy); }

/* ---------- sections ---------- */

.section { padding: 84px 0; }
.section-alt {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.section-intro { color: var(--dim); margin: 18px 0 44px; max-width: 640px; }

/* ---------- cards ---------- */

.grid { display: grid; gap: 20px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.cols-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 32px; }

.card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 26px;
  transition: border-color 0.15s ease, transform 0.15s ease, box-shadow 0.15s ease;
}
.card:hover {
  border-top-color: var(--gold);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(16, 38, 61, 0.08);
}
.card p { color: var(--dim); font-size: 0.95rem; }

/* ---------- track-record timeline ---------- */

.timeline { display: flex; flex-direction: column; gap: 24px; }

.tl-item {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 24px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 26px;
}

.tl-period {
  font-family: var(--sans);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.92rem;
  white-space: nowrap;
}

.tl-body p { color: var(--dim); font-size: 0.95rem; margin-bottom: 14px; }

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  font-family: var(--sans);
}
.tags li {
  font-size: 0.76rem;
  color: var(--navy);
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 4px 12px;
}

/* ---------- tools strip ---------- */

.tools { margin-top: 32px; }

/* ---------- approach ---------- */

.step-num {
  display: inline-block;
  font-family: var(--sans);
  color: var(--gold);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}
.step p { color: var(--dim); font-size: 0.95rem; }

/* ---------- contact ---------- */

.contact-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-top: 3px solid var(--navy);
  border-radius: var(--radius);
  padding: 32px;
  max-width: 540px;
}

.contact-line { margin-bottom: 10px; }

/* no-JS phone fallback: stored reversed in the HTML, rendered readable */
.rev { unicode-bidi: bidi-override; direction: rtl; }
.contact-label {
  display: inline-block;
  font-family: var(--sans);
  width: 100px;
  color: var(--dim);
  font-size: 0.88rem;
}

/* ---------- footer ---------- */

.site-footer {
  background: var(--navy);
  color: #c9d2dc;
  padding: 26px 0;
  font-family: var(--sans);
  font-size: 0.86rem;
}
.footer-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* ---------- responsive ---------- */

@media (max-width: 700px) {
  /* header wraps: logo on its own row, links below; not sticky so it
     scrolls away instead of eating viewport height */
  .site-header { position: static; }
  .nav {
    flex-wrap: wrap;
    height: auto;
    justify-content: center;
    padding: 12px 0 10px;
    row-gap: 10px;
  }
  .brand-logo { height: 34px; width: auto; }
  .nav-links { gap: 18px; }
  .nav-links a { font-size: 0.88rem; }
  .hero { padding: 56px 0 48px; }
  .section { padding: 56px 0; }
  .tl-item { grid-template-columns: 1fr; gap: 8px; }
}
