/* RE:STORE WOMAN - FEMIN Style Landing Page */

/* ============= FONTS ============= */
@font-face {
    font-family: 'Gilroy';
    src: url('../assets/Gilroy-Regular.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: 'Gilroy';
    src: url('../assets/Gilroy-Medium.woff2') format('woff2');
    font-weight: 500;
    font-display: swap;
}

@font-face {
    font-family: 'Forum';
    src: url('../assets/Forum.woff2') format('woff2');
    font-weight: 400;
    font-display: swap;
}

/* ============= RESET & BASE ============= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', 'Gilroy', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    color: #202020;
    background: #ffffff;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body[unselectable="on"] {
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul {
    list-style: none;
}

/* ============= CONTAINER ============= */
.container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 40px;
}

@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }
}

/* ============= SPACING ============= */
.p150 {
    padding: 100px 0;
}

@media (max-width: 768px) {
    .p150 {
        padding: 60px 0;
    }
}

/* ============= TYPOGRAPHY ============= */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Forum', serif;
    font-weight: 400;
    line-height: 1.2;
}

h2 {
    font-size: 64px;
    text-align: center;
    margin-bottom: 80px;
}

@media (max-width: 768px) {
    h2 {
        font-size: 36px;
        margin-bottom: 40px;
    }
}

/* ============= BUTTONS ============= */
.btn3, .btn4, .btn-white {
    display: inline-block;
    padding: 20px 40px;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border: 1px solid #202020;
    background: #202020;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn3 {
    background: #ffffff;
    color: #202020;
    border-color: #ffffff;
}

.btn3:hover {
    background: transparent;
    color: #ffffff;
    border-color: #ffffff;
}

.btn4 {
    padding: 24px 60px;
    font-size: 16px;
}

.btn-white {
    background: #ffffff;
    color: #202020;
    border-color: #202020;
}

.btn-white:hover {
    background: #202020;
    color: #ffffff;
}

@media (max-width: 768px) {
    .btn, .btn2, .btn3, .btn-white {
        padding: 16px 32px;
        font-size: 12px;
    }

    .btn4 {
        padding: 20px 40px;
        font-size: 14px;
    }
}

/* ==== HARD OVERRIDE: stable btn styles ==== */
.btn, .btn2{
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 16px 36px;
  min-height: 54px;
  font-family: 'Montserrat','Gilroy',sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .14em;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, background .22s ease, color .22s ease, border-color .22s ease;
}

/* btn = white */
.btn{
  background: linear-gradient(180deg, #fff 0%, #f2f2f2 100%) !important;
  color: #0b0b0b !important;
  border: 1px solid rgba(0,0,0,.16) !important;
  box-shadow: 0 14px 34px rgba(0,0,0,.22), inset 0 1px 0 rgba(255,255,255,.85) !important;
}

/* btn2 = glass */
.btn2{
  background: rgba(255,255,255,.06) !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.55) !important;
  box-shadow: 0 12px 28px rgba(0,0,0,.30), inset 0 1px 0 rgba(255,255,255,.10) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

/* hover */
@media (hover:hover){
  .btn:hover, .btn2:hover{ transform: translateY(-2px); }

  .btn:hover{
    background: #fff !important;
    color: #000 !important;
    border-color: rgba(0,0,0,.22) !important;
    box-shadow: 0 20px 46px rgba(0,0,0,.26), 0 0 0 7px rgba(255,255,255,.10), inset 0 1px 0 rgba(255,255,255,.9) !important;
  }

  .btn2:hover{
    background: rgba(255,255,255,.12) !important;
    border-color: rgba(255,255,255,.85) !important;
    box-shadow: 0 18px 42px rgba(0,0,0,.44), 0 0 0 7px rgba(255,255,255,.05), inset 0 1px 0 rgba(255,255,255,.12) !important;
  }
}



/* ============= PRELOADER ============= */
.preload {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000 url('../img/webp/loading-bg.webp') center no-repeat;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
}

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

.preload__text {
    display: flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    gap: 80px;
}

.preload__text img {
    width: 574px;
    height: auto;
    max-width: 90%;
    animation: fadeInDown 0.8s ease 0.3s both;
}

.preload__text p {
    font-weight: 400;
    font-size: 47px;
    line-height: 100%;
    letter-spacing: 0.1em;
    text-transform: lowercase;
    text-align: center;
    color: #ececec;
    margin: 0;
    font-family: 'Forum', serif;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.preload__status {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    bottom: 200px;
    max-width: 400px;
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.4);
}

.preload__status-line {
    height: 100%;
    background: #fff;
    transition: width 2s ease;
    width: 0;
}

@media (max-width: 768px) {
    .preload {
        background: #000000 url('../img/webp/loading-bg-mob.webp') center no-repeat;
        background-size: cover;
    }

    .preload__text {
        margin-bottom: 155px;
        position: relative;
        gap: 60px;          /* расстояние между img и p */
    }

    .preload__text img {
        width: 300px;
        margin: 0 auto;
    }

    .preload__text p {
        position: static;
        max-width: 350px;
        width: 100%;
        margin: 0 auto;
        text-align: center;
        font-size: 20px;
        line-height: 180%;
        transform: none;
    }

    .preload__status {
        width: 300px;
    }
}

/* ============= MAIN HERO ============= */
.main {
    min-height: 100vh;
    background: #000000 url('../img/webp/main-bg.webp') center no-repeat;
    background-size: cover;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.main {
    position: relative;
    min-height: 100vh;
    background: #000000 url('../img/webp/main-bg.webp') center no-repeat;
    background-size: cover;
    color: #ffffff;
    display: flex;
    align-items: center;
    padding: 80px 0;
    overflow: hidden;
}

.main::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,0.45) 0%,
    rgba(0,0,0,0.25) 45%,
    rgba(0,0,0,0.55) 100%
  );
  z-index:0;
  pointer-events:none;
}

.main::after{
  content:"";
  position:absolute;
  inset:0;
  backdrop-filter: brightness(0.92) contrast(1.03) saturate(0.98);
  -webkit-backdrop-filter: brightness(0.92) contrast(1.03) saturate(0.98);
  z-index:0;
  pointer-events:none;
}

.main .container {
    position: relative;
    z-index: 1;
}


.header {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    margin-bottom: 80px;
    font-size: 14px;
    letter-spacing: 0.05em;
    animation: fadeInDown 0.8s ease 0.5s both;
}

.header span {
    color: rgba(255, 255, 255, 0.5);
}

.main__top {
    text-align: center;
    margin-bottom: 60px;
}

.main__top img {
    margin: 0 auto 40px;
    max-width: 800px;
    width: 100%;
    animation: fadeInDown 0.8s ease 1s both;
}

.main__top-text {
    font-family: 'Forum', serif;
    font-size: 36px;
    line-height: 1.2;
    text-transform: lowercase;
    animation: fadeInDown 0.8s ease 1.3s both;
}

.main__top-text p {
    margin: 0;
}

