:root {
  --bg-color: #ede8e0;
  --accent-color: #718879;
  --text-color: #353f37;
  --accent-red: #cc7a00;
  --card-color: #c8c4b5;

  --border-radius: 4rem;

  --box-shadow:
    rgba(0, 0, 0, 0.26) 0px 0.637473px 1.14745px -1.125px,
    rgba(0, 0, 0, 0.24) 0px 1.93094px 3.4757px -2.25px,
    rgba(0, 0, 0, 0.192) 0px 5.10423px 9.18761px -3.375px,
    rgba(0, 0, 0, 0.03) 0px 16px 28.8px -4.5px;

  --glass: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.35),
    rgba(217, 213, 204, 0.25)
  );
  --glass-border: 1px solid rgba(255, 255, 255, 0.4);
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-color);
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
  font-weight: 400;
}

.site-wrapper {
  max-width: 1500px;
  margin: 0 auto;
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
  margin-bottom: 0;
}

ul,
ol {
  margin-top: 0;
  margin-bottom: 0;
  padding-left: 0;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

a,
button {
  cursor: pointer;
}

.list {
  list-style: none;
}

.link {
  text-decoration: none;
  color: var(--text-color);
}

.link:visited {
  color: var(--text-color);
}

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

.is-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.section {
  padding-top: clamp(3rem, 8vw, 6rem);
  padding-bottom: clamp(3rem, 8vw, 6rem);
}

.container {
  width: 100%;
  max-width: 1400px;
  padding-inline: clamp(1rem, 8vw, 5rem);
  margin-inline: auto;
}

.btn-link {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 220px;

  background-color: var(--glass);
  border: var(--glass-border);
  box-shadow: var(--box-shadow);
  color: var(--text-color);
  text-transform: uppercase;
  text-decoration: none;
  font-weight: 400;

  padding-inline: 2rem;
  padding-block: 1rem;

  border-radius: var(--border-radius);
  backdrop-filter: blur(4px);

  transition: all 0.3s ease;
}

.btn-link:hover {
  transform: translateY(-2px);
  box-shadow:
    rgba(0, 0, 0, 0.35) 0px 8px 16px,
    var(--box-shadow);
}

.btn-link:active {
  transform: translateY(0);
}

.section-title {
  font-size: clamp(24px, 57.6px, 40px);
  text-transform: uppercase;
  letter-spacing: 0.2em;

  font-weight: 300;
}

.section-subtitle {
  font-size: clamp(1.2rem, 4vw, 1.6rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;

  font-weight: 300;
}

.section-text {
  font-size: clamp(1rem, 3vw, 1.1rem);
  letter-spacing: 0.05em;
  line-height: 1.5;

  opacity: 0.8;
}

.content-title {
  font-size: clamp(1rem, 3vw, 1.15rem);
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-transform: uppercase;
  font-weight: 300;
}

.centered-title {
  text-align: center;
}

/* header */

.header {
  padding-block: 1rem;
  backdrop-filter: blur(4px);
  position: relative;
  z-index: 1000;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-list {
  display: none;
}

.nav-link {
  padding: 0.5rem 1rem;
  opacity: 0.7;
}

.header-container .socials {
  display: none;
}

.socials-icon {
  stroke: var(--text-color);
  fill: none;
  opacity: 0.7;
}

.logo {
  opacity: 0.8;
}

.logo:hover,
.nav-link:hover,
.socials-icon:hover {
  opacity: 1;
}

/* mobile menu */
.mobile-menu-btn {
  display: block;
  background: transparent;
  border: none;
  padding: 0.5rem;
  cursor: pointer;
  position: relative;
  width: 40px;
  height: 40px;
  z-index: 1000;
  /* TEST - має бути видима на мобільних */
}

.mobile-menu-btn .menu-icon,
.mobile-menu-btn .close-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  stroke: var(--text-color);
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
  pointer-events: none;
}

.mobile-menu-btn .menu-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

.mobile-menu-btn .close-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg);
}

.mobile-menu-btn.is-open .menu-icon {
  opacity: 0;
  transform: translate(-50%, -50%) rotate(-90deg);
}

.mobile-menu-btn.is-open .close-icon {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(0deg);
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: var(--bg-color);
  backdrop-filter: blur(100px);
  z-index: 999;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  visibility: hidden;
}

