:root {
  --fp-bg: #f2f2f2;
  --fp-ink: #2d2d2f;
  --fp-muted: #6d6d72;
  --fp-light: #e5e5e5;
  --fp-red: #c6002b;
  --fp-dark: #222224;
  --fp-container: var(--hero-container-max);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--fp-ink);
  background: var(--fp-bg);
  font-family: "Inter", "Arial", sans-serif;
  line-height: 1.45;
}

.fp-container {
  width: min(100% - (var(--container-padding) * 2), var(--fp-container));
  margin: 0 auto;
}

.fp-header {
  padding: 26px 0 42px;
}

.fp-header__bar {
  display: flex;
  align-items: center;
  gap: 30px;
  min-height: 66px;
  padding: 9px 18px;
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(0, 0, 0, .08);
}

.fp-logo {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
}

.fp-logo img {
  display: block;
  width: 174px;
  height: auto;
}

.fp-nav {
  display: flex;
  gap: 28px;
  align-items: center;
  margin-left: 28px;
  font-size: 13px;
  white-space: nowrap;
}

.fp-nav a,
.fp-phone,
.fp-contact {
  color: var(--fp-ink);
  text-decoration: none;
}

.fp-nav a:hover,
.fp-phone:hover {
  color: var(--fp-red);
}

.fp-header__actions {
  display: flex;
  gap: 18px;
  align-items: center;
  margin-left: auto;
}

.fp-phone {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  white-space: nowrap;
}

.fp-phone::before {
  content: "";
  width: 38px;
  height: 38px;
  background: var(--fp-red);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg width='18' height='18' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.8 19.8 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.8 19.8 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.12.9.32 1.77.6 2.6a2 2 0 0 1-.45 2.11L8 9.69a16 16 0 0 0 6.31 6.31l1.26-1.26a2 2 0 0 1 2.11-.45c.83.28 1.7.48 2.6.6A2 2 0 0 1 22 16.92Z' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: center;
}

.fp-contact,
.fp-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 28px;
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  background: var(--fp-dark);
  border-radius: 999px;
}

.fp-contact:hover,
.fp-button:hover {
  background: #000;
}

.fp-hero {
  padding-top: 112px;
  padding-bottom: 62px;
}

.fp-hero h1 {
  max-width: 1320px;
  margin: 0;
  font-size: clamp(30px, 2.4vw, 46px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fp-section {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(360px, 1.05fr);
  gap: 72px;
  align-items: center;
  padding: 42px 0;
}

.fp-section--wide {
  display: block;
  padding-top: 58px;
}

.fp-section__copy {
  position: relative;
  z-index: 1;
  min-height: 260px;
  padding-top: 52px;
}

.fp-section__copy--compact {
  min-height: 0;
}

.fp-section__number {
  position: absolute;
  top: 0;
  left: -4px;
  z-index: -1;
  color: var(--fp-light);
  font-size: clamp(72px, 8vw, 118px);
  font-weight: 900;
  line-height: .8;
}

.fp-section h2,
.fp-section--wide h2 {
  max-width: 640px;
  margin: 0 0 20px;
  font-size: clamp(22px, 2.1vw, 31px);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: 0;
  text-transform: uppercase;
}

.fp-section p,
.fp-section--wide p {
  max-width: 560px;
  margin: 0 0 16px;
  color: var(--fp-muted);
  font-size: 15px;
}

.fp-section__media {
  margin: 0;
}

.fp-section__media img,
.fp-showcase img,
.fp-gallery img {
  display: block;
  width: 100%;
  height: auto;
}

.fp-section__media img {
  border-radius: 2px;
  filter: drop-shadow(0 20px 34px rgba(0, 0, 0, .12));
}

.fp-doc-link {
  display: inline-flex;
  gap: 7px;
  align-items: center;
  margin-top: 6px;
  color: #a8a8ad;
  font-size: 13px;
  text-decoration: none;
}

.fp-doc-link::before {
  content: "";
  width: 18px;
  height: 18px;
  background: var(--fp-red);
  mask: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 2h7l5 5v15H7V2Zm6 1.5V8h4.5L13 3.5ZM5 6H3v16h2V6Z'/%3E%3C/svg%3E") center / contain no-repeat;
}

.fp-showcase {
  position: relative;
  display: grid;
  grid-template-columns: minmax(240px, 380px) 1fr;
  gap: 42px;
  align-items: center;
  margin-top: 28px;
  padding: 54px 48px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .08);
}

.fp-showcase__text {
  color: var(--fp-ink);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1.35;
}

.fp-showcase__text p {
  margin: 0;
  color: inherit;
}

.fp-showcase img {
  filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .16));
}

