:root{
  --bg: #ffffff;
  --text: #1c1133;
  --muted: #6b5a7a;

  --pink-1:#ff2aa5;
  --pink-2:#ff4aa6;
  --pink-3:#ff63b6;

  --violet-1:#6b2aa3;
  --violet-2:#4c1a84;

  --card:#ffffff;
  --stroke:#f0e7f7;

  --shadow: 0 18px 45px rgba(79, 0, 140, .15);
  --shadow2: 0 12px 28px rgba(18, 0, 35, .12);

  --radius-xl: 26px;
  --radius-lg: 18px;
  --radius-md: 14px;

  --container: 1100px;
   
  --cta-gold-1:#ffd36a;
  --cta-gold-2:#ffb21a;
  --cta-gold-3:#d88a00;

}

*{ box-sizing: border-box; }
html{ scroll-behavior:smooth; }
body{
  margin:0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:var(--bg);
  overflow-x:hidden;
}

a{ color:inherit; text-decoration:none; }
p{ margin:0 0 12px; }
h1,h2,h3{ margin:0 0 12px; }

.container{
  width:min(var(--container), calc(100% - 40px));
  margin-inline:auto;
}

/* Header */
.header{
  position:sticky;
  top:0;
  z-index:10;
  background: #fff; 
  backdrop-filter: none; 
  border-bottom:1px solid rgba(240,231,247,.95);
}
.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:10px 0;
  gap:16px;
}
.logo{
  display:flex;
  align-items:center;
  gap:0;
  line-height:0;
  position:relative;
  padding: 6px 8px;
  border-radius: 14px;
  transition: transform .25s ease, filter .25s ease, box-shadow .25s ease, background .25s ease;
}

.logo__img{
  height: 45px;
  width: auto;
  display:block;
}

.logo:hover{
  transform: translateY(-1px);
  background: rgba(255,42,165,.06);
  box-shadow: 0 18px 40px rgba(255,42,165,.18);
}

.logo::after{
  content:"";
  position:absolute;
  inset:-10px;
  border-radius: 18px;
  background: radial-gradient(circle at 30% 40%, rgba(255,42,165,.22), transparent 60%);
  opacity:0;
  transition: opacity .25s ease;
  pointer-events:none;
}
.logo:hover::after{
  opacity:1;
}

@media (prefers-reduced-motion: no-preference){
  .logo{
    animation: logoFloat 6s ease-in-out infinite;
  }
  @keyframes logoFloat{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-2px); }
  }

  .logo:hover{
    animation: none;
  }
}

.nav{ display:flex; align-items:center; gap:14px; }
.nav__panel{ display:flex; align-items:center; gap:16px; }

.nav__link{
  font-weight:600;
  font-size:14px;
  color: rgba(37, 18, 66, .85);
  padding:8px 10px;
  border-radius: 999px;
}
.nav__link:hover{ background: rgba(255,42,165,.08); }

.pill{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 18px;
  border-radius: 999px;

  font-weight: 900;
  font-size: 13px;
  letter-spacing: .9px;
  text-transform: uppercase;

  color: #fff;

  background: linear-gradient(135deg, #ff2aa5 0%, #6b2aa3 55%, #4c1a84 100%);
  border: 1px solid rgba(255,255,255,.18);

  box-shadow:
    0 18px 40px rgba(255,42,165,.26),
    0 14px 30px rgba(107,42,163,.22);

  transform: translateZ(0);
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  overflow: hidden;
}

/* внутренний блик */
.pill::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(circle at 25% 30%, rgba(255,255,255,.28), transparent 55%);
  opacity: .9;
}

/* эффект “shine” */
.pill::after{
  content:"";
  position:absolute;
  inset:-35%;              /* блик больше кнопки */
  pointer-events:none;

  background: linear-gradient(
    120deg,
    transparent 28%,
    rgba(255,255,255,.35) 42%,
    rgba(255,255,255,.55) 50%,
    rgba(255,255,255,.35) 58%,
    transparent 72%
  );

  transform: translateX(-120%) rotate(10deg);
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference){
  .pill::after{
    animation: pillFullShine 5.2s ease-in-out infinite;
  }

  @keyframes pillFullShine{
    0%,48%{
      opacity: 0;
      transform: translateX(-120%) rotate(10deg);
    }
    58%{
      opacity: .85;
    }
    100%{
      opacity: 0;
      transform: translateX(120%) rotate(10deg);
    }
  }
}