.main__mid {
    text-align: center;
    max-width: 900px;
    margin: 0 auto 60px;
    font-size: 20px;
    line-height: 1.6;
    animation: fadeInUp 0.8s ease 1.5s both;
}

.main__btns {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 80px;
    animation: fadeInUp 0.8s ease 2s both;
}

.main__bot {
    text-align: center;
    font-size: 14px;
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .main{
        align-items: flex-start;   /* ключ: поднимаем весь контент вверх */
        padding: 22px 0 34px;      /* вместо больших 80px */
        min-height: 100svh;
        background: #000 url('../img/webp/main-bg-mob.webp') no-repeat;
        background-size: cover;
        background-position: 65% 100%;
    }

    /* на мобиле обычно надо чуть сильнее затемнять */
    .main::before{
        background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.55) 0%,
        rgba(0,0,0,0.28) 45%,
        rgba(0,0,0,0.65) 100%
        );
    }
    
    .main::after{ display:none; }

    .header span { 
        display: none; 
    }

    .header{
        display: grid;
        grid-template-columns: 1fr auto 1fr; /* левый растяг, центр по контенту, правый растяг */
        align-items: center;
        gap: 10px;

        width: 100%;
        margin-top: 6px;
        margin-bottom: 100px;
        font-size: 11px;
        letter-spacing: 0.05em;
    }

    .header p:nth-child(1){
        justify-self: start;
        text-align: left;
    }

    .header p:nth-child(2){
        justify-self: center;
        text-align: center;
    }

    .header p:nth-child(3){
        justify-self: end;
        text-align: right;
    }

    .main__top img {
        max-width: 300px;
        margin-bottom: 300px;
    }

    .main__top-text {
        font-size: 24px;
    }

    .main__mid {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .main__btns {
        flex-direction: column;
        gap: 15px;
        margin-bottom: 60px;
    }
}

/* ===== METHOD FLOW — MOBILE FIRST PREMIUM ===== */

.method-flow {
  position: relative;
  overflow: hidden;
  background: #060606;
  color: #fff;
}

/* Aura background */
.method-flow__aura {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(ellipse 75% 40% at 50% 10%, rgba(255,255,255,.008), transparent 70%),
    linear-gradient(180deg, rgba(6,6,6,.96) 0%, rgba(6,6,6,.25) 32%, rgba(6,6,6,.96) 100%),
    url('../img/webp/method-section.webp') center/cover no-repeat;
  filter: brightness(1.15) contrast(1.05) saturate(1.08);
  z-index: 0;
}

.method-flow .container {
  position: relative;
  z-index: 1;
}

.method-flow__title {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .20em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 32px;
  color: rgba(255,255,255,.98);
  text-shadow: 0 1px 6px rgba(0,0,0,.18);
}

/* Stack layout - Mobile First */
.method-flow__stack {
  display: flex;
  flex-direction: column;
  gap: 16px;
  max-width: 440px;
  margin: 0 auto;
}

/* ===== FLOW BLOCK ===== */

.flow-block {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  
  min-height: 340px;
  border-radius: 16px;
  
  background: linear-gradient(150deg, rgba(20,20,20,.88), rgba(12,12,12,.92));
  border: 1px solid rgb(255, 255, 255);
  
  box-shadow: 
    0 10px 36px rgba(0,0,0,.32),
    0 2px 6px rgba(0,0,0,.18),
    inset 0 .5px 0 rgba(255,255,255,.02);
  
  transition: all .28s cubic-bezier(.18,1,.22,1);
}

/* Canvas layer */
.flow-block__canvas {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.flow-block__picture {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .92;
  transition: all .48s cubic-bezier(.18,1,.22,1);
}

.flow-block:nth-child(1) .flow-block__picture {
  background-image: url('../img/webp/method-re.webp');
}

.flow-block:nth-child(2) .flow-block__picture {
  background-image: url('../img/webp/method-store.webp');
}

/* Veil gradient */
.flow-block__veil {
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.28) 40%, rgba(0,0,0,.70) 100%);
  z-index: 1;
}

/* Zone content */
.flow-block__zone {
  position: relative;
  z-index: 2;
  height: 100%;
  padding: 28px 24px 26px;
  
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Identity typography */
.flow-block__identity {
  display: flex;
  align-items: baseline;
  gap: 4px;
  line-height: .88;
}

.flow-block__letter {
  font-family: "Forum", serif;
  font-size: 56px;
  font-weight: 400;
  letter-spacing: .06em;
  color: #fff;
  text-shadow: 
    0 .5px 2px rgba(0,0,0,.16),
    0 3px 16px rgba(0,0,0,.36);
  transition: all .28s ease;
}

.flow-block__mini {
  font-family: "Forum", serif;
  font-size: 24px;
  font-weight: 400;
  letter-spacing: .30em;
  color: rgba(255,255,255,.88);
  transform: translateY(-5px);
  text-shadow: 
    0 .5px 2px rgba(0,0,0,.16),
    0 3px 16px rgba(0,0,0,.36);
  transition: all .28s ease;
}

/* Content block */
.flow-block__content {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

/* Text */
.flow-block__text {
  margin: 0;
  font-size: 12px;
  line-height: 1.62;
  color: rgba(255,255,255,.89);
  text-shadow: 0 2px 12px rgba(0,0,0,.42);
  font-weight: 400;
}

/* ===== FLOW LABEL ===== */

.flow-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: flex-start;
  height: 30px;
  padding: 0 15px;
  border-radius: 999px;
  
  font-size: 7.5px;
  font-weight: 600;
  letter-spacing: .36em;
  text-transform: uppercase;
  white-space: nowrap;
  user-select: none;
  
  transition: all .24s cubic-bezier(.18,1,.22,1);
}

.flow-label--bright {
  background: rgba(255,255,255,.91);
  color: #0a0a0a;
  border: 1px solid rgba(255,255,255,.91);
  box-shadow: 
    0 2px 10px rgba(0,0,0,.18),
    inset 0 .5px 0 rgba(255,255,255,.22);
}

.flow-label--frost {
  background: rgba(0,0,0,.18);
  color: rgba(255,255,255,.91);
  border: 1px solid rgba(255,255,255,.55);
  backdrop-filter: blur(10px) saturate(1.12);
  -webkit-backdrop-filter: blur(10px) saturate(1.12);
  box-shadow: 
    0 2px 10px rgba(0,0,0,.14),
    inset 0 .5px 0 rgba(255,255,255,.05);
}

/* ===== HOVER (Desktop) ===== */

@media (hover: hover) {
  .flow-block:hover {
    transform: translateY(-5px) scale(1.005);
    border-color: rgba(255,255,255,.09);
    box-shadow: 
      0 16px 56px rgba(0,0,0,.44),
      0 3px 10px rgba(0,0,0,.22),
      inset 0 .5px 0 rgba(255,255,255,.03);
  }
  
  .flow-block:hover .flow-block__picture {
    transform: scale(1.03);
    opacity: .96;
  }
  
  .flow-block:hover .flow-block__letter {
    text-shadow: 
      0 1px 3px rgba(0,0,0,.22),
      0 5px 24px rgba(0,0,0,.48);
    transform: translateY(-1.5px);
  }
  
  .flow-block:hover .flow-block__mini {
    text-shadow: 
      0 1px 3px rgba(0,0,0,.22),
      0 5px 24px rgba(0,0,0,.48);
  }
  
  .flow-label--bright:hover {
    background: #fff;
    box-shadow: 
      0 4px 20px rgba(0,0,0,.26),
      inset 0 .5px 0 rgba(255,255,255,.32);
    transform: translateY(-1px);
  }
  
  .flow-label--frost:hover {
    background: rgba(0,0,0,.26);
    border-color: rgba(255,255,255,.70);
    transform: translateY(-1px);
  }
}

/* Active state */
.flow-block:active {
  transform: translateY(-3px) scale(1.002);
}

/* ===== RESPONSIVE — TABLET ===== */

@media (min-width: 640px) {
  .method-flow__title { 
    font-size: 20px;
    margin-bottom: 36px;
  }
  
  .method-flow__stack {
    max-width: 520px;
    gap: 18px;
  }
  
  .flow-block {
    min-height: 360px;
  }
  
  .flow-block__zone {
    padding: 30px 28px 28px;
    gap: 22px;
  }
  
  .flow-block__letter { font-size: 60px; }
  .flow-block__mini { font-size: 26px; }
  .flow-block__content { gap: 15px; }
  .flow-block__text { font-size: 12.5px; line-height: 1.64; }
  .flow-label { height: 32px; padding: 0 16px; font-size: 8px; }
}

/* ===== RESPONSIVE — DESKTOP ===== */

@media (min-width: 1024px) {
  .method-flow__title { 
    font-size: 24px;
    margin-bottom: 44px;
    letter-spacing: .18em;
  }
  
  .method-flow__stack {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 980px;
  }
  
  .flow-block {
    min-height: 400px;
    border-radius: 18px;
  }
  
  .flow-block__zone {
    padding: 32px 30px 30px;
    gap: 24px;
  }
  
  .flow-block__letter { font-size: 68px; }
  .flow-block__mini { 
    font-size: 28px;
    transform: translateY(-6px);
  }
  .flow-block__content { gap: 16px; }
  .flow-block__text { 
    font-size: 12.5px;
    line-height: 1.65;
    max-width: 360px;
  }
  .flow-label { height: 32px; font-size: 8px; }
}

@media (min-width: 1200px) {
  .method-flow__stack {
    max-width: 1040px;
    gap: 24px;
  }
  
  .flow-block { min-height: 420px; }
  .flow-block__letter { font-size: 72px; }
  .flow-block__mini { font-size: 30px; }
}

/* ===== WANT SECTION ===== */

/* ===== WANT SECTION ===== */
.want {
  background: url('../img/want-bg.webp') center/cover no-repeat;
  background-color: #fafafa;
  position: relative;
}

.want::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(250, 250, 250, 0.75) 0%, rgba(244, 244, 244, 0.85) 100%);
  pointer-events: none;
  z-index: 0;
}

