/* =========================================================================
   TekComp — shared stylesheet
   Style cues carried over from the existing site: white ground, Roboto in
   light weights, thin grey headings, corporate blue accent (#184890).
   ========================================================================= */

:root {
  --blue:        #184890;
  --blue-dark:   #0f3266;
  --blue-bright: #2f6fc4;
  --blue-tint:   #eef3fa;

  --ink:    #3f3f3f;
  --body:   #5c5c5c;
  --head:   #5a6472;
  --muted:  #8a919c;

  --line:   #e4e8ee;
  --bg:     #ffffff;
  --bg-alt: #f5f7fa;
  --bg-dark:#12233d;

  --maxw: 1140px;
  --radius: 6px;
  --shadow: 0 2px 10px rgba(18, 35, 61, .06);
  --shadow-lg: 0 12px 40px rgba(18, 35, 61, .12);

  --sans: "Roboto", -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
}

/* ---------- reset-ish ---------- */
* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.7;
  color: var(--body);
  background: var(--bg);
}
img { max-width: 100%; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

h1, h2, h3, h4 {
  font-family: var(--sans);
  color: var(--head);
  font-weight: 300;
  line-height: 1.25;
  margin: 0 0 .5em;
}
h1 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 200; }
h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); }
h3 { font-size: 1.25rem; font-weight: 400; color: var(--ink); }
p  { margin: 0 0 1.1em; }
strong { font-weight: 500; color: var(--ink); }