/* hover */
.pill:hover{
  transform: translateY(-2px);
  box-shadow:
    0 26px 60px rgba(255,42,165,.32),
    0 18px 40px rgba(107,42,163,.26);
  filter: saturate(1.05) brightness(1.02);
}

/* active */
.pill:active{
  transform: translateY(0);
  box-shadow:
    0 16px 34px rgba(255,42,165,.22),
    0 12px 26px rgba(107,42,163,.18);
}

/* focus (доступность) */
.pill:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 4px rgba(255,42,165,.22),
    0 18px 40px rgba(255,42,165,.26),
    0 14px 30px rgba(107,42,163,.22);
}

.burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(240,231,247,.9);
  background: rgba(255,255,255,.85);
  box-shadow: var(--shadow2);
  cursor:pointer;
}
.burger span{
  display:block;
  height:2px;
  width:20px;
  background: rgba(37, 18, 66, .9);
  margin:5px auto;
  border-radius: 999px;
}

/* Hero */
.hero{
  position: relative;
  z-index: 1;
  padding: 120px 0;
  overflow: hidden;
  isolation: isolate;
}

.hero__bg{
  position: absolute;
  inset: 0;
  background: linear-gradient(112deg, #e30065, #8f16b1);
  z-index: -3;
}

.hero__media{
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("img/hero-bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .18;
  filter: saturate(1.05) contrast(1.05);
  transform: scale(1.04);
}

/* Эффекты */
.hero__fx{
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

/* Зерно */
.hero__fx--grain{
  opacity: .12;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

/* Блики/сияние */
.hero__fx--glow{
  background:
    radial-gradient(circle at 20% 35%, rgba(255,255,255,.25), transparent 55%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,.18), transparent 50%),
    radial-gradient(circle at 55% 85%, rgba(107,42,163,.22), transparent 60%);
  opacity: 1;
  animation: heroGlow 6s ease-in-out infinite;
}

@keyframes heroGlow{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-10px); }
}

.hero__inner{
  position: relative;
  display: flex;
  justify-content: center;
  text-align: center;
}

.hero__content{
  max-width: 920px;
  color: #fff;
}

.hero__eyebrow{
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  border-radius: 999px;
  background: #9D2B60;
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 16px 35px rgba(0,0,0,.12);
  font-weight: 600;
  opacity: 1;
  margin-bottom: 14px;
  backdrop-filter: blur(6px);
}

.hero__title{
  font-size: clamp(28px, 3.4vw, 52px);
  line-height: 1.03;
  font-weight: 900;
  letter-spacing: .2px;
  margin: 0;
  text-shadow: 0 10px 30px rgba(0,0,0,.18);
}

.hero__title-main{
  display:block;
  color:#fff;
}

.hero__title-accent{
  display:inline-block;
  margin-top: 10px;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  -webkit-text-stroke: 1.2px rgba(255, 255, 255, 0);
  text-shadow:
    -1px -1px 0 rgb(0 0 0), 1px -1px 0 rgb(255 0 83), -1px 1px 0 rgb(255 0 83), 1px 1px 0 rgb(255 0 83), 0 10px 30px rgb(255 0 83)
}

.hero__text{
  margin: 16px auto 0;
  max-width: 780px;
  opacity: .95;
  font-weight: 500;
  line-height: 1.6;
  text-shadow: 0 6px 18px rgba(0,0,0,.12);
  animation: heroIn .6s ease-out .08s both;
}

.scroll{
  display: inline-flex;
  margin-top: 22px;
  width: 50px;
  height: 50px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: rgba(255,255,255,.18);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: 0 18px 40px rgba(0,0,0,.12);
  animation: scrollPulse 2.2s ease-in-out infinite;
}
@keyframes scrollPulse{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(6px); }
}

.scroll__icon{
  width: 10px; height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(45deg);
  margin-top: -4px;
}

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

/* Адаптив */
@media (max-width: 760px){
  .hero{
    padding: 72px 0;
  }
  .hero__bg{
    border-bottom-left-radius: 42px;
    border-bottom-right-radius: 42px;
  }
  .hero__media{
    opacity: .16;
  }
  .hero__eyebrow{
    padding: 9px 12px;
    font-size: 13px;
  }
}

.section{
  position:relative;
  z-index:1;
  padding: 80px 0;
}

.h2{
  font-size: clamp(22px, 2.2vw, 30px);
  font-weight:900;
  color: #ff2aa5;
  text-align:left;
}
.h2--accent{ margin-bottom:14px; }

.h3{
  font-size:20px;
  font-weight:800;
  color: #2a1648;
}
.muted{ color: var(--muted); font-size: 18px; }