.want .container {
  position: relative;
  z-index: 1;
}

.want__head {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 36px;
  margin-bottom: 52px;
}

.want__head img {
  width: 46px;
  height: 46px;
  flex-shrink: 0;
  transition: transform .3s ease;
}

.want__head img:hover {
  transform: scale(1.12) rotate(6deg);
}

.want__head h2 {
  margin: 0;
  font-family: 'Forum', serif;
  font-size: 26px;
  font-weight: 400;
  line-height: 1.3;
  text-align: center;
  color: #1a1a1a;
}

.want__swiper {
  margin-bottom: 48px;
}

/* Item - десктоп */
.want__item {
  max-width: 220px;
  width: 100%;
  height: 500px;
  display: flex;
  gap: 16px;
  flex-direction: column;
}

/* Фото */
.want__item-img {
  width: 100%;
  flex: 1;
  overflow: hidden;
  border: 2px solid #000000;
  box-sizing: border-box;
}

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

/* Текст - СЛЕВА */
.want__item p {
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
  margin: 0;
  color: #2a2a2a;
  font-weight: 400;
  flex-shrink: 0;
}

/* Arrows */
.want__arrows {
  display: flex;
  justify-content: center;
  gap: 32px;
}

.arrows .arrow {
  width: 60px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  position: relative;
}

.arrows .arrow::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  background: rgba(0,0,0,.02);
  opacity: 0;
  transition: opacity .25s ease;
}

.arrows .arrow:hover::before {
  opacity: 1;
}

.arrows .arrow svg {
  width: 60px;
  height: auto;
  position: relative;
  z-index: 1;
}

.arrows .arrow.swiper-button-disabled {
  opacity: 0.2;
  cursor: not-allowed;
  pointer-events: none;
}

.arrows .arrow:not(.swiper-button-disabled):hover {
  transform: scale(1.12);
}

/* Mobile */
@media (max-width: 767px) {
  .want__item {
    height: 369px;
    max-width: 159px;
    width: 100%;
    gap: 16px;
  }
}

/* Tablet */
@media (min-width: 640px) {
  .want__head h2 {
    font-size: 30px;
  }
  
  .want__head img {
    width: 52px;
    height: 52px;
  }
  
  .want__item p {
    font-size: 15px;
  }
  
  .want__arrows {
    gap: 36px;
  }
  
  .arrows .arrow {
    width: 66px;
    height: 44px;
  }
  
  .arrows .arrow svg {
    width: 66px;
  }
}

/* Desktop */
@media (min-width: 1024px) {
  .want__head h2 {
    font-size: 34px;
  }
  
  .want__head img {
    width: 58px;
    height: 58px;
  }
  
  .want__item p {
    font-size: 16px;
    line-height: 1.7;
  }
  
  .arrows .arrow {
    width: 70px;
    height: 46px;
  }
  
  .arrows .arrow svg {
    width: 70px;
  }
}

/* Swiper wrapper */
.want__swiper .swiper-wrapper {
  display: flex;
}

.want__swiper .swiper-slide {
  width: auto;
  flex-shrink: 0;
}

/* ============= RESULT SECTION ============= */
.result {
    background: #202020;
    color: #ffffff;
}

.result h2 {
    color: #ffffff;
    font-size: 26px;
    line-height: 1.3;
    margin-bottom: 50px;
}

.result__swiper {
    margin-bottom: 60px;
}

.result__item {
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
}

.result__item img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 4px;
}

.result__item-text ul {
    display: grid;
    gap: 15px;
}

.result__item-text li {
    padding-left: 25px;
    position: relative;
    font-size: 14px;
    line-height: 1.6;
}

.result__item-text li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #ffffff;
    font-weight: bold;
}