.mobile-menu.is-open {
  transform: translateX(0);
  visibility: visible;
  overflow-y: auto;
}

body:has(.mobile-menu.is-open) {
  overflow: hidden;
}

.mobile-menu-logo {
  position: absolute;
  top: 1rem;
  left: 24px;

  opacity: 0.85;
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.25rem;
  padding-inline: clamp(1rem, 8vw, 5rem);
  margin-bottom: 3rem;
}

.mobile-nav-link {
  font-size: clamp(1.2rem, 5vw, 1.8rem);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

.mobile-nav-link:hover {
  opacity: 1;
}

.mobile-menu .socials {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding-inline: clamp(1rem, 8vw, 5rem);
}

.mobile-menu .socials-icon {
  width: 38px;
  height: 38px;
  opacity: 0.8;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease;
}

.mobile-menu .socials li:hover .socials-icon {
  opacity: 1;
  transform: scale(1.1);
}

/* hero */
.hero-section {
  background-image: url(../img/photos/bg-img/hero.webp);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: bottom;

  min-height: 500px;
}

.hero-container {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hero-title {
  font-size: clamp(32px, 86.4px, 64px);
  letter-spacing: 0.15em;
  font-weight: 300;
}

.hero-subtitle {
  font-size: clamp(1.2rem, 4vw, 2.5rem);
  letter-spacing: 0.1em;
  font-weight: 300;
}

.hero-text {
  font-size: clamp(16px, 43.2px, 24px);
  letter-spacing: 0.05em;
  font-weight: 300;
}

.btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* philosophy */

.philosophy-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.philosophy-left,
.philosophy-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.philosophy-quote {
  font-style: italic;
  padding: 16px;
  border-left: 1px solid var(--accent-color);

  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* help */

.help-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: clamp(2rem, 4vw, 3rem);
  margin-top: 3rem;
}

.help-card {
  backdrop-filter: blur(4px);
  background-color: var(--glass);
  border: var(--glass-border);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);

  padding: 2rem;

  display: flex;
  flex-direction: column;
  align-items: center;

  gap: 1rem;

  transition: all 0.3s ease;
  cursor: pointer;
}

.help-card:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow:
    rgba(0, 0, 0, 0.25) 0px 12px 24px,
    var(--box-shadow);
}

.help-card-img {
  transition: transform 0.3s ease;
}

.help-card:nth-child(odd):hover .help-card-img {
  transform: scale(1.1) rotate(-8deg);
}

.help-card:nth-child(even):hover .help-card-img {
  transform: scale(1.1) rotate(8deg);
}

.help-card .content-title {
  text-align: center;
  transition: color 0.3s ease;
}

.help-card:hover .content-title {
  color: var(--accent-color);
}

/* body-points */
.body-points-section {
  background-image: url(../img/photos/bg-img/15.webp);
  background-size: 120px;
  background-position: left top;
  background-repeat: no-repeat;
}

