@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/Ubuntu-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Ubuntu";
  src: url("../fonts/Ubuntu-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Tactic Sans EXD BLK";
  src: url("../fonts/TacticSansExd-BlkIt.woff2") format("woff2"),
    url("../fonts/TacticSansExd-BlkIt.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --blue: #3668b0;
  --blue-dark: #244a82;
  --ink: #101828;
  --muted: #667085;
  --soft: #f4f7fb;
  --line: #dde4ef;
  --white: #ffffff;
  --dark: #111827;
  --radius: 0;
  --shadow: 0 24px 70px rgba(16, 24, 40, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Ubuntu", Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

p {
  margin: 0;
  color: var(--muted);
  line-height: 1.72;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

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

.logo img {
  width: 168px;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.nav-menu a {
  padding: 29px 0 27px;
  border-bottom: 2px solid transparent;
}

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

.nav-contact {
  min-height: 42px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue);
  color: var(--blue);
  font-weight: 700;
}

.hero {
  position: relative;
  min-height: calc(92vh - 78px);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  color: var(--white);
  background: var(--dark);
}

.hero-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-video iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100vw;
  height: 56.25vw;
  min-width: 177.78vh;
  min-height: 100vh;
  transform: translate(-50%, -50%);
  border: 0;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(9, 16, 28, 0.88), rgba(9, 16, 28, 0.54) 55%, rgba(9, 16, 28, 0.24)),
    linear-gradient(0deg, rgba(9, 16, 28, 0.68), rgba(9, 16, 28, 0.08) 48%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: 98px 0 44px;
}

.eyebrow {
  margin: 0 0 16px;
  color: #cbdcf5;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1.3;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  color: inherit;
}

h1 {
  max-width: 820px;
  font-size: clamp(36px, 4.6vw, 62px);
  line-height: 1.08;
  letter-spacing: 0;
  font-weight: 700;
}

h2 {
  font-size: clamp(28px, 3.5vw, 42px);
  line-height: 1.12;
  letter-spacing: 0;
  font-weight: 700;
}

h3 {
  font-size: 22px;
  line-height: 1.25;
  font-weight: 700;
}

.display-font {
  font-family: "Tactic Sans EXD BLK", "Ubuntu", Arial, sans-serif;
  font-weight: 900;
}

.hero-lead {
  max-width: 690px;
  margin: 24px 0 32px;
  color: #eef4ff;
  font-size: clamp(17px, 1.5vw, 20px);
  line-height: 1.62;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.btn {
  min-height: 50px;
  padding: 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  font-weight: 700;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
}

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

.btn-light {
  background: var(--white);
  color: var(--ink);
}

.btn-outline {
  border-color: rgba(255, 255, 255, 0.52);
  color: var(--white);
}

.btn-quiet {
  border-color: var(--line);
  color: var(--ink);
  background: var(--white);
}

.hero-facts {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  margin-top: 50px;
  background: rgba(255, 255, 255, 0.2);
}

.hero-fact {
  min-height: 118px;
  padding: 20px;
  background: rgba(12, 22, 38, 0.5);
}

.hero-fact strong {
  display: block;
  margin-bottom: 8px;
  color: var(--white);
  font-size: 25px;
  line-height: 1;
}

.hero-fact span {
  color: #dce8f8;
  line-height: 1.5;
}

.section {
  padding: 82px 0;
}

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

.section-blue {
  background: var(--blue);
  color: var(--white);
}

.section-dark {
  background: var(--dark);
  color: var(--white);
}

.section-head {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(280px, 0.55fr);
  gap: 56px;
  align-items: end;
  margin-bottom: 38px;
}

.section-head p {
  max-width: 560px;
  font-size: 17px;
  line-height: 1.72;
}

.section-blue p,
.section-dark p {
  color: #dce6f4;
}

.quick-grid,
.brand-grid,
.card-grid,
.media-grid {
  display: grid;
  gap: 1px;
  background: var(--line);
}

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

.quick-card {
  min-height: 186px;
  padding: 26px;
  background: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, background 0.2s ease;
}

.quick-card:hover {
  background: #f8fbff;
  transform: translateY(-3px);
}

.quick-card h3 {
  margin-bottom: 12px;
  font-size: 21px;
}

.quick-card p {
  font-size: 15px;
}

.arrow {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
  background: var(--blue);
  color: var(--white);
  font-size: 26px;
  line-height: 1;
}

.brand-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  background: rgba(255, 255, 255, 0.3);
}

.brand-card {
  min-height: 392px;
  padding: 28px;
  display: flex;
  flex-direction: column;
  background: var(--white);
  color: var(--ink);
}

.brand-logo-box {
  height: 108px;
  margin-bottom: 24px;
  padding: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f7fb;
}

.brand-logo-box img {
  max-height: 68px;
  object-fit: contain;
}

.brand-card h3 {
  margin-bottom: 14px;
}

.brand-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.68;
  margin-bottom: 32px;
}

.brand-card .arrow {
  margin-top: auto;
}


.split {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: 1px;
  background: var(--line);
}

.split-media {
  min-height: 420px;
  background-size: cover;
  background-position: center;
}

.split-body {
  padding: 46px;
  background: var(--white);
}

.split-body .eyebrow,
.page-hero .eyebrow,
.card .eyebrow {
  color: var(--blue);
}

.split-body h2 {
  margin-bottom: 24px;
}

.split-list {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

.split-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.split-item strong {
  color: var(--blue);
  font-size: 22px;
}

.split-item h3 {
  margin-bottom: 6px;
  font-size: 19px;
}

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

.card {
  min-height: 260px;
  padding: 30px;
  background: var(--white);
}

.card img {
  width: 100%;
  height: 190px;
  margin: -28px -28px 24px;
  max-width: calc(100% + 56px);
  object-fit: cover;
}

.card h3 {
  margin-bottom: 12px;
}

.card p {
  font-size: 15px;
  line-height: 1.68;
}

.proof-grid {
  display: grid;
  grid-template-columns: 0.86fr 1.14fr;
  gap: 54px;
  align-items: center;
}

.proof-panel {
  padding: 44px;
  background: var(--dark);
  color: var(--white);
}

.proof-panel p {
  margin-top: 22px;
}

.proof-list {
  display: grid;
  gap: 1px;
  background: var(--line);
}

.proof-item {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 20px;
  padding: 28px;
  background: var(--white);
}

.proof-number {
  color: var(--blue);
  font-size: 30px;
  font-weight: 700;
  line-height: 1;
}

.proof-item h3 {
  margin-bottom: 8px;
  font-size: 21px;
}

.cta {
  background:
    linear-gradient(90deg, rgba(54, 104, 176, 0.97), rgba(54, 104, 176, 0.78)),
    url("../img/covers/cover-kontakt-dla-mediow.jpg") center / cover no-repeat;
  color: var(--white);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 38px;
  align-items: center;
}

.cta h2 {
  max-width: 760px;
}

.cta p {
  max-width: 760px;
  margin-top: 18px;
  color: #edf4ff;
  font-size: 17px;
}

.footer {
  padding: 42px 0;
  background: #101722;
  color: #cfd8e5;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}

.footer-logo img {
  width: 150px;
  filter: brightness(0) invert(1);
}

.footer-links {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
  color: var(--white);
  font-weight: 700;
}

.page-hero {
  min-height: 430px;
  padding: 132px 0 76px;
  display: flex;
  align-items: flex-end;
  background:
    linear-gradient(90deg, rgba(16, 24, 40, 0.88), rgba(16, 24, 40, 0.48)),
    var(--page-image, url("../img/og-image.jpg")) center / cover no-repeat;
  color: var(--white);
}

.page-hero .eyebrow {
  color: #d7e5fa;
}

.page-hero h1 {
  max-width: 760px;
}

.page-hero p {
  max-width: 720px;
  margin-top: 22px;
  color: #edf4ff;
  font-size: 18px;
  line-height: 1.68;
}

.lead-text {
  max-width: 920px;
  font-size: 18px;
}

.two-col {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 56px;
  align-items: start;
}

.text-block h2 {
  margin-bottom: 22px;
}

.text-block p + p {
  margin-top: 18px;
}

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

.list li {
  padding: 18px 0;
  border-top: 1px solid var(--line);
  color: var(--muted);
  line-height: 1.55;
}

.list strong {
  color: var(--ink);
}

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

.media-card {
  min-height: 250px;
  padding: 30px;
  background: var(--white);
}

.media-card h3 {
  margin-bottom: 14px;
}

.media-card p {
  font-size: 15px;
}

@media (max-width: 1000px) {
  .nav {
    min-height: auto;
    padding: 18px 0;
    align-items: flex-start;
    flex-direction: column;
  }

  .nav-menu {
    width: 100%;
    justify-content: flex-start;
    gap: 20px;
    overflow-x: auto;
  }

  .nav-menu a {
    padding: 8px 0;
    white-space: nowrap;
  }

  .nav-contact {
    width: 100%;
  }

  .hero,
  .page-hero {
    min-height: 680px;
  }

  .section-head,
  .hero-facts,
  .quick-grid,
  .brand-grid,
  .split,
  .card-grid,
  .proof-grid,
  .cta-inner,
  .two-col,
  .media-grid {
    grid-template-columns: 1fr;
  }

  .split-media {
    min-height: 320px;
  }
}

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

  .logo img {
    width: 150px;
  }

  .hero {
    min-height: 720px;
  }

  .hero-content {
    padding: 74px 0 30px;
  }

  h1 {
    font-size: clamp(32px, 9vw, 44px);
  }

  h2 {
    font-size: clamp(26px, 8vw, 36px);
  }

  .section {
    padding: 56px 0;
  }

  .quick-card,
  .brand-card,
  .split-body,
  .card,
  .proof-panel,
  .proof-item,
  .media-card {
    padding: 22px;
  }

  .card img {
    margin: -22px -22px 22px;
    max-width: calc(100% + 44px);
  }

  .proof-item,
  .split-item {
    grid-template-columns: 1fr;
  }

  .actions .btn,
  .cta .btn {
    width: 100%;
  }
}
