@import "./normalize.css";

:root {
  scroll-behavior: smooth;
  --text: #3c3b36;
  --bg: #fff;
  --main: #123abc;
  --font-secondary: "Libertinus Serif", serif;
}

::-webkit-scrollbar-track {
  background-color: #fff;
}

::-webkit-scrollbar-thumb {
  background-color: #f7d79d;
  border-radius: 3rem;
}

::-webkit-scrollbar {
  width: 6px;
}

::selection {
  background-color: #f7d79d;
  color: var(--text);
}

html {
  overscroll-behavior: none;
}

body {
  font-family: "DM Sans", sans-serif;
  font-size: 16px;
  font-weight: normal;
  overflow-x: hidden;
  color: var(--text);
  background-color: var(--bg);
}

.container {
  max-width: 1538px;
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
}

.title-big {
  font-family: var(--font-secondary);
  font-size: 4rem;
  line-height: 100%;
  text-align: center;

  span {
    color: #9d7c3c;
  }
}

.title {
  font-family: var(--font-secondary);
  font-size: 3rem;
  color: #453b27;
}

.title-side {
  font-family: var(--font-secondary);
  font-size: 3rem;
}

.text {
  font-size: 1.25rem;
  line-height: 160%;

  &.big {
    font-size: 1.5rem;
  }
}

.header {
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0px;
  z-index: 25;
}

.header-top {
  background-color: var(--text);
  width: 100%;
  padding: 0.5rem 0;

  nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
  }

  a {
    color: #e5dfd4;
    transition: all 0.3s;
  }

  a:hover {
    color: #ffdea2;
  }
}

.liked-button {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;

  .number {
    position: absolute;
    top: 0.25rem;
    left: 0.75rem;
    color: var(--text);
    background-color: #ffc967;
    border-radius: 3px;
    font-size: 10px;
    font-weight: 700;
    padding: 0.125rem 0.25rem;
    text-align: center;
  }
}

.header-main-wrapper {
  background-color: #fff;
}

.header-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-block: 0.5rem;
}

.catalog-button {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background-color: #f7d79d;
  padding: 0.5rem 1.5rem;
  border-radius: 0.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  color: #5e5038;
  flex-shrink: 0;
  transition: all 0.3s;
}

.catalog-button:hover {
  opacity: 0.8;
}

.search {
  position: relative;
  width: 100%;

  input {
    border: 2px solid #8a7b5c17;
    border-radius: 2rem;
    padding: 0.5rem 2rem 0.5rem 1rem;
    width: 100%;
    background-color: #f4f1ec;
  }
}

.search-popup {
  width: 100%;
}

.search-button {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-45%);
}

.search-popup-header {
  display: none;
}

.contact {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.contact-tel {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.contact-tel-text {
  font-size: 0.875rem;

  b {
    font-weight: 700;
  }
}

.contact-tel-number {
  font-size: 1.25rem;
  font-weight: 700;

  span {
    color: #e5ac48;
  }
}

.callback-button {
  flex-shrink: 0;
  background-color: #996131;
  color: #fff;
  background: linear-gradient(90deg, #9d7c3c 0%, #996131 100%);
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: opacity 0.3s;
}

.callback-button:hover {
  opacity: 0.8;
}

.header-categories {
  border-block: 1px solid #e2ddd350;
  background-color: #fffaf080;
  backdrop-filter: blur(1rem);

  nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.5rem;
  }
}

.category-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background-color: transparent;
  color: #795410;
  transition: all 0.3s;
  border-radius: 0.5rem;
}

.category-link:hover {
  /* background-color: #F4F1EC; */
  color: #4c4435;
}

/* ---------- Category Dropdown ---------- */

.category-dropdown {
  position: relative;
}

.category-dropdown .category-link img {
  transition: transform 0.3s;
}

.category-dropdown:hover .category-link img {
  transform: rotate(180deg);
}

.category-popup {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 160px;
  display: flex;
  flex-direction: column;
  background-color: #fff;
  border: 1px solid #e2ddd3;
  border-radius: 0.25rem;
  box-shadow: 0 8px 24px rgba(60, 59, 54, 0.12);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: all 0.25s ease;
  z-index: 30;
}

.category-dropdown:hover .category-popup {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.category-popup-link {
  padding: 0.75rem 1rem;
  color: #795410;
  transition: all 0.2s;
  white-space: nowrap;
}

.category-popup-link:hover {
  background-color: #f4f1ec;
  color: #4c4435;
}

.btn-prev,
.btn-next {
  display: flex;
  width: 60px;
  height: 60px;
  background-color: #625741;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: all 0.3s;
}

.btn-prev {
  border-top-left-radius: 0.25rem;
  border-bottom-left-radius: 0.25rem;
}

.btn-next {
  border-top-right-radius: 0.25rem;
  border-bottom-right-radius: 0.25rem;
}

/* .btn-prev,
.btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
} */

.btn-prev:hover,
.btn-next:hover {
  background-color: #494131;
}

/* ========== Order Section ========== */

.order {
  display: flex;
  flex-direction: column;
  gap: 6rem;
  position: relative;
  padding-top: 4rem;
}

.order-decors {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  align-items: center;
}

.order-decor-line1 {
  align-self: flex-start;
  height: 6px;
  width: 100%;
  max-width: 1000px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 217, 163, 0.9) 100%
  );
}

