:root {
  /* fonts */
  --font-primary: "Ubuntu", sans-serif;
  --font-secondary: "Lora", sans-serif;

  /* colors */
  --color-bg-primary: #101010;
  --color-bg-secondary: #151515;
  --color-white: #fff;
  --color-brand-normal: #f9fbe7;
  --color-brand-active: #c2d30d;
  --color-brand-hover: #747f08;

  /* line-height */
  --lh-120: 1.2;
}

.page {
  font-family: var(--font-primary, sans-serif);
  font-weight: 700;
  background-color: var(--color-bg-primary);
}

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

.header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 16px;
  padding-bottom: 16px;
}

.header__logo-image {
  width: clamp(2.5rem, 4vw, 4.5rem);
  height: clamp(1.6875rem, 2.7vw, 3rem);
  object-fit: contain;
}

.header__back-link {
  color: var(--color-brand-normal);
  font-size: 1.563rem;
  font-weight: 700;
  line-height: var(--lh-120);
}

.no-scroll {
  overflow: hidden;
  height: 100vh;
}

.hero {
  position: relative;
  width: 100%;
  height: 557px;
  overflow: hidden;
}

.hero__background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

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

.hero__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  line-height: var(--lh-120);
}

.hero__title {
  font-size: 3.813rem;
  color: var(--color-brand-normal);
  margin-bottom: 24px;
  max-width: 977px;
}

.hero__description {
  font-weight: 400;
  font-size: 1.563rem;
  color: var(--color-white);
  max-width: 969px;
}

.overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, #000 0%, rgba(0, 0, 0, 0) 100%);
}

.partners {
  margin-top: 40px;
  margin-bottom: 40px;
}

.partners__list {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.partners__item {
  display: flex;
  align-items: center;
  justify-content: center;
}

.services__item {
  display: flex;
  gap: 162px;
  align-items: center;
  margin-bottom: 84px;
}

.services__image {
  max-width: 688px;
  max-height: 419px;
  flex-shrink: 0;
}

.services__info {
  color: var(--color-brand-normal);
  line-height: var(--lh-120);
  flex: 1;
}

.services__title {
  font-size: 3.063rem;
  margin-bottom: 17px;
}

.services__description {
  font-size: 1.125rem;
  font-weight: 400;
  line-height: var(--lh-120);
}

.advantages {
  margin-bottom: 80px;
}

.advantages .container {
  display: flex;
  gap: 127px;
  align-items: center;
}

.advantages__text {
  font-weight: 400;
  color: var(--color-brand-normal);
  line-height: var(--lh-120);
}

.advantages__title {
  max-width: 865px;
  font-size: 2.438rem;
  font-weight: 700;
  margin-bottom: 30px;
}

.advantages__paragraph {
  font-size: 1.125rem;
  max-width: 830px;
  margin-bottom: 15px;
}

.advantages__accent {
  font-weight: 700;
}

.advantages__img {
  width: 100%;
  max-width: 688px;
}

.cooperation {
  background-color: var(--color-bg-secondary);
  padding: 57px 0;
}

.cooperation .container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  column-gap: clamp(12px, 3vw, 80px);
}

.cooperation__list {
  display: grid;
  grid-template-columns: repeat(4, minmax(80px, 1fr));
  align-items: center;
  justify-items: start;
  gap: clamp(16px, 4vw, 56px);
}

.cooperation__icon {
  width: clamp(40px, 5vw, 96px);
  height: auto;
}

.cooperation__paragraph {
  color: #e0e0e0;
  font-size: 1.9375rem;
  line-height: var(--lh-120);
  margin: 0;
  max-width: 668px;
  justify-self: end;
}

.production {
  padding-top: 160px;
  padding-bottom: 169px;
}

.production__title {
  color: var(--color-brand-normal);
  max-width: 865px;
  font-size: 2.438rem;
  line-height: var(--lh-120);
  margin-bottom: 40px;
}

.production__list {
  display: flex;
  gap: 20px;
}

.production__item {
  position: relative;
}

.production__item:hover {
  cursor: pointer;
}

.production__item:hover .overlay {
  background: linear-gradient(rgba(194, 211, 13, 0.9));
}

.production__item:hover .production__item-title {
  color: var(--color-bg-primary);
}

.production__image {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.production__text {
  position: absolute;
  inset: 0;
  text-align: center;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1;
}

.production__item-title {
  max-width: 313px;
  color: var(--color-brand-normal);
  font-size: 1.938rem;
  line-height: var(--lh-120);
}

.production .overlay {
  background: linear-gradient(rgba(0, 0, 0, 0.9));
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 3;
  display: none;
  justify-content: center;
  align-items: center;
  background-color: rgba(0, 0, 0, 0.9);
  backdrop-filter: blur(8px);
  padding: 25px;
  cursor: pointer;
}

.modal.popup_is-opened {
  display: flex;
}

.modal__content {
  position: relative;
  display: grid;
  column-gap: 10vw;
  grid-template-columns: 40% 1fr;
  background-color: var(--color-bg-secondary);
  max-width: 1400px;
  width: 100%;
  overflow-y: auto;
  max-height: 90vh;
  cursor: default;
}

.modal__content img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.modal__close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  color: var(--color-brand-normal);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition:
    background-color 0.3s ease,
    color 0.3s ease;
  z-index: 10;
}

