/* HERO */

.hero {
  display: grid;
  grid-template-columns: 55% 45%;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  background: var(--white);
}

.hero__content {
  position: relative;
  display: flex;
  align-items: center;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: #fff;
}

.hero__content::before {
  content: "";
  position: absolute;
  left: -180px;
  bottom: -220px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(189, 64, 52, 0.16),
    rgba(189, 64, 52, 0.055) 42%,
    transparent 72%
  );
  pointer-events: none;
}

.hero__content-inner {
  position: relative;
  z-index: 1;
  width: min(520px, calc(100% - 80px));
  margin-left: var(--content-edge);
}

.hero__title {
  margin: 0 0 20px;
  font-size: clamp(78px, 5.8vw, 112px);
  font-weight: 400;
  line-height: 0.9;
  letter-spacing: -0.035em;
}

.hero__subtitle,
.hero__delivery {
  margin: 0;
  font-size: clamp(24px, 1.55vw, 30px);
  font-weight: 400;
  font-style: italic;
  line-height: 1.22;
}

.hero__subtitle {
  color: rgba(17, 17, 17, 0.92);
}

.hero__delivery {
  color: rgba(17, 17, 17, 0.82);
}

.hero__line {
  position: relative;
  width: 100%;
  height: 1px;
  margin: 18px 0 16px;
  background: #000;
}

.hero__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 21px;
  padding: 13px 28px 15px;
  color: var(--white);
  background: var(--red);
  font-size: 24px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(189, 64, 52, 0.2);
  transition:
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.hero__button:hover {
  background: var(--red-dark);
  box-shadow: 0 11px 26px rgba(189, 64, 52, 0.27);
}

.hero__visual {
  height: 100%;
  min-width: 0;
  overflow: hidden;
  background: var(--red);
}

.hero__visual picture {
  display: block;
  width: 100%;
  height: 100%;
}

.hero__visual-image {
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 1200px) {
  .hero {
    grid-template-columns: 58% 42%;
  }

  .hero__content-inner {
    width: min(470px, calc(100% - 60px));
  }

  .hero__title {
    font-size: 84px;
  }

  .hero__subtitle,
  .hero__delivery {
    font-size: 25px;
  }
}

@media (max-width: 767px) {
  body::before {
    background-image: url("../img/background/mob-banner.webp");
    background-size: 100% auto;
  }

  .hero {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
  }

  .hero__content {
    justify-content: center;
    min-height: 285px;
    padding: 120px 0 36px;
    background:
      radial-gradient(
        circle at 12% 25%,
        rgba(189, 64, 52, 0.07),
        transparent 34%
      ),
      #fff;
  }

  .hero__content::before {
    display: none;
  }

  .hero__content-inner {
    width: 100%;
    margin: 0;
    padding: 0 38px;
    text-align: center;
  }

  .hero__title {
    margin-bottom: 12px;
    font-size: 44px;
    line-height: 1;
  }

  .hero__subtitle,
  .hero__delivery {
    font-size: 18px;
  }

  .hero__line {
    max-width: 220px;
    margin: 10px auto;
  }

  .hero__button {
    margin-top: 14px;
    padding: 12px 23px 14px;
    font-size: 20px;
  }

  .hero__visual {
    width: 100%;
    height: auto;
    overflow: visible;
    background: transparent;
  }

  .hero__visual picture {
    height: auto;
  }

  .hero__visual-image {
    width: 100%;
    height: auto;
    object-fit: initial;
    object-position: initial;
  }
}

@media (max-width: 420px) {
  .hero__content {
    min-height: 275px;
    padding-top: 78px;
    padding-bottom: 32px;
  }

  .hero__content-inner {
    padding: 0 28px;
  }

  .hero__title {
    font-size: 40px;
  }

  .hero__subtitle,
  .hero__delivery {
    font-size: 17px;
  }

  .hero__button {
    font-size: 19px;
  }
}

/* PRODUCTS */

.products-section {
  position: relative;
  z-index: 1;
  padding: 110px 0 130px;
}

