:root {
  --blue: #1870b8;
  --blue-dark: #125a96;
  --ink: #1d1d1f;
  --muted: #6e6e73;
  --line: #d2d2d7;
  --silver: #f5f5f7;
  --paper: #fbfbfd;
  --white: #ffffff;
  --shadow: 0 8px 28px rgba(0, 0, 0, 0.06);
  --radius: 16px;
  --max: 1080px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans", system-ui, sans-serif;
  color: var(--ink);
  background: var(--silver);
  line-height: 1.6;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.wrap {
  width: min(var(--max), calc(100% - 2.5rem));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(251, 251, 253, 0.78);
  backdrop-filter: saturate(180%) blur(20px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.header-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 72px;
}

.brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.brand img {
  height: 48px;
  width: auto;
}

.nav {
  display: flex;
  gap: 1.5rem;
}

.nav a {
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.nav a:hover {
  color: var(--blue);
}

.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0.4rem 0.65rem;
  font: inherit;
  font-weight: 600;
  color: var(--ink);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: min(72vh, 720px);
  padding: 4.2rem 0 3.2rem;
  overflow: hidden;
  background:
    linear-gradient(180deg, transparent 0%, transparent 36%, rgba(245, 245, 247, 0.88) 62%, var(--silver) 78%),
    url("../assets/hero.jpg") center 38% / cover no-repeat;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
  gap: 1.15rem;
  max-width: 720px;
  margin-inline: auto;
}

h1,
h2 {
  margin: 0;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: -0.015em;
  color: var(--ink);
}

h1 {
  font-size: clamp(2.8rem, 7.2vw, 4.8rem);
  line-height: 1.05;
}

h2 {
  font-size: clamp(1.85rem, 3.4vw, 2.55rem);
  line-height: 1.15;
}

.lede {
  max-width: 36rem;
  color: #111111;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  color: var(--white);
  text-decoration: none;
  border: 0;
  border-radius: 10px;
  padding: 0.8rem 1.4rem;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.btn:hover {
  background: var(--blue-dark);
}

.btn-wide {
  width: 100%;
}

section {
  padding: 4.5rem 0;
  scroll-margin-top: 84px;
}

.section-head {
  margin-bottom: 2rem;
}

.eyebrow {
  margin: 0 0 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-size: 0.72rem;
  font-weight: 700;
  color: #3a3a3c;
}

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.1rem;
}

.card {
  display: grid;
  justify-items: center;
  text-align: center;
  background: var(--white);
  color: var(--ink);
  border: 0;
  border-radius: var(--radius);
  padding: 2rem 1.4rem 1.6rem;
  box-shadow: var(--shadow);
}

.card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 112px;
  height: 112px;
  margin-bottom: 1.25rem;
  color: var(--blue);
  background: rgba(24, 112, 184, 0.1);
  border-radius: 28px;
}

.card-icon svg {
  width: 58px;
  height: 58px;
}

.card h3 {
  margin: 0 0 0.5rem;
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
}

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

.alt {
  background: var(--paper);
}

.logo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.logo-card {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  text-decoration: none;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  padding: 1.15rem 1.15rem 1.25rem;
  box-shadow: var(--shadow);
}

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

.logo-frame {
  height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 0.4rem;
}

.logo-frame img {
  display: block;
  width: auto;
  height: 36px;
  max-width: 86%;
  object-fit: contain;
  object-position: center;
}

.logo-frame img.fit-icon {
  height: 52px;
  max-width: 58px;
}

.logo-frame img.fit-wide {
  height: 30px;
  max-width: 90%;
}

.invest-card {
  padding: 0;
  overflow: hidden;
  min-height: 220px;
}

.invest-card .logo-frame {
  height: 140px;
  margin: 0;
  padding: 1.4rem 1.2rem 0.8rem;
  background: linear-gradient(180deg, #f4f4f6 0%, #ffffff 100%);
}

.invest-card .logo-frame img {
  height: 58px;
  max-width: 82%;
}

.invest-card .logo-frame img.fit-icon {
  height: 96px;
  max-width: 68%;
}

.invest-card .logo-frame img.fit-wide {
  height: 46px;
  max-width: 78%;
}

.invest-card strong,
.invest-card span {
  padding-inline: 1.2rem;
}

.invest-card strong {
  font-family: "Bricolage Grotesque", system-ui, sans-serif;
  font-weight: 600;
}

.invest-card span {
  padding-bottom: 1.2rem;
}

.client-card {
  align-items: center;
  text-align: center;
  min-height: 168px;
  gap: 0.25rem;
}

.client-card .logo-frame {
  width: 100%;
  height: 96px;
}

.meta-city {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--ink);
}

.meta-industry {
  color: var(--muted);
  font-size: 0.88rem;
}

.logo-card strong {
  font-size: 0.98rem;
}

.logo-card span {
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2rem;
  align-items: start;
}

.contact-copy p {
  color: var(--muted);
}

.contact-copy a {
  color: var(--blue);
  font-weight: 600;
}

form {
  display: grid;
  gap: 0.9rem;
  color: var(--ink);
  background: var(--white);
  border: 0;
  border-radius: var(--radius);
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 0.35rem;
  font-weight: 600;
  font-size: 0.92rem;
}

input,
textarea {
  font: inherit;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 0.7rem 0.8rem;
  background: var(--white);
  color: var(--ink);
}

input:focus,
textarea:focus {
  outline: 2px solid rgba(24, 112, 184, 0.35);
  border-color: var(--blue);
}

.hp {
  position: absolute;
  left: -9999px;
}

.status {
  min-height: 1.4rem;
  margin: 0;
  font-weight: 600;
}

.status.ok {
  color: #1b7a46;
}

.status.err {
  color: #b42318;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.6rem 0 2rem;
  background: var(--paper);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  color: var(--muted);
  font-size: 0.92rem;
}

.footer-brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.footer-brand img {
  height: 44px;
  width: auto;
}

@media (max-width: 860px) {
  .cards,
  .logo-grid,
  .contact-layout {
    grid-template-columns: 1fr 1fr;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    display: none;
    position: absolute;
    inset: 72px 1.25rem auto;
    flex-direction: column;
    gap: 0.2rem;
    background: var(--white);
    border: 0;
    border-radius: 12px;
    padding: 0.8rem;
    box-shadow: var(--shadow);
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    padding: 0.55rem 0.4rem;
    color: var(--ink);
  }

  .nav a:hover {
    color: var(--blue);
  }
}

@media (max-width: 560px) {
  .cards,
  .logo-grid,
  .contact-layout,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    display: grid;
  }

  .hero {
    min-height: 52vh;
    padding: 3.4rem 0 2.8rem;
  }

  h1 {
    font-size: clamp(2.6rem, 14vw, 3.4rem);
  }

  .brand img {
    height: 42px;
  }

  .card-icon {
    width: 96px;
    height: 96px;
  }

  .card-icon svg {
    width: 50px;
    height: 50px;
  }
}
