:root {
  --blue: #006fc9;
  --blue-dark: #004d91;
  --black: #191919;
  --gray: #565656;
  --mid: #8a8f99;
  --light: #f4f4f4;
  --white: #ffffff;
  --nav: rgba(28, 28, 28, 0.72);
  --deep: #202b3d;
  --line: #e7e7e7;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--gray);
  background: var(--white);
  font-family: "Nunito Sans", Arial, sans-serif;
  font-size: 16px;
}

body.nav-open {
  overflow: hidden;
}

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

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

.site-header {
  position: fixed;
  z-index: 30;
  top: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  padding: 0 clamp(22px, 4vw, 62px);
  color: rgba(255, 255, 255, 0.74);
  background: var(--nav);
  transition: background 180ms ease, min-height 180ms ease, box-shadow 180ms ease;
}

.site-header.is-scrolled,
.site-header.nav-active {
  min-height: 62px;
  background: rgba(22, 22, 22, 0.88);
  box-shadow: 0 12px 42px rgba(0, 0, 0, 0.16);
}

.site-header.is-scrolled .site-nav a,
.site-header.nav-active .site-nav a {
  min-height: 62px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 260px;
}

.brand img {
  width: clamp(142px, 16vw, 220px);
  height: auto;
  object-fit: contain;
}

.brand small {
  align-self: flex-end;
  margin: 0 0 2px 2px;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(18px, 3vw, 44px);
  color: rgba(255, 255, 255, 0.68);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mobile-menu-logo {
  display: none;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 70px;
  transition: color 180ms ease;
}

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

.site-nav a.active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 100%;
  min-width: 56px;
  height: 4px;
  transform: translateX(-50%);
  background: var(--blue);
}

.nav-toggle {
  display: none;
  width: 76px;
  height: 70px;
  border: 0;
  color: var(--white);
  background: transparent;
}

.toggle-hex {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: auto;
  color: var(--white);
}

.toggle-hex::before {
  content: "";
  position: absolute;
  inset: 0;
  background: currentColor;
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
}

.toggle-hex::after {
  content: "";
  position: absolute;
  inset: 4px;
  background: #343434;
  clip-path: polygon(50% 0, 94% 24%, 94% 76%, 50% 100%, 6% 76%, 6% 24%);
}

.toggle-hex i {
  position: absolute;
  z-index: 1;
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  transition: transform 180ms ease;
}

.toggle-hex i:first-child {
  top: 22px;
  left: 19px;
}

.toggle-hex i:nth-child(2) {
  top: 29px;
  left: 19px;
}

.toggle-hex strong {
  position: absolute;
  top: 36px;
  left: 0;
  z-index: 1;
  width: 100%;
  color: currentColor;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.contact-rail {
  position: fixed;
  z-index: 25;
  right: 0;
  top: 36%;
  display: grid;
}

.contact-rail a {
  display: grid;
  place-items: center;
  width: 50px;
  height: 48px;
  color: var(--white);
  background: var(--blue);
  border-bottom: 1px solid rgba(255, 255, 255, 0.28);
  font-weight: 900;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  color: var(--black);
}

.hero-media,
.hero-media img,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(rgba(255, 255, 255, 0.32), rgba(255, 255, 255, 0.50)),
    radial-gradient(circle at center, rgba(255, 255, 255, 0.12), rgba(28, 28, 28, 0.34));
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(980px, calc(100% - 36px));
  padding-top: 90px;
}

.preclaim,
.kicker {
  margin: 0 0 20px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.36em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(4rem, 10vw, 8.8rem);
  font-weight: 900;
  line-height: 0.86;
  letter-spacing: -0.035em;
  text-transform: uppercase;
}

.hero h1 span {
  display: block;
}

.claim {
  max-width: 770px;
  margin: 28px auto 0;
  color: rgba(0, 0, 0, 0.72);
  font-family: Montserrat, Arial, sans-serif;
  font-size: clamp(1rem, 2vw, 1.45rem);
  font-weight: 800;
}

.hero-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 42px;
  margin-top: 56px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 190px;
  min-height: 50px;
  padding: 0 28px;
  border-radius: 999px;
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button.primary {
  color: var(--white);
  background: var(--blue);
  box-shadow: 0 18px 32px rgba(0, 111, 201, 0.28);
}

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

