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

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Medium"),
    local("Gilroy-Medium"),
    url("./fonts/Gilroy-Medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Semibold"),
    local("Gilroy-SemiBold"),
    url("./fonts/Gilroy-SemiBold.ttf") format("truetype");
  font-style: normal;
  font-weight: 600;
  font-display: swap;
}

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

@font-face {
  font-family: "Gilroy";
  src:
    local("Gilroy Heavy"),
    local("Gilroy-Heavy"),
    url("./fonts/Gilroy-Heavy.ttf") format("truetype");
  font-style: normal;
  font-weight: 900;
  font-display: swap;
}

:root {
  --blue: #002f87;
  --gold: #f5a800;
  --ink: #1e1e1e;
  --paper: #ffffff;
  --muted: rgba(30, 30, 30, 0.8);
  --soft: #f7f7f7;
  --footer: #04358f;
  --shadow: 0 24px 60px rgba(0, 47, 135, 0.14);
  --container: min(1054px, calc(100vw - 40px));
  --title-font: "Gilroy", "Montserrat", "Segoe UI", sans-serif;
  --body-font: "Gilroy", "Helvetica Neue", "Segoe UI", sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--body-font);
  min-width: 320px;
}

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

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

p,
h1,
h2 {
  margin: 0;
}

.page {
  overflow-x: hidden;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.hero {
  position: relative;
  background: #d9dfe4;
}

.hero__logo {
  position: absolute;
  z-index: 3;
  top: clamp(18px, 3.13vw, 45px);
  left: clamp(20px, 5.56vw, 80px);
  width: clamp(96px, 14.45vw, 208px);
  height: auto;
  aspect-ratio: 208 / 114;
  object-fit: contain;
}

.hero__image-wrap {
  position: relative;
  overflow: hidden;
}

.hero__image-wrap picture {
  display: block;
}

.hero__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  object-position: center top;
  transform: none;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0) 72%, rgba(255, 255, 255, 0.68) 90%, #fff 100%);
}

.intro {
  padding: 64px 0 80px;
}

.intro__copy {
  max-width: 953px;
  text-align: center;
  display: grid;
  gap: 0;
  color: #1e1e1e;
  font-size: 25px;
  line-height: 40px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.intro__copy p + p {
  margin-top: 40px;
}

.intro__strong {
  margin-top: 40px;
}

.intro__strong {
  font-weight: 700;
}

.campaign {
  background: #f3f3f3;
  padding: 68px 0 94px;
}

.section-title {
  font-family: var(--title-font);
  font-size: clamp(1.55rem, 2.55vw, 2.3rem);
  line-height: 1.04;
  font-weight: 700;
  letter-spacing: -0.03em;
}

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

.section-title--gold {
  color: var(--gold);
}

.section-title--campaign {
  color: #00308c;
  font-size: 42px;
  font-weight: 600;
  line-height: normal;
}

.center {
  text-align: center;
}

.campaign__card {
  width: min(788px, 100%);
  margin: 44px auto 0;
  border-radius: 20px;
  overflow: hidden;
  background: #0f214f;
  box-shadow: var(--shadow);
}

.campaign__media {
  position: relative;
  aspect-ratio: 788 / 445;
  background:
    radial-gradient(circle at top, rgba(255, 255, 255, 0.12), transparent 42%),
    linear-gradient(135deg, #032a73, #00173f);
}

.campaign__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 18, 48, 0.06), rgba(0, 18, 48, 0.36));
  pointer-events: none;
  transition: opacity 180ms ease;
}

.campaign__media.is-playing::after {
  opacity: 0;
}

.campaign__video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  background: #000;
}

.campaign__play {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 152px;
  height: 152px;
  margin: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 47, 135, 0.74);
  color: #fff;
  box-shadow: 0 20px 45px rgba(0, 27, 76, 0.35);
  backdrop-filter: blur(14px);
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    opacity 180ms ease;
}

.campaign__play:hover,
.campaign__play:focus-visible {
  background: rgba(0, 47, 135, 0.9);
  box-shadow: 0 24px 52px rgba(0, 27, 76, 0.42);
  transform: scale(1.04);
}

.campaign__play:focus-visible {
  outline: 3px solid rgba(255, 255, 255, 0.88);
  outline-offset: 4px;
}

.campaign__play[hidden] {
  display: none;
}

.campaign__play-icon {
  width: 0;
  height: 0;
  margin-left: 6px;
  border-top: 18px solid transparent;
  border-bottom: 18px solid transparent;
  border-left: 30px solid #fff;
}