.order-decor-line2 {
  height: 17px;
  width: 100%;
  max-width: 800px;
  background: linear-gradient(
    90deg,
    rgba(255, 244, 207, 0.02) 0%,
    rgba(176, 149, 100, 0.28) 100%
  );
}

/* ---------- Left: Steps ---------- */

.order-wrapper {
  background:
    linear-gradient(
      140.02deg,
      rgba(255, 186, 106, 0.2) 23.89%,
      rgba(255, 255, 255, 0) 82.18%
    ),
    rgba(255, 245, 223, 0.38);
}

.order-content {
  display: flex;
  align-items: flex-start;
}

.order-steps {
  flex: 1;
  display: flex;
  gap: 3rem;
  padding-bottom: 5rem;
}

.order-steps-sidebar {
  height: fit-content;
  padding: 4rem 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    168.75deg,
    rgba(255, 255, 255, 0.4) 13.31%,
    rgba(255, 244, 207, 0.4) 45.32%,
    rgba(255, 181, 96, 0.4) 88.22%
  );
}

.order-steps-title {
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.order-steps-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  padding-top: 4rem;
}

.order-step {
  display: flex;
  align-items: center;
  padding: 1.25rem 1.5rem;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.88) 0%,
    rgba(255, 243, 223, 0.88) 100%
  );
  position: relative;
}

.order-step-num {
  font-family: var(--font-secondary);
  font-size: 4rem;
  text-transform: uppercase;
  color: #80673b;
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  padding: 0.5rem 1rem;
  background: linear-gradient(
    145deg,
    rgba(255, 181, 96, 0.5) 22.84%,
    rgba(255, 244, 207, 0.5) 50.52%,
    rgba(255, 255, 255, 0.5) 77.16%
  );
  transform: translate(-3rem, 0);
}

.order-step-text {
  position: relative;
  z-index: 1;
}

/* ---------- Right: Form ---------- */

.order-form-wrap {
  transform: translate(0, -70px);
  flex-shrink: 0;
  max-width: 700px;
  padding: 2rem;
  background: rgba(214, 192, 153, 0.7);
  border: 4px solid #ffffff;
}

.order-form-border {
  border: 8px solid #fffaf3;
  padding: 2rem;
  background: linear-gradient(
    53.22deg,
    rgba(113, 60, 0, 0.71) 7.22%,
    rgba(200, 71, 32, 0.8) 92.78%
  );
}

.order-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.order-form-title {
  font-family: var(--font-secondary);
  font-size: 3rem;
  text-align: center;
  color: #f9f2e6;
}

.order-form-divider {
  width: 60%;
  height: 2px;
  background: rgba(255, 241, 215, 0.4);
  margin: 0.5rem auto 1rem;
}

.order-form-group {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.order-form-label {
  font-size: 1.25rem;
  color: rgba(255, 241, 215, 0.88);
}

.order-form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: #f4f1ec;
  border: 2px solid #8a7b5c17;
  border-radius: 1rem;
  font-size: 1.25rem;
  color: rgba(85, 76, 61, 0.88);
}

.order-form-input::placeholder,
.order-form-textarea::placeholder {
  color: rgba(85, 76, 61, 0.5);
}

.order-form-textarea {
  width: 100%;
  min-height: 100px;
  padding: 0.75rem 1rem;
  background: #f4f1ec;
  border: 2px solid #8a7b5c17;
  border-radius: 1rem;
  font-size: 1.25rem;
  color: rgba(85, 76, 61, 0.88);
  resize: vertical;
}

.order-form-file {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem;
  border: 2px dashed #f5ead7;
  border-radius: 1rem;
  background: rgba(255, 250, 242, 0.06);
  cursor: pointer;
  transition: all 0.3s;
  font-size: 1.25rem;
  color: #f5ead7;
}

.order-form-file:hover {
  background: rgba(255, 250, 242, 0.12);
}

/* ---------- Contact Channels ---------- */

