/* ===================================================
   BizIncorporated | Corporate stylesheet
   =================================================== */
:root {
  --primary: #1457d6;
  --primary-dark: #0e43a8;
  --primary-light: #eaf1ff;
  --navy: #0b1f3a;
  --text: #0f1b2d;
  --body: #4b5a6e;
  --muted: #7a8799;
  --border: #e3e8ef;
  --bg-soft: #f5f7fa;
  --green: #0f8a5f;
  --orange: #e8742b;

  --font-head: "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius: 8px;
  --shadow: 0 18px 40px -20px rgba(15, 27, 45, .3);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--text); line-height: 1.2; font-weight: 600; }
h2 { font-size: clamp(1.8rem, 3.2vw, 2.5rem); letter-spacing: -.015em; }

.container { width: 100%; max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 96px 0; }

/* ---------- buttons & links ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 11px 22px; border-radius: 6px; border: 0;
  font: 600 15px/1.2 var(--font-body); cursor: pointer; white-space: nowrap;
  transition: background .2s, color .2s;
}
.btn--lg { padding: 15px 28px; font-size: 16px; }
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); }
.btn--white { background: #fff; color: var(--navy); }
.btn--white:hover { background: var(--primary-light); }

.text-link { font-weight: 600; color: var(--primary); display: inline-flex; gap: 6px; }
.text-link span { transition: transform .25s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* ---------- utility bar ---------- */
.utility { background: var(--navy); color: rgba(255,255,255,.75); font-size: 13px; }
.utility__inner { display: flex; justify-content: space-between; align-items: center; height: 38px; }
.utility__right { display: flex; gap: 24px; }
.utility a:hover { color: #fff; }

/* ---------- header ---------- */
.header { position: sticky; top: 0; z-index: 50; background: #fff; border-bottom: 1px solid var(--border); transition: box-shadow .3s; }
.header.scrolled { box-shadow: 0 8px 24px -16px rgba(15,27,45,.35); }
.header__inner { display: flex; align-items: center; height: 76px; }

.logo { display: flex; align-items: center; gap: 11px; }
.logo__icon {
  width: 40px; height: 40px; border-radius: 8px; display: grid; place-items: center;
  background: var(--navy); color: #fff; font: 700 20px var(--font-head);
}
.logo__text { font: 700 19px/1.1 var(--font-head); color: var(--text); letter-spacing: -.01em; display: flex; flex-direction: column; }
.logo__text small { font: 500 11px var(--font-body); color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px; }
.logo--light .logo__icon { background: var(--primary); }
.logo--light .logo__text { color: #fff; }
.logo--light .logo__text small { color: rgba(255,255,255,.6); }

.nav { display: flex; align-items: center; gap: 30px; margin-left: auto; height: 100%; }
.nav a { position: relative; height: 100%; display: flex; align-items: center; font-weight: 500; font-size: 15px; color: var(--text); transition: color .2s; }
.nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 3px; background: var(--primary); transform: scaleX(0); transition: transform .25s var(--ease); }
.nav a:hover { color: var(--primary); }
.nav a:hover::after, .nav a.active::after { transform: scaleX(1); }
.nav a.active { color: var(--primary); }
.nav .nav__contact { height: auto; padding: 10px 20px; border-radius: 6px; background: var(--primary); color: #fff; margin-left: 6px; transition: background .2s; }
.nav .nav__contact::after { display: none; }
.nav .nav__contact:hover { background: var(--primary-dark); color: #fff; }

.burger { display: none; width: 44px; height: 44px; margin-left: auto; border: 1px solid var(--border); border-radius: 6px; background: #fff; cursor: pointer; flex-direction: column; align-items: center; justify-content: center; gap: 5px; }
.burger span { width: 20px; height: 2px; background: var(--text); transition: transform .3s, opacity .3s; }
.header.open .burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.header.open .burger span:nth-child(2) { opacity: 0; }
.header.open .burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- hero ---------- */
.hero { position: relative; min-height: min(78vh, 720px); display: flex; align-items: flex-end; color: #fff; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; }
.hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: center 35%; animation: slowZoom 18s ease-out both; }
.hero__bg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(11,31,58,.92) 0%, rgba(11,31,58,.7) 45%, rgba(11,31,58,.15) 100%), linear-gradient(0deg, rgba(11,31,58,.5), transparent 50%); }
@keyframes slowZoom { from { transform: scale(1.08); } }
.hero__content { position: relative; padding-top: 96px; padding-bottom: 150px; }
.hero__kicker { font-size: 14px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.75); margin-bottom: 18px; padding-left: 14px; border-left: 3px solid var(--primary); line-height: 1.2; }
.hero h1 { color: #fff; font-size: clamp(2.3rem, 5vw, 4rem); font-weight: 600; letter-spacing: -.02em; line-height: 1.12; max-width: 760px; margin-bottom: 20px; }
.hero__lead { font-size: 18px; color: rgba(255,255,255,.85); max-width: 580px; margin-bottom: 34px; }
.hero__actions { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.hero__link { font-weight: 600; display: inline-flex; gap: 6px; border-bottom: 1px solid rgba(255,255,255,.5); padding-bottom: 2px; }
.hero__link span { transition: transform .25s var(--ease); }
.hero__link:hover span { transform: translateX(4px); }

/* quick links panel */
.quick {
  position: relative; z-index: 2; margin-top: -72px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  background: #fff; border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
}
.quick__item { position: relative; display: block; padding: 28px 64px 28px 30px; transition: background .25s; }
.quick__item + .quick__item { border-left: 1px solid var(--border); }
.quick__item::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 3px; background: var(--primary); transform: scaleX(0); transform-origin: left; transition: transform .35s var(--ease); }
.quick__item:hover { background: var(--bg-soft); }
.quick__item:hover::before { transform: scaleX(1); }
.quick__label { display: block; font-size: 13px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 6px; }
.quick__title { font: 600 18px/1.3 var(--font-head); color: var(--text); }
.quick__arrow { position: absolute; right: 28px; top: 50%; translate: 0 -50%; font-size: 20px; color: var(--primary); transition: transform .25s var(--ease); }
.quick__item:hover .quick__arrow { transform: translateX(4px); }

/* ---------- about ---------- */
.about__grid { display: grid; grid-template-columns: 1fr 2fr; gap: 48px; }
.about__heading { font-size: clamp(1.6rem, 2.6vw, 2.1rem); }
.about__statement { font: 500 clamp(1.35rem, 2.3vw, 1.85rem)/1.45 var(--font-head); color: var(--text); letter-spacing: -.01em; margin-bottom: 22px; }
.about__body { font-size: 17px; max-width: 680px; }
.facts { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 64px; border-top: 1px solid var(--border); }
.facts div { padding: 22px 24px 0 0; }
.facts div + div { padding-left: 24px; border-left: 1px solid var(--border); }
.facts dt { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin-bottom: 4px; }
.facts dd { font: 600 19px var(--font-head); color: var(--text); }

/* ---------- companies (tabs) ---------- */
.companies { background: var(--bg-soft); }
.companies__top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 32px; padding-bottom: 0; border-bottom: 1px solid var(--border); }
.companies__top h2 { padding-bottom: 20px; }
.tabs { display: flex; gap: 8px; }
.tab {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 20px 18px; margin-bottom: -1px;
  background: none; border: 0; border-bottom: 3px solid transparent; cursor: pointer;
  font: 600 17px var(--font-head); color: var(--muted); transition: color .2s, border-color .2s;
}
.tab:hover { color: var(--text); }
.tab.is-active { color: var(--text); border-bottom-color: var(--primary); }
.tab__mark { width: 30px; height: 30px; border-radius: 6px; display: grid; place-items: center; color: #fff; font-size: 14px; opacity: .55; transition: opacity .2s; }
.tab.is-active .tab__mark, .tab:hover .tab__mark { opacity: 1; }
.tab__mark--mw { background: var(--green); }
.tab__mark--sa { background: var(--orange); }

.panel { display: grid; grid-template-columns: 1.15fr 1fr; background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 1px 2px rgba(15,27,45,.06); }
.panel[hidden] { display: none; }
.panel.is-entering { animation: panelIn .5s var(--ease); }
@keyframes panelIn { from { opacity: 0; transform: translateY(10px); } }
.panel__img { position: relative; min-height: 460px; }
.panel__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.panel__body { padding: 48px 48px 44px; display: flex; flex-direction: column; }
.panel__cat { font-size: 13px; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--primary); margin-bottom: 10px; }
.panel h3 { font-size: 32px; margin-bottom: 14px; }
.panel__body > p { margin-bottom: 24px; }
.panel__list { border-top: 1px solid var(--border); margin-bottom: 30px; }
.panel__list li { display: grid; grid-template-columns: 140px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--border); font-size: 15px; }
.panel__list strong { color: var(--text); font-weight: 600; }
.panel__actions { margin-top: auto; display: flex; align-items: center; gap: 24px; flex-wrap: wrap; }
.companies__note { margin-top: 28px; color: var(--body); }

/* ---------- how we work ---------- */
.approach__grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 72px; align-items: start; }
.approach__media { position: sticky; top: 110px; }
.approach__media img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; border-radius: var(--radius); }
.approach__content h2 { margin-bottom: 14px; }
.approach__intro { font-size: 17px; margin-bottom: 36px; max-width: 520px; }
.principles li { display: grid; grid-template-columns: 64px 1fr; gap: 12px; padding: 28px 0; border-top: 1px solid var(--border); }
.principles li:last-child { border-bottom: 1px solid var(--border); }
.principles__no { font: 600 15px var(--font-head); color: var(--primary); padding-top: 3px; }
.principles h3 { font-size: 21px; margin-bottom: 6px; }