.body-points {
  max-width: 660px;
  margin-left: auto;
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.body-point {
  backdrop-filter: blur(4px);
  background-color: var(--glass);
  border: var(--glass-border);
  padding: 2rem;
  box-shadow: var(--box-shadow);
  transition: all 0.3s ease;
  border-radius: 2rem;
  cursor: pointer;
}

.body-point:hover {
  box-shadow:
    rgba(0, 0, 0, 0.25) 0px 12px 24px,
    var(--box-shadow);
  transform: scale(1.03);
}

.title-wrap {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.number {
  background-color: var(--card-color);
  border-radius: 50%;
  padding: 1rem;
  font-weight: 300;
  line-height: 1;
  margin: 0;
}

/* methods */
.methods-container {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.methods-list {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.method-item {
  display: grid;
  gap: 6rem;
  grid-template-columns: 1fr;
}

.method-left,
.method-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.method-quote {
  font-style: italic;
  padding: 16px;
  border-left: 1px solid var(--accent-color);

  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* how */

.how-section {
  background-image: url(../img/photos/bg-img/how.webp);
  background-size: 220px;
  background-position: bottom right;
  background-repeat: no-repeat;
}

.how-content {
  margin-top: 6rem;
  display: flex;
  flex-direction: column-reverse;
  gap: 6rem;
}

.how-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.how-item {
  backdrop-filter: blur(4px);
  background-color: var(--glass);
  border: var(--glass-border);
  box-shadow: var(--box-shadow);
  border-radius: 3rem;
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;

  max-width: 800px;
}

.how-item:hover {
  transform: scale(1.03);
  box-shadow:
    rgba(0, 0, 0, 0.25) 0px 12px 24px,
    var(--box-shadow);
}

.how-img-wrap {
  max-width: 600px;
  flex-shrink: 0;
  margin-inline: auto;
}

/* about */

.about-content-wrap {
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
  gap: 6rem;
}

.about-right .section-subtitle {
  margin-bottom: 3rem;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* faq */
.faq-section {
  background-image: url(../img/photos/bg-img/twig.webp);
  background-size: 200px;
  background-position: bottom left;
  background-repeat: no-repeat;

  height: 1380px;
}

.faq-list {
  margin-top: 6rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 800px;
}

.faq-item {
  background: var(--glass);
  border: var(--glass-border);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  backdrop-filter: blur(4px);
  padding: 2rem;
  transition: all 0.3s ease;
}

.faq-item:hover {
  transform: scale(1.03);
  box-shadow:
    rgba(0, 0, 0, 0.2) 0px 8px 16px,
    var(--box-shadow);
}

.faq-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  gap: 1rem;
}

.faq-arrow {
  min-width: 1.5rem;
  width: 1.5rem;
  height: 1.5rem;
  transition: transform 0.3s ease;
}

.faq-arrow svg {
  width: 100%;
  height: 100%;
  fill: var(--text-color);
}

.faq-item.is-open .faq-arrow {
  transform: rotate(90deg);
}

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

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

.faq-answer-inner {
  overflow: hidden;
  padding-top: 0;
  transition: padding-top 0.3s ease;
}

.faq-item.is-open .faq-answer-inner {
  padding-top: 1rem;
}

/* testimonials */

.testimonials-list {
  display: grid;

  grid-template-columns: 1fr;
  gap: clamp(2rem, 4vw, 3rem);

  margin-top: 6rem;
}

.testimonials-quote {
  font-style: italic;
  padding: 16px;
  border-left: 1px solid var(--accent-color);

  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
}

/* price */
.price-section {
  background-image: url(../img/photos/bg-img/9.webp);
  background-size: contain;
  background-position: bottom right;
  background-repeat: no-repeat;
}

.price-container {
  text-align: center;
}

.price-list {
  margin-top: 6rem;
  max-width: 800px;

  display: flex;
  flex-direction: column;
  gap: 1rem;

  margin-inline: auto;
  margin-bottom: 1rem;
}

.price-item {
  display: flex;
  flex-direction: column;
  gap: 1rem;

  align-items: center;
  justify-content: center;
  min-width: 100%;
  background: var(--glass);
  border: var(--glass-border);
  box-shadow: var(--box-shadow);
  border-radius: var(--border-radius);
  backdrop-filter: blur(6px);
  padding: 2rem;
  transition: all 0.3s ease;
  cursor: pointer;
}

.price-item:hover {
  transform: scale(1.03);
  box-shadow:
    rgba(0, 0, 0, 0.25) 0px 12px 24px,
    var(--box-shadow);
}

.price-item .service-price {
  transition: all 0.3s ease;
}

.price-item:hover .service-price {
  font-weight: 500;
  transform: scale(1.1);
}

/* contacts */
.contacts-section {
  background-image: url(../img/photos/bg-img/5.webp);
  background-size: 250px;
  background-position: left bottom;
  background-repeat: no-repeat;

  height: 600px;
}

.contacts-content-wrap {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  margin-top: 6rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

address {
  font-style: normal;
  letter-spacing: 0.05em;
}

.contacts-left .content-title,
.contacts-right .content-title {
  margin-bottom: 1rem;
}

.contacts-left .socials {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
  align-items: center;
}

.contacts-left address,
.contacts-left p {
  margin-bottom: 0.5rem;
}

/* instagram */

.instagram-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.instagram-container .section-subtitle {
  writing-mode: horizontal-tb;
}

/* Instagram Grid - Static Posts */
.instagram-grid {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 1200px;
}

.instagram-post {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: var(--border-radius);
  background: var(--glass);
  border: var(--glass-border);
  box-shadow: var(--box-shadow);
  cursor: pointer;
}

.instagram-media {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.instagram-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.3),
    rgba(0, 0, 0, 0.7)
  );
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.5s ease 0.2s;
  pointer-events: none;
}

.instagram-post:hover .instagram-overlay {
  opacity: 1;
  transition: opacity 0.25s ease;
}

.instagram-caption {
  color: #ffffff;
  font-size: 0.9rem;
  line-height: 1.4;
  text-align: center;
  max-width: 100%;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

/* Behold Widget - Закоментовано */
/* .instagram-widget-container {
  width: 100%;
}

behold-widget {
  display: block;
  width: 100%;
} */

/* footer */
.footer {
  padding-top: 8rem;
  padding-bottom: 4rem;

  background-image: url(../img/photos/bg-img/footer.webp);
  background-size: contain;
  background-position: 60% 40%;
  background-repeat: no-repeat;
}

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

.footer-info {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  max-width: 280px;
}

.footer-bottom {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  font-size: 0.8rem;
  opacity: 0.7;
}

.footer-credits {
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.heart-icon {
  width: 1rem;
  height: 1rem;
  fill: var(--accent-red);
  display: inline-block;
  animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
  0%,
  100% {
    transform: scale(1);
  }
  10% {
    transform: scale(1.1);
  }
  20% {
    transform: scale(1);
  }
  30% {
    transform: scale(1.15);
  }
  40% {
    transform: scale(1);
  }
}

/* back to top */

.back-to-top {
  position: fixed;
  bottom: 1rem;
  right: max(
    1rem,
    calc((100vw - 1500px) / 2 + 2rem)
  ); /* прив'язка до wrapper */
  width: 2.5rem;
  height: 2.5rem;

  background: var(--glass);
  border: var(--glass-border);
  box-shadow: var(--box-shadow);
  border-radius: 50%;
  backdrop-filter: blur(6px);
  cursor: pointer;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  transition: all 0.3s ease;
}

.back-to-top svg {
  width: 1.2rem;
  height: 1.2rem;
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  transform: translateY(-4px);
  box-shadow:
    rgba(0, 0, 0, 0.3) 0px 4px 12px,
    var(--box-shadow);
}

.back-to-top svg {
  width: 1.5rem;
  height: 1.5rem;
  fill: var(--text-color);
}

/* CTA buttons */
.cta-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 3rem;
}

.cta-button {
  min-width: 220px;
  font-size: 1rem;
}

/* floating CTA */
.floating-cta {
  position: fixed;
  bottom: 1rem;
  left: max(1rem, calc((100vw - 1500px) / 2 + 1rem)); /* прив'язка до wrapper */
  padding: 0.8rem 1.2rem;
  background: var(--glass);
  border: var(--glass-border);
  backdrop-filter: blur(4px);
  color: var(--text-color);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 400;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  border-radius: var(--border-radius);
  box-shadow: var(--box-shadow);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transform: translateY(100px);
  transition: all 0.3s ease;
}

.floating-cta.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.floating-cta:hover {
  transform: translateY(-4px);
  box-shadow:
    rgba(0, 0, 0, 0.35) 0px 8px 16px,
    var(--box-shadow);
}

/* Page Loader */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-color);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  z-index: 9999;
  transition:
    opacity 0.5s ease,
    visibility 0.5s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-logo {
  width: clamp(200px, 30vw, 300px);
  opacity: 0;
  animation: fadeInLogo 1s ease-in-out 0.3s forwards;
}

@keyframes fadeInLogo {
  to {
    opacity: 0.9;
  }
}

.loader-dots {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  justify-content: center;
}

.loader-dot {
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  border-radius: 50%;
  animation: dotBounce 1.4s ease-in-out infinite;
}

.loader-dot:nth-child(1) {
  animation-delay: 0s;
}

.loader-dot:nth-child(2) {
  animation-delay: 0.2s;
}

.loader-dot:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes dotBounce {
  0%,
  60%,
  100% {
    transform: translateY(0);
    opacity: 0.4;
  }
  30% {
    transform: translateY(-15px);
    opacity: 1;
  }
}

.loader-text {
  font-size: clamp(0.9rem, 2vw, 1rem);
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.6;
  animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 0.4;
  }
  50% {
    opacity: 0.8;
  }
}

/* Fade-in animations */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 1s cubic-bezier(0.4, 0, 0.2, 1),
    transform 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Під час скролу до якоря - вимикаємо анімації для елементів що проїжджаємо */
.is-scrolling-to-anchor .fade-in:not(.target-section .fade-in) {
  opacity: 1;
  transform: translateY(0);
  transition: none;
}

/* Для цільової секції - залишаємо нормальну анімацію */
.target-section .fade-in {
  transition-duration: 1s;
}

@media (min-width: 530px) {
  .price-item {
    flex-direction: row;
    justify-content: space-between;
  }
}

@media (min-width: 768px) {
  .mobile-menu-btn {
    width: 60px;
    height: 60px;
  }

  .mobile-menu-logo {
    left: 48px;
  }

  .mobile-nav-list {
    gap: 2.5rem;
  }

  .hero-section {
    min-height: 700px;
  }

  .hero-container {
    gap: 48px;
  }

  .body-points-section,
  .how-section {
    background-size: 320px;
  }

  .faq-section {
    background-size: 400px;
    height: 1180px;
  }

  .floating-cta {
    position: fixed;
    bottom: 2rem;
    left: max(
      2rem,
      calc((100vw - 1500px) / 2 + 2rem)
    ); /* прив'язка до wrapper */
    padding: 1rem 1.5rem;
  }

  .back-to-top {
    position: fixed;
    bottom: 2rem;
    right: max(2rem, calc((100vw - 1500px) / 2 + 2rem));

    width: 3rem;
    height: 3rem;
  }

  .contacts-section {
    background-size: 500px;
    height: 700px;
  }

  .contacts-left .socials {
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
  }

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

  .footer-info {
    max-width: 340px;
  }
}

@media (min-width: 1024px) {
  .hero-section {
    min-height: 800px;
  }

  .philosophy-content-wrap {
    flex-direction: row;

    justify-content: space-between;
  }

  .philosophy-quote {
    margin-top: 48px;
  }

  .help-list {
    margin-top: 6rem;
    grid-template-columns: repeat(auto-fit, minmax(320px, 2fr));
  }

  .testimonials-list {
    grid-template-columns: repeat(2, 1fr);
  }

  .body-points-section {
    background-size: contain;
    background-position: left;
  }

  .method-item {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
  }

  .method-left {
    flex: 0 0 300px;
    width: 300px;
    min-width: 300px;
    max-width: 300px;
  }

  .method-right {
    flex: 1;
    min-width: 0;
  }

  .how-section {
    background-size: 700px;
  }

  .how-content {
    flex-direction: row;

    justify-content: space-between;
  }

  .how-list {
    min-width: 460px;
  }

  .how-img-wrap {
    max-width: 320px;
  }

  .about-content-wrap {
    flex-direction: row;
    justify-content: space-between;
    align-items: start;
  }

  .about-left {
    min-width: 380px;
  }

  .about-right .section-subtitle {
    margin-bottom: 1rem;
  }
  .faq-section {
    background-size: 540px;
  }

  .faq-list {
    margin-left: auto;
  }

  .contacts-section {
    background-size: 700px;
    height: 900px;
  }

  .contacts-content-wrap {
    flex-direction: row;
    justify-content: center;
    align-items: center;
  }

  .contacts-left {
    max-width: 500px;
    text-align: center;
  }

  .contacts-left .socials {
    flex-direction: row;
    gap: 2rem;
    justify-content: center;
  }

  .instagram-container {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .instagram-container .section-subtitle {
    writing-mode: vertical-rl;
    white-space: nowrap;
    flex-shrink: 0;
    margin: 0;
  }

  .instagram-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }

  .footer {
    padding-bottom: 6rem;
    background-position: 60% 35%;
  }

    .footer-info {
    max-width: 390px;
  }
}

@media (min-width: 1150px) {
  .nav-list,
  .header-container .socials {
    display: flex;
    gap: 16px;
  }

  .nav-link {
    padding: 4px;
  }

  .mobile-menu-btn {
    display: none;
  }

  .mobile-menu {
    display: none;
  }

  .hero-section {
    background-size: cover;
    min-height: 900px;
  }

  .how-section {
    background-size: 600px;
  }
  .how-img-wrap {
    min-width: 540px;
    flex-shrink: 0;
  }
  .about-left {
    min-width: 420px;
  }

  .faq-section {
    background-size: 800px;
    background-position: left;
  }

     .footer-info {
    max-width: 440px;
  }
}

@media (min-width: 1280px) {
  .footer {
    background-position: 60% 20%;
  }
}

@media (min-width: 1440px) {
  .footer {
    background-position: 60% 15%;
  }


}