.result__arrows {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.result__arrows .arrow {
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.result__arrows .arrow:hover {
    opacity: 0.7;
}

.result__arrows .arrow svg {
    display: block;
}

.result__btn {
    text-align: center;
}

@media (max-width: 768px) {
    .result h2 {
        font-size: 22px;
        margin-bottom: 30px;
    }

    .result__item {
        gap: 20px;
        padding: 20px;
    }

    .result__arrows {
        gap: 15px;
        margin-bottom: 30px;
    }

    .result__arrows .arrow svg {
        width: 50px;
        height: 10px;
    }
}

/* ============= ANIMATIONS ============= */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate__animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

.animate__fadeInDown {
    animation-name: fadeInDown;
}

.animate__fadeInUp {
    animation-name: fadeInUp;
}

.animate__fadeInLeft {
    animation-name: fadeInLeft;
}

.animate__fadeInRight {
    animation-name: fadeInRight;
}

/* ============= PROGRAM SECTION - PREMIUM ============= */
.program {
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    overflow: hidden;
    transition: background 0.5s ease;
}

.program.gift-theme {
    background: linear-gradient(135deg, #2d1515 0%, #1a0a0a 100%);
}

.program.gift-theme::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,107,107,0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(255,82,82,0.1) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(255,255,255,0.02) 0%, transparent 60%);
    pointer-events: none;
    animation: giftGlow 3s ease-in-out infinite;
}

@keyframes giftGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.program.gift-theme .program__head h2,
.program.gift-theme .modul__title {
    color: #ffffff;
}

.program::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(0,0,0,0.02) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 70%, rgba(0,0,0,0.015) 0%, transparent 50%);
    pointer-events: none;
}

.program .container {
    position: relative;
    z-index: 1;
}

.program__head {
    text-align: center;
    margin-bottom: 50px;
}

.program h2 {
    font-size: 42px;
    margin-bottom: 35px;
    font-weight: 400;
    color: #1a1a1a;
    transition: color 0.5s ease;
}

.program__tab {
    display: inline-flex;
    position: relative;
    background: rgba(0,0,0,0.04);
    padding: 5px;
    border-radius: 100px;
    margin-top: 30px;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.06);
}

.program.gift-theme .program__tab {
    background: rgba(255,255,255,0.1);
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.3);
}

.program__tab-item {
    padding: 12px 35px;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    position: relative;
    z-index: 2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: rgba(0,0,0,0.5);
}

.program.gift-theme .program__tab-item {
    color: rgba(255,255,255,0.6);
}

.program__tab-item.active {
    color: #ffffff;
}

.program__tab-bg {
    position: absolute;
    width: 50%;
    height: calc(100% - 10px);
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: 100px;
    top: 5px;
    left: 5px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 1;
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}

.program.gift-theme .program__tab-bg {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    box-shadow: 0 4px 20px rgba(255,107,107,0.4);
}

.program__body-head {
    margin-bottom: 40px;
}

.subtabs,
.subtabsW {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.subtabs__item,
.subtabsW__item {
    padding: 10px 22px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    border: 1.5px solid rgba(0,0,0,0.12);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    color: rgba(0,0,0,0.6);
}

.program.gift-theme .subtabs__item {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.2);
    color: rgba(255,255,255,0.7);
}

.subtabs__item:hover,
.subtabsW__item:hover {
    border-color: rgba(0,0,0,0.3);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.program.gift-theme .subtabs__item:hover {
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 4px 12px rgba(255,107,107,0.3);
}

.subtabs__item.active,
.subtabsW__item.active {
    background: linear-gradient(135deg, #2a2a2a 0%, #1a1a1a 100%);
    color: #ffffff;
    border-color: #1a1a1a;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.program.gift-theme .subtabs__item.active {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    border-color: #ff5252;
    box-shadow: 0 4px 16px rgba(255,107,107,0.5);
}

.modul,
.workout {
    display: none;
}

.modul.active,
.workout.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ПОДАРКИ СЕКЦИЯ */
.modul--gift {
    background: transparent;
    padding: 0;
    border: none;
}

.gift-banner {
    position: relative;
    text-align: center;
    margin-bottom: 50px;
    padding: 50px 30px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    border-radius: 30px;
    color: white;
    box-shadow: 0 20px 60px rgba(255,107,107,0.4);
    overflow: hidden;
}

.gift-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 70%);
    animation: bannerShine 4s linear infinite;
}

@keyframes bannerShine {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.gift-sparkles {
    position: absolute;
    top: 20px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: space-around;
    font-size: 24px;
    animation: sparkle 2s ease-in-out infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.gift-icon {
    font-size: 72px;
    margin-bottom: 20px;
    animation: gift-bounce 2s ease-in-out infinite;
    position: relative;
    z-index: 1;
}

@keyframes gift-bounce {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-15px) rotate(5deg); }
}

.gift-banner h3 {
    font-size: 32px;
    margin-bottom: 15px;
    font-weight: 700;
    text-shadow: 0 2px 12px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
}

.gift-banner p {
    font-size: 16px;
    opacity: 0.95;
    margin: 0;
    position: relative;
    z-index: 1;
}

.gift-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

/* УРОКИ И ГАЙДЫ */
.modul__title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 25px;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(0,0,0,0.7);
    transition: color 0.5s ease;
}

.uroki {
    margin-bottom: 50px;
}

.uroki:last-child {
    margin-bottom: 0;
}

.modul__item {
    background: #ffffff;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    height: 100%;
}