/* About layout */
.about{
  display:grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 48px;
  align-items: center;
}

/* Левая часть — изображение с парением */
.about__media{
  position: relative;
  display: flex;
  justify-content: center;
}

.about__image{
  position: relative;
  height: 400px;
  width: 450px;
  border-radius: 26px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(255,42,165,.95), rgba(107,42,163,.95));
  box-shadow: 0 30px 70px rgba(79,0,140,.22);
  animation: floaty 4.8s ease-in-out infinite;
}

.about__img{
  width:100%;
  height:100%;
  display:block;
  filter: saturate(1.05) contrast(1.05);
}

.about__glow{
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 40%, rgba(255,255,255,.35), transparent 55%);
  pointer-events:none;
}

.about__shine{
  position:absolute;
  inset:0;
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255,255,255,.15) 35%,
    rgba(255,255,255,.35) 45%,
    rgba(255,255,255,.15) 55%,
    transparent 100%
  );
  transform: translateX(-120%);
  animation: shine 5.5s ease-in-out infinite;
  pointer-events:none;
  mix-blend-mode: screen;
}


.about__text{
  position: relative;
  padding-left: 28px;
}

.about__text::before{
  content:"";
  position:absolute;
  left:0;
  top:0;
  bottom:0;
  width:4px;
  border-radius:999px;
  background: linear-gradient(180deg, var(--pink-1), var(--violet-1));
}

.about__text .h2{
  margin-bottom: 16px;
}

.about__text p{
  margin: 0 0 14px;
  line-height: 1.7;
  font-weight: 500;
  color: rgba(40,18,75,.85);
}

@keyframes floaty{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-12px); }
}
@keyframes shine{
  0%,60%{ transform: translateX(-120%); opacity:0; }
  75%{ opacity:.6; }
  100%{ transform: translateX(120%); opacity:0; }
}

@media (max-width: 920px){
  .about{
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .about__image{
    height: 260px;
  }
  .about__text{
    padding-left: 20px;
  }
}

/* JOBS*/
.section--jobs{
  position: relative;
  overflow: hidden;
}

.section--jobs::before,
.section--jobs::after{
  content:"";
  position:absolute;
  inset:auto;
  pointer-events:none;
  filter: blur(2px);
  opacity: .9;
}
.section--jobs::before{
  width: 420px; height: 420px;
  left: -140px; top: 40px;
  background: radial-gradient(circle, rgba(255,42,165,.10), transparent 62%);
}
.section--jobs::after{
  width: 520px; height: 520px;
  right: -180px; bottom: -120px;
  background: radial-gradient(circle, rgba(107,42,163,.10), transparent 60%);
}

/* Carousel */
.carousel{
  margin-top: 22px;
  display: grid;
  grid-template-columns: 54px 1fr 54px;
  gap: 14px;
  align-items: center;
}

.carousel__btn{
  width: 54px;
  height: 54px;
  border-radius: 18px;
  border: 1px solid rgba(240,231,247,.95);
  background: #fff;
  box-shadow: 0 18px 38px rgba(18,0,35,.12);
  cursor: pointer;
  font-size: 26px;
  line-height: 1;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
  user-select:none;
}
.carousel__btn:hover{
  transform: translateY(-2px);
  box-shadow: 0 26px 55px rgba(18,0,35,.16);
  filter: brightness(1.02);
}
.carousel__btn:active{
  transform: translateY(0);
  box-shadow: 0 18px 38px rgba(18,0,35,.12);
}

/* трек */
.carousel__track{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 36px) / 3); 
  gap: 18px;
  overflow-x: auto;  
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory; 
  -webkit-overflow-scrolling: touch;
  padding: 4px 0;    
  scrollbar-width: none;  
  -ms-overflow-style: none;  
}

.carousel__track::-webkit-scrollbar{
  display: none;  
}

/* карточка */
.job{
  display:block;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  scroll-snap-align: start;
  background: transparent;                       
  border: 1px solid rgba(240,231,247,.95);       
  box-shadow: none;                           
  transition: transform .25s ease, filter .25s ease;

  cursor: pointer;
}

/* изображение */
.job__img{
  width: 100%;
  height: 100%;  
  object-fit: cover;
  display: block;
  transform: scale(1.02);
  transition: transform .35s ease;
}

/* hover эффект */
.job:hover{
  transform: translateY(-8px);
  box-shadow: 0 34px 90px rgba(18,0,35,.18);
  filter: saturate(1.05);
}
.job:hover .job__img{
  transform: scale(1.08);
}

