:root {
  --gray: #ede9e4;
  --black: #3c3c3c;
  --black-hover: #282828;
  --white: #ffffff;
  --brown: #946347;
  --brown-hover: #8a593d;
  --rounded-sm: 5px;
  --rounded-lg: 10px;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--black);
  background-color: var(--gray);
  font-family: "Roboto", sans-serif;
}

ul {
  padding: 0;
}

li {
  list-style: none;
}

/* ===== container ===== */

.container--header {
  max-width: 1714px;
}

.container--large {
  max-width: 1714px;
  padding-top: 125px;
  padding-bottom: 125px;
}

.container--form {
  padding-top: 0;
  padding-bottom: 0;
}

/* ===== form ===== */

.form-control {
  height: 52px;
  padding-left: 16px;
  font-size: clamp(0.75rem, 2vw, 1.12rem);
  border: none;
  border-radius: var(--rounded-sm);
}

.form-control:focus {
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border-color: var(--black);
  outline: 0;
  box-shadow: 0 0 0 0.25rem #3c3c3c66;
}

.form-check-input:focus {
  border-color: var(--black);
  outline: 0;
  box-shadow: 0 0 0 0.25rem #3c3c3c66;
}

.form-check-input:checked {
  background-color: var(--black);
  border-color: var(--white);
}

/* pop-up form  */

.form__dialog {
  min-width: 840px;
}

.form__content {
  background-color: var(--gray);
}

.form__title {
  font-size: clamp(1.12rem, 3.4vw, 2.25rem);
}

.application__form-title {
  font-size: clamp(1.12rem, 3.4vw, 2.25rem);
  text-align: center;
}

/* ===== button ===== */

.btn {
  width: 100%;
  height: 60px;
  font-size: 1.12rem;
  border-radius: var(--rounded-sm);
}

.btn--compact {
  width: 268px;
}

.btn-normal {
  color: var(--white);
  background-color: var(--black);
  border: 1px solid #ffffff20;
}

.btn-normal:hover {
  color: var(--white);
  background-color: var(--black-hover);
}

.btn.btn-normal:active {
  color: var(--white);
  background-color: var(--black);
  border: 1px solid var(--black);
}

.btn-normal--white {
  color: var(--black-hover);
  background-color: var(--white);
  border: 1px solid var(--white);
}

.btn-normal--white:hover {
  color: var(--white);
  background-color: var(--black-hover);
}

.btn.btn-normal--white:active {
  color: var(--white);
  background-color: var(--black);
}

.btn-outline {
  color: var(--black);
  border: 1px solid var(--black);
}

.btn-outline:hover {
  color: var(--white);
  background-color: var(--black);
}

.btn.btn-outline:active {
  color: var(--white);
  background-color: var(--black);
}

.btn-outline--white {
  color: var(--white);
  border: 1px solid var(--white);
}

.btn-outline--white:hover {
  color: var(--black);
  background-color: var(--white);
}

.btn.btn-outline--white:active {
  color: var(--black);
  background-color: var(--white);
}

.enter__group-btn {
  display: flex;
  column-gap: 1.5rem;
}

/* ===== section title ===== */

.section-title {
  font-size: clamp(0.5rem, 3vw, 2.25rem);
  font-weight: 400;
}

.section-title--padding {
  margin-bottom: 50px;
}

.section-title--xl {
  font-size: clamp(1.12rem, 3.4vw, 4.06rem);
  font-weight: 300;
  text-transform: uppercase;
}

/* ===== header ===== */

.header {
  width: 100%;
  max-width: 1920px;
  min-height: 1045px;
  background: url("/templates/images/bg_header_hodeco.jpg") center/ cover
    no-repeat;
}

.header__nav {
  padding-top: 30px;
}

.header__nav-list {
  gap: clamp(40px, 5vw, 100px);
  padding: 0 24px;
  white-space: nowrap;
}

.header__logo img {
  height: 79px;
  max-width: 82px;
}

.header__nav-link {
  position: relative;
  color: var(--white);
  font-size: 1.12rem;
  text-decoration: none;
}