/* ---------- partner ---------- */
.partner { padding-bottom: 96px; }
.partner__box { display: grid; grid-template-columns: 1fr 1fr; border-radius: var(--radius); overflow: hidden; background: var(--navy); }
.partner__text { padding: 64px 56px; color: rgba(255,255,255,.8); }
.partner__text h2 { color: #fff; margin-bottom: 16px; }
.partner__text > p { font-size: 17px; margin-bottom: 24px; max-width: 460px; }
.partner__list { margin-bottom: 34px; }
.partner__list li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.14); color: #fff; font-weight: 500; }
.partner__list li:last-child { border-bottom: 1px solid rgba(255,255,255,.14); }
.partner__img { position: relative; min-height: 420px; }
.partner__img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* ---------- contact ---------- */
.contact { background: var(--bg-soft); }
.contact__grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 72px; align-items: start; }
.contact__side h2 { margin-bottom: 14px; }
.contact__side > p { font-size: 17px; margin-bottom: 32px; max-width: 420px; }
.contact__details div { display: grid; grid-template-columns: 90px 1fr; gap: 12px; padding: 14px 0; border-top: 1px solid var(--border); }
.contact__details div:last-child { border-bottom: 1px solid var(--border); }
.contact__details dt { font-weight: 600; color: var(--text); }
.contact__details dd { word-break: break-word; }
.contact__details a:hover { color: var(--primary); }