/* мягкий блик */
.job::after{
  content:"";
  position:absolute;
  inset:0;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.45), transparent 60%);
  opacity: 0;
  transition: opacity .28s ease;
  pointer-events:none;
}
.job:hover::after{
  opacity: 1;
}

/* лёгкое "дыхание" */
@media (prefers-reduced-motion: no-preference){
  .job{
    animation: jobFloat 5.5s ease-in-out infinite;
  }
  @keyframes jobFloat{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-3px); }
  }
  .job:hover{
    animation: none;
  }
}

/* адаптив */
@media (max-width: 760px){
  .carousel{
    grid-template-columns: 44px 1fr 44px;
    gap: 10px;
  }
  .carousel__btn{
    width: 44px;
    height: 44px;
    border-radius: 14px;
    font-size: 22px;
  }
  .carousel__track{
    grid-auto-columns: minmax(220px, 1fr);
    gap: 14px;
  }
}

/* =========================================================
   WHY SECTION — FINAL
   ========================================================= */

#why{
  position: relative;
  overflow: hidden;
  background: #fff;
}

#why::before{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: url("img/why-bg.jpg");
  background-repeat: repeat;
  background-size: 250px 250px;
  background-position: 0 0;

  opacity: 0.75;
  pointer-events: none;
}

#why::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;

  background: rgba(255,255,255,0.55);
  pointer-events: none;
}

#why > .container{
  position: relative;
  z-index: 2;
}

.why{
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why__card{
  position: relative;
  border-radius: 26px;
  padding: 18px;
  overflow: visible;
  isolation: isolate;
  background: linear-gradient(180deg, #6b2aa3 0%, #4c1a84 100%);
  border: 1px solid rgba(255,255,255,0.14);
  box-shadow:
    0 24px 60px rgba(18,0,35,0.16),
    0 12px 28px rgba(107,42,163,0.18);

  color: #fff;
  transition: transform .25s ease, box-shadow .25s ease;
}

.why__card::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(circle at 25% 20%, rgba(255,255,255,0.14), transparent 55%),
    radial-gradient(circle at 80% 65%, rgba(255,42,165,0.10), transparent 60%);
  opacity: .35;
  z-index: -1;
  pointer-events:none;
}

.why__card::before{
  content:"";
  position:absolute;
  inset:-10px;   
  border-radius: 34px;
  background: linear-gradient(
    135deg,
    rgba(255,42,165,.75),
    rgba(255,255,255,.35),
    rgba(107,42,163,.65)
  );
  filter: blur(16px);
  opacity: 0;
  z-index: -2;
  pointer-events:none;
  transition: opacity .25s ease;
}

.why__card:hover::before{
  opacity: .95;
}

.why__card:hover{
  transform: translateY(-6px);
  box-shadow:
    0 36px 90px rgba(18,0,35,0.22),
    0 18px 40px rgba(107,42,163,0.22);
}

.why__icon{
  width: 54px;
  height: 54px;
  border-radius: 18px;

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

  background: rgba(255,255,255,0.16);
  border: 1px solid rgba(255,255,255,0.18);

  box-shadow: 0 14px 30px rgba(0,0,0,0.18);
  margin-bottom: 12px;
}

.why__icon-img{
  width: 45px;
  height: 45px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 14px rgba(0,0,0,0.25));
}

.why__card .h3{
  color: #ff24ad;
  margin: 8px 0 10px;
}

.why__card .muted{
  color: rgba(255,255,255,0.88);
  line-height: 1.6;
}

@media (prefers-reduced-motion: no-preference){
  .why__card{
    animation: whyFadeUp .6s ease-out both;
  }
  .why__card:nth-child(1){ animation-delay: 0s; }
  .why__card:nth-child(2){ animation-delay: .08s; }
  .why__card:nth-child(3){ animation-delay: .16s; }

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

  @media (prefers-reduced-motion: no-preference){
  .why__card{
    animation: whyBreathe 5.8s ease-in-out infinite;
  }
  .why__card:nth-child(2){ animation-delay: .35s; }
  .why__card:nth-child(3){ animation-delay: .7s; }

  @keyframes whyBreathe{
    0%,100%{ transform: translateY(0) scale(1); }
    50%{ transform: translateY(-3px) scale(1.015); }
  }
  .why__card:hover{
    animation: none;
  }
}

  /* лёгкое дыхание иконок */
  .why__icon{
    animation: iconFloat 5s ease-in-out infinite;
  }
  .why__card:nth-child(2) .why__icon{ animation-delay: .3s; }
  .why__card:nth-child(3) .why__icon{ animation-delay: .6s; }

  @keyframes iconFloat{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-4px); }
  }

  .why__card:hover .why__icon{
    animation: none;
  }
}

