main {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fbfbfb;
  position: relative;
}
/* -------- COMMON COMPONENTS -------- */
.section-title h1 {
  font-size: 24px;
  font-family: "Inter";
  color: #859a8e;
}
.big-title {
  font-size: 64px;
  color: #bbac95;
  font-family: "Poiret One";
}
.more-btn {
  width: 260px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background-color: #bbac95;
  border-radius: 200px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  font-size: 20px;
  font-weight: bold;
  color: #ffffff;
}
.more-btn img {
  position: absolute;
  right: 23px;
  width: 20px;
  height: auto;
}

.side-bar {
  width: 100%;
  max-width: 1100px;
  margin: auto;
  padding-block: 16px;
  font-size: 14px;
  display: flex;
  align-items: center;
}

@media (max-width: 1200px) {
  .side-bar {
    padding: 11px 16px;
  }
}
/* --- Floating btns --- */
.floating {
  position: fixed;
  top: 17px;
  right: 0;
  transition: opacity 0.3s ease;
  display: none;
  z-index: 999;
}
.floating.show {
  display: none;
}
.floating a {
  display: flex;
  width: 80px;
  height: 80px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: #ffffff;
}
.floating a img {
  width: 30px;
}
.floating a:nth-of-type(1) {
  border-top-left-radius: 10px;
}
.floating a:nth-of-type(2) {
  border-bottom-left-radius: 10px;
}

@media (max-width: 768px) {
  .floating.show {
    display: block;
  }
}

/* -------- SLIDER -------- */
:root {
  --slider-max-width: 372px;
  --slider-gap: 37px;
  --dot-size: 8px;
  --dot-color: #d2d2d2;
  --dot-active-color: #afafaf;
}

.slider-container {
  width: 100%;
  max-width: 1440px;
  display: flex;
  justify-content: center;
  position: relative;
}

.slider {
  padding-block: 106px 64px;
  position: relative;
  width: min(100%, calc(var(--slider-max-width) * 3.5 + var(--slider-gap) * 3));
  overflow: hidden;
  touch-action: pan-y;
  cursor: grab;
  max-width: 1380px;
}

.slider.is-dragging {
  cursor: grabbing;
}

.slider-track {
  display: flex;
  gap: var(--slider-gap);
  transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
  will-change: transform;
  padding: 18px;
}

.slide {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: var(--slider-max-width);
}

.slide img {
  width: auto;
  height: auto;
  max-width: var(--slider-max-width);
  display: block;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}

.dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}

.dot {
  width: var(--dot-size);
  height: var(--dot-size);
  border-radius: 50%;
  background: var(--dot-color);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease;
}

.dot:focus-visible {
  outline: 2px solid #afafaf;
  outline-offset: 2px;
}

.dot.active {
  background: var(--dot-active-color);
  transform: scale(1.2);
}

.arrow {
  position: absolute;
  top: 55%;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.25);
  cursor: pointer;
  font-size: 14px;
  color: #ffffff;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
  z-index: 10;
  pointer-events: auto;
}

.arrow.prev {
  left: 8px;
}

.arrow.next {
  right: 8px;
}

.arrow:hover {
  transform: translateY(-50%) scale(1.05);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.2);
}

.arrow:active {
  transform: translateY(-50%) scale(0.97);
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.2);
}

.arrow:focus-visible {
  outline: 2px solid #111;
  outline-offset: 2px;
}

.is-md-show {
  display: none !important;
}

@media (max-width: 768px) {
  .slider {
    padding-block: 40px 71px;
  }
  .slide img {
    width: 280px;
  }
  .is-md-hide {
    display: none !important;
  }
  .is-md-show {
    display: block !important;
  }
  .dots {
    bottom: 20px;
  }
  .arrow {
    width: 32px;
    height: 32px;
    font-size: 18px;
  }
  .arrow.prev {
    left: 4px;
  }
  .arrow.next {
    right: 4px;
  }
}
@media (max-width: 425px) {
  .slide img {
    width: 180px;
  }
}

