:root {
  --ink: #071314;
  --graphite: #0b1c20;
  --graphite-2: #10282e;
  --muted: #5f7273;
  --line: rgba(16, 48, 52, 0.14);
  --line-dark: rgba(199, 255, 245, 0.18);
  --paper: #f7faf9;
  --white: #ffffff;
  --teal: #45d8c4;
  --teal-2: #1d9f92;
  --emerald: #72d99f;
  --blue: #78a9ff;
  --copper: #d99758;
  --shadow: 0 20px 60px rgba(3, 28, 31, 0.12);
  --shadow-dark: 0 24px 80px rgba(0, 0, 0, 0.3);
  --radius: 8px;
  --max: 1280px;
}

@font-face {
  font-family: "Great Vibes";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("assets/great-vibes.ttf") format("truetype");
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, "SF Pro Display", "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body.nav-open {
  overflow: hidden;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 48px), var(--max));
  margin: 18px auto 0;
  padding: 12px 16px;
  color: var(--white);
  background: rgba(7, 19, 20, 0.55);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  backdrop-filter: blur(18px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.18);
  transition: background 180ms ease, transform 180ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 19, 20, 0.86);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  letter-spacing: 0;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  border-radius: 7px;
  box-shadow: 0 10px 24px rgba(69, 216, 196, 0.26);
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 28px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 14px;
  font-weight: 600;
}

.nav-links a {
  transition: color 160ms ease;
}

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

.header-contact {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  color: var(--white);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
}

.header-contact svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: var(--teal);
  stroke-width: 1.8;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  background: transparent;
  color: var(--white);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.section-dark {
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(69, 216, 196, 0.12), transparent 32%),
    radial-gradient(circle at 85% 0%, rgba(114, 217, 159, 0.18), transparent 30%),
    var(--graphite);
}

.section-light {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95), rgba(247, 250, 249, 0.95)),
    var(--paper);
}

.hero {
  min-height: 660px;
  padding: 126px 24px 50px;
  overflow: hidden;
}

.hero-grid,
.section-layout,
.section-heading,
.timeline,
.why-grid,
.services-grid,
.site-footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  align-items: center;
  gap: 42px;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 650px;
}

.hero h1 {
  margin: 0;
  font-family: "Great Vibes", cursive;
  font-weight: 400;
  font-size: clamp(72px, 9vw, 144px);
  line-height: 0.92;
  letter-spacing: 0;
}

.hero-lead {
  margin: 26px 0 18px;
  color: var(--teal);
  font-size: clamp(28px, 3vw, 48px);
  line-height: 1.08;
  font-weight: 700;
}

.hero-text {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 255, 255, 0.75);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-height: 54px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  font-weight: 700;
  line-height: 1;
  transition: transform 160ms ease, box-shadow 160ms ease, border-color 160ms ease;
}

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

.button-primary {
  color: var(--ink);
  background: linear-gradient(135deg, var(--teal), var(--emerald));
  box-shadow: 0 16px 44px rgba(69, 216, 196, 0.22);
}

.button-secondary {
  color: var(--white);
  border-color: var(--line-dark);
  background: rgba(255, 255, 255, 0.03);
}

.hero-visual {
  position: relative;
  margin: 0;
  border-radius: var(--radius);
  overflow: hidden;
}

.hero-visual img {
  width: 100%;
  min-height: 470px;
  object-fit: cover;
  object-position: right center;
  border-radius: var(--radius);
  mask-image: linear-gradient(90deg, transparent 0%, black 8%, black 100%);
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: linear-gradient(90deg, var(--graphite), transparent 22%);
  pointer-events: none;
}

section:not(.hero) {
  padding: 82px 24px;
}

.two-column,
.approach-layout,
.team-layout,
.partners-layout,
.contact-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 64px;
  align-items: start;
}

.section-label {
  margin: 0 0 14px;
  color: var(--teal-2);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.section-dark .section-label {
  color: var(--teal);
}

h2 {
  max-width: 760px;
  margin: 0 0 20px;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.02;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 1.22;
  letter-spacing: 0;
}

p {
  color: var(--muted);
}

.section-dark p {
  color: rgba(255, 255, 255, 0.72);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 36px;
}

.metrics div {
  padding-right: 18px;
  border-right: 1px solid var(--line);
}

.metrics div:last-child {
  border-right: 0;
}

.metrics strong {
  display: block;
  color: var(--ink);
  font-size: 42px;
  line-height: 1;
}

.metrics span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.value-card,
.services-grid article {
  background: rgba(255, 255, 255, 0.9);
  border-radius: 7px;
}

.value-card {
  min-height: 178px;
  padding: 28px;
}

.icon,
.service-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 22px;
  color: var(--teal-2);
  background: rgba(69, 216, 196, 0.1);
  border: 1px solid rgba(29, 159, 146, 0.18);
  border-radius: var(--radius);
  font-weight: 800;
}

.approach {
  position: relative;
  overflow: hidden;
}

.approach::after,
.why::after,
.contacts::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 52px 52px;
  mask-image: linear-gradient(90deg, transparent, black 30%, transparent);
  pointer-events: none;
}

.approach-layout,
.why .section-heading,
.why-grid,
.contact-layout {
  position: relative;
  z-index: 1;
}

.approach-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line-dark);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
  box-shadow: var(--shadow-dark);
}

.approach-steps article {
  min-height: 230px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.045);
  border-radius: 7px;
}

.approach-steps span,
.timeline span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 26px;
  border-radius: 50%;
  color: var(--teal);
  border: 1px solid rgba(69, 216, 196, 0.44);
  font-weight: 800;
  font-size: 13px;
}

.section-heading {
  text-align: center;
}

