:root {
  --ink: #24272b;
  --muted: #666b72;
  --paper: #ffffff;
  --soft: #f6f7f8;
  --line: #e6e8ea;
  --red: #f1634d;
  --blue: #1d82df;
  --green: #18c995;
  --dark: #171a1f;
  --max: 1160px;
  --shadow-sm: 0 8px 28px rgba(21,27,35,.07);
  --shadow-md: 0 18px 48px rgba(21,27,35,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  line-height: 1.58;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, textarea { font: inherit; }
.container { width: min(var(--max), calc(100% - 44px)); margin: 0 auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,.97);
  border-bottom: 1px solid rgba(230,232,234,.9);
  backdrop-filter: blur(12px);
}
.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  flex-direction: column;
  gap: 5px;
  text-decoration: none;
  font-size: .92rem;
  font-weight: 800;
  letter-spacing: .13em;
  color: #22252a;
}
.brand-bars { display: grid; grid-template-columns: repeat(3,1fr); width: 146px; height: 4px; }
.brand-bars i:nth-child(1), .hero-bars span:nth-child(1), .contact-bars span:nth-child(1) { background: var(--red); }
.brand-bars i:nth-child(2), .hero-bars span:nth-child(2), .contact-bars span:nth-child(2) { background: var(--blue); }
.brand-bars i:nth-child(3), .hero-bars span:nth-child(3), .contact-bars span:nth-child(3) { background: var(--green); }
.nav-links { display: flex; align-items: center; gap: 25px; }
.nav-links a {
  position: relative;
  text-decoration: none;
  font-size: .86rem;
  font-weight: 680;
  color: #4b5057;
  transition: color .18s ease;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -8px;
  height: 2px;
  background: #24272b;
  transition: right .18s ease;
}
.nav-links a:hover { color: #111; }
.nav-links a:hover::after { right: 0; }
.nav-toggle { display: none; border: 0; background: transparent; font-size: 1.5rem; cursor: pointer; }

.hero {
  min-height: 585px;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg,#fff 0%,#fff 76%,#fbfbfc 100%);
  border-bottom: 1px solid var(--line);
}
.hero-inner { text-align: center; padding: 86px 0 94px; }
.hero-intro {
  max-width: 820px;
  margin: 0 auto 58px;
  color: #575c63;
  font-size: clamp(1.08rem, 1.8vw, 1.32rem);
  line-height: 1.65;
  letter-spacing: -.008em;
}
.hero-brand {
  font-size: clamp(3.1rem, 8.2vw, 7.45rem);
  line-height: .9;
  font-weight: 850;
  letter-spacing: -.06em;
  color: #25282c;
}
.hero-bars {
  width: min(488px, 74vw);
  height: 14px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  margin: 23px auto 33px;
}
.hero h1 {
  margin: 0;
  font-size: clamp(2.15rem, 4.3vw, 4.35rem);
  font-weight: 320;
  letter-spacing: -.04em;
  color: #3c4045;
}

.section { padding: 96px 0; }
.section-head { margin-bottom: 48px; }
.centered { text-align: center; }
.narrow { max-width: 900px; margin-left: auto; margin-right: auto; }
h2 {
  margin: 0;
  font-size: clamp(2rem, 3.8vw, 3.55rem);
  line-height: 1.12;
  font-weight: 410;
  letter-spacing: -.038em;
}
.kicker {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: .17em;
  font-size: .76rem;
  font-weight: 800;
  color: #8b9198;
}

.services { background: #fff; }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  overflow: hidden;
  border: 1px solid var(--line);
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease;
}
.service-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.service-card img {
  width: 100%;
  aspect-ratio: 1.5/1;
  object-fit: cover;
  transition: transform .35s ease;
}
.service-card:hover img { transform: scale(1.018); }
.service-body { padding: 29px 27px 31px; }
.service-body h3 {
  margin: 0 0 14px;
  font-size: .99rem;
  line-height: 1.33;
  letter-spacing: .045em;
  color: #292c31;
}
.service-body p { margin: 0; color: var(--muted); font-size: .96rem; line-height: 1.66; }
.service-card:nth-child(1) { border-top: 5px solid var(--red); }
.service-card:nth-child(2) { border-top: 5px solid var(--blue); }
.service-card:nth-child(3) { border-top: 5px solid var(--green); }

.experience { background: var(--soft); border-top: 1px solid #f0f1f2; border-bottom: 1px solid #f0f1f2; }
.experience-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.experience-item {
  position: relative;
  background: #fff;
  padding: 37px 32px 36px;
  border: 1px solid var(--line);
  box-shadow: 0 5px 20px rgba(20,30,40,.035);
  transition: transform .2s ease, box-shadow .2s ease;
}
.experience-item:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.experience-item::before { content: ""; position: absolute; top: 0; left: 0; width: 100%; height: 5px; }
.experience-item.accent-red::before { background: var(--red); }
.experience-item.accent-blue::before { background: var(--blue); }
.experience-item.accent-green::before { background: var(--green); }
.experience-item h3 { margin: 2px 0 14px; font-size: 1rem; letter-spacing: .05em; }
.experience-item p { margin: 0; color: var(--muted); line-height: 1.68; }

.clients { background: #fff; }
.logo-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
  background: #fff;
}
.logo-card {
  min-height: 150px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .18s ease;
}
.logo-card:hover { background: #fafbfb; }
.logo-card img {
  max-width: 100%;
  max-height: 92px;
  object-fit: contain;
  filter: saturate(.96);
  transition: transform .2s ease, filter .2s ease;
}
.logo-card:hover img { transform: scale(1.035); filter: saturate(1); }

.featured {
  position: relative;
  overflow: hidden;
  background: #1d2025;
  color: #fff;
}
.featured::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(circle at 78% 18%, rgba(29,130,223,.11), transparent 34%);
}
.featured .container { position: relative; }
.featured .section-head h2 { color: #fff; }
.featured .kicker { color: #b4bbc2; }
.featured-grid { display: grid; grid-template-columns: .72fr 1.28fr; gap: 50px; align-items: center; }
.featured-copy p { margin: 0; color: #d4d8dd; font-size: 1.06rem; line-height: 1.78; }
.video-wrap {
  position: relative;
  padding-top: 56.25%;
  background: #000;
  box-shadow: 0 24px 58px rgba(0,0,0,.3);
  border: 1px solid rgba(255,255,255,.08);
}
.video-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }

.contact { background: #fff; }
.contact-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 68px; align-items: start; }
.contact-copy h2 { margin-bottom: 18px; }
.contact-copy p { max-width: 480px; color: var(--muted); font-size: 1.07rem; line-height: 1.68; }
.contact-bars { display: grid; grid-template-columns: repeat(3,1fr); width: 220px; height: 7px; margin-top: 30px; }
.contact-form { background: var(--soft); border: 1px solid var(--line); padding: 32px; box-shadow: 0 8px 28px rgba(21,27,35,.04); }
.field { margin-bottom: 18px; }
.field label { display: block; margin-bottom: 7px; color: #555b62; font-size: .85rem; font-weight: 700; }
.field input, .field textarea {
  width: 100%;
  background: #fff;
  color: #222;
  border: 1px solid #d5d8db;
  padding: 12px 13px;
  outline: none;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.field input:focus, .field textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(29,130,223,.10);
}
.field textarea { min-height: 158px; resize: vertical; }
.hp-field { position: absolute !important; left: -9999px !important; opacity: 0 !important; }
.send-button {
  border: 0;
  background: #25282d;
  color: #fff;
  padding: 13px 24px;
  font-weight: 700;
  cursor: pointer;
  transition: transform .16s ease, background .16s ease;
}
.send-button:hover { background: #0e1012; transform: translateY(-1px); }
.form-status { min-height: 22px; margin: 13px 0 0; }
.form-note { color: #858b92; font-size: .78rem; margin: 12px 0 0; }

.site-footer { background: #111418; color: #aeb4bb; padding: 29px 0; font-size: .84rem; }
.footer-wrap { display: flex; justify-content: space-between; gap: 20px; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}

@media (max-width: 920px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    padding: 21px 22px 24px;
  }
  .nav-links.open { display: flex; }
  .nav-links a::after { display: none; }
  .services-grid, .experience-grid { grid-template-columns: 1fr; }
  .logo-grid { grid-template-columns: repeat(3,1fr); }
  .featured-grid, .contact-grid { grid-template-columns: 1fr; }
  .featured-grid { gap: 34px; }
}

@media (max-width: 600px) {
  .container { width: min(var(--max), calc(100% - 28px)); }
  .nav-wrap { min-height: 70px; }
  .nav-links { top: 70px; }
  .hero { min-height: 500px; }
  .hero-inner { padding: 66px 0 74px; }
  .hero-intro { margin-bottom: 42px; font-size: 1.03rem; }
  .hero-bars { height: 10px; margin-top: 17px; margin-bottom: 27px; }
  .section { padding: 74px 0; }
  .section-head { margin-bottom: 38px; }
  .service-body { padding: 25px 22px 27px; }
  .experience-item { padding: 32px 25px 30px; }
  .logo-grid { grid-template-columns: repeat(2,1fr); }
  .logo-card { min-height: 122px; padding: 17px; }
  .contact-form { padding: 23px; }
  .footer-wrap { flex-direction: column; }
}