/* -------- TROUBLE -------- */
.trouble {
  width: 100%;
  max-width: 1100px;
  display: flex;
  justify-content: space-between;
  padding-block: 26px 40px;
  padding-inline: 40px 30px;
  background-color: #ffffff;
}
.trouble .title-box {
  width: fit-content;
  height: fit-content;
  padding-left: 22px;
  border-left: 1px solid #bbac95;
}
.trouble-img {
  width: 100%;
  max-width: 500px;
  position: relative;
}
.trouble-img img {
  width: 100%;
}
.trouble-img::before {
  content: "";
  position: absolute;
  top: 41px;
  left: 22px;
  width: 100%;
  max-width: 500px;
  height: 100%;
  max-height: 547px;
  background-color: #f3e9e3;
  z-index: -1;
}
.trouble-txt {
  width: 100%;
  max-width: 740px;
}
.trouble-menu {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.trouble-menu .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 15px 22px;
  padding-block: 15px;
  background-color: #ce9783;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.trouble-menu .item .img-txt {
  display: flex;
  align-items: center;
  gap: 19px;
}
.trouble-menu .item img {
  width: 80px;
}
.trouble-menu .item p {
  font-size: 22px;
  font-weight: bold;
  color: #ffffff;
  line-height: 1.3;
}
.trouble span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  color: #ce9783;
  font-size: 14px;
  border-radius: 50%;
}
.trouble-last-menu {
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-block: 40px;
  background-color: #ce9783;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  margin-top: 20px;
  color: #ffffff;
  font-size: 26px;
  font-weight: bold;
}
.trouble-last-menu span {
  position: absolute;
  right: 22px;
}

@media (max-width: 1024px) {
  .trouble {
    flex-direction: column;
    align-items: center;
    padding-inline: 16px;
    padding-block: 25px 45px;
    gap: 29px;
  }
  .trouble .title-box {
    padding-left: 0;
    border: none;
  }
  .treatment {
    padding-inline: 16px;
  }
}
@media (max-width: 768px) {
  .trouble {
    padding-block: 25px 45px;
    padding-inline: 16px;
    background-color: #ffffff;
  }
  .trouble-content {
    width: 100%;
  }
  .trouble-img::before {
    display: none;
  }
  .big-title {
    margin-bottom: 6px;
  }
  .trouble-txt {
    padding: 31px 16px;
  }
  .trouble-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .trouble-menu .item {
    width: 100%;
    max-width: 360px;
  }
  .trouble-last-menu {
    max-width: 360px;
    margin: auto;
    margin-top: 15px;
  }
  .trouble-menu .item .img-txt {
    gap: 16px;
  }
  .trouble-menu .item p {
    font-size: 18px;
  }
}

/* -------- TREATMENT -------- */
.treatment {
  width: 100%;
  max-width: 1100px;
  padding-block: 57px;
}
.treatment h2 {
  font-size: 24px;
  color: #859a8e;
  margin-bottom: 42px;
  text-align: center;
}
.treatment .content {
  width: 100%;
  max-width: 940px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: auto;
}
.treatment .content.one {
  grid-template-columns: 1fr;
  max-width: 460px;
}
.treatment .item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-inline: 15px 26px;
  padding-block: 5px;
  background-color: #ffffff;
  border-radius: 5px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
}
.treatment .item .img-txt {
  display: flex;
  align-items: center;
  gap: 20px;
}
.treatment .item img {
  width: 100px;
}
.treatment .item p {
  font-size: 22px;
  font-weight: bold;
  color: #859a8e;
}
.treatment .item span {
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #bbac95;
  color: #ffffff;
  font-size: 14px;
  border-radius: 50%;
}

@media (max-width: 768px) {
  .treatment {
    padding-block: 49px;
  }
  .treatment h2 {
    margin-bottom: 36px;
  }
  .treatment .content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
  }
  .treatment .item {
    width: 100%;
    max-width: 360px;
  }
  .treatment .item p {
    font-size: 18px;
  }
}