/* адаптив */
@media (max-width: 920px){
  .why{
    grid-template-columns: 1fr;
  }
}

/* Calculator */
#calc{
  position: relative;
  overflow: hidden;
  background: #fff;
}

#calc::before{
  content:"";
  position:absolute;
  inset:-120px -140px;
  z-index:0;
  pointer-events:none;

  background:
    radial-gradient(circle at 18% 35%, rgb(255 42 129 / 80%), #5715a787 58%), 
    radial-gradient(circle at 85% 30%, rgb(224 17 139 / 70%), #a90b6ee6 60%), 
    radial-gradient(circle at 55% 95%, rgb(224 0 173 / 72%), transparent 55%);
  filter: blur(1px);
}

#calc::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:1;
  pointer-events:none;
  opacity:.10;
  mix-blend-mode: overlay;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='260' height='260'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='260' height='260' filter='url(%23n)' opacity='.35'/%3E%3C/svg%3E");
}

#calc > .container{
  position: relative;
  z-index: 2;
}

#calc .h2{
  color: #fff;
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 8px 24px rgba(107,42,163,.25);
}

.calc{
  margin-top: 16px;
  border-radius: var(--radius-xl);

  background: linear-gradient(135deg, rgba(255,42,165,.92), rgba(107,42,163,.92));
  box-shadow: 0 34px 90px rgba(107,42,163,.22);
  border: 1px solid rgba(240,231,247,.75);

  overflow:hidden;
  display:grid;
  grid-template-columns: 1fr 260px;
  align-items:stretch;
  position: relative;
}

.calc::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(circle at 25% 20%, rgba(255,255,255,.22), transparent 55%);
  opacity: .9;
}
.calc__panel{
  background: rgba(255,255,255,.92);
  padding: 18px;
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:14px;
  align-content:start;
}
.field{ display:flex; flex-direction:column; gap:8px; }
.label{ font-weight:700; font-size:13px; color: rgba(40, 18, 75, .9); }

.select{
  height:44px;
  border-radius: 14px;
  border:1px solid rgba(240,231,247,.95);
  padding:0 12px;
  font-weight:600;
  background:#fff;
  outline:none;
}
.select:focus{ box-shadow: 0 0 0 3px rgba(255,42,165,.18); border-color: rgba(255,42,165,.35); }

.range{
  grid-column: 1 / -1;
  background: #fff;
  border:1px solid rgba(240,231,247,.95);
  border-radius: 16px;
  padding:12px;
}
.range__top{
  display:flex;
  align-items:baseline;
  justify-content:space-between;
  gap:10px;
  margin-bottom:8px;
}
.range__val{
  font-weight:900;
  color: #ff2aa5;
}
.slider{
  width:100%;
  accent-color: #ff2aa5;
}
.range__minmax{
  display:flex;
  justify-content:space-between;
  font-size:12px;
  color: rgba(80, 55, 115, .75);
  margin-top:6px;
}