.order-form-contact {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.order-form-channels {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
}

.order-channel {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  border: 1px solid #f5ead7;
  border-radius: 0.5rem;
  cursor: pointer;

  color: rgba(255, 241, 215, 0.88);
  transition: all 0.3s;
}

.order-channel:has(input:checked) {
  background: linear-gradient(
    0deg,
    rgba(217, 147, 64, 0.35) 0%,
    rgba(255, 219, 102, 0.35) 100%
  );
}

.order-channel-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ---------- Consent & Submit ---------- */

.order-form-consent {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  cursor: pointer;
}

.order-form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  appearance: none;
  background: rgba(255, 250, 242, 0.13);
  border: 2px solid #ffdfa5;
  border-radius: 0.25rem;
  cursor: pointer;
}

.order-form-consent input[type="checkbox"]:checked {
  background: #ffdfa5;
}

.order-form-consent span {
  line-height: 125%;
  color: rgba(255, 255, 255, 0.88);
}

.order-form-consent a {
  color: rgba(255, 255, 255, 0.88);
  text-decoration: underline;
}

.order-form-consent a:hover {
  color: #ffe6b7;
}

.order-form-submit {
  position: relative;
  width: fit-content;
  align-self: center;
  padding: 1rem 4rem;
  background: linear-gradient(270deg, #ffda98 0%, #ffe4b2 97.05%);
  border-radius: 0.5rem;
  font-weight: 600;
  font-size: 1.25rem;
  color: #5e5038;
  transition: opacity 0.3s;
}

.order-form-submit:hover {
  opacity: 0.8;
}

.footer-wrapper {
  background-color: var(--text);
}

.footer {
  display: flex;
  gap: 1rem;
  padding-block: 3rem;
  justify-content: space-between;
  color: #fff;
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 500px;
}

.footer-link {
  color: #ffdc9f;
  transition: all 0.3s;

  &:hover {
    opacity: 0.7;
  }
}

.footer-text {
  color: #a19c88;
  line-height: 125%;
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-social-list {
  display: flex;
  gap: 0.75rem;
  align-items: center;
}

.footer-call {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.footer-call-text span {
  font-weight: 700;
}

.footer-tel {
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;

  span {
    color: #e5ac48;
  }
}

.footer-social:hover {
  transition: all 0.3s;

  &:hover {
    opacity: 0.7;
  }
}

.footer-rating {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2rem;
  flex-shrink: 0;
}

.copyright {
  text-align: right;
}

/* ========== Callback Modal ========== */

.callback-modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.callback-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.callback-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.callback-modal-content {
  position: relative;
  z-index: 1;
  width: 90%;
  max-width: 500px;
  padding: 2rem;
  border: 2px solid #f7d79d;
  border-radius: 1rem;
  background: #fff;
}

.callback-modal-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}

.callback-modal-close:hover {
  color: #fff;
}

.callback-modal-form {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
}

.callback-title {
  font-family: var(--font-secondary);
  font-size: 2rem;
}

.callback-field {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  width: 100%;
}

.callback-input {
  padding: 1rem;
  border: 2px solid #8a7b5c17;
  border-radius: 0.75rem;
  width: 100%;
  background-color: #f4f1ec;
  width: 100%;
}

.callback-submit {
  position: relative;
  width: fit-content;
  align-self: center;
  padding: 1rem 4rem;
  background: linear-gradient(270deg, #ffda98 0%, #ffe4b2 97.05%);
  border-radius: 0.5rem;
  width: 100%;
  font-weight: 600;
  font-size: 1.25rem;
  color: #5e5038;
  transition: opacity 0.3s;
}

.callback-submit:hover {
  opacity: 0.8;
}

.form-consent {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-top: 0.5rem;
  cursor: pointer;
}

.form-consent input[type="checkbox"] {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  appearance: none;
  background: rgba(255, 250, 242, 0.13);
  border: 2px solid #ffdfa5;
  border-radius: 0.25rem;
  cursor: pointer;
  transition: all 0.3s;
}

.form-consent input[type="checkbox"]:checked {
  background: #ffdfa5;
}

.form-consent span {
  line-height: 125%;
}

.form-consent a {
  text-decoration: underline;
}

/* ========== Catalog Modal ========== */

.catalog-modal {
  position: fixed;
  inset: 0;
  display: flex;
  padding-top: 100px;
  align-items: start;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition:
    opacity 0.3s,
    visibility 0.3s;
}

.catalog-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.catalog-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.1);
}

.catalog-modal-content {
  position: relative;
  z-index: 1;
  display: flex;
  max-width: 1100px;
  width: 90%;
  max-height: 80vh;
  border-radius: 0.5rem;
  overflow: hidden;
}

/* ---------- Sidebar ---------- */

.catalog-sidebar {
  flex-shrink: 0;
  width: 300px;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.catalog-sidebar-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.25rem 1rem;
  background-color: #f2e6d0;
  color: #5e5038;
  transition: all 0.3s;
}

.catalog-sidebar-item span {
  flex: 1;
}

.catalog-sidebar-item:hover,
.catalog-sidebar-item.active {
  background-color: #453d31;
  color: #fff;
}

.catalog-sidebar-arrow {
  width: 12px;
  height: 12px;
  transform: rotate(-90deg);
}

/* ---------- Submenu (right panel) ---------- */

.catalog-submenu {
  flex: 1;
  display: none;
  background: #453d3195;
  backdrop-filter: blur(1rem);
  overflow: hidden;
  padding: 2rem;
}

.catalog-submenu.visible {
  display: flex;
}

.catalog-submenu-panels {
  flex: 1;
  overflow-y: auto;
  min-width: 0;
}

.catalog-submenu-panel {
  display: none;
  flex-direction: column;
  gap: 3rem;
}

.catalog-submenu-panel.active {
  display: flex;
}

.catalog-submenu-section-link {
  padding: 0.25rem 0.25rem 0.25rem 1.5rem;
  color: #ffefd4;
  border: 2px solid #fff9ed30;
  background-color: #32322f60;
  border-radius: 0.5rem;
  display: flex;
  align-items: center;
  gap: 1rem;
  width: fit-content;
  transition: all 0.3s;
}

.catalog-submenu-section-link:hover {
  opacity: 0.7;
}

/* Lists: 2-column grid of groups */

.catalog-submenu-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem 2rem;
  align-content: start;
}