.modul__item:hover {
    border-color: rgba(0,0,0,0.15);
    transform: translateY(-6px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.modul__item--gift {
    border: 2px solid rgba(255,107,107,0.4);
    background: linear-gradient(135deg, #ffffff 0%, #fff5f5 100%);
    position: relative;
    overflow: visible;
}

.gift-badge {
    position: absolute;
    top: -15px;
    right: -15px;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.1em;
    z-index: 10;
    box-shadow: 0 6px 20px rgba(255,107,107,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
    animation: badge-float 3s ease-in-out infinite;
}

@keyframes badge-float {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-5px) rotate(5deg); }
}

.modul__item--gift:hover {
    border-color: rgba(255,107,107,0.7);
    box-shadow: 0 12px 40px rgba(255,107,107,0.3);
}

.modul__img-wrap {
    position: relative;
    overflow: hidden;
}

.program__img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.modul__item:hover .program__img {
    transform: scale(1.05);
}

.modul__time {
    position: absolute;
    bottom: 14px;
    right: 14px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
}

.program__title {
    padding: 22px 24px;
    font-size: 14px;
    line-height: 1.6;
    font-weight: 500;
    color: #2a2a2a;
}

/* ГАЙДЫ */
.gaid__item {
    position: relative;
    cursor: pointer;
    perspective: 1000px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    height: 100%;
}

.gaid__item:hover {
    box-shadow: 0 12px 40px rgba(0,0,0,0.15);
    transform: translateY(-6px);
}

.gaid__item-front,
.gaid__item-back {
    width: 100%;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    backface-visibility: hidden;
}

.gaid__item-back {
    position: absolute;
    top: 0;
    left: 0;
    transform: rotateY(180deg);
}

.gaid__item:hover .gaid__item-front {
    transform: rotateY(180deg);
}

.gaid__item:hover .gaid__item-back {
    transform: rotateY(0);
}

/* ТРЕНИРОВКИ */
.workout__item {
    background: #ffffff;
    padding: 30px;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    height: 100%;
}

.workout__item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.workout__day {
    font-family: 'Forum', serif;
    font-size: 24px;
    margin-bottom: 24px;
    text-align: center;
    color: #1a1a1a;
    font-weight: 400;
}

.workout__min {
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 0;
    margin-bottom: 16px;
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.workout__min:last-child {
    margin-bottom: 0;
}

.workout__min:hover {
    border-color: rgba(0,0,0,0.15);
    transform: translateX(5px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.08);
}

.workout__min-img {
    position: relative;
    overflow: hidden;
}

.workout__min img {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.workout__min:hover img {
    transform: scale(1.05);
}

.workout__min-time {
    position: absolute;
    bottom: 12px;
    right: 12px;
    padding: 7px 14px;
    font-size: 11px;
    font-weight: 700;
    background: rgba(0,0,0,0.8);
    color: #ffffff;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
}

.workout__min-title {
    padding: 18px 20px;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
    color: #2a2a2a;
}

.workout__min.weekend {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: center;
    font-size: 16px;
    font-weight: 600;
    padding: 45px 25px;
    background: linear-gradient(135deg, #f8f8f8 0%, #efefef 100%);
    border: 2px dashed rgba(0,0,0,0.12);
}

.workout__min.weekend span {
    font-size: 40px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.workout__min.weekend p {
    margin: 0;
    color: rgba(0,0,0,0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-size: 14px;
    font-weight: 600;
}

/* SWIPER SETTINGS */
.uroki__swiper,
.workout__swiper {
    overflow: visible !important;
    padding: 10px 0 30px 0 !important;
}

.uroki__swiper .swiper-slide,
.workout__swiper .swiper-slide {
    height: auto;
}

/* RESPONSIVE */
@media (max-width: 768px) {
    .program h2 {
        font-size: 32px;
        margin-bottom: 25px;
    }

    .program__tab-item {
        padding: 10px 28px;
        font-size: 12px;
    }

    .subtabs,
    .subtabsW {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-top: 7px;
        padding-bottom: 15px;
        gap: 8px;
        -webkit-overflow-scrolling: touch;
    }

    .subtabs::-webkit-scrollbar,
    .subtabsW::-webkit-scrollbar {
        height: 4px;
    }

    .subtabs::-webkit-scrollbar-thumb,
    .subtabsW::-webkit-scrollbar-thumb {
        background: rgba(0,0,0,0.2);
        border-radius: 10px;
    }

    .subtabs__item,
    .subtabsW__item {
        white-space: nowrap;
        padding: 9px 18px;
        font-size: 11px;
        flex-shrink: 0;
    }

    .gift-banner {
        padding: 40px 20px;
    }

    .gift-banner h3 {
        font-size: 24px;
    }

    .gift-banner p {
        font-size: 14px;
    }

    .gift-icon {
        font-size: 56px;
    }

    .modul__title {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .program__title {
        padding: 18px 20px;
        font-size: 13px;
    }

    .workout__item {
        padding: 24px;
    }

    .workout__day {
        font-size: 20px;
        margin-bottom: 20px;
    }

    .workout__min-title {
        padding: 16px 18px;
        font-size: 13px;
    }

    .workout__min.weekend {
        padding: 38px 20px;
    }

    .workout__min.weekend span {
        font-size: 36px;
    }
}

/* ============= FORMAT SECTION ============= */
.format {
    position: relative;
    background: #202020 url('../img/format-bg.webp') center/cover no-repeat;
    color: #ffffff;
    padding: 100px 0 60px;
    overflow: hidden;
}

.format::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(32,32,32,0.85) 0%,
        rgba(32,32,32,0.75) 50%,
        rgba(32,32,32,0.85) 100%
    );
    z-index: 0;
}

.format .container {
    position: relative;
    z-index: 1;
}

.format h2 {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 50px;
}

.format__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.format__col {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.format__item {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 40px;
    transition: all 0.3s ease;
    overflow: hidden;
    flex: 1;
}

/* Фоны для каждой карточки на десктопе */
.format__item-1 {
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
        url('../img/format/1.webp') center/cover;
}

.format__item-2 {
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
        url('../img/format/2.webp') center/cover;
}

.format__item-3 {
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
        url('../img/format/3.webp') center/cover;
}

.format__item-4 {
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
        url('../img/format/4.webp') center/cover;
}

.format__item-5 {
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
        url('../img/format/5.webp') center/cover;
}

.format__item-6 {
    background: 
        linear-gradient(135deg, rgba(0,0,0,0.6), rgba(0,0,0,0.4)),
        url('../img/format/6.webp') center/cover;
}

.format__item:hover {
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-5px);
}

.format__item .n {
    font-family: 'Forum', serif;
    font-size: 72px;
    line-height: 1;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.format__item .text {
    font-size: 14px;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.format__item .text b {
    font-weight: 600;
}

.format__item .title {
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}

.format__item ul {
    display: grid;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.format__item li {
    padding-left: 20px;
    position: relative;
    font-size: 14px;
    line-height: 1.8;
}

.format__item li:before {
    content: '•';
    position: absolute;
    left: 0;
}

@media (max-width: 768px) {
    .format {
        padding: 60px 0;
        background-position: center 30%;
    }

    .format h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }

    .format__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .format__col {
        gap: 16px;
    }

    .format__item {
        padding: 32px 24px;
        border-radius: 16px;
        min-height: 180px;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .format__item-1 {
        min-height: 220px;
        background: 
            linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.5)),
            url('../img/format/1.webp') center/cover;
    }

    .format__item-2 {
        min-height: 160px;
        background: 
            linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.5)),
            url('../img/format/2.webp') center/cover;
    }

    .format__item-3 {
        min-height: 160px;
        background: 
            linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.5)),
            url('../img/format/3.webp') center/cover;
    }

    .format__item-4 {
        min-height: 200px;
        background: 
            linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.5)),
            url('../img/format/4.webp') center/cover;
    }

    .format__item-5 {
        min-height: 240px;
        background: 
            linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.5)),
            url('../img/format/5.webp') center/cover;
    }

    .format__item-6 {
        min-height: 180px;
        background: 
            linear-gradient(135deg, rgba(0,0,0,0.75), rgba(0,0,0,0.5)),
            url('../img/format/6.webp') center/cover;
    }

    .format__item .n {
        font-size: 56px;
        margin-bottom: 14px;
    }

    .format__item .text {
        font-size: 13px;
        line-height: 1.6;
    }

    .format__item .title {
        font-size: 12px;
        margin-bottom: 16px;
        letter-spacing: 0.12em;
    }

    .format__item ul {
        gap: 10px;
    }

    .format__item li {
        font-size: 13px;
        line-height: 1.6;
        padding-left: 18px;
    }
}

/* ============= TIMER ============= */
.timer {
    position: relative;
    background: linear-gradient(135deg, #fafafa 0%, #f5f5f5 100%);
    padding: 80px 0;
    overflow: hidden;
}

.timer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0,0,0,0.02) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(0,0,0,0.015) 0%, transparent 50%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.timer .container {
    position: relative;
    z-index: 1;
}