.calc__result{
  grid-column: 1 / -1;
  border-radius: 18px;
  padding:14px;
  color:#fff;
  background: linear-gradient(90deg, rgba(107,42,163,.95), rgba(76,26,132,.98));
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.calc__resultLabel{ font-weight:700; font-size:13px; opacity:.95; }
.calc__money{ font-weight:900; font-size:22px; letter-spacing:.4px; }

.calc__figure{
  position: relative;
  overflow: hidden;
  background: #f6eef8;
}

.calc__person{
  position: absolute;
  inset: 0;
  background-image: url("../img/calc-person.png");
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: contain;
}

/* =========================================================
   FAQ
   ========================================================= */

.faq{
  margin-top: 22px;
  display: grid;
  gap: 14px;
}

.faq__item{
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(240,231,247,.95);
  box-shadow: 0 22px 55px rgba(18,0,35,.12);
  background: linear-gradient(180deg, #6b2aa3 0%, #4c1a84 100%);
  color:#fff;

  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease;
}

.faq__item:hover{
  transform: translateY(-3px);
  box-shadow: 0 30px 75px rgba(18,0,35,.16);
}

.faq__item[open]{
  background: linear-gradient(180deg, #ff2aa5 0%, #ff63b6 100%);
  border-color: rgba(255,255,255,.18);
}

.faq__q{
  list-style: none;
  cursor: pointer;
  padding: 16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 14px;

  font-weight: 900;
  letter-spacing: .2px;

  user-select: none;
}
.faq__q::-webkit-details-marker{ display:none; }

.faq__q:hover{
  filter: brightness(1.03);
}

.faq__plus{
  width: 28px;
  height: 28px;
  border-radius: 10px;

  background: rgba(255,255,255,.16);
  border: 1px solid rgba(255,255,255,.22);
  box-shadow: 0 14px 30px rgba(0,0,0,.12);

  position: relative;
  flex: 0 0 auto;

  transition: transform .22s ease, background .22s ease, border-color .22s ease;
}

.faq__plus::before,
.faq__plus::after{
  content:"";
  position:absolute;
  inset:0;
  margin:auto;
  background:#fff;
  border-radius: 999px;
  transition: transform .22s ease, opacity .22s ease;
}
.faq__plus::before{ width: 14px; height: 2px; }
.faq__plus::after{ width: 2px; height: 14px; }

.faq__item[open] .faq__plus{
  transform: rotate(90deg);
  background: rgba(255,255,255,.20);
  border-color: rgba(255,255,255,.28);
}
.faq__item[open] .faq__plus::after{
  opacity: 0;
}

.faq__a{
  padding: 0 18px 18px;
  color: rgba(255,255,255,.90);
  line-height: 1.6;
}

.faq__item .faq__a{
  max-height: 0;
  opacity: 0;
  transform: translateY(-6px);
  transition: max-height .35s ease, opacity .25s ease, transform .25s ease;
  will-change: max-height, opacity, transform;
}

.faq__item[open] .faq__a{
  max-height: 240px; 
  opacity: 1;
  transform: translateY(0);
}

.faq__item[open] .faq__q{
  padding-bottom: 12px;
}

@media (prefers-reduced-motion: no-preference){
  .faq__item{
    animation: faqIn .55s ease-out both;
  }
  .faq__item:nth-child(1){ animation-delay: .00s; }
  .faq__item:nth-child(2){ animation-delay: .06s; }
  .faq__item:nth-child(3){ animation-delay: .12s; }
  .faq__item:nth-child(4){ animation-delay: .18s; }

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

@media (max-width: 760px){
  .faq__q{ padding: 14px 14px; }
  .faq__a{ padding: 0 14px 14px; }
}

.faq__item[open]{
  box-shadow:
    0 34px 90px rgba(255,42,165,.22),
    0 18px 40px rgba(18,0,35,.16);
}

.faq__item[open]::before{
  content:"";
  position:absolute;

  inset:-6px;

  border-radius: 28px;

  background: linear-gradient(
    135deg,
    rgba(255,42,165,.75),
    rgba(255,255,255,.45),
    rgba(107,42,163,.65)
  );

  filter: blur(14px);
  opacity: .85;

  z-index: -1;
  pointer-events:none;
}

.faq__item{
  position: relative;
  overflow: visible;
}
.faq__q,
.faq__a{
  position: relative;
  z-index: 1;
}

@media (prefers-reduced-motion: no-preference){
  .faq__item[open] .faq__plus{
    animation: plusPop .35s ease-out both;
  }
  @keyframes plusPop{
    0%{ transform: rotate(0) scale(.92); }
    70%{ transform: rotate(90deg) scale(1.08); }
    100%{ transform: rotate(90deg) scale(1); }
  }
}

/* CTA */
.cta{
  position: relative;
  z-index: 1;
  padding: 80px 0;  
  text-align: center;
  color: #fff;
  overflow: hidden;
}

.cta__bg{
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      180deg,
      rgba(107,42,163,.85) 0%,
      rgba(255,42,165,.70) 45%,
      rgba(76,26,132,.95) 100%
    ),
    url("../img/cta-bg.jpg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.cta__bg::after{
  content:"";
  position:absolute;
  inset:-120px;
  background:
    radial-gradient(circle at 20% 40%, rgba(255,255,255,.18), transparent 55%),
    radial-gradient(circle at 80% 60%, rgba(255,99,182,.16), transparent 60%);
  opacity: .9;
}

.cta__inner{
  position: relative;
  z-index: 2;
}

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  padding: 0 18px;
  border-radius: 999px;
  border:1px solid transparent;
  font-weight:900;
  letter-spacing:.6px;
  text-transform:uppercase;
  cursor:pointer;
  user-select:none;
}
.btn--cta{
  position: relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;

  height: 54px;
  padding: 0 28px;
  border-radius: 999px;

  font-weight: 900;
  font-size: 14px;
  letter-spacing: .9px;
  text-transform: uppercase;

  color: #2a1648;
  background: linear-gradient(135deg, var(--cta-gold-1) 0%, var(--cta-gold-2) 45%, var(--cta-gold-3) 100%);
  border: 1px solid rgba(255,255,255,.35);

  box-shadow:
    0 20px 55px rgba(255,178,26,.35),
    0 14px 32px rgba(18,0,35,.18);

  transition: transform .22s ease, box-shadow .22s ease, filter .22s ease, opacity .22s ease;
  overflow:hidden;
}

.btn--cta::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(circle at 30% 25%, rgba(255,255,255,.55), transparent 60%);
  opacity: .95;
}

.btn--cta::after{
  content:"";
  position:absolute;
  inset:-30%;
  pointer-events:none;

  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255,255,255,.45) 45%,
    rgba(255,255,255,.65) 50%,
    rgba(255,255,255,.45) 55%,
    transparent 70%
  );

  transform: translateX(-120%) rotate(8deg);
  opacity: 0;
}