.catalog-submenu-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.catalog-submenu-group h4 {
  color: #ffd892;
  font-family: var(--font-secondary);
  font-size: 1.25rem;
  padding-bottom: 0.5rem;
}

.catalog-submenu-group a {
  color: #ffeecf;
  padding: 0.15rem 0;
  transition: color 0.3s;
}

.catalog-submenu-group a::before {
  content: "–  ";
  color: #eab452;
}

.catalog-submenu-group a:hover {
  color: #eab452;
}

/* Shared banner Swiper slider */

.catalog-banners {
  flex-shrink: 0;
  width: 320px;
  height: 320px;
  align-self: stretch;
  overflow: hidden;
}

.catalog-banners .swiper-slide {
  height: auto;
}

.catalog-banner {
  display: block;
  height: 100%;
}

.catalog-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0.75rem;
  display: block;
}

.catalog-sidebar-nav,
.catalog-submenu-inline {
  display: none;
}

.liked-button-mob {
  display: none;
}

.header-menu-wrapper {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 1;
  width: 100%;
  max-width: 350px;
}

.header-burger {
  display: none;
  padding: 0.25rem;
  border-radius: 0.5rem;
  background-color: #f7d79d;
}

.header-burger-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: #ffffff50;
  border: 1px solid #d0b07870;
  display: flex;
  gap: 3px;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  span {
    display: block;
    background-color: #ffae1c;
    width: 16px;
    height: 3px;
    border-radius: 10px;
  }
}

.callback-button-mob,
.search-mob,
.contact-tel.mob {
  display: none;
}

.projects {
  padding-block: 3rem;
}

.projects-header {
  text-align: center;
  position: relative;
  padding-bottom: 2.5rem;
}

.projects-decor-line {
  position: absolute;
  top: 2rem;
  left: 0;
  width: 550px;
  height: 4rem;
  background: linear-gradient(
    85deg,
    rgba(176, 149, 100, 0.21) 0.67%,
    rgba(255, 253, 246, 0.42) 69.26%
  );
  z-index: -1;
}

.projects-decor-stripe {
  position: absolute;
  bottom: 1rem;
  right: 0;
  width: 500px;
  height: 14px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.9) 0%,
    rgba(255, 217, 163, 0.9) 100%
  );
}

/* ---------- Slider Wrapper ---------- */

.projects-slider-wrap {
  position: relative;
}

.projects-slider {
  overflow: hidden;
}

.projects-btn-prev {
  left: -20px;
}

.projects-btn-next {
  right: -20px;
}

/* ---------- Project Card ---------- */

.projects-card {
  display: flex;
  align-items: stretch;
  border: 8px solid #d0c7b3;
  background: linear-gradient(
    270deg,
    rgba(249, 231, 188, 0.21) 0%,
    rgba(255, 255, 255, 0.21) 55.92%
  );
  min-height: 580px;
  padding: 3rem;
}

.projects-card-left {
  display: flex;
  flex-shrink: 0;
}

.projects-card-image {
  width: 100%;
  max-width: 500px;
  overflow: hidden;
  aspect-ratio: 1 / 1;
}

.projects-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.projects-card-tag {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding: 1rem;
  font-family: var(--font-secondary);
  font-size: 2rem;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  background: linear-gradient(
    180deg,
    rgba(252, 223, 170, 0.9) 0%,
    rgba(255, 251, 236, 0) 100%
  );
}