.button.ghost {
  color: var(--white);
  background: rgba(0, 111, 201, 0.88);
}

.discover {
  display: inline-block;
  margin-top: 36px;
  color: rgba(0, 0, 0, 0.5);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.64em;
  text-transform: uppercase;
}

.section {
  width: min(1160px, calc(100% - 36px));
  margin: 0 auto;
  padding: 110px 0;
}

.statement {
  text-align: center;
}

h2,
h3 {
  margin: 0;
  color: var(--black);
  font-family: Montserrat, Arial, sans-serif;
}

h2 {
  font-size: clamp(2.45rem, 5.3vw, 4.2rem);
  font-weight: 900;
  line-height: 1.02;
  letter-spacing: 0px;
}

h3 {
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.25;
}

p {
  line-height: 1.8;
}

.statement > p:not(.kicker),
.services > p:not(.kicker),
.advantages > p:not(.kicker),
.features-band p:not(.kicker) {
  max-width: 820px;
  margin: 28px auto 0;
  color: var(--gray);
  font-size: 1.08rem;
}

.three-cols {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 28px;
  margin-top: 62px;
  text-align: left;
}

.three-cols article,
.service-grid article {
  border-top: 4px solid var(--blue);
  padding: 28px 0 0;
}

.three-cols span,
.service-grid span {
  display: inline-block;
  margin-bottom: 22px;
  color: var(--blue);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.8rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.three-cols p,
.service-grid p,
.split p,
.capacity p,
.contact p {
  color: var(--gray);
  font-size: 1rem;
}

.split-section,
.features-band {
  background: var(--light);
}

.split,
.capacity-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(44px, 7vw, 94px);
  align-items: start;
}

.split-section .split,
.about .split {
  grid-template-columns: minmax(0, 0.88fr) minmax(420px, 1.12fr);
  align-items: center;
}

.split-section h2,
.about h2 {
  max-width: 680px;
  font-size: clamp(2.7rem, 4vw, 4.25rem);
  line-height: 1;
}

.split-section p,
.about p {
  max-width: 680px;
}

.line-list {
  display: grid;
  gap: 14px;
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.line-list li {
  padding: 0 0 14px;
  border-bottom: 1px solid #d8d8d8;
  color: var(--black);
  font-family: Montserrat, Arial, sans-serif;
  font-weight: 800;
}

.services {
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px;
  margin-top: 64px;
  text-align: left;
}

.capacity {
  color: var(--white);
  background: var(--deep);
}

.capacity .section {
  min-height: min(760px, 88vh);
  display: grid;
  align-items: center;
}

.capacity-layout {
  align-items: center;
}

.capacity h2,
.capacity .kicker {
  color: var(--white);
}

.capacity p {
  color: rgba(255, 255, 255, 0.75);
}

.capacity-board {
  display: grid;
  gap: 18px;
  padding: 36px;
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.capacity-board div {
  display: grid;
  gap: 12px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.capacity-board div:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.capacity-board strong {
  color: var(--white);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 1rem;
  text-transform: uppercase;
}

.capacity-board span {
  height: 7px;
  background: linear-gradient(90deg, var(--blue) 0 82%, rgba(255, 255, 255, 0.18) 82%);
}

.capacity-board div:nth-child(2) span {
  background: linear-gradient(90deg, var(--blue) 0 74%, rgba(255, 255, 255, 0.18) 74%);
}

.capacity-board div:nth-child(3) span {
  background: linear-gradient(90deg, var(--blue) 0 92%, rgba(255, 255, 255, 0.18) 92%);
}

.capacity-board div:nth-child(4) span {
  background: linear-gradient(90deg, var(--blue) 0 87%, rgba(255, 255, 255, 0.18) 87%);
}

.advantages {
  text-align: center;
}

.compact article {
  border-top-color: #d2d2d2;
}

.tag-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin-top: 48px;
}

.tag-grid span {
  min-height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  color: var(--black);
  background: var(--white);
  border: 1px solid var(--line);
  font-family: Montserrat, Arial, sans-serif;
  font-size: 0.78rem;
  font-weight: 900;
  text-align: center;
  text-transform: uppercase;
}

.about {
  background: var(--white);
}

.about .split {
  border-top: 1px solid var(--line);
}

.contact {
  position: relative;
  width: 100%;
  max-width: none;
  padding: 112px max(18px, calc((100vw - 1160px) / 2));
  text-align: center;
  background:
    linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.92)),
    url("assets/hero-inboka-blue-lms.webp") center 58% / cover;
  border-top: 1px solid var(--line);
}

