@import url("https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap");

:root {
  --ink: #102033;
  --muted: #64748b;
  --line: #e5e7eb;
  --soft: #f6f8fb;
  --navy: #10263d;
  --navy-2: #163655;
  --teal: #0f766e;
  --gold: #d28a2e;
  --white: #ffffff;
  --shadow: 0 20px 45px rgba(16, 32, 51, 0.1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--white);
}

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

.wrap {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(255, 255, 255, 0.93);
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  font-size: 1.6rem;
  font-weight: 800;
  letter-spacing: 0;
  color: var(--navy);
}

.brand span {
  color: var(--teal);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 0.92rem;
  font-weight: 650;
  color: #294056;
}

.nav-links a:hover {
  background: #eef7f6;
  color: var(--navy);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 20px;
  border-radius: 999px;
  border: 0;
  background: var(--teal);
  color: var(--white);
  font-weight: 750;
  cursor: pointer;
}

.nav-cta:hover,
.button:hover {
  background: #0d625c;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  color: var(--navy);
  font-size: 1.35rem;
}

.hero {
  min-height: 92vh;
  display: grid;
  align-items: center;
  padding: 132px 0 70px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.92) 50%, rgba(255, 255, 255, 0.58) 76%, rgba(255, 255, 255, 0.24) 100%),
    url("assets/kubit-hero.png") center right / cover no-repeat;
}

.hero-copy {
  max-width: 700px;
}

.regions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.pill,
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid #cde8e5;
  border-radius: 999px;
  background: #eef9f8;
  color: #0f5f59;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  padding: 8px 12px;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  color: var(--navy);
  font-size: clamp(2.6rem, 7vw, 5.5rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h1 strong {
  color: var(--teal);
}

.lead {
  max-width: 680px;
  color: #475569;
  font-size: 1.08rem;
  line-height: 1.75;
}

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

.button.secondary {
  background: rgba(255, 255, 255, 0.74);
  border: 1px solid #cbd5e1;
  color: var(--navy);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  max-width: 780px;
  margin-top: 58px;
}

.stat {
  padding: 18px;
  border: 1px solid rgba(203, 213, 225, 0.9);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 12px 30px rgba(16, 32, 51, 0.08);
}

.stat b {
  display: block;
  color: var(--navy);
  font-size: 2rem;
}

.stat span {
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 650;
}

section {
  padding: 96px 0;
}

.section-head {
  max-width: 760px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-head h2,
.split h2 {
  margin: 14px 0 16px;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.25rem);
  line-height: 1.12;
}

.section-head p,
.split p {
  color: var(--muted);
  line-height: 1.75;
}

.soft {
  background: var(--soft);
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 26px;
  box-shadow: 0 1px 0 rgba(16, 32, 51, 0.02);
}

.card:hover {
  border-color: #b8d8d5;
  box-shadow: var(--shadow);
}

.icon {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 18px;
  border-radius: 8px;
  background: var(--navy);
  color: var(--white);
  font-weight: 800;
}

.card h3 {
  margin-bottom: 10px;
  color: var(--navy);
  font-size: 1.05rem;
}

.card p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.93rem;
}

.check-list {
  display: grid;
  gap: 9px;
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  color: #27445f;
  font-size: 0.9rem;
}

.check-list li::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 10px;
  border-radius: 999px;
  background: var(--teal);
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
}

.tag {
  border-radius: 999px;
  background: var(--navy);
  color: var(--white);
  padding: 7px 10px;
  font-size: 0.76rem;
  font-weight: 700;
}

.client-card {
  min-height: 174px;
}

.client-card small,
.case-country {
  color: var(--muted);
  font-weight: 650;
}

.client-card .type {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  color: #284762;
  font-size: 0.83rem;
  font-weight: 650;
}

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

.value-list {
  display: grid;
  gap: 16px;
}

.resource-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 26px;
}

.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 30px;
  box-shadow: var(--shadow);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

label {
  display: grid;
  gap: 7px;
  color: var(--navy);
  font-size: 0.9rem;
  font-weight: 750;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  padding: 11px 13px;
  font: inherit;
  color: var(--ink);
  background: var(--white);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

.hidden-field {
  display: none;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--teal);
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.error {
  color: #b42318;
}

button:disabled {
  cursor: wait;
  opacity: 0.72;
}

.full {
  grid-column: 1 / -1;
}

.contact-meta {
  display: grid;
  gap: 16px;
  margin-top: 34px;
}

.meta-item {
  display: flex;
  gap: 14px;
  align-items: center;
}

.site-footer {
  padding: 46px 0;
  background: var(--navy);
  color: var(--white);
}

.footer-row {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  align-items: center;
}

.site-footer p,
.site-footer a,
.site-footer small {
  color: rgba(255, 255, 255, 0.66);
}

.site-footer .brand {
  color: #ffffff;
}

.site-footer .brand span {
  color: #8adbd4;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  font-weight: 650;
}

.copyright {
  margin-top: 32px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

@media (max-width: 960px) {
  .menu-button {
    display: inline-grid;
    place-items: center;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 16px 20px 20px;
    background: var(--white);
    border-bottom: 1px solid var(--line);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 14px 16px;
  }

  .nav-cta {
    display: none;
  }

  .hero {
    min-height: auto;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.9)),
      url("assets/kubit-hero.png") center / cover no-repeat;
  }

  .stats,
  .services,
  .clients,
  .cases,
  .split {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 640px) {
  .wrap {
    width: min(100% - 28px, 1160px);
  }

  section {
    padding: 72px 0;
  }

  .hero {
    padding-top: 112px;
  }

  .stats,
  .services,
  .clients,
  .cases,
  .split,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .card,
  .contact-panel {
    padding: 22px;
  }

  .footer-row {
    align-items: flex-start;
    flex-direction: column;
  }
}