.campaign__play-label {
  font-family: var(--title-font);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

@media (max-width: 640px) {
  .campaign__play {
    width: 112px;
    height: 112px;
    gap: 10px;
  }

  .campaign__play-icon {
    margin-left: 4px;
    border-top-width: 14px;
    border-bottom-width: 14px;
    border-left-width: 24px;
  }

  .campaign__play-label {
    font-size: 0.72rem;
    letter-spacing: 0.05em;
  }
}

.measures {
  padding: 72px 0 120px;
}

.measures__list {
  display: grid;
  gap: 38px;
}

.measure {
  display: grid;
  grid-template-columns: 62px minmax(0, 1fr);
  gap: 20px;
  align-items: start;
}

.measure__icon {
  width: 61px;
  height: auto;
  aspect-ratio: 61 / 69;
  margin-top: 2px;
  object-fit: contain;
}

.measure p {
  margin-top: 8px;
  max-width: 920px;
  color: var(--muted);
  font-size: 0.98rem;
  line-height: 1.6;
  letter-spacing: -0.01em;
}

.measure strong {
  font-weight: 700;
}

.measures-photo {
  padding: 0 0 88px;
}

.measures-photo__figure {
  margin: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow);
  background: #ece9e3;
}

.measures-photo__image {
  width: 100%;
  height: auto;
  aspect-ratio: 1156 / 768;
  object-fit: cover;
  object-position: center;
}

.footer {
  background: var(--footer);
  color: #fff;
  padding: 64px 0 28px;
}

.footer__content {
  display: grid;
  gap: 48px;
}

.footer__brand {
  display: grid;
  gap: 16px;
  width: fit-content;
}

.footer__brand-logo {
  width: 124px;
  height: auto;
  aspect-ratio: 124 / 68;
  object-fit: contain;
}

.footer__brand p {
  font-size: 0.86rem;
  opacity: 0.82;
}

.footer a {
  transition: color 180ms ease, opacity 180ms ease;
}

.footer a:hover,
.footer a:focus-visible {
  color: #fff;
  opacity: 1;
}

.footer a:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.85);
  outline-offset: 3px;
}

.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 0.72rem;
  letter-spacing: -0.01em;
}

.footer__bottom p {
  opacity: 0.5;
}

.footer__links {
  display: flex;
  gap: 28px;
}

.footer__links a {
  opacity: 0.8;
}

@media (max-width: 820px) {
  .hero,
  .hero__image-wrap,
  .hero__image {
    min-height: 360px;
    height: 74vw;
  }

  .hero__image-wrap picture {
    height: 100%;
  }

  .hero__image {
    width: 100%;
    height: 74vw;
    object-fit: cover;
    object-position: center 24%;
  }

  .hero__logo {
    top: 18px;
    left: 18px;
    width: 88px;
  }

  .intro {
    padding: 18px 0 40px;
  }

  .campaign {
    padding: 34px 0 52px;
  }

  .measures {
    padding: 44px 0 72px;
  }

  .measure {
    grid-template-columns: 44px minmax(0, 1fr);
    gap: 14px;
  }

  .measure__icon {
    width: 44px;
    height: auto;
  }

  .measure p {
    font-size: 0.9rem;
    line-height: 1.55;
  }

  .measures-photo {
    padding: 0 0 56px;
  }

  .measures-photo__figure {
    border-radius: 18px;
  }

  .footer {
    padding: 40px 0 22px;
  }

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

  .footer__links {
    gap: 18px;
    flex-wrap: wrap;
  }
}

@media (max-width: 540px) {
  :root {
    --container: min(1120px, calc(100vw - 28px));
  }

  .hero__image {
    object-position: center 18%;
    transform: scale(1.08);
  }

  .hero__title span:first-child {
    font-size: 1.95rem;
  }

  .hero__title span:last-child {
    font-size: 1.14rem;
  }

  .measures-photo {
    padding: 0 0 44px;
  }

  .measures-photo__figure {
    border-radius: 14px;
  }

  .intro__copy {
    max-width: 305px;
    font-size: 0.72rem;
    line-height: 1.33;
    font-weight: 400;
  }

  .intro__copy p + p,
  .intro__strong {
    margin-top: 11px;
  }

  .campaign__card {
    margin-top: 20px;
    border-radius: 14px;
  }

  .measures__list {
    gap: 28px;
  }

  .section-title {
    font-size: 1.24rem;
  }

  .section-title--campaign {
    font-size: 1.24rem;
  }

  .measure {
    grid-template-columns: 30px minmax(0, 1fr);
    gap: 10px;
  }

  .measure__icon {
    width: 30px;
    height: auto;
    margin-top: 1px;
  }

  .measure p {
    margin-top: 5px;
    font-size: 0.58rem;
    line-height: 1.38;
  }

  .campaign {
    padding-top: 26px;
  }

  .measures {
    padding-top: 36px;
    padding-bottom: 48px;
  }

  .footer__content {
    gap: 26px;
  }

  .footer__brand-logo {
    width: 86px;
  }

  .footer__brand p {
    font-size: 0.62rem;
  }

  .footer__bottom {
    gap: 10px;
    font-size: 0.48rem;
  }

  .footer__links {
    gap: 10px;
  }
}