.projects-card-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 2rem;
  padding: 3rem;
  flex: 1;
}

.projects-card-title {
  font-family: var(--font-secondary);
  font-size: 2.5rem;
}

.projects-card-text {
  display: -webkit-box;
  -webkit-line-clamp: 6;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.primary-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 1rem 2.5rem;
  background: linear-gradient(90deg, #9d7c3c 0%, #996131 100%);
  border-radius: 8px;
  font-size: 16px;
  text-transform: uppercase;
  color: #ffedce;
  transition: opacity 0.3s;
}

.primary-btn:hover {
  opacity: 0.8;
}

.projects-card-left::after {
  content: "";
  display: none;
}

/* ========== Hero Slider ========== */

.hero {
  position: relative;
}

.hero-slide {
  position: relative;
  width: 100%;
  height: 620px;
  overflow: hidden;
}

.hero-slide-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.hero-slide-overlay {
  position: absolute;
  top: 50%;
  right: 8%;
  transform: translateY(-50%);
  width: fit-content;
  height: fit-content;
  padding: 2rem;
  background-color: #d2a55120;
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  border: 1px solid #fffcf6;
}

/* ---------- Promo Card ---------- */

.hero-promo-card {
  position: relative;
  border: 5px solid #fffaf3;
  background: rgba(157, 66, 16, 0.8);
  backdrop-filter: blur(20px);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

.hero-promo-top {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.hero-promo-badge {
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background-color: #dbaf60;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.hero-promo-percent {
  border-radius: 50%;
  border: solid 3px #ffe4bc;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 140px;
  height: 140px;
  font-family: var(--font-secondary);
  font-size: 4rem;
  color: #fff;
}

.hero-promo-title {
  font-family: var(--font-secondary);
  font-size: 3.5rem;
  color: #ffeecf;
  text-align: center;
}

.hero-promo-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: #ffffff;
  text-align: center;
  line-height: 1.5;
  text-transform: uppercase;
}

.hero-promo-link {
  display: flex;
  align-items: center;
  gap: 1rem;
  color: #ffe6b7;
  font-weight: 400;
  text-transform: uppercase;
  position: relative;
  transition: opacity 0.3s;
}

.hero-promo-link::before,
.hero-promo-link::after {
  content: "";
  width: 40px;
  height: 1px;
  background-color: #fff5e6;
}

.hero-promo-link::before {
  left: -30px;
}

.hero-promo-link::after {
  right: -30px;
}

.hero-promo-link:hover {
  opacity: 0.7;
}

/* ---------- Navigation ---------- */

.btn-prev,
.btn-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.hero-btn-prev {
  left: 4px;
}

.hero-btn-next {
  right: 4px;
}

.hero-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 0.25rem;
  padding: 1rem;
}

.hero-pagination .swiper-pagination-bullet {
  width: 24px;
  height: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #cdbd9e;
  background-color: transparent;
  opacity: 1;
  transition: all 0.3s;
}

.hero-pagination .swiper-pagination-bullet .inner-dot {
  display: block;
  width: 8px;
  height: 8px;
  background-color: #cdbd9e;
  border-radius: 50%;
  transition: all 0.3s;
}

.hero-pagination .swiper-pagination-bullet-active .inner-dot {
  background-color: #ffae1c;
}

.breadcrumbs-wrapper {
  background: linear-gradient(
    90deg,
    rgba(252, 223, 170, 0.2) 0%,
    rgba(255, 255, 255, 0.5) 100%
  );
  padding-block: 0.5rem;
  margin-top: 1rem;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 0.5rem;

  a {
    color: #795410;
    transition: all 0.3s;

    &:hover {
      opacity: 0.7;
    }
  }

  .active {
    color: #a39a88;
  }
}

.catalog-pag-wrapper {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  align-items: center;
}

.catalog-pag {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.pag-btn-prev,
.pag-btn-next {
  position: relative;
  width: 50px;
  height: 50px;
  transform: unset;
  top: unset;
}

.catalog-pag-list {
  gap: 0.25rem;
  display: flex;
  align-items: center;
}

.catalog-pag-item {
  background-color: #fcdfaa;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #795410;
  background: linear-gradient(
    90deg,
    rgba(252, 223, 170, 0.61) 0%,
    rgba(255, 255, 255, 0.61) 100%
  );

  &:hover,
  &.active {
    background: linear-gradient(270deg, #ffe396 0%, #ffaf40 100%);
  }
}

.catalog-heading {
  display: flex;
  gap: 1rem;
  align-items: end;

  span {
    padding-bottom: 0.5rem;
  }
}

.catalog-call {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 1.5rem;
  gap: 1rem;
  height: 430px;
  min-height: 430px;
  background:
    url("../img/catalog/call-img.png"),
    linear-gradient(
      163.93deg,
      rgba(74, 66, 55, 0) 49.91%,
      rgba(201, 158, 82, 0.41) 71.28%
    ),
    #4a4237;

  background-repeat: no-repeat;
  background-position:
    right bottom 40px,
    0 0;
  color: #ffefdd;
}

.call-title {
  font-family: var(--font-secondary);
  font-size: 1.5rem;
  color: #d3d073;

  span {
    color: #f0d59f;
  }
}

.call-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.call-item {
  display: flex;
  gap: 0.5rem;
  align-items: center;

  &:before {
    content: "";
    width: 20px;
    height: 20px;
    background-image: url("../img/icons/done.png");
    background-position: center center;
    background-repeat: no-repeat;
  }
}

.call-button {
  background-color: #9baa55;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: #ffedce;
  border-radius: 0.75rem;
  box-shadow: 0px 4px 6px 0 #4f493a50;
  transition: all 0.3s;

  &:hover {
    opacity: 0.9;
    box-shadow: 0 0 0 0 transparent;
  }
}

.catalog-filters-btn-mob {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.375rem 0.75rem;
  background-color: #f7d79d;
  border-radius: 0.75rem;
  transition: all 0.3s;

  &:hover {
    opacity: 0.7;
  }
}

.catalog-mob-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.close-filters {
  display: none;
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 20;
}

.form2 {
  max-width: 600px;
}

.form2-contact-content {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem;
  background-image: url("../img/catalog/form2.png");
  background-position: right bottom;
  background-repeat: no-repeat;
  background-size: 400px auto;
  height: 100%;
  min-height: 700px;
}

.form2-contact-section {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  a {
    width: fit-content;
  }
}

.form2-contact-description {
  color: #8b8075;
  font-size: 1.5rem;
  font-style: italic;
}

.form2-contact-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  transition: all 0.3s;

  &:hover {
    opacity: 0.7;
  }

  svg {
    width: 48px;
    height: 48px;
  }
}

.production-video {
  display: flex;
}

.production-video-wrapper {
  flex: 1;
  position: relative;
  min-height: 647px;
  overflow: hidden;
  cursor: pointer;
}

.production-video-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  transition: opacity 0.4s ease;
}

.production-video-wrapper.is-playing .production-video-preview {
  opacity: 0;
  pointer-events: none;
}

.production-video-player {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.production-video-wrapper.is-playing .production-play {
  opacity: 0;
  pointer-events: none;
}

.production-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
  cursor: pointer;
  background: none;
  border: none;
  padding: 0;
}

.production-play-outer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 304px;
  height: 304px;
  border-radius: 50%;
  border: 4px solid rgba(255, 242, 218, 0.47);
}