.section-heading.align-left {
  text-align: left;
}

.timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 16px;
  margin-top: 46px;
}

.timeline article {
  position: relative;
}

.timeline article:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 21px;
  left: 54px;
  right: -10px;
  height: 1px;
  background: var(--line);
}

.timeline p {
  margin-bottom: 0;
  font-size: 14px;
}

.team {
  padding-top: 28px;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.team-grid article {
  min-height: 220px;
  padding: 22px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 32px rgba(7, 19, 20, 0.06);
}

.team-grid span {
  display: grid;
  place-items: center;
  width: 100%;
  height: 104px;
  margin-bottom: 22px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(69, 216, 196, 0.88), rgba(16, 40, 46, 0.95)),
    var(--graphite-2);
  border-radius: var(--radius);
  font-weight: 800;
  font-size: 22px;
}

.why {
  position: relative;
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.why-grid article {
  min-height: 178px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid var(--line-dark);
  border-radius: var(--radius);
}

.why-grid span {
  display: block;
  margin-bottom: 24px;
  color: var(--teal);
  font-size: 30px;
}

.partners-layout {
  grid-template-columns: 0.44fr 1.56fr;
  align-items: center;
}

.partner-strip {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 14px;
}

.partner-strip span {
  display: grid;
  place-items: center;
  min-height: 82px;
  padding: 12px;
  color: var(--graphite);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 28px rgba(7, 19, 20, 0.06);
  font-weight: 800;
  text-align: center;
}

.services {
  padding-top: 42px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 16px;
  margin-top: 36px;
}

.services-grid article {
  min-height: 370px;
  padding: 24px;
  border: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(7, 19, 20, 0.06);
}

.services-grid ul {
  min-height: 150px;
  margin: 20px 0;
  padding-left: 18px;
  color: var(--muted);
}

.services-grid li {
  margin-bottom: 8px;
}

.services-grid a {
  color: var(--teal-2);
  font-weight: 800;
}

.contacts {
  position: relative;
}

.contact-layout {
  grid-template-columns: minmax(0, 760px);
  align-items: center;
  justify-content: start;
}

.contact-list {
  display: grid;
  gap: 16px;
  margin-top: 30px;
  color: rgba(255, 255, 255, 0.82);
  font-style: normal;
}

.contact-list a {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  min-height: 54px;
  padding: 0 18px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line-dark);
  border-left: 3px solid var(--teal);
  border-radius: var(--radius);
  font-weight: 800;
  transition: border-color 160ms ease, transform 160ms ease;
}

.contact-list a:hover {
  border-color: var(--teal);
  transform: translateY(-2px);
}

.footer-shell {
  padding: 0 24px;
  border-top: 1px solid var(--line-dark);
}

.site-footer {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  padding: 28px 0;
  font-size: 14px;
}

.site-footer span,
.site-footer a:not(.brand) {
  color: rgba(255, 255, 255, 0.62);
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .nav-links {
    display: none;
  }

  .menu-toggle {
    display: block;
  }

  .nav-open .nav-links {
    position: fixed;
    top: 86px;
    left: 24px;
    right: 24px;
    display: grid;
    gap: 0;
    padding: 16px;
    background: rgba(7, 19, 20, 0.96);
    border: 1px solid var(--line-dark);
    border-radius: var(--radius);
  }

  .nav-open .nav-links a {
    padding: 16px;
    border-bottom: 1px solid var(--line-dark);
  }

  .nav-open .nav-links a:last-child {
    border-bottom: 0;
  }

  .hero-grid,
  .two-column,
  .approach-layout,
  .team-layout,
  .partners-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    gap: 22px;
  }

  .hero-visual {
    margin: 0;
  }

  .hero-visual img {
    min-height: 300px;
    mask-image: none;
  }

  .approach-steps,
  .team-grid,
  .why-grid,
  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .timeline article::after {
    display: none;
  }

  .partner-strip {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .site-header {
    width: calc(100% - 28px);
    gap: 12px;
    margin-top: 12px;
  }

  .header-contact {
    display: none;
  }

  .hero,
  section:not(.hero) {
    padding-left: 14px;
    padding-right: 14px;
  }

  section:not(.hero) {
    padding-top: 54px;
    padding-bottom: 54px;
  }

  .hero {
    min-height: auto;
    padding-top: 112px;
    position: relative;
  }

  .hero-grid,
  .section-layout,
  .section-heading,
  .timeline,
  .why-grid,
  .services-grid,
  .site-footer {
    width: 100%;
  }

  .hero h1 {
    font-size: clamp(58px, 17vw, 82px);
  }

  .hero-lead {
    font-size: 29px;
  }

  .hero-text {
    font-size: 16px;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
  }

  .hero-visual {
    position: absolute;
    z-index: 1;
    inset: 96px 0 auto 0;
    height: 460px;
    opacity: 0.3;
    overflow: hidden;
  }

  .hero-visual img {
    min-height: 100%;
    height: 100%;
    border-radius: 0;
    object-position: 58% center;
  }

  .hero-visual::after {
    background: linear-gradient(180deg, rgba(7, 19, 20, 0.08), var(--graphite));
  }

  .metrics,
  .value-grid,
  .approach-steps,
  .team-grid,
  .why-grid,
  .partner-strip,
  .services-grid {
    grid-template-columns: 1fr;
  }

  .metrics div {
    border-right: 0;
    border-bottom: 1px solid var(--line);
    padding-bottom: 16px;
  }

  .metrics div:last-child {
    border-bottom: 0;
  }

  .timeline {
    grid-template-columns: 1fr;
  }

  .site-footer {
    grid-template-columns: 1fr;
    width: 100%;
  }

}