.fp-dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin-top: 24px;
}

.fp-dots span {
  width: 5px;
  height: 5px;
  background: #bdbdc1;
  border-radius: 50%;
}

.fp-dots span:first-child {
  background: var(--fp-red);
}

.fp-awards-slider {
  margin-top: 28px;
}

.fp-awards-slider__viewport {
  background: #fff;
  box-shadow: 0 20px 42px rgba(0, 0, 0, .08);
}

.fp-awards-slide {
  display: none;
  grid-template-columns: minmax(250px, 360px) minmax(0, 1fr);
  align-items: stretch;
}

.fp-awards-slide.is-active {
  display: grid;
}

.fp-awards-slide__text {
  display: flex;
  align-items: center;
  padding: 44px 38px;
}

.fp-awards-slide__text p {
  max-width: 280px;
  margin: 0;
  color: var(--fp-muted);
  font-size: 15px;
  line-height: 1.55;
}

.fp-awards-slide__media {
  display: flex;
  align-items: center;
  min-width: 0;
  margin: 0;
  background: #fff;
}

.fp-awards-slide__media img {
  display: block;
  width: 100%;
  height: auto;
}

.fp-awards-slider__controls {
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: center;
  margin-top: 24px;
}

.fp-awards-slider__arrow,
.fp-awards-slider__dots button {
  padding: 0;
  border: 0;
  cursor: pointer;
}

.fp-awards-slider__arrow {
  position: relative;
  width: 34px;
  height: 34px;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.fp-awards-slider__arrow::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 10px;
  height: 10px;
  border-bottom: 2px solid var(--fp-red);
  border-left: 2px solid var(--fp-red);
  transform: translate(-38%, -50%) rotate(45deg);
}

.fp-awards-slider__arrow--next::before {
  transform: translate(-62%, -50%) rotate(225deg);
}

.fp-awards-slider__arrow:hover,
.fp-awards-slider__arrow:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(198, 0, 43, .18), 0 8px 20px rgba(0, 0, 0, .08);
}

.fp-awards-slider__dots {
  display: flex;
  gap: 7px;
  align-items: center;
}

.fp-awards-slider__dots button {
  width: 7px;
  height: 7px;
  background: #bdbdc1;
  border-radius: 50%;
}

.fp-awards-slider__dots button.is-active,
.fp-awards-slider__dots button:hover,
.fp-awards-slider__dots button:focus-visible {
  background: var(--fp-red);
  outline: none;
}

.fp-gallery {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 34px 70px;
  align-items: start;
  margin-top: 18px;
  margin-bottom: 52px;
}

.fp-gallery a {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
  transition: transform .18s ease;
}

.fp-gallery a:hover {
  transform: translateY(-3px);
}

.fp-gallery img {
  width: 100%;
  height: auto;
  aspect-ratio: auto;
  object-fit: contain;
}

.fp-gallery__item--portrait img {
  width: 76%;
}

.fp-darkbox[hidden] {
  display: none;
}

.fp-darkbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(0, 0, 0, .86);
}

.fp-darkbox__backdrop {
  position: absolute;
  inset: 0;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.fp-darkbox__image {
  position: relative;
  z-index: 1;
  display: block;
  width: auto;
  max-width: min(92vw, 1200px);
  height: auto;
  max-height: 88vh;
  background: #fff;
  box-shadow: 0 24px 80px rgba(0, 0, 0, .45);
  object-fit: contain;
}

.fp-darkbox__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: #fff;
  border-radius: 50%;
  cursor: pointer;
}

.fp-darkbox__close::before,
.fp-darkbox__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 20px;
  height: 2px;
  background: var(--fp-ink);
}