.timer h2 {
    font-size: 36px;
    margin-bottom: 50px;
    color: #1a1a1a;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
}

.timer__content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
}

.timer__item {
    text-align: center;
    min-width: 120px;
    background: #ffffff;
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.timer__item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0,0,0,0.03), transparent);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { left: -100%; }
    100% { left: 200%; }
}

.timer__item:hover {
    transform: translateY(-5px);
    border-color: rgba(0,0,0,0.15);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

.timer__item-n {
    font-family: 'Forum', serif;
    font-size: 72px;
    line-height: 1;
    margin-bottom: 12px;
    color: #1a1a1a;
    font-weight: 400;
    transition: all 0.3s ease;
}

.timer__item-n.tick {
    animation: tick 0.3s ease;
}

@keyframes tick {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.timer__item-desk {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: rgba(0,0,0,0.6);
    font-weight: 500;
}

.timer__separator {
    font-size: 56px;
    font-weight: 300;
    color: rgba(0,0,0,0.3);
    animation: blink 1s ease-in-out infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@media (max-width: 768px) {
    .timer {
        padding: 60px 0;
    }

    .timer h2 {
        font-size: 20px;
        margin-bottom: 40px;
        line-height: 1.4;
    }

    .timer__content {
        gap: 12px;
    }

    .timer__item {
        min-width: 70px;
        padding: 18px 12px;
        border-radius: 12px;
    }

    .timer__item-n {
        font-size: 40px;
        margin-bottom: 8px;
    }

    .timer__item-desk {
        font-size: 9px;
        letter-spacing: 0.1em;
    }

    .timer__separator {
        font-size: 32px;
    }
}

/* ============= TARIFS - PREMIUM ============= */
.tarif {
    position: relative;
    background: #0a0a0a url('../img/tarif-bg.webp') center/cover no-repeat;
    padding: 100px 0;
    overflow: hidden;
}

.tarif::before {
    content: '';
    position: absolute;
    inset: 0;
    background: 
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.03) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.02) 0%, transparent 50%),
        linear-gradient(to bottom, rgba(10,10,10,0.88), rgba(10,10,10,0.82), rgba(10,10,10,0.88));
    z-index: 0;
}

.tarif .container {
    position: relative;
    z-index: 1;
}

.tarif h2 {
    color: #ffffff;
    font-size: 48px;
    margin-bottom: 60px;
    text-align: center;
    letter-spacing: 0.05em;
}

.tarif__body {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.tarif__item {
    position: relative;
    background: linear-gradient(135deg, rgba(255,255,255,0.98) 0%, rgba(250,250,250,0.95) 100%);
    border: 2px solid rgba(0,0,0,0.06);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    overflow: visible;
}

.tarif__item::before{
  content:'';
  position:absolute;
  inset:0;
  border-radius: inherit;
  background-size: cover;
  background-position: center;
  opacity: 0.08;
  transition: opacity 0.4s ease;
  z-index: 0;
}

.tarif__item:nth-child(1)::before {
    background-image: url('../img/tarif/1.webp');
}

.tarif__item:nth-child(2)::before {
    background-image: url('../img/tarif/2.webp');
}

.tarif__item:nth-child(3)::before {
    background-image: url('../img/tarif/3.webp');
}

.tarif__item:hover::before {
    opacity: 0.12;
}

.tarif__item > * {
    position: relative;
    z-index: 1;
}

.tarif__item:hover {
    transform: translateY(-12px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    border-color: rgba(0,0,0,0.12);
}

.tarif__item--popular {
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    border: 2px solid rgba(255,255,255,0.1);
    color: #ffffff;
}

.tarif__item--popular::before {
    opacity: 0.15;
}

.tarif__item--popular:hover::before {
    opacity: 0.2;
}

.tarif__item--popular:hover {
    border-color: rgba(255,255,255,0.2);
}

.tarif__item--popular .tarif__item-title,
.tarif__item--popular .tarif__item-price-new,
.tarif__item--popular .tarif__item-desc,
.tarif__item--popular .tarif__item-includes,
.tarif__item--popular .tarif__list li {
    color: #ffffff;
}

.tarif__item--popular .tarif__item-dostup {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
}

.tarif__item-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 100%);
    color: #ffffff;
    padding: 8px 24px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 16px rgba(255,107,107,0.4);
    z-index: 2;
}

.tarif__item-head {
    margin-bottom: 24px;
    padding-bottom: 24px;
    border-bottom: 2px solid rgba(0,0,0,0.08);
}

.tarif__item--popular .tarif__item-head {
    border-bottom-color: rgba(255,255,255,0.1);
}

.tarif__item-title {
    font-family: 'Forum', serif;
    font-size: 40px;
    margin-bottom: 16px;
    color: #1a1a1a;
    font-weight: 400;
}

.tarif__item-prices {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 10px;
}

.tarif__item-price-old {
    font-size: 20px;
    text-decoration: line-through;
    color: rgba(0,0,0,0.35);
}

.tarif__item--popular .tarif__item-price-old {
    color: rgba(255,255,255,0.35);
}

.tarif__item-price-new {
    font-family: 'Forum', serif;
    font-size: 48px;
    color: #1a1a1a;
    font-weight: 400;
    line-height: 1;
}

.tarif__item-sale {
    display: inline-block;
    font-size: 12px;
    color: #ff4444;
    font-weight: 700;
    background: rgba(255,68,68,0.1);
    padding: 6px 14px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.tarif__item--popular .tarif__item-sale {
    color: #ff6b6b;
    background: rgba(255,107,107,0.15);
}

.tarif__item-desc {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: rgba(0,0,0,0.7);
}

.tarif__item-includes {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    color: #1a1a1a;
}

.tarif__list {
    margin-bottom: 24px;
    display: grid;
    gap: 10px;
}

.tarif__list li {
    padding-left: 28px;
    position: relative;
    font-size: 13px;
    line-height: 1.6;
    color: rgba(0,0,0,0.8);
}

.tarif__list li:before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #1a1a1a;
    font-weight: 700;
    font-size: 16px;
}

.tarif__item--popular .tarif__list li:before {
    color: #25D366;
}

.tarif__list--disabled {
    opacity: 0.35;
}

.tarif__list--disabled li:before {
    content: '✗';
}

.tarif__item-dostup {
    padding: 18px;
    background: rgba(0,0,0,0.03);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 14px;
    margin-bottom: 16px;
    font-size: 13px;
    text-align: center;
    line-height: 1.6;
}

.tarif__item-dostup--vip {
    background: linear-gradient(135deg, rgba(255,107,107,0.1), rgba(255,82,82,0.08));
    border-color: rgba(255,107,107,0.2);
}

.tarif__item-bonus {
    padding: 14px;
    background: linear-gradient(135deg, rgba(255,200,100,0.12), rgba(255,180,80,0.08));
    border: 1px solid rgba(255,200,100,0.25);
    border-radius: 12px;
    margin-bottom: 28px;
    font-size: 12px;
    line-height: 1.5;
}