.production-play-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 248px;
  height: 248px;
  border-radius: 50%;
  background: rgba(172, 63, 5, 0.35);
  border: 13px solid rgba(255, 242, 218, 0.65);
  transition: all 0.3s;
}

.production-play:hover .production-play-inner {
  background: rgba(172, 63, 5, 0.55);
}

.production-play-icon {
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 41px 0 41px 72px;
  border-color: transparent transparent transparent #fff2da;
  margin-left: 8px;
}

/* ---------- Right Aside ---------- */

.production-video-aside {
  flex-shrink: 0;
  width: 10rem;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    153.02deg,
    rgba(255, 255, 255, 0.5) 14.47%,
    rgba(255, 244, 207, 0.5) 48.09%,
    rgba(255, 181, 96, 0.5) 80.45%
  );
}

.production-video-label {
  writing-mode: vertical-rl;
  text-align: right;
  white-space: nowrap;
}

@media all and (max-width: 1279px) {
  .title-big {
    font-size: 3rem;
  }

  .production-video-aside {
    width: unset;
    padding: 2rem;
  }

  .production-play-outer {
    width: 200px;
    height: 200px;
  }

  .production-play-inner {
    width: 160px;
    height: 160px;
    border-width: 8px;
  }

  .production-play-icon {
    border-width: 25px 0 25px 40px;
  }

  .title-side {
    font-size: 2.5rem;
  }

  .text {
    font-size: 1rem;

    &.big {
      font-size: 1.25rem;
    }
  }

  .header-categories,
  .callback-button,
  .catalog-button {
    display: none;
  }

  .header-menu-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 1;
    order: -1;
  }

  .search {
    max-width: 270px;
  }

  .header-burger {
    display: flex;
    cursor: pointer;
  }

  .catalog-modal {
    padding-top: 60px;
  }

  .order-form-wrap {
    padding: 1rem;
    max-width: 500px;
  }

  .order-form-border {
    border-width: 4px;
    padding: 1.5rem;
  }

  .order-form-consent {
    font-size: 0.875rem;
  }

  .projects-card-image img {
    max-width: 360px;
  }

  .projects-card {
    padding: 2rem;
  }

  .projects-card-image img {
    aspect-ratio: 5 / 6;
  }

  .projects-card-image {
    max-width: unset;
    aspect-ratio: unset;
  }
}