.modal__close:hover {
  background-color: rgba(255, 255, 255, 0.1);
  color: var(--color-white);
}

.modal__close:focus {
  outline: 2px solid var(--color-brand-active);
  outline-offset: 2px;
}

.modal__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--color-brand-normal);
  line-height: var(--lh-120);
  padding-right: 30px;
}

.modal__title {
  font-size: 2.438rem;
  margin-bottom: 16px;
}

.modal__paragraph {
  font-size: 1.125rem;
  font-weight: 400;
  max-width: 545px;
  margin-bottom: 16px;
}

.modal__text span {
  font-weight: 400;
  max-width: 545px;
}

.modal__list {
  font-weight: 400;
  margin-bottom: 16px !important;
}

.modal__item {
  list-style-type: disc !important;
  margin-left: 25px !important;
}

.benefits {
  background-color: var(--color-bg-secondary);
  padding-top: 93px;
  padding-bottom: 144px;
}

.benefits__title {
  color: var(--color-brand-normal);
  max-width: 606px;
  font-size: 2.438rem;
  line-height: var(--lh-120);
  margin-bottom: 40px;
}

.benefits__list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.benefits__item {
  display: flex;
  gap: 16px;
  align-items: center;
}

.benefits__icon {
  width: 98px;
  height: 120px;
}

.benefits__content {
  color: var(--color-brand-normal);
  line-height: var(--lh-120);
}

.benefits__item-title {
  font-size: 1.563rem;
  margin-bottom: 7px;
}

.benefits__item-text {
  font-size: 1.125rem;
  font-weight: 400;
}

.map {
  width: 100%;
  height: 527px;
  margin-bottom: 80px;
}

.map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.footer {
  padding-bottom: 80px;
}

.footer .container {
  display: flex;
  align-items: flex-start;
  gap: clamp(45px, calc(45px + (91 - 45) * ((100vw - 1440px) / (1920 - 1440))), 91px);
}

.footer-brand {
  display: flex;
  align-items: flex-start;
  gap: 91px;
}

.footer__contact {
  color: var(--color-brand-normal);
  font-weight: 400;
  line-height: var(--lh-120);
  font-size: 1.563rem;
}

.footer__address {
  font-style: normal;
  margin-bottom: 58px;
}

.footer__address p:nth-child(3) {
  margin-bottom: 58px;
}

.footer__hours {
  max-width: 419px;
}

.footer-form {
  min-width: 0;
  flex: 1;
}

.footer-form input,
.footer-form textarea {
  width: 100%;
  border: 1px solid var(--color-brand-normal);
  border-radius: 10px;
  background-color: inherit;
  color: #bebebe;
  padding: 10px 31px 10px 26px;
}

.footer-form input::placeholder,
.footer-form textarea::placeholder {
  color: #bebebe;
  font-weight: 400;
}

.footer-form textarea {
  min-height: 195px;
}

.form-message {
  margin-bottom: 17px;
}

.form-row {
  display: flex;
  gap: 18px;
  margin-bottom: 17px;
}

.form-field {
  flex: 1;
}

.recaptcha-status {
  display: none !important;
  margin-top: 10px;
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 14px;
  display: none;
}

.recaptcha-status.loading {
  background-color: #e3f2fd;
  color: #1976d2;
  display: block;
}

.recaptcha-status.success {
  background-color: #e8f5e8;
  color: #2e7d32;
  display: block;
}

.recaptcha-status.error {
  background-color: #ffebee;
  color: #c62828;
  display: block;
}

.form-status {
  color: #f7f7f7;
}

.form-submit {
  width: 100%;
  background-color: var(--color-brand-active);
  color: var(--color-bg-primary);
  padding: 10px 0;
  font-size: clamp(1.25rem, 0.3125rem + 1.0417vw, 1.5625rem);
  border-radius: 10px;
  cursor: pointer;
  border: none;
  transition: background-color 0.3s ease;
}

.form-submit:hover {
  background-color: var(--color-white);
}

.form-submit.form-submit-inactive {
  background-color: #f7f7f7;
  color: #c0c0c0;
  cursor: not-allowed;
}

.error {
  display: none;
  color: red;
  font-size: 1rem;
}

.footer-contact-buttons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  justify-content: center;
}

.contact-button {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 32px;
  border: 2px solid var(--color-brand-active);
  border-radius: 10px;
  color: var(--color-brand-normal);
  font-size: 1.563rem;
  font-weight: 700;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.contact-button:hover {
  background-color: var(--color-brand-active);
  color: var(--color-bg-primary);
}

.contact-button__icon {
  flex-shrink: 0;
}

.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