.tarif__item-btns {
    display: grid;
}

.btn-buy {
    width: 100%;
    padding: 20px;
    background: linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
    color: #ffffff;
    border: none;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
}

.btn-buy:hover {
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(0,0,0,0.3);
}

.tarif__item--popular .btn-buy {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
}

.tarif__item--popular .btn-buy:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
}

/* MODAL */
.modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

.modal__overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(12px);
}

.modal__content {
    position: relative;
    background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
    border-radius: 30px;
    padding: 50px 40px;
    max-width: 520px;
    width: 100%;
    animation: modalPop 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 20px 80px rgba(0,0,0,0.3);
    z-index: 10000;
}

@keyframes modalPop {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.modal__close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: rgba(0,0,0,0.05);
    border: none;
    border-radius: 50%;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    color: rgba(0,0,0,0.6);
    z-index: 10001;
}

.modal__close:hover {
    background: rgba(0,0,0,0.1);
    transform: rotate(90deg);
    color: #000000;
}

.modal__success {
    text-align: center;
}

.modal__icon {
    margin: 0 auto 30px;
    animation: iconScale 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes iconScale {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.modal__title {
    font-family: 'Forum', serif;
    font-size: 36px;
    margin-bottom: 30px;
    color: #1a1a1a;
}

.modal__tarif-info {
    background: rgba(0,0,0,0.03);
    border: 2px solid rgba(0,0,0,0.08);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 30px;
}

.modal__tarif-info p {
    font-size: 13px;
    color: rgba(0,0,0,0.6);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal__tarif-name {
    font-family: 'Forum', serif;
    font-size: 32px;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.modal__tarif-price {
    font-family: 'Forum', serif;
    font-size: 40px;
    color: #25D366;
}

.modal__text {
    font-size: 14px;
    color: rgba(0,0,0,0.7);
    line-height: 1.7;
    margin-bottom: 32px;
}

.modal__whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 20px 40px;
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: #ffffff;
    border-radius: 50px;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 24px rgba(37,211,102,0.3);
    cursor: pointer;
}

.modal__whatsapp:hover {
    background: linear-gradient(135deg, #128C7E 0%, #25D366 100%);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(37,211,102,0.4);
}

/* MOBILE */
@media (max-width: 768px) {
    .tarif {
        padding: 60px 0;
    }

    .tarif h2 {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .tarif__body {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .tarif__item {
        padding: 32px 24px;
    }

    .tarif__item-title {
        font-size: 32px;
    }

    .tarif__item-price-new {
        font-size: 38px;
    }

    .modal__content {
        padding: 40px 24px;
    }

    .modal__title {
        font-size: 28px;
    }

    .modal__tarif-name {
        font-size: 26px;
    }

    .modal__tarif-price {
        font-size: 32px;
    }
}

/* ============= PROBLEM ============= */
.problem {
    background: #f5f5f5;
    padding: 80px 0;
    text-align: center;
}

.problem h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.problem p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 600px;
    margin: 0 auto 40px;
    color: rgba(32, 32, 32, 0.7);
}

@media (max-width: 768px) {
    .problem {
        padding: 60px 0;
    }

    .problem h2 {
        font-size: 24px;
    }

    .problem p {
        font-size: 14px;
    }
}
/* RE:STORE WOMAN - FEMIN Complete Style */

/* ============= ABOUT ============= */
.about {
    position: relative;
    background: #000000 url('../img/seza-photo.webp') no-repeat;
    background-size: cover;
    background-position: center 60%;
    color: #ffffff;
}

.about::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0,0,0,0.7) 0%,
        rgba(0,0,0,0.5) 50%,
        rgba(0,0,0,0.8) 100%
    );
    z-index: 0;
}

.about .container {
    position: relative;
    z-index: 1;
}

.about h2 {
    color: #ffffff;
    font-size: 42px;
    margin-bottom: 60px;
}

.about__body {
    max-width: 800px;
    margin: 0 auto;
}

.about__photo {
    display: none;
}

.about__info {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about__title {
    font-size: 24px;
    font-weight: 400;
    line-height: 1.4;
    text-align: center;
    margin-bottom: 30px;
}

.about__list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    text-align: center;
}

.about__list li {
    font-size: 16px;
    line-height: 1.6;
}

.about__list li:before {
    display: none;
}

.about__circle {
    background: transparent;
    border: none;
    padding: 0;
}

.about__circle--top .about__circle-content {
    text-align: center;
}

.about__circle--middle,
.about__circle--bottom {
    text-align: center;
}

.about__number {
    font-family: 'Forum', serif;
    font-size: 64px;
    line-height: 1;
    margin-bottom: 10px;
    color: #ffffff;
}

.about__text {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
    color: rgba(255,255,255,0.9);
}

.about__label {
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
    color: rgba(255,255,255,0.7);
}

@media (max-width: 768px) {
    .about {
        background-position: center 40%;
    }

    .about h2 {
        font-size: 24px;
        margin-bottom: 180px;
        line-height: 1.3;
    }

    .about__info {
        gap: 30px;
    }

    .about__title {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .about__list {
        gap: 12px;
    }

    .about__list li {
        font-size: 13px;
        line-height: 1.5;
    }

    .about__number {
        font-size: 42px;
    }

    .about__text {
        font-size: 13px;
    }

    .about__label {
        font-size: 12px;
    }
}

/* ============= FAQ ============= */
.faq {
    position: relative;
    background: #1a1a1a;
    overflow: hidden;
}

.faq::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../img/faq-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.35;
    z-index: 0;
}

.faq::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(ellipse at top, rgba(255, 255, 255, 0.03) 0%, transparent 100%),
        radial-gradient(ellipse at bottom, rgba(255, 255, 255, 0.02) 0%, transparent 50%);
    z-index: 0;
}

.faq .container {
    position: relative;
    z-index: 1;
}

.faq h2 {
    color: #ffffff;
    text-align: center;
    font-size: 32px;
    font-weight: 300;
    letter-spacing: 0.08em;
    margin-bottom: 40px;
    text-transform: uppercase;
}

.faq__list {
    max-width: 900px;
    margin: 0 auto;
}

.faq__item {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.11) 0%, 
        rgba(255, 255, 255, 0.07) 100%);
    margin-bottom: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 12px;
    overflow: hidden;
    backdrop-filter: blur(12px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 3px 16px rgba(0, 0, 0, 0.25);
}

.faq__item:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
    border-color: rgba(255, 255, 255, 0.22);
}

.faq__item.active {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.14) 0%, 
        rgba(255, 255, 255, 0.09) 100%);
    border-color: rgba(255, 255, 255, 0.28);
}