@media all and (max-width: 1129px) {
  .title {
    font-size: 2.5rem;
  }

  .title-big {
    font-size: 2.5rem;
  }

  .title-side {
    font-size: 2rem;
  }

  .production-video {
    flex-direction: column;
  }

  .production-video-label {
    writing-mode: unset;
  }

  .production-video-aside {
    padding: 1rem;
    order: -1;
  }

  .production-video-wrapper {
    min-height: unset;
  }

  .callback-button-mob,
  .contact-social.mob,
  .search-mob {
    display: block;
  }

  .header-top,
  .contact-tel,
  .contact-social,
  .search-popup {
    display: none;
  }

  .liked-button-mob {
    display: flex;

    .number {
      font-size: 12px;
      left: 1rem;
      top: 0.5rem;
    }

    svg {
      width: 32px;
      height: 32px;
    }

    path {
      fill: #625741;
    }
  }

  .contact-tel.mob {
    display: flex;
  }

  .header-menu-wrapper {
    max-width: unset;
    width: fit-content;
  }

  .order-content {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }

  .order {
    gap: 2rem;
    padding-block: 4rem;
  }

  .order-steps {
    padding-bottom: unset;
  }

  .order-form-wrap {
    transform: unset;
  }

  .order-step {
    padding: 1rem;
  }

  .footer {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .footer-list {
    order: 1;
  }

  .footer-rating {
    order: 2;
  }

  .footer-contact {
    align-items: end;
  }

  /* ===== Mobile catalog menu ===== */
  .catalog-modal {
    padding-top: 60px;
  }

  .catalog-modal-content {
    flex-direction: column;
    width: 100%;
    max-width: 100%;
    max-height: 100vh;
    height: 100%;
    border-radius: 0;
  }

  .catalog-sidebar {
    width: 100%;
    flex: 1;
    overflow-y: auto;
  }

  .catalog-sidebar-item {
    padding: 0.5rem 1rem;
  }

  .catalog-sidebar-item[data-submenu] .catalog-sidebar-arrow {
    transition: transform 0.3s;
  }

  .catalog-sidebar-item[data-submenu].active .catalog-sidebar-arrow {
    transform: rotate(0deg);
  }

  .catalog-submenu,
  .catalog-banners {
    display: none !important;
  }

  /* Inline submenu panels (accordion) */
  .catalog-submenu-inline {
    display: none;
    background-color: #453d31;
    padding: 1rem 1rem 2rem;
  }

  .catalog-submenu-inline.active {
    display: flex;
    flex-direction: column;
    gap: 2rem;
  }

  .catalog-submenu-inline .catalog-submenu-lists {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .catalog-sidebar-nav {
    display: flex;
    flex-direction: column;
    border-top: 1px solid #e2ddd3;
    padding: 0.75rem 1rem;
    gap: 0.125rem;
    background-color: #fff;
  }

  .catalog-sidebar-nav a {
    color: #5e5038;
    padding: 0.5rem 0;
    font-size: 0.9375rem;
    transition: color 0.3s;
  }

  .catalog-sidebar-callback {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
    padding: 0.625rem 1rem;
    background: linear-gradient(90deg, #9d7c3c 0%, #996131 100%);
    color: #fff;
    border-radius: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    transition: opacity 0.3s;
    width: fit-content;
  }

  .search-popup.active {
    display: block;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #fff;
    padding: 1rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  }

  .search-popup.active .search-popup-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.75rem;
  }

  .search-popup-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--text);
  }

  .search-popup-close {
    font-size: 1.5rem;
    color: var(--text);
    line-height: 1;
    padding: 0.25rem;
  }

  .search-popup.active .search {
    display: block;
    max-width: 100%;
  }

  .projects-card {
    flex-direction: column;
    gap: 1.5rem;
  }

  .projects-card-left {
    flex-direction: column;
    align-items: center;
  }

  .projects-card-tag {
    writing-mode: unset;
    order: -1;
    width: 100%;
  }

  .projects-card-image {
    max-width: 360px;
  }

  .projects-card-right {
    padding: 0rem;
    gap: 1rem;
  }

  .projects-card-title {
    font-size: 2rem;
  }

  .hero-slide-overlay {
    top: unset;
    bottom: 0;
    left: 50%;
    transform: translate(-50%, 0);
  }

  .hero-slide {
    position: relative;
    height: 700px;
  }

  .hero-slide img {
    height: 470px;
  }

  .hero-btn-prev,
  .hero-btn-next {
    top: 205px;
  }

  .hero-promo-title {
    font-size: 3rem;
  }

  .hero-slide-overlay {
    padding: 1.5rem;
  }

  .hero-promo-card {
    padding: 1.5rem;
  }

  .hero-promo-text {
    font-size: 1.25rem;
    font-weight: 400;
  }

  .hero-promo-badge {
    width: 140px;
    height: 140px;
  }

  .hero-promo-percent {
    width: 120px;
    height: 120px;
    font-size: 3rem;
  }
}