.contact__form { padding: 36px; background: #fff; border-radius: var(--radius); box-shadow: 0 1px 2px rgba(15,27,45,.06); display: grid; gap: 18px; justify-items: start; }
.contact__form > label, .form-row { width: 100%; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.contact__form label { display: grid; gap: 7px; font-size: 14px; font-weight: 600; color: var(--text); }
.contact__form em { font-style: normal; font-weight: 400; color: var(--muted); }
.contact__form input, .contact__form select, .contact__form textarea {
  width: 100%; padding: 12px 14px; border: 1px solid #cfd7e2; border-radius: 6px; background: #fff;
  font: 400 15px var(--font-body); color: var(--text); transition: border-color .2s, box-shadow .2s; resize: vertical;
}
.contact__form input:focus, .contact__form select:focus, .contact__form textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(20,87,214,.15); }
.contact__form .invalid { border-color: #d64545; }
.form-note { font-size: 14px; min-height: 1.2em; }
.form-note.ok { color: var(--green); }
.form-note.err { color: #d64545; }

/* ---------- footer ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,.7); padding-top: 64px; font-size: 15px; }
.footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 48px; }
.footer__brand p { margin-top: 18px; max-width: 320px; }
.footer__col { display: flex; flex-direction: column; gap: 10px; }
.footer__col h4 { color: #fff; font-size: 15px; margin-bottom: 6px; }
.footer__col a { transition: color .2s; word-break: break-word; }
.footer__col a:hover { color: #fff; }
.footer__bottom { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding: 22px 20px; border-top: 1px solid rgba(255,255,255,.1); font-size: 14px; }
.footer__bottom a:hover { color: #fff; }

/* ---------- animation ---------- */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity .7s var(--ease), transform .7s var(--ease); transition-delay: calc(var(--delay, 0) * 100ms); }
.fade-up.visible { opacity: 1; transform: none; }

/* ---------- responsive ---------- */
@media (max-width: 960px) {
  .section { padding: 72px 0; }
  .utility__right a:last-child { display: none; }
  .burger { display: flex; }
  .nav {
    position: absolute; top: 76px; left: 0; right: 0; height: auto; flex-direction: column; align-items: stretch; gap: 0; padding: 8px 20px 20px;
    background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow);
    opacity: 0; visibility: hidden; transform: translateY(-8px); transition: opacity .25s, transform .25s, visibility .25s;
  }
  .header.open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a { height: auto; padding: 14px 0; border-bottom: 1px solid var(--border); font-size: 16px; }
  .nav a::after { display: none; }
  .nav .nav__contact { margin: 14px 0 0; justify-content: center; border-bottom: 0; }
  .quick { grid-template-columns: 1fr; }
  .quick__item + .quick__item { border-left: 0; border-top: 1px solid var(--border); }
  .about__grid, .panel, .approach__grid, .partner__box, .contact__grid { grid-template-columns: 1fr; }
  .facts { grid-template-columns: repeat(2, 1fr); }
  .facts div:nth-child(3) { padding-left: 0; border-left: 0; }
  .panel__img { min-height: 280px; }
  .approach__media { position: static; }
  .approach__media img { aspect-ratio: 16 / 10; }
  .partner__img { min-height: 260px; order: -1; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .utility { display: none; }
  .hero__content { padding-top: 72px; padding-bottom: 120px; }
  .hero__lead { font-size: 17px; }
  .quick__item { padding: 22px 56px 22px 22px; }
  .facts { grid-template-columns: 1fr; }
  .facts div, .facts div + div { padding: 16px 0; border-left: 0; border-bottom: 1px solid var(--border); }
  .tabs { width: 100%; }
  .tab { flex: 1; justify-content: center; padding: 12px 8px 14px; font-size: 15px; }
  .panel__body { padding: 30px 22px; }
  .panel h3 { font-size: 26px; }
  .panel__list li { grid-template-columns: 1fr; gap: 2px; }
  .partner__text { padding: 40px 24px; }
  .contact__form { padding: 24px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .contact__form .btn { width: 100%; }
  .footer__grid { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .fade-up { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}