.header__nav-link::before {
  position: absolute;
  width: 0;
  height: 2px;
  right: 0;
  bottom: -4px;
  left: auto;
  background-color: var(--white);
  border-radius: 2px;
  opacity: 0.5;
  transition: width 0.4s ease;
  content: "";
}

.header__nav-link:hover::before {
  width: 100%;
  right: auto;
  left: 0;
}

.header__action {
  gap: 20px;
}

.header__action img {
  border-radius: var(--rounded-lg);
  transition: background-color 0.4s ease;
}

.header__action img:hover {
  opacity: 0.6;
  filter: drop-shadow(0 0 2px #00000060);
}

.header__logo-hero {
  padding-top: 164px;
}

/* ===== burger menu ===== */

.burger {
  display: none;
  justify-content: center;
  align-items: center;
  background-color: transparent;
  border: none;
}

.burger__menu {
  margin-top: 0;
  margin-right: 0;
}

.btn-close--modal {
  filter: invert(1);
}

.burger__menu-content {
  background-color: var(--black);
}

/* ===== aside button ===== */

.aside {
  position: fixed;
  right: -4.6rem;
  bottom: 7rem;
  z-index: 9999;
}

.aside__button {
  width: 204px;
  height: 68px;
  color: var(--white);
  font-size: 1.12rem;
  background-color: var(--brown);
  border: none;
  transform: rotate(90deg);
  letter-spacing: 0.05em;
}

.aside__button:hover {
  color: var(--white);
  background-color: var(--brown-hover);
}

.btn.aside__button:active {
  color: var(--white);
  background-color: var(--brown);
  border: none;
}

/*  ===== section about =====  */
.about {
  position: relative;
  min-height: 96vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.about__content {
  max-width: 1265px;
}

.about__title {
  margin-bottom: 38px;
  font-size: clamp(1.12rem, 3vw, 2.25rem);
  line-height: 152%;
  font-weight: 600;
}

.about__description {
  margin-bottom: 50px;
  font-size: clamp(0.88rem, 3vw, 1.62rem);
  line-height: 152%;
}

.about__logo {
  width: min(64%, 640px);
  height: auto;
  max-width: 618px;
}

.about__pattern {
  position: absolute;
}

.about__pattern--left {
  width: 508px;
  height: 690px;
  bottom: -64px;
  left: 0;
}

.about__pattern--right {
  width: 601px;
  height: 772px;
  top: -274px;
  right: 0;
}

/*  ===== section services =====  */
.services__card-icon {
  width: 100px;
  height: 100px;
  margin-bottom: 30px;
}

.services__card-title {
  margin-bottom: 6px;
  font-size: clamp(0.75rem, 3vw, 1.62rem);
  font-weight: 500;
}

.services__card-subtitle {
  font-size: clamp(0.5rem, 3vw, 1.12rem);
}

/*  ===== section promo =====  */

.promo__card {
  position: relative;
  margin-bottom: 0;
}

.promo__img {
  width: 100%;
  border-radius: var(--rounded-lg);
  object-fit:cover;
}

.promo__wrapper {
  position: absolute;
  width: 100%;
  bottom: 0;
  padding: 12px;
}

.promo__content {
  position: relative;
  padding: 12px;
  border-radius: var(--rounded-lg);
  z-index: 1;
}

.promo__title {
  font-size: clamp(1.12rem, 3.4vw, 3.75rem);
  font-weight: 700;
}

.promo__subtitle {
  margin: 0;
  font-size: clamp(0.5rem, 3.4vw, 1rem);
}

.promo__content::before {
  position: absolute;
  background-color: #ffffff26;
  border-radius: var(--rounded-lg);
  z-index: -1;
  inset: 0;
  content: "";
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

/* ===== section choose ===== */

.choose__carousel .owl-item img {
  width: auto;
  display: block;
}

.choose__card {
  height: 274px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px;
  border: 1px solid #3c3c3c50;
  border-radius: var(--rounded-lg);
  transition: background-color 0.4s ease, color 0.4s ease;
}

.choose__card:hover {
  color: var(--white);
  background-color: var(--black);
}

.choose__card-icon {
  width: 80px;
  height: 80px;
  opacity: 0.7;
}

.choose__card:hover .choose__card-icon {
  filter: invert(1);
}

.choose__card-title {
  font-size: 1.625rem;
  font-weight: 600;
  line-height: 1.2;
}

.choose__card-title span {
  display: block;
  margin-top: 8px;
  font-size: 1.125rem;
  font-weight: 400;
  line-height: 1.4;
}

.choose__card--inline span {
  display: inline;
  margin-left: 6px;
}

/* ===== section catalog ===== */

.nav-pills {
  gap: 10px;
}

.nav-item {
  flex: 1;
}

.catalog__nav-link {
  width: 100%;
  height: 85px;
  color: var(--black);
  font-size: clamp(0.5rem, 2vw, 1.62rem);
  border: 1px solid var(--black);
  border-radius: var(--rounded-sm) !important;
}

.catalog__nav-link:hover {
  color: var(--white);
  background-color: var(--black);
}

.catalog__nav-link.active {
  color: var(--white);
  background-color: var(--black) !important;
}

.catalog .row {
  --bs-gutter-x: 0.625rem;
}

.catalog__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  padding: 6px;
  background-color: var(--white);
  border-radius: var(--rounded-lg);
  cursor: pointer;
  transition: outline 0.4s ease, transform 0.4s ease;
  outline: 1px solid #ffffff;
  outline-offset: -6px;
}

.catalog__card:hover {
  outline: 1px solid #3c3c3c40;
  outline-offset: -6px;
  transform: translateY(-2px);
}

.catalog__card-img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 4px 4px 0 0;
}

.catalog__content {
  padding: 20px 14px 14px;
}

.catalog__card-icon {
  width: 38px;
  height: auto;
  margin: 6px 8px;
  opacity: 0.3;
  transition: opacity 0.4s ease;
	filter: drop-shadow(1px 1px #ffffff) drop-shadow(1px -1px #ffffff)
	drop-shadow(-1px 1px #ffffff) drop-shadow(-1px -1px #ffffff);
}

.catalog__card-icon:hover {
  opacity: 0.8;
}

.catalog__card-title {
  font-size: clamp(0.75rem, 1.3vw, 1.62rem);
}

.catalog__card-description {
  font-size: clamp(0.5rem, 1.3vw, 1.25rem);
}

.catalog__card-price {
  font-size: clamp(0.5rem, 1.3vw, 1.12rem);
}

.content--padding {
  margin-bottom: 42px;
}

/* ===== section gallery ===== */
.gallery__carousel {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  padding: 0;
  box-sizing: border-box;
}

.custom-next,
.custom-prev {
  background: transparent;
  border: none;
}

.custom-next img,
.custom-prev img {
  width: clamp(60px, 14vw, 200px);
  height: auto;
}

.gallery__card-img {
  width: 529px;
  height: 382px;
  border-radius: var(--rounded-lg);
  object-fit: cover;
}

/* ===== section block form ===== */

.block__form {
  position: relative;
  width: 100%;
  min-height: 438px;
  background: url("/templates/images/form-bg-img.jpg");
  z-index: 0;
  background-position: center;
}

.block__form::before {
  position: absolute;
  content: "";
  inset: 0;
  background: linear-gradient(to right, #3c3c3c10, #1d1d1b80);
  z-index: 1;
}

.block__form-row {
  position: relative;
  padding-top: 70px;
  z-index: 3;
}

.block__form-info {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.block__form-logo {
  width: 338px;
  height: 165px;
}

.block__form-description {
  width: min(620px, 100%);
  margin-bottom: 3rem;
  font-size: clamp(0.88rem, 2vw, 1.62rem);
}

.form-check-label {
  font-size: clamp(0.5rem, 1.4vw, 0.75rem);
}

/*  ===== section delivery =====  */

.delivery__item {
  min-height: 140px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 20px;
  border: 1px solid #3c3c3c50;
  border-radius: var(--rounded-lg);
}

.delivery__icon {
  align-self: flex-end;
  justify-content: flex-start;
}

.delivery__title {
  margin: 0;
  font-size: clamp(0.75rem, 3vw, 1.62rem);
}

.delivery__title--size {
  width: min(640px, 100%);
}

.delivery__text {
  margin: 0;
  font-size: clamp(0.5rem, 3vw, 1.12rem);
  opacity: 0.8;
}

/*  ===== section news =====  */

.news__card {
  position: relative;
  margin-bottom: 0;
}

.news__img {
  width: 100%;
  height: 100%;
  border-radius: var(--rounded-lg);
  object-fit: cover;
}

.news__wrapper {
  position: absolute;
  width: 100%;
  bottom: 0;
}

.news__content {
  position: relative;
  min-height: 186px;
  padding: 24px;
  color: var(--white);
  border-radius: var(--rounded-lg);
  z-index: 1;
}

.news__content::before {
  position: absolute;
  background-color: #ffffff26;
  border-radius: var(--rounded-lg);
  z-index: -1;
  inset: 0;
  content: "";
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.news__title {
  font-size: clamp(0.75rem, 1.6vw, 1.62rem);
  font-weight: 700;
}

.news__subtitle {
  margin: 0;
  font-size: clamp(0.5rem, 1.3vw, 1.25rem);
}

/*  ===== section subscribe =====  */

.subscribe__text {
  width: min(760px, 100%);
  font-size: clamp(0.88rem, 1.3vw, 1.62rem);
}

/* ===== footer contacts ===== */
.footer {
  color: var(--white);
  background-color: var(--black);
}

.footer__title {
  font-size: clamp(0.75rem, 2vw, 1.12rem);
}

.footer__text {
  font-size: clamp(0.75rem, 2vw, 1rem);
}

.footer__logo {
  width: min(280px, 100%);
}

.footer__wrapper {
  display: flex;
  flex: 1;
}

.footer__hours {
  width: min(300px, 100%);
}

.footer__contact {
  width: min(340px, 100%);
}

.footer__actions {
  width: min(400px, 100%);
	display:flex;
	flex-direction:column;
	row-gap:1rem;
}

.footer__link,
.footer__socials-img {
  color: var(--white);
  text-decoration: none;
  transition: opacity 0.4s ease;
}

.footer__link:hover,
.footer__socials-img:hover {
  opacity: 0.4;
}

.modal__link {
  color: var(--black);
  text-decoration: none;
  transition: opacity 0.4s ease;
}

.modal__link:hover {
  opacity: 0.7;
}

/* * {
  outline: 1px solid lightsalmon;
} */

/*  @media 1100  */

@media (max-width: 1100px) {
  .container--large {
    padding-top: 85px;
    padding-bottom: 85px;
  }

  .btn {
    font-size: 1rem;
  }

  .section-title--padding {
    margin-bottom: 40px;
  }

  /* === form === */

  .form-control {
    height: 42px;
  }

  .header__nav {
    padding-top: 15px;
  }

  .header {
    height: min(86vh, 1045px);
    min-height: auto;
  }

  .header__nav-list {
    display: none !important;
  }

  .header__nav-list--mobile {
    display: flex !important;
  }

  .header__nav-list--mobile a {
    font-size: 0.88rem;
  }

  .header__logo-hero {
    padding-top: 88px;
  }

  .header__logo-hero img {
    width: 360px;
    height: auto;
  }

  .burger {
    display: flex;
  }

  .aside {
    right: -3.7rem;
  }

  .aside__button {
    width: 149px;
    height: 41px;
    font-size: 1rem;
  }

  /* === section about === */
	
  .about__title {
    margin-bottom: 28px;
    text-align: center;
  }

  .about__description {
    margin-bottom: 30px;
  }
	
  .about__pattern--right {
    top: -174px;
  }

  .about__pattern--right {
    width: 360px;
    height: auto;
  }
  .about__pattern--left{
    width: 360px;
    height: auto;
  }
	
  .form__dialog {
    min-width: 660px;
  }

  /* === section services === */

  .services__card-icon {
    width: 70px;
    height: auto;
    margin-bottom: 20px;
  }

  /* === section gallery === */
  .gallery__card-img {
    height: 300px;
  }

  /*  ===== section news =====  */
  .news__content {
    min-height: 126px;
  }

  /* ===== footer contacts ===== */
  .footer__logo {
    width: 100%;
    margin-bottom: 1rem;
    text-align: center;
  }

  .footer__wrapper {
    width: 100%;
    justify-content: center;
    margin-bottom: 1rem;
    column-gap: 20%;
  }

  .footer__actions {
    width: 100%;
    margin-top:0.6rem;
    flex-direction:row;
    column-gap:1rem;
  }
}

/* @media 768px */

@media (max-width: 768px) {
  .container--large {
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .btn--small {
    height: 34px;
    font-size: 0.7rem;
  }

  .btn--compact {
    width: 140px;
  }

  .enter__group-btn {
    display: flex;
    flex-direction: column;
    row-gap: 0.7rem;
  }

  .section-title--padding {
    margin-bottom: 30px;
  }

  /* == form == */

  .form-control {
    height: 32px;
    padding-left: 10px;
  }

  .header__logo img {
    max-width: 45px;
    max-height: 43px;
  }

  .header__action-icon {
    width: 28px;
    height: 28px;
  }

  .header__logo-hero {
    padding-top: 88px;
  }

  .header__logo-hero img {
    width: 227px;
    height: 220px;
  }

  /* == section about == */
  .about {
    min-height: 70vh;
  }

  .about__pattern--right {
    top: -94px;
  }

  .about__pattern--right {
    width: 180px;
    height: auto;
  }
  .about__pattern--left{
    width: 130px;
    height: auto;
    bottom: 52px;
    left: -10px;
  }

  .form__dialog {
    min-width: auto;
  }

  .form__logo-application {
    width: 53px;
    height: 52px;
  }

  /* == section services == */

  .services__card-icon {
    width: 40px;
    height: auto;
    margin-bottom: 10px;
  }

  /*  == section promo ==  */

  .promo__wrapper {
    padding: 5px;
  }

  .promo__content {
    padding: 5px;
  }
	
  .promo__img {
    height: 232px;
  }

  /* == choose us == */
  .choose__card {
    height: 181px;
    padding: 12px;
  }

  .choose__card-icon {
    width: 50px;
    height: 50px;
  }

  .choose__card-title {
    font-size: 1rem;
  }

  .choose__card-title span {
    margin-top: 6px;
    font-size: 0.8rem;
  }

  /* == section catalog == */

  .nav-pills {
    gap: 2px;
  }

  .catalog__nav-link {
    height: 24px;
    padding: 0;
  }

  .content--padding {
    margin-bottom: 20px;
  }

  .catalog__card-img {
    width: 88px;
    height: 85px;
    margin: 24px 0;
  }

  .catalog__card-icon {
    width: 20px;
    height: auto;
  }

  /* == section gallery == */
  .gallery__card-img {
    height: 220px;
  }

  /* ===== section block form ===== */

  .block__form-logo {
    width: 143px;
    height: 70px;
  }
	
  .block__form-row {
    padding-top: 0;
  }
	
  /*  == section delivery ==  */
  .delivery__item {
    padding: 15px;
  }

  /*  == section news ==  */
  .news__content {
    min-height: 86px;
    padding: 12px;
  }
	


  /* ===== footer contacts ===== */
  .footer__wrapper {
    justify-content: space-between;
  }
	
 .footer__actions {
    flex-direction:column;
    column-gap:1rem;
  }
}

/* @media 540px */

@media (max-width: 540px) {
  /* = choose us = */
  .choose__card {
    height: 131px;
    padding: 10px;
  }

  .choose__card-icon {
    width: 30px;
    height: 30px;
  }

  .choose__card-title {
    font-size: 0.75rem;
  }

  .choose__card-title span {
    margin-top: 4px;
    font-size: 0.5rem;
  }

  /* = section gallery = */
  .gallery__card-img {
    height: 126px;
  }
	
  .promo__img {
    height: 132px;
  }

  .block__form-info {
    gap: 20px;
  }
	
  .block__form-description{
    margin-bottom:1.2rem;
  }

}
