* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Manrope", sans-serif;
  background-image: url("images/background.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.main-layout-container {
  display: flex;
  flex-direction: row;
  gap: 100px;
  align-items: flex-start;
  justify-content: space-between;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  overflow: hidden;
}

.static-cards-column {
  display: flex;
  flex-direction: column;
  gap: 30px;
  align-items: flex-start;
  flex-shrink: 0;
  margin-top: 5px;
}

.carousel-column {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  min-width: 0;
}

.card {
  background: linear-gradient(145deg, #111827, #1f2937); /* тёмный графит */
  color: #fff;
  border-radius: 16px;
  padding: 24px;
  box-sizing: border-box;
  width: 488px;
  height: 300px;

  display: grid;
  grid-template-rows: auto 1fr auto;
  row-gap: 15px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-title {
  color: #d45555ff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0;
}

.card-content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: space-between;
  gap: 15px;
  flex-grow: 0;
  margin-top: 0;
  margin-bottom: 0;
}

.card-content.image-layout {
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
}

.text-block {
  font-family: "Inter";
  font-style: italic;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.4;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: left;
}

.text-block p {
  margin: 0;
  padding-bottom: 8px;
  align-items: flex-start;
  padding-top: 20px;
}

.text-block p:last-child {
  padding-bottom: 0;
}

.small-text {
  font-size: 16px;
  opacity: 0.8;
  line-height: 1.3;
  color: #ffffff;
}

.instagram-text {
  font-family: "Inter", sans-serif;
  font-style: italic;
  font-size: 18px;
  font-weight: 400;
  color: #ffffff;
  line-height: 1.4;
}

.icon-block {
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 0px;
}

.icon-block img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
}

.discount-block {
  text-align: center;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 0;
}

.discount-label {
  color: #ffffff;
  font-size: 14px;
  margin-bottom: 0;
  line-height: 1.2;
}

.discount-percent {
  font-size: 38px;
  font-weight: 800;
  color: #d45555ff;
  display: block;
  line-height: 1;
  margin-top: 5px;
  margin-bottom: 5px;
}

.discount-percent-small {
  font-size: 24px;
  font-weight: 700;
  color: #d45555ff;
}

.discount-info {
  color: #ffffff;
  font-size: 14px;
  line-height: 1.4;
  margin-top: 0;
}

.carousel-column {
  height: 637px;
  max-width: 480px;
  width: 100%;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

.carousel-wrapper {
  display: flex;
  flex-direction: row;
  gap: 30px;
  align-items: flex-end;
  justify-content: flex-end;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  border-radius: 16px;
}

.swiper-slide {
  width: 100% !important;
  height: 637px;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border-radius: 16px;
  overflow: hidden;

  display: flex;
  align-items: center;
  justify-content: center;
}

.title-slide-1 {
  color: #d45555ff;
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  line-height: 1.2;
  margin-bottom: 0;
}

.title-slide-1::after {
  content: "";
  display: block;
  width: 300px;
  height: 1px;
  margin: 8px auto 0 auto;
  background-color: #ffffff;
  border-radius: 1px;
}

.slide-text {
  margin-top: 40px;
  margin: 40px 40px 0px 40px;
  font-family: "Inter";
  font-style: italic;
  color: #ffffff;
  font-size: 16px;
  line-height: 2;
  word-wrap: break-word;
  overflow-wrap: break-word;
  text-align: center;
}

.highlight {
  color: #d45555ff;
}

.insta-link {
  text-decoration: none;
  color: #d45555;   
  font-weight: 600;
  transition: color 0.2s ease;
}

.insta-link:hover {
  color: #1da1f2;
}

.slide-1-icon {
  flex-shrink: 0;
  width: 340px;
  height: 340px;
  display: block;
  justify-content: center;
  align-items: center;
  margin: 20px auto auto auto;
}

.slide-1-icon img {
  max-width: 100%;
  max-height: 100%;
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 6px 16px rgba(0, 0, 0, 0.4));
}

.carousel-slide {
  padding: 24px;
  background: #20203a;
  color: white;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.my-swiper {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  isolation: isolate;
  background-color: #1a1a2e;
}

.swiper-wrapper {
  display: flex;
  transition-property: transform;
  box-sizing: content-box;
  height: 100%;
}

.swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: stretch;
  justify-content: center;
  backface-visibility: hidden;
  transform: translateZ(0);
  will-change: transform;
  background: transparent;
  border-radius: 0;
  overflow: visible;
}

.slide-1 {
  background: linear-gradient(145deg, #111827, #1f2937); /* тёмный графит */
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4), 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.slide-2 {
  background: linear-gradient(145deg, #111827, #1f2937); /* тёмный графит */
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4), 0px 4px 8px rgba(0, 0, 0, 0.2);
}

.slide-3 {
  background: linear-gradient(145deg, #111827, #1f2937); /* тёмный графит */
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.4), 0px 4px 8px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  body {
    flex-direction: column;
    align-items: stretch;
    padding: 0px;
    background-position: center top;
    background-size: cover;
  }

  .main-layout-container {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 10px;
  }

  .static-cards-column,
  .carousel-column {
    width: 100%;
    max-width: 100%;
    align-items: center;
    gap: 60px;
  }

  .card {
    width: 100%;
    height: auto;
    padding: 16px;
  }

  .card-title {
    font-size: 20px;
  }

  .text-block {
    font-size: 14px;
    text-align: center;
  }

  .discount-label,
  .discount-info {
    font-size: 14px;
  }

  .discount-percent {
    font-size: 32px;
  }

  .discount-percent-small {
    font-size: 20px;
  }

  .icon-block {
    width: 80px;
    height: 80px;
  }

  .slide-1-icon {
    width: 220px;
    height: 220px;
    margin: 40px auto 0 auto;
  }

  .title-slide-1 {
    font-size: 20px;
  }

  .slide-text {
    font-size: 16px;
    margin-top: 20px;
    line-height: 1.5;
  }

  .carousel-column {
    height: auto;
  }

  .my-swiper {
    height: auto;
  }

  .swiper-slide {
    height: auto;
    padding: 0;
  }

  .slide-1,
  .slide-2,
  .slide-3 {
    padding: 16px;
    height: auto;
  }
}

html {
  scroll-behavior: smooth;
}
