:root {
  --bg: #f6f7f9;
  --panel: #ffffff;
  --text: #0b1221;
  --muted: #4b5563;
  --border: #e5e7eb;
  --accent: #111827;
  --accent-2: #2563eb;
  --shadow: 0 18px 60px rgba(11, 18, 33, 0.12);
  --radius: 16px;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  -webkit-font-smoothing: antialiased;
}

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

.shell { width: min(1180px, 92vw); margin: 0 auto; }

.section { padding: 96px 0; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(246, 247, 249, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-header .shell {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 20px;
  padding: 14px 0;
}

.brand {
  font-family: 'Segoe UI', system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 22px;
}

.nav ul {
  display: flex;
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
  align-items: center;
}

.nav a {
  color: var(--muted);
  padding: 10px 12px;
  border-radius: 12px;
  font-weight: 600;
  transition: color 0.2s, background 0.2s;
}

.nav a.active, .nav a:hover { color: var(--text); background: rgba(17, 24, 39, 0.06); }

.nav-toggle { display: none; }

.pill {
  padding: 11px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  color: var(--text);
  font-weight: 700;
  background: #fff;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s;
}

.pill.primary { background: var(--accent); color: #fff; border: none; box-shadow: 0 10px 30px rgba(17, 24, 39, 0.25); }

.pill.ghost { background: #fff; }

.pill:hover { transform: translateY(-2px); }

.hero { padding-top: 110px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: start;
}

.hero h1 { font-size: clamp(34px, 5vw, 54px); margin: 8px 0 12px; letter-spacing: -0.02em; }

.lede { color: var(--muted); font-size: 18px; line-height: 1.7; }

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.22em;
  font-size: 12px;
  color: var(--accent);
  font-weight: 700;
}

.cta-row { display: flex; gap: 12px; margin: 20px 0 10px; flex-wrap: wrap; }

.hero-tags { display: flex; flex-wrap: wrap; gap: 8px; }

.tag {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-weight: 600;
}

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-lanes {
  display: grid;
  gap: 12px;
  padding: 16px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  align-self: stretch;
}

.lane-mini {
  position: relative;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.lane-mini-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.lane-mini img {
  width: 100%;
  height: 160px;
  object-fit: cover;
}

.lane-label {
  position: absolute;
  left: 12px;
  bottom: 12px;
  padding: 8px 12px;
  border-radius: 10px;
  background: rgba(11, 18, 33, 0.85);
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.hero-overlay { display: none; }

.offer { padding-top: 70px; }

.offer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 18px;
}

.lane { display: grid; gap: 14px; padding: 20px; }

.lane-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; }

.link { font-weight: 700; color: var(--accent); }

.list { padding-left: 18px; margin: 0; color: var(--muted); line-height: 1.6; }

.lane-img { width: 100%; border-radius: 12px; height: 220px; object-fit: cover; }

.section-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }

.section h2 { margin: 8px 0 6px; font-size: clamp(28px, 4vw, 40px); }

.narrow { max-width: 520px; }

.work-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
}

.case img { width: 100%; height: 180px; object-fit: cover; }

.case-body { padding: 16px; display: grid; gap: 8px; }

.muted { color: var(--muted); margin: 0; }

.tiny { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin: 0; }

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

.chip {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 10px;
  background: #f3f4f6;
  color: var(--text);
  font-weight: 600;
  border: 1px solid var(--border);
}

.service-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}

.tile { padding: 20px; display: grid; gap: 10px; }

.cta { padding: 70px 0; }

.cta-box { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 24px; }

.contact-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 20px; }

.contact .card { padding: 20px; display: grid; gap: 12px; }

label { display: grid; gap: 8px; color: var(--muted); font-weight: 600; }

input, select, textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text);
  font-family: inherit;
}

input:focus, select:focus, textarea:focus { outline: 2px solid rgba(37, 99, 235, 0.25); }

.form-status { color: var(--muted); margin: 0; }

.contact-meta { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 8px; margin-top: 12px; color: var(--muted); }

.footer { padding: 48px 0 32px; border-top: 1px solid var(--border); background: #fff; }

.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; align-items: center; }

.footer-links { display: flex; gap: 12px; flex-wrap: wrap; color: var(--muted); }

.footer-meta { display: grid; gap: 4px; color: var(--muted); }

@media (max-width: 820px) {
  .site-header .shell { grid-template-columns: auto auto; }
  .site-header .pill { display: none; }
  .nav { justify-self: end; position: relative; }
  .nav ul {
    position: absolute;
    right: 0;
    top: 54px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 10px;
    flex-direction: column;
    gap: 8px;
    display: none;
    box-shadow: var(--shadow);
  }
  .nav.open ul { display: flex; }
  .nav-toggle {
    display: inline-flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
  }
  .nav-toggle span { width: 20px; height: 2px; background: var(--text); }
}

.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.5s ease, transform 0.5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (min-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
  }
  .hero-lanes {
    align-self: stretch;
  }
}

@media (max-width: 700px) {
  .hero-lanes { grid-template-columns: 1fr; }
  .lane-mini img { width: 100%; height: 150px; }
}