.products-section__container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.products-section__title {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 48px;
  padding-bottom: 14px;
  font-size: clamp(50px, 3.8vw, 70px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  text-align: center;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.product-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 10px 10px 22px;
  overflow: hidden;
  background: rgba(255, 253, 252, 0.98);
  border: 1px solid rgba(189, 64, 52, 0.1);
  box-shadow: 0 10px 30px rgba(57, 34, 30, 0.06);
  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(189, 64, 52, 0.2);
  box-shadow: 0 18px 42px rgba(57, 34, 30, 0.11);
}

.product-card__image {
  display: block;
  width: 100%;
  aspect-ratio: 1/1;
  overflow: hidden;
  background: #f7f2f0;
}

.product-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card__content {
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  padding: 20px 14px 0;
  text-align: center;
}

.product-card__title {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin: 0;
  font-size: 17px;
  font-weight: 400;
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.product-card__title a {
  transition: color 0.2s ease;
}

.product-card__title a:hover {
  color: var(--red);
}

.product-card__price {
  position: relative;
  margin-top: 12px;
  padding-top: 13px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.product-card__price::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 32px;
  height: 1px;
  transform: translateX(-50%);
  background: rgba(189, 64, 52, 0.35);
}

.product-card__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 154px;
  margin-top: 19px;
  padding: 11px 20px 12px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  font-size: 15px;
  line-height: 1;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.product-card__button:hover {
  color: var(--red);
  background: var(--white);
}

.products-section__footer {
  display: flex;
  justify-content: center;
  margin-top: 44px;
}

.products-section__more {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 220px;
  padding: 14px 30px 16px;
  color: var(--white);
  background: var(--red);
  border: 1px solid var(--red);
  font-size: 22px;
  line-height: 1;
  box-shadow: 0 8px 20px rgba(189, 64, 52, 0.17);
  transition:
    color 0.2s ease,
    background-color 0.2s ease,
    box-shadow 0.2s ease;
}

.products-section__more:hover {
  color: var(--red);
  background: var(--white);
  box-shadow: 0 10px 24px rgba(189, 64, 52, 0.13);
}

@media (max-width: 1200px) {
  :root {
    --gutter: 30px;
  }

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

@media (max-width: 767px) {
  :root {
    --gutter: 16px;
  }

  .products-section {
    padding: 65px 0 80px;
    background: rgba(255, 255, 255, 0.88);
  }

  .products-section__title {
    margin-bottom: 30px;
    font-size: 44px;
  }

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

  .product-card {
    padding: 7px 7px 15px;
  }

  .product-card:hover {
    transform: none;
  }

  .product-card__content {
    padding: 13px 5px 0;
  }

  .product-card__title {
    min-height: 38px;
    font-size: 14px;
  }

  .product-card__price {
    margin-top: 9px;
    padding-top: 10px;
    font-size: 15px;
  }

  .product-card__button {
    width: 100%;
    min-width: 0;
    margin-top: 14px;
    padding: 10px 7px 11px;
    font-size: 13px;
  }

  .products-section__footer {
    margin-top: 32px;
  }

  .products-section__more {
    min-width: 190px;
    font-size: 20px;
  }
}

@media (max-width: 420px) {
  .products-grid {
    grid-template-columns: 1fr;
  }

  .product-card {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
    padding: 10px 10px 18px;
  }

  .product-card__content {
    padding-top: 16px;
  }

  .product-card__title {
    min-height: auto;
    font-size: 16px;
  }

  .product-card__price {
    font-size: 17px;
  }

  .product-card__button {
    width: auto;
    min-width: 155px;
    padding: 11px 18px 12px;
    font-size: 14px;
  }
}

/* FAQ */

.faq-section {
  position: relative;
  z-index: 1;
  padding: 110px 0 130px;
  background: rgba(255, 255, 255, 0.82);
}

.faq-section__container {
  width: min(var(--container), calc(100% - var(--gutter) * 2));
  margin: 0 auto;
}

.faq-section__title {
  position: relative;
  width: max-content;
  max-width: 100%;
  margin: 0 auto 52px;
  padding-bottom: 14px;
  font-size: clamp(50px, 3.8vw, 70px);
  font-weight: 400;
  line-height: 1;
  letter-spacing: -0.025em;
  text-align: center;
}

.faq-section__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 54px;
  height: 2px;
  transform: translateX(-50%);
  background: var(--red);
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  max-width: 1180px;
  margin: 0 auto;
}

.faq-item {
  overflow: hidden;
  background: rgba(255, 253, 252, 0.96);
  border: 1px solid rgba(189, 64, 52, 0.1);
  box-shadow: 0 8px 26px rgba(57, 34, 30, 0.05);
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.faq-item.is-open {
  border-color: rgba(189, 64, 52, 0.22);
  box-shadow: 0 12px 32px rgba(57, 34, 30, 0.08);
}

.faq-item__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  width: 100%;
  padding: 24px 28px;
  color: var(--black);
  text-align: left;
  font-size: clamp(20px, 1.5vw, 27px);
  font-weight: 400;
  line-height: 1.25;
}

.faq-item__icon {
  position: relative;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
}

.faq-item__icon::before,
.faq-item__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--red);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-item__icon::before {
  width: 14px;
  height: 1px;
}

.faq-item__icon::after {
  width: 1px;
  height: 14px;
}

.faq-item.is-open .faq-item__icon::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}

.faq-item__answer-inner {
  overflow: hidden;
  padding: 0 28px;
  color: rgba(17, 17, 17, 0.72);
  font-size: 17px;
  line-height: 1.6;
}

.faq-item.is-open .faq-item__answer-inner {
  padding-bottom: 24px;
}

@media (max-width: 767px) {
  .faq-section {
    padding: 70px 0 80px;
    background: rgba(255, 255, 255, 0.88);
  }

  .faq-section__title {
    margin-bottom: 32px;
    font-size: 44px;
  }

  .faq-list {
    gap: 10px;
  }

  .faq-item__question {
    gap: 16px;
    padding: 18px 18px;
    font-size: 18px;
  }

  .faq-item__answer-inner {
    padding: 0 18px;
    font-size: 15px;
    line-height: 1.55;
  }

  .faq-item.is-open .faq-item__answer-inner {
    padding-bottom: 18px;
  }
}