@media (prefers-reduced-motion: no-preference){
  .btn--cta::after{
    animation: ctaFullShine 4.6s ease-in-out infinite;
  }

  @keyframes ctaFullShine{
    0%,45%{
      opacity: 0;
      transform: translateX(-120%) rotate(8deg);
    }
    55%{
      opacity: .9;
    }
    100%{
      opacity: 0;
      transform: translateX(120%) rotate(8deg);
    }
  }
}

.btn--cta:hover{
  transform: translateY(-3px);
  box-shadow:
    0 32px 85px rgba(255,178,26,.48),
    0 18px 45px rgba(18,0,35,.22);
  filter: brightness(1.03) saturate(1.05);
}
.btn--cta:active{
  transform: translateY(0);
  box-shadow:
    0 18px 45px rgba(255,178,26,.32),
    0 12px 28px rgba(18,0,35,.18);
}
.btn--cta:focus-visible{
  outline:none;
  box-shadow:
    0 0 0 4px rgba(255,178,26,.28),
    0 20px 55px rgba(255,178,26,.35),
    0 14px 32px rgba(18,0,35,.18);
}

.btn--cta.is-float{
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 999;

  opacity: 0;
  transform: translateY(18px) scale(.98);
  pointer-events: none;
}

.btn--cta.is-float.is-visible{
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

@media (prefers-reduced-motion: no-preference){
  .btn--cta.is-float.is-visible{
    animation: floatBreathe 2.6s ease-in-out infinite;
  }
  @keyframes floatBreathe{
    0%,100%{ transform: translateY(0) scale(1); }
    50%{ transform: translateY(-2px) scale(1.02); }
  }
}

@media (max-width: 760px){
  .btn--cta.is-float{
    right: 14px;
    bottom: 14px;
    height: 50px;
    padding: 0 20px;
    font-size: 13px;
  }
}

/* Footer */
.footer{
  position:relative;
  z-index:1;
  padding: 18px 0 28px;
  background:linear-gradient(180deg, #7b1a96 0%, #9b3a77 100%);
}
.footer__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  color: #fff;
  font-weight:600;
}
.footer a{ color:#ff2aa5; }

/* Responsive */
@media (max-width: 920px){
  .about{ grid-template-columns: 1fr; }
  .why{ grid-template-columns: 1fr; }
  .calc{ grid-template-columns: 1fr; }
  .calc__figure{ display:none; }
}

@media (max-width: 760px){
  .burger{ display:inline-flex; align-items:center; justify-content:center; }
  .nav__panel{
    position:fixed;
    inset: 70px 16px auto 16px;
    padding:14px;
    border-radius: 18px;
    background: #fff;              
    backdrop-filter: none;        
    border:1px solid rgba(240,231,247,.95);
    box-shadow: var(--shadow2);
    display:none;
    flex-direction:column;
    align-items:stretch;
    gap:10px;
    z-index:20;
  }
  .nav__panel.is-open{ display:flex; }
  .nav__link{ padding:12px 12px; }
  .pill{ text-align:center; }

  .hero__bg{ height:460px; }
  .hero__inner{ padding-top:18px; }
  .calc__panel{ grid-template-columns: 1fr; }
  .calc__result{ flex-direction:column; align-items:flex-start; }
  .footer__inner{ flex-direction:column; align-items:flex-start; }
}

/* =========================================================
   SITE DECORS (lips / bill / gold)
   ========================================================= */

.site-decor{
  position: absolute;
  z-index: 2; 
  pointer-events: none;
  width: 320px;
  height: 320px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  filter:
    drop-shadow(0 18px 35px rgba(255,42,165,.20))
    drop-shadow(0 10px 25px rgba(107,42,163,.18));
  transform: translateZ(0);
}

@media (prefers-reduced-motion: no-preference){
  .site-decor{
    animation: decorFloat 6.2s ease-in-out infinite;
  }
  @keyframes decorFloat{
    0%,100%{ transform: translateY(0); }
    50%{ transform: translateY(-10px); }
  }
}

/* -------------------------
   POSITIONS
   ------------------------- */

.site-decor--lips{
  background-image: url("img/lips.png");
  left: -140px;     
  top: 410px;   
  width: 340px;
  height: 340px;

  transform: rotate(-10deg);
}

.site-decor--bill{
  background-image: url("img/money.png");

  right: -210px;
  top: 1480px; 
  width: 520px;
  height: 300px;

  transform: rotate(14deg);
  filter:
    drop-shadow(0 22px 45px rgba(18,0,35,.12))
    drop-shadow(0 16px 36px rgba(255,42,165,.18));
}

.site-decor--gold{
  background-image: url("img/gold.png");

  left: -160px;
  top: 2580px;
  width: 420px;
  height: 320px;

  transform: rotate(-12deg);
  filter:
    drop-shadow(0 26px 55px rgba(18,0,35,.14))
    drop-shadow(0 18px 40px rgba(255,99,182,.16));
}

/* -------------------------
   IMPORTANT: чтобы absolute позиционирование работало по странице
   ------------------------- */
main{
  position: relative;
}

@media (max-width: 760px){
  .site-decor{ opacity: .9; }

  .site-decor--lips{
    left: -170px;
    width: 260px;
    height: 260px;
  }

  .site-decor--bill{
    right: -220px;
    width: 380px;
    height: 220px;
  }

  .site-decor--gold{
    left: -200px;
    width: 320px;
    height: 240px;
  }
}

/* ==========================
   Footer button
   ========================== */

.footer__right a{
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;

  height: 40px;
  padding: 0 16px;

  border-radius: 999px;
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .6px;
  text-transform: uppercase;

  color: #fff;
  text-decoration: none;

  background: linear-gradient(135deg, #6b2aa3 0%, #4c1a84 100%);
  border: 1px solid rgba(255,255,255,.18);

  box-shadow:
    0 12px 26px rgba(107,42,163,.22),
    0 8px 18px rgba(18,0,35,.18);

  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease;
  overflow: hidden;
}

.footer__right a::before{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background: radial-gradient(circle at 25% 30%, rgba(255,255,255,.22), transparent 55%);
  opacity: .9;
}

.footer__right a:hover{
  transform: translateY(-2px);
  box-shadow:
    0 18px 40px rgba(107,42,163,.28),
    0 12px 26px rgba(18,0,35,.22);
  filter: brightness(1.03) saturate(1.03);
}

.footer__right a:active{
  transform: translateY(0);
  box-shadow:
    0 10px 20px rgba(107,42,163,.20),
    0 6px 14px rgba(18,0,35,.16);
}

.footer__right a:focus-visible{
  outline: none;
  box-shadow:
    0 0 0 4px rgba(107,42,163,.22),
    0 12px 26px rgba(107,42,163,.22);
}

/* ==========================
   PRELOADER — HEART IMAGE
   ========================== */

.preloader{
  position: fixed;
  inset: 0;
  z-index: 3000;
  background: #fff;
  display: grid;
  place-items: center;
  transition: opacity .4s ease, visibility .4s ease;
}

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

/* ТВОЁ СЕРДЦЕ */
.preloader__heart{
  width: 64px;
  height: 64px;

  background-image: url("img/preloader.png"); /* ← ТУТ */
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  /* мягкое фирменное свечение */
  filter:
    drop-shadow(0 20px 40px rgba(255,42,165,.35))
    drop-shadow(0 12px 28px rgba(107,42,163,.25));

  animation: heartPulse 1.1s ease-in-out infinite;
}

/* ПУЛЬС */
@keyframes heartPulse{
  0%,100%{
    transform: scale(1);
    opacity: .95;
  }
  50%{
    transform: scale(1.18);
    opacity: 1;
  }
}

/* доступность */
@media (prefers-reduced-motion: reduce){
  .preloader__heart{
    animation: none;
  }
}
