:root {
  --bg: #0f1114;
  --bg2: #171a1f;
  --paper: #f5f2ea;
  --ink: #15171a;
  --muted: #68707a;
  --line: rgba(21, 23, 26, .12);
  --amber: #f3a31d;
  --orange: #df6d1d;
  --white: #fff;
}

* { 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(--paper);
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }

.topbar {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1160px, calc(100% - 28px));
  min-height: 66px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 22px;
  padding: 10px 12px 10px 14px;
  color: var(--white);
  background: rgba(14, 16, 19, .82);
  border: 1px solid rgba(255, 255, 255, .14);
  backdrop-filter: blur(18px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, .28);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 900;
}

.logo span {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #111;
  background: var(--amber);
  font-weight: 900;
}

.logo strong {
  white-space: nowrap;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 26px;
  font-size: 14px;
  font-weight: 800;
}

.langs {
  display: grid;
  grid-template-columns: repeat(3, 42px);
  gap: 4px;
  padding: 4px;
  background: rgba(255, 255, 255, .08);
}

.langs button {
  min-height: 34px;
  border: 0;
  color: var(--white);
  background: transparent;
  font: inherit;
  font-size: 12px;
  font-weight: 900;
  cursor: pointer;
}

.langs .active { background: var(--amber); color: #111; }

.hero {
  min-height: 92vh;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  align-items: end;
  gap: 30px;
  padding: 150px max(28px, calc((100vw - 1160px) / 2)) 66px;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(11, 12, 14, .96), rgba(11, 12, 14, .68) 48%, rgba(11, 12, 14, .22)),
    url("assets/bivio-hero.webp") center / cover;
}

.hero-content { max-width: 810px; }

.kicker {
  margin: 0 0 14px;
  color: var(--amber);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1, h2 {
  margin: 0;
  letter-spacing: 0;
  line-height: .98;
}

h1 {
  max-width: 820px;
  font-size: clamp(50px, 7.2vw, 98px);
}

h2 { font-size: clamp(35px, 4.5vw, 66px); }

.hero-copy {
  max-width: 690px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: 20px;
  line-height: 1.58;
}

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

.btn {
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, .22);
  font-weight: 900;
}

.primary { background: var(--amber); color: #111; border-color: var(--amber); }
.ghost { background: rgba(255, 255, 255, .08); color: var(--white); }

.rating-card {
  padding: 26px;
  border-left: 5px solid var(--amber);
  background: rgba(255, 255, 255, .12);
  backdrop-filter: blur(16px);
}

.rating-card span {
  color: var(--amber);
  font-size: 68px;
  line-height: .9;
  font-weight: 900;
}

.rating-card strong {
  display: block;
  margin: 10px 0 8px;
  font-size: 22px;
}

.rating-card p {
  margin: 0;
  color: rgba(255, 255, 255, .78);
  line-height: 1.5;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.metrics div {
  min-height: 138px;
  display: grid;
  align-content: center;
  gap: 8px;
  padding: 28px;
  border-right: 1px solid var(--line);
}

.metrics strong { color: var(--orange); font-size: 36px; line-height: 1; }
.metrics span { color: var(--muted); font-weight: 800; }

.section {
  padding: 96px max(28px, calc((100vw - 1160px) / 2));
}

.services {
  background: var(--bg);
  color: var(--white);
}

.section-head {
  max-width: 820px;
  margin-bottom: 38px;
}

.cards {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, .12);
}

.cards article {
  min-height: 330px;
  padding: 28px;
  background: var(--bg2);
}

.cards span {
  color: var(--amber);
  font-weight: 900;
}

.cards h3 {
  margin: 84px 0 14px;
  font-size: 24px;
  line-height: 1.08;
}

.cards p {
  margin: 0;
  color: rgba(255, 255, 255, .72);
  line-height: 1.58;
}

.story {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  min-height: 720px;
  background: var(--white);
}

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

.story-copy {
  display: grid;
  align-content: center;
  gap: 22px;
  padding: 74px max(28px, calc((100vw - 1160px) / 2)) 74px 58px;
}

.story-copy p:not(.kicker) {
  margin: 0;
  color: var(--muted);
  font-size: 19px;
  line-height: 1.68;
}

.proof {
  display: grid;
  grid-template-columns: .82fr 1.18fr;
  gap: 58px;
  padding: 92px max(28px, calc((100vw - 1160px) / 2));
  background: var(--orange);
  color: var(--white);
}

.proof .kicker { color: #111; }

.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

blockquote {
  margin: 0;
  padding-top: 56px;
  position: relative;
  font-size: 24px;
  line-height: 1.32;
  font-weight: 900;
}

blockquote::before {
  content: "\"";
  position: absolute;
  top: -8px;
  left: 0;
  color: rgba(17, 17, 17, .3);
  font-size: 88px;
  line-height: 1;
}

.contact {
  display: grid;
  grid-template-columns: 1fr 460px;
  gap: 56px;
  align-items: end;
  padding: 96px max(28px, calc((100vw - 1160px) / 2));
  background: var(--paper);
}

.contact-copy p:not(.kicker) {
  max-width: 620px;
  color: var(--muted);
  font-size: 20px;
  line-height: 1.62;
}

.contact-copy h2 { margin-bottom: 22px; }

.contact-panel {
  display: grid;
  gap: 10px;
  padding: 28px;
  background: #111;
  color: var(--white);
}

.contact-panel a,
.contact-panel span {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .08);
  font-weight: 900;
}

.contact-panel a:first-child { background: var(--amber); color: #111; }

.call-now {
  position: fixed;
  z-index: 30;
  right: 18px;
  bottom: 18px;
  min-height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  background: var(--amber);
  color: #111;
  font-weight: 900;
  box-shadow: 0 16px 38px rgba(0, 0, 0, .28);
}

@media (max-width: 930px) {
  .topbar {
    position: absolute;
    grid-template-columns: 1fr auto;
  }

  .nav { display: none; }

  .hero,
  .metrics,
  .cards,
  .story,
  .proof,
  .quotes,
  .contact {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: 820px;
    padding-top: 132px;
  }

  h1 { font-size: clamp(42px, 14vw, 74px); }

  .hero-copy { font-size: 18px; }

  .rating-card { width: min(100%, 340px); }

  .metrics div { min-height: 108px; }

  .section { padding-block: 72px; }

  .cards article { min-height: 245px; }
  .cards h3 { margin-top: 50px; }

  .story { min-height: 0; }
  .story img { min-height: 390px; }
  .story-copy { padding: 72px 28px; }

  .proof { gap: 30px; padding-block: 72px; }
  blockquote { padding-top: 44px; }

  .contact { gap: 30px; padding-block: 72px; }
}

@media (max-width: 560px) {
  .logo strong { display: none; }
  .langs { grid-template-columns: repeat(3, 36px); }
  .actions, .btn { width: 100%; }
  .call-now { left: 12px; right: 12px; }
}