/* ---------- layout helpers ---------- */
.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 84px 0; }
.section--alt { background: var(--bg-alt); }
.section--dark { background: var(--bg-dark); color: #c9d3e0; }
.section--dark h1, .section--dark h2, .section--dark h3 { color: #fff; }
.section--tight { padding: 56px 0; }
.center { text-align: center; }
.lead { font-size: 1.2rem; color: var(--ink); font-weight: 300; }
.eyebrow {
  display: inline-block;
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 14px;
}
.section--dark .eyebrow { color: #6fa8e6; }
.measure { max-width: 720px; }
.measure-center { max-width: 720px; margin-left: auto; margin-right: auto; }

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  padding: 13px 28px;
  border-radius: var(--radius);
  font-size: .95rem;
  font-weight: 500;
  letter-spacing: .02em;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-1px); }
.btn-ghost { border-color: rgba(255,255,255,.4); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); color: #fff; }
.btn-outline { border-color: var(--blue); color: var(--blue); background: #fff; }
.btn-outline:hover { background: var(--blue-tint); color: var(--blue-dark); }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }
.btn-row--center { justify-content: center; }

/* ---------- header / nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 76px;
}
.brand { display: flex; align-items: center; }
.brand__logo { display: block; height: 44px; width: auto; }
.brand__mark { width: 40px; height: 40px; flex: 0 0 40px; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-size: 1.32rem; font-weight: 500; color: var(--blue); letter-spacing: .04em; }
.brand__tag  { font-size: .68rem; font-weight: 400; letter-spacing: .18em; text-transform: uppercase; color: var(--muted); }

@media (max-width: 480px) { .brand__logo { height: 36px; } }

.nav__menu { display: flex; align-items: center; gap: 10px; }
.nav__links { display: flex; align-items: center; gap: 6px; list-style: none; margin: 0; padding: 0; }
.nav__links a {
  display: block;
  padding: 10px 14px;
  font-size: .95rem;
  font-weight: 400;
  color: #5b5b5b;
  border-radius: 4px;
}
.nav__links a:hover { color: var(--blue); background: var(--blue-tint); }
.nav__links a.is-active { color: var(--blue); font-weight: 500; }
.nav__cta { margin-left: 8px; }

.nav__toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--line); border-radius: 6px;
  background: #fff; cursor: pointer;
  padding: 0;
}
.nav__toggle span, .nav__toggle span::before, .nav__toggle span::after {
  content: ""; display: block; width: 20px; height: 2px; background: var(--ink);
  margin: 0 auto; position: relative; transition: transform .2s ease, opacity .2s ease;
}
.nav__toggle span::before { position: absolute; top: -6px; }
.nav__toggle span::after  { position: absolute; top: 6px; }
.nav.is-open .nav__toggle span { background: transparent; }
.nav.is-open .nav__toggle span::before { transform: translateY(6px) rotate(45deg); }
.nav.is-open .nav__toggle span::after  { transform: translateY(-6px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 500px at 80% -10%, rgba(47,111,196,.16), transparent 60%),
    linear-gradient(180deg, #f7f9fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.hero__grid {
  display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center;
  padding: 96px 0;
}
.hero h1 { margin-bottom: .35em; }
.hero .lead { margin-bottom: 1.6em; }
.hero__art {
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue) 0%, #123b78 55%, #0d2b57 100%);
  box-shadow: var(--shadow-lg);
  position: relative; overflow: hidden;
}
.hero__art svg { position: absolute; inset: 0; width: 100%; height: 100%; }

.hero--sub { background: var(--bg-alt); border-bottom: 1px solid var(--line); }
.hero--sub .hero__inner { padding: 70px 0 60px; max-width: 760px; }
.hero--sub h1 { margin-bottom: .3em; }

/* ---------- breadcrumb ---------- */
.crumb { font-size: .85rem; color: var(--muted); margin-bottom: 14px; }
.crumb a { color: var(--muted); }
.crumb a:hover { color: var(--blue); }

/* ---------- generic grids ---------- */
.grid { display: grid; gap: 28px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* ---------- cards ---------- */
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: box-shadow .18s ease, transform .18s ease, border-color .18s ease;
}
.card:hover { box-shadow: var(--shadow); transform: translateY(-3px); border-color: #d3dbe6; }
.card__icon {
  width: 46px; height: 46px; margin-bottom: 18px;
  color: var(--blue);
}
.card__icon svg { width: 100%; height: 100%; }
.card h3 { margin-bottom: .4em; }
.card p:last-child { margin-bottom: 0; }
.card__link { display: inline-block; margin-top: 14px; font-size: .9rem; font-weight: 500; }
.card__link::after { content: " \2192"; }

/* division cards on the home page */
.division {
  display: flex; flex-direction: column;
  border-top: 3px solid var(--blue);
}

/* ---------- feature rows (alternating) ---------- */
.feature {
  display: grid; grid-template-columns: 1fr 1fr; gap: 52px; align-items: center;
}
.feature + .feature { margin-top: 72px; }
.feature:nth-child(even) .feature__media { order: 2; }
.feature__media {
  aspect-ratio: 3 / 2; border-radius: 8px; overflow: hidden;
  background: linear-gradient(135deg, #e9eef6, #dbe4f1);
  border: 1px solid var(--line);
  display: flex; align-items: center; justify-content: center;
}
.feature__media svg { width: 40%; height: 40%; color: var(--blue); opacity: .55; }
.feature h3 { color: var(--head); font-weight: 300; font-size: 1.5rem; }

/* ---------- list with ticks ---------- */
.ticklist { list-style: none; margin: 0; padding: 0; }
.ticklist li {
  position: relative; padding: 8px 0 8px 30px; border-bottom: 1px solid var(--line);
}
.ticklist li::before {
  content: ""; position: absolute; left: 0; top: 15px;
  width: 16px; height: 9px; border-left: 2px solid var(--blue); border-bottom: 2px solid var(--blue);
  transform: rotate(-45deg);
}
.ticklist--plain li { border-bottom: none; padding-top: 5px; padding-bottom: 5px; }

/* two-column capability list */
.caps { columns: 2; column-gap: 48px; }
.caps .ticklist li { break-inside: avoid; }
@media (max-width: 640px) { .caps { columns: 1; } }

/* ---------- stats ---------- */
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat__num { font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 200; color: #fff; line-height: 1.05; }
.stat__label { font-size: .9rem; color: #9fb0c6; margin-top: 8px; }

/* ---------- process steps ---------- */
.steps { counter-reset: step; display: grid; gap: 22px; }
.step { position: relative; padding-left: 64px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; left: 0; top: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--blue-tint); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-weight: 500; font-size: 1.05rem;
}
.step h3 { margin-bottom: .2em; }
.step p { margin-bottom: 0; }

/* ---------- CTA band ---------- */
.cta-band { background: var(--blue); color: #fff; }
.cta-band h2 { color: #fff; }
.cta-band .container { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.cta-band p { margin: 0; color: rgba(255,255,255,.85); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.info-block { margin-bottom: 26px; }
.info-block h3 { font-size: 1rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); font-weight: 500; margin-bottom: .4em; }
.info-block p { margin: 0; }
.map-embed {
  width: 100%; aspect-ratio: 4 / 3; border: 1px solid var(--line); border-radius: 8px; margin-top: 10px;
}

form .field { margin-bottom: 18px; }
form label { display: block; font-size: .9rem; font-weight: 500; color: var(--ink); margin-bottom: 6px; }
form input, form textarea {
  width: 100%; padding: 12px 14px; font: inherit; font-size: .95rem;
  border: 1px solid #cfd6e0; border-radius: 6px; background: #fff; color: var(--ink);
}
form input:focus, form textarea:focus { outline: 2px solid var(--blue-bright); outline-offset: 0; border-color: var(--blue-bright); }
form textarea { min-height: 140px; resize: vertical; }
.form-note { font-size: .82rem; color: var(--muted); }

/* ---------- footer ---------- */
.site-footer { background: var(--bg-dark); color: #9fb0c6; padding: 64px 0 28px; font-size: .92rem; }
.site-footer a { color: #c9d3e0; }
.site-footer a:hover { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.4fr; gap: 36px; }
.site-footer h4 { color: #fff; font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 500; margin-bottom: 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin-bottom: 8px; }
.footer-brand__name { font-size: 1.2rem; color: #fff; font-weight: 500; letter-spacing: .04em; }
.footer-bottom {
  margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; font-size: .84rem; color: #7f8ea3;
}

/* ---------- misc ---------- */
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.pill {
  display: inline-block; padding: 5px 12px; border-radius: 999px;
  background: var(--blue-tint); color: var(--blue); font-size: .8rem; font-weight: 500;
  margin: 0 6px 6px 0;
}

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .hero__grid { grid-template-columns: 1fr; gap: 40px; padding: 64px 0; }
  .hero__art { max-width: 460px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .feature { grid-template-columns: 1fr; gap: 26px; }
  .feature:nth-child(even) .feature__media { order: 0; }
  .contact-grid { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats { grid-template-columns: repeat(2, 1fr); gap: 32px 16px; }
}

@media (max-width: 720px) {
  body { font-size: 17px; }
  .section { padding: 60px 0; }
  .nav__toggle { display: block; }
  .nav__menu {
    position: absolute; left: 0; right: 0; top: 76px;
    background: #fff; border-bottom: 1px solid var(--line);
    padding: 12px 24px 20px;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav.is-open .nav__menu { display: block; }
  .nav__links { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav__links a { padding: 12px 10px; border-radius: 6px; }
  .nav__cta { margin: 10px 0 0; }
  .nav__cta .btn { display: block; text-align: center; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 480px) {
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .cta-band .container { gap: 18px; }
}