.contact-button {
  margin-top: 42px;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 4vw, 62px);
  color: rgba(255, 255, 255, 0.66);
  background: #161616;
  font-size: 0.82rem;
}

.site-footer a {
  color: var(--white);
  font-weight: 800;
}

@media (max-width: 1100px) {
  .site-nav {
    gap: 18px;
    font-size: 0.68rem;
  }

  .brand {
    min-width: 180px;
  }

  .brand small {
    display: none;
  }
}

@media (max-width: 920px) {
  .nav-toggle {
    position: relative;
    z-index: 70;
    display: block;
  }

  .site-nav {
    position: fixed;
    z-index: 60;
    top: 0;
    left: 0;
    bottom: 0;
    width: min(78vw, 520px);
    display: grid;
    align-content: start;
    gap: 0;
    padding: 22px 0 42px;
    color: var(--white);
    background: var(--deep);
    box-shadow: 20px 0 50px rgba(0, 0, 0, 0.22);
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 260ms ease;
    pointer-events: none;
    text-transform: none;
  }

  .site-nav.is-open {
    transform: translateX(0);
    pointer-events: auto;
  }

  .mobile-menu-logo {
    display: block;
    padding: 14px 34px 22px;
    border-bottom: 1px dotted rgba(255, 255, 255, 0.16);
  }

  .mobile-menu-logo img {
    width: min(300px, 58vw);
    height: auto;
  }

  .site-nav a {
    min-height: 58px;
    padding: 0 34px;
    color: var(--white);
    border-bottom: 1px dotted rgba(255, 255, 255, 0.16);
    font-family: "Nunito Sans", Arial, sans-serif;
    font-size: clamp(1.24rem, 5.3vw, 1.54rem);
    font-weight: 400;
    text-transform: none;
  }

  .site-nav a:hover,
  .site-nav a.active {
    color: var(--white);
  }

  .site-nav a.active::before {
    display: none;
  }

  body.nav-open .nav-toggle {
    position: fixed;
    top: 0;
    right: 0;
    width: 84px;
    height: 118px;
    background: var(--deep);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
  }

  body.nav-open .toggle-hex strong {
    display: none;
  }

  body.nav-open .toggle-hex::after {
    background: var(--deep);
  }

  body.nav-open .toggle-hex i {
    position: absolute;
    top: 29px;
    left: 16px;
    width: 28px;
    height: 3px;
    margin: 0;
  }

  body.nav-open .toggle-hex i:first-child {
    transform: rotate(45deg);
  }

  body.nav-open .toggle-hex i:nth-child(2) {
    transform: rotate(-45deg);
  }

  .contact-rail {
    display: none;
  }

  .three-cols,
  .service-grid,
  .split,
  .capacity-layout {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .capacity .section {
    min-height: auto;
  }

  .split-section .split,
  .about .split {
    grid-template-columns: 1fr;
  }

  .split-section h2,
  .about h2 {
    max-width: 760px;
    font-size: clamp(2.45rem, 9vw, 4rem);
  }

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

@media (max-width: 620px) {
  .site-header {
    min-height: 72px;
    padding: 0 16px;
  }

  .brand {
    min-width: 0;
  }

  .brand img {
    width: 138px;
  }

  .hero {
    min-height: 860px;
  }

  .hero-inner {
    width: min(100% - 28px, 500px);
  }

  .hero h1 {
    font-size: clamp(3.2rem, 16vw, 5rem);
  }

  .hero-actions {
    gap: 14px;
    margin-top: 40px;
  }

  .button {
    width: 100%;
  }

  .discover {
    letter-spacing: 0.34em;
  }

  .section {
    width: min(100% - 32px, 1160px);
    padding: 76px 0;
  }

  .contact {
    width: 100%;
    padding: 86px 20px;
  }

  h2 {
    font-size: clamp(2.1rem, 10vw, 3rem);
  }

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

  .site-footer {
    display: grid;
  }
}