.fp-darkbox__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.fp-darkbox__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.fp-darkbox__close:hover,
.fp-darkbox__close:focus-visible {
  outline: none;
  box-shadow: 0 0 0 3px rgba(198, 0, 43, .28);
}

body.fp-darkbox-open {
  overflow: hidden;
}

.fp-footer {
  margin-top: 70px;
  padding: 56px 0;
  color: #fff;
  background: #252525;
}

.fp-footer__grid {
  display: grid;
  grid-template-columns: 240px 1fr 270px;
  gap: 80px;
  align-items: start;
}

.fp-footer__logo img {
  display: block;
  width: 150px;
  height: auto;
}

.fp-footer__copyright {
  margin: 58px 0 0;
  color: #9b9b9b;
  font-size: 12px;
}

.fp-footer__nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(120px, 1fr));
  gap: 18px 54px;
}

.fp-footer__nav a,
.fp-footer__contacts a {
  color: #d6d6d6;
  font-size: 14px;
  text-decoration: none;
}

.fp-footer__nav a:hover,
.fp-footer__contacts a:hover {
  color: #fff;
}

.fp-footer__contacts {
  display: grid;
  gap: 26px;
  color: #d6d6d6;
  font-style: normal;
}

.fp-footer__contacts p {
  margin: 0;
  font-size: 14px;
}

@media (max-width: 1020px) {
  .fp-header__bar {
    flex-wrap: wrap;
  }

  .fp-nav {
    order: 3;
    width: 100%;
    margin-left: 0;
    overflow-x: auto;
  }

  .fp-section {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .fp-section__copy {
    min-height: 0;
  }

  .fp-showcase {
    grid-template-columns: 1fr;
  }

  .fp-awards-slide,
  .fp-awards-slide.is-active {
    grid-template-columns: 1fr;
  }

  .fp-awards-slide__text {
    min-height: 0;
    padding: 28px;
  }

  .fp-awards-slide__text p {
    max-width: 100%;
  }

  .fp-gallery {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
  }

  .fp-gallery__item--portrait img {
    width: min(76%, 300px);
  }

  .fp-footer__grid {
    grid-template-columns: 1fr;
    gap: 38px;
  }

  .fp-footer__copyright {
    margin-top: 24px;
  }
}

@media (max-width: 680px) {
  .fp-container {
    width: min(100% - 28px, var(--fp-container));
  }

  .fp-header {
    padding: 14px 0 30px;
  }

  .fp-header__bar {
    gap: 18px;
    padding: 12px;
  }

  .fp-logo img {
    width: 146px;
  }

  .fp-header__actions {
    width: 100%;
    flex-wrap: wrap;
    margin-left: 0;
  }

  .fp-phone,
  .fp-contact {
    width: 100%;
  }

  .fp-nav {
    gap: 18px;
    font-size: 12px;
  }

  .fp-section,
  .fp-section--wide {
    padding: 32px 0;
  }

  .fp-section__copy {
    padding-top: 42px;
  }

  .fp-section h2,
  .fp-section--wide h2 {
    font-size: 22px;
  }

  .fp-section p,
  .fp-section--wide p {
    font-size: 14px;
  }

  .fp-showcase {
    gap: 24px;
    padding: 24px 18px;
  }

  .fp-awards-slide__text {
    padding: 22px 18px;
  }

  .fp-awards-slider__controls {
    gap: 14px;
    margin-top: 18px;
  }

  .fp-gallery {
    grid-template-columns: 1fr;
    gap: 20px;
    margin-bottom: 34px;
  }

  .fp-gallery img,
  .fp-gallery__item--portrait img {
    width: min(100%, 380px);
  }

  .fp-darkbox {
    padding: 16px;
  }

  .fp-darkbox__close {
    top: 12px;
    right: 12px;
  }

  .fp-footer {
    margin-top: 38px;
    padding: 42px 0;
  }

  .fp-footer__nav {
    grid-template-columns: 1fr;
  }
}

.fp-section__media-link {
  display: block;
  color: inherit;
  text-decoration: none;
  border-radius: inherit;
}

.fp-section__media-link:focus-visible {
  outline: 2px solid #c41230;
  outline-offset: 4px;
}