@media all and (max-width: 767px) {
  .catalog-pag-item {
    width: 36px;
    height: 36px;
  }

  .pag-btn-prev,
  .pag-btn-next {
    width: 40px;
    height: 40px;
  }

  .catalog-heading {
    gap: 0.5rem;
  }
}

@media all and (max-width: 639px) {
  .title {
    font-size: 2rem;
  }

  .production-play-outer {
    width: 120px;
    height: 120px;
  }

  .production-play-inner {
    width: 100px;
    height: 100px;
    border-width: 3px;
  }

  .production-play-icon {
    border-width: 15px 0 15px 25px;
  }

  .form2-contact-content {
    min-height: 600px;
    padding: 1rem;
    background-size: 250px auto;
  }

  .form2-contact-section {
    gap: 1rem;
  }

  .form2-contact-item {
    font-size: 1rem;
  }

  .container {
    padding-inline: 1rem;
  }

  .title-big {
    font-size: 2rem;
  }

  .title-side {
    font-size: 1.5rem;
  }

  .order {
    padding-block: 2rem;
  }

  .order-form-wrap {
    width: 100%;
    padding: 0.5rem;
  }

  .order-form-border {
    padding: 1rem;
  }

  .order-form-channels {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;

    img {
      width: 24px;
      height: 24px;
    }
  }

  .order-form {
    gap: 1rem;
  }

  .order-form-label {
    font-size: 1rem;
  }

  .order-form-submit {
    padding: 0.75rem 1rem;
    width: 100%;
  }

  .order-form-input {
    font-size: 1rem;
  }

  .order-form-title {
    font-size: 2rem;
  }

  .order-form-file {
    font-size: 1rem;
    padding: 0.75rem;
  }

  .order-steps {
    flex-direction: column;
    gap: 1rem;
  }

  .order-steps-list {
    padding-top: 0rem;
  }

  .order-steps-title {
    writing-mode: unset;
    transform: none;
  }

  .order-steps-sidebar {
    padding: 1rem;
  }

  .order-step {
    padding: 0.5rem;
  }

  .order-step-num {
    font-size: 2rem;
    transform: translate(-1rem, 0);
  }

  .order-step-text {
    font-size: 1rem;
    line-height: 150%;
  }

  .footer {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }

  .footer-contact,
  .footer-rating {
    align-items: start;
    gap: 1rem;
  }

  .footer-list {
    gap: 0.75rem;
  }

  .header-logo img {
    width: 110px;
  }

  .search-mob,
  .callback-button-mob img {
    width: 36px;
    height: 36px;
  }

  .contact,
  .header-menu-wrapper {
    gap: 0.75rem;
  }

  .callback-title {
    font-size: 1.5rem;
  }

  .callback-input {
    padding: 0.75rem;
  }

  .form-consent span {
    font-size: 0.875rem;
  }

  .callback-submit {
    font-size: 1rem;
  }

  .callback-modal-content {
    padding: 1.5rem;
  }

  .projects {
    padding-block: 2rem;
  }

  .projects-card-title,
  .projects-card-tag {
    font-size: 1.5rem;
  }

  .projects-card {
    padding: 1.5rem;
  }

  .projects-btn-next {
    right: -12px;
  }

  .projects-btn-prev {
    left: -12px;
  }

  .btn-prev,
  .btn-next {
    width: 48px;
    height: 48px;

    img {
      width: 20px;
      height: 20px;
    }
  }

  .hero-slide img {
    height: 270px;
  }

  .hero-btn-prev {
    left: 8px;
    top: 135px;
  }

  .hero-btn-next {
    right: 8px;
    top: 135px;
  }

  .hero-slide {
    height: 500px;
  }

  .hero-slide-overlay,
  .hero-promo-card {
    padding: 0.75rem 1rem;
    gap: 0.75rem;
  }

  .hero-promo-title {
    font-size: 2rem;
  }

  .hero-promo-badge {
    width: 120px;
    height: 120px;
  }

  .hero-promo-percent {
    width: 100px;
    height: 100px;
    font-size: 2.5rem;
  }

  .hero-promo-text {
    font-size: 1rem;
  }

  .catalog-heading {
    span {
      padding-bottom: 0.25rem;
    }
  }
}