.faq__item-head {
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

.faq__item-head:hover {
    background: rgba(255, 255, 255, 0.04);
}

.faq__item-head .title {
    font-size: 15px;
    font-weight: 500;
    line-height: 1.4;
    padding-right: 18px;
    color: #ffffff;
    letter-spacing: 0.01em;
    text-transform: uppercase;
}

.faq__item-head .plus {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
}

.faq__item:hover .plus {
    background: rgba(255, 255, 255, 0.15);
}

.faq__item.active .plus {
    transform: rotate(135deg);
    background: rgba(255, 255, 255, 0.2);
}

.faq__item-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq__item.active .faq__item-content {
    max-height: 2000px;
}

.faq__item-content > * {
    padding: 0 22px 20px;
}

.faq__item-content p {
    font-size: 13px;
    line-height: 1.65;
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.87);
}

.faq__item-content p:last-child {
    margin-bottom: 0;
}

.faq__item-content p strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.faq__item-content ul {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.faq__item-content li {
    padding-left: 18px;
    position: relative;
    font-size: 13px;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.82);
}

.faq__item-content li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 7px;
    width: 5px;
    height: 5px;
    background: rgba(255, 255, 255, 0.65);
    border-radius: 50%;
}

/* Ссылка WhatsApp */
.faq-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 12px;
    padding: 10px 18px;
    background: rgba(37, 211, 102, 0.15);
    border: 1.5px solid rgba(37, 211, 102, 0.4);
    border-radius: 8px;
    color: #25D366;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
}

.faq-link:hover {
    background: rgba(37, 211, 102, 0.25);
    border-color: rgba(37, 211, 102, 0.6);
    transform: translateX(3px);
    opacity: 1;
}

.faq-link svg {
    flex-shrink: 0;
}

/* MOBILE */
@media (max-width: 768px) {
    .faq h2 {
        font-size: 24px;
        margin-bottom: 30px;
    }

    .faq__item {
        margin-bottom: 10px;
        border-radius: 10px;
    }

    .faq__item-head {
        padding: 16px 18px;
    }

    .faq__item-head .title {
        font-size: 14px;
        padding-right: 14px;
    }

    .faq__item-head .plus {
        width: 30px;
        height: 30px;
    }

    .faq__item-head .plus svg {
        width: 20px;
        height: 20px;
    }

    .faq__item-content > * {
        padding: 0 18px 16px;
    }

    .faq__item-content p {
        font-size: 12px;
        line-height: 1.6;
        margin-bottom: 10px;
    }

    .faq__item-content li {
        font-size: 12px;
    }

    .faq-link {
        font-size: 12px;
        padding: 9px 16px;
    }

    .faq-link svg {
        width: 16px;
        height: 16px;
    }
}

/* TABLET */
@media (min-width: 640px) and (max-width: 1023px) {
    .faq h2 {
        font-size: 28px;
    }
}

/* ============= FOOTER ============= */
.footer {
    background: #000000;
    color: #ffffff;
    padding: 60px 0;
}

.footer__logo {
    max-width: 200px;
    margin: 0 auto 40px;
}

.footer__menu {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.footer__menu-left,
.footer__menu-right {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer__menu a {
    font-size: 14px;
    letter-spacing: 0.05em;
}

.footer__menu-left a u {
    text-decoration: underline;
}

@media (max-width: 768px) {
    .footer {
        padding: 40px 0;
    }

    .footer__logo {
        max-width: 150px;
        margin-bottom: 30px;
    }

    .footer__menu {
        flex-direction: column;
        gap: 30px;
    }

    .footer__menu a {
        font-size: 12px;
    }
}

/* ============= SWIPER OVERRIDES ============= */
.swiper {
    width: 100%;
}

.swiper-slide {
    height: auto;
}

.swiper-button-disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* ============= UTILITIES ============= */
.text-center {
    text-align: center;
}

.mb-20 {
    margin-bottom: 20px;
}

.mb-40 {
    margin-bottom: 40px;
}

.mb-60 {
    margin-bottom: 60px;
}

.mt-20 {
    margin-top: 20px;
}

.mt-40 {
    margin-top: 40px;
}

.mt-60 {
    margin-top: 60px;
}

@media (max-width: 480px){
  .program__tab{
    width: 100%;
    max-width: 360px;
    display: flex;
    margin-left: auto;
    margin-right: auto;
  }

  .program__tab-item{
    flex: 1;
    padding: 12px 0;     /* вместо 12px 35px */
    text-align: center;
    font-size: 11px;
    letter-spacing: .06em;
    white-space: nowrap;
  }

  .program__tab-bg{
    width: calc(50% - 5px); /* чтобы красиво помещался внутри */
  }
}

/* чтобы hover-подъём не резался внутри Swiper */
.uroki__swiper,
.gaid__swiper,
.workout__swiper{
  overflow: visible !important;
}

.uroki__swiper .swiper-wrapper,
.gaid__swiper .swiper-wrapper,
.workout__swiper .swiper-wrapper{
  overflow: visible !important;
}

.uroki__swiper .swiper-slide,
.gaid__swiper .swiper-slide,
.workout__swiper .swiper-slide{
  overflow: visible !important;
}

/* ===== LIBRARY (gaid cards) FIX ===== */
.modul[data-modul-content="library"] .swiper-slide{
  height: auto;
}

.gaid__item{
  position: relative;
  width: 100%;
  aspect-ratio: 3 / 4;   /* чтобы карточка имела высоту */
  overflow: hidden;
  border-radius: 18px;
}

.gaid__item-front,
.gaid__item-back{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* по умолчанию показываем front */
.gaid__item-back{
  opacity: 0;
  pointer-events: none;
  transition: opacity .35s ease;
}

.gaid__item-front{
  opacity: 1;
  transition: opacity .35s ease;
}


/* ===== Library: no back page / no flip ===== */
.gaid__item-back{ display:none !important; }
.gaid__item:hover .gaid__item-front{ opacity:1 !important; transform:none !important; }
.gaid__item:hover .gaid__item-back{ opacity:0 !important; }

/* ===== FIX: images must respect rounded corners (gifts + all program cards) ===== */
.modul__item,
.workout__item{
  overflow: hidden;              /* режем всё внутри по радиусу */
  border-radius: 22px;           /* если радиус у тебя другой — поставь свой */
}

.modul__img-wrap,
.workout__min-img{
  overflow: hidden;
  border-radius: inherit;        /* наследуем радиус карточки */
}

.modul__img-wrap img,
.workout__min-img img,
.program__img{
  display: block;
  /* width: 100%; */
  height: 100%;
  object-fit: cover;
  border-radius: inherit;        /* на случай если wrap не сработает */
}
/* ===== GIFTS: photo clipped, badge can stick out ===== */

/* карточку НЕ режем (иначе badge обрежется) */
.modul__item{
  overflow: visible;
}

/* режем только фото-контейнер */
.modul__item .modul__img-wrap{
  overflow: hidden;
  border-radius: 22px;  /* твой радиус */
}

/* чтобы картинка не торчала */
.modul__item .modul__img-wrap img,
.modul__item .program__img{
  /* width: 100%; */
  height: 100%;
  display: block;
  object-fit: cover;
}

/* бейдж поверх и гарантированно виден */
.gift-badge{
  position: absolute;
  top: -10px;
  left: 14px;
  z-index: 10;
}
