/* --- Default Reset --- */
html,body,div,span,applet,object,iframe,h1,h2,h3,h4,h5,h6,p,blockquote,pre,a,abbr,acronym,address,big,cite,code,del,dfn,em,img,ins,kbd,q,s,samp,small,strike,strong,sub,sup,tt,var,b,u,i,center,dl,dt,dd,ol,ul,li,fieldset,form,label,legend,table,caption,tbody,tfoot,thead,tr,th,td,article,aside,canvas,details,embed,figure,figcaption,footer,header,hgroup,menu,nav,output,ruby,section,summary,time,mark,audio,video{margin:0;padding:0;border:0;font-size:100%;font:inherit;vertical-align:baseline}article,aside,details,figcaption,figure,footer,header,hgroup,menu,nav,section{display:block}body{line-height:1}ol,ul{list-style:none}blockquote,q{quotes:none}blockquote:before,blockquote:after,q:before,q:after{content:'';content:none}table{border-collapse:collapse;border-spacing:0}

/* --- Global --- */
html{
    max-width: 100%;
    scroll-behavior: smooth;
    overflow-x: hidden;
}

*{
    box-sizing: border-box;
    &&::after, &&::before{
        pointer-events: none;
        user-select: none;
    }
}

body{
    max-width: 100%;
    overflow-x: hidden;
}

.logo{
    width: 70px;
    height: 70px;
    background-color: var(--bg);
}

img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            justify-self: center;
            align-self: center;
        }

/* --- Palette --- */
:root {
     /*BG*/
    --bg: #0c0c1f;
    --innerBg: #121f2c;
    --innerBlackBg: #0a0a18;
    --innerBlackLighterBg: #041224;

    /*ACCENT*/
    --accent: #005383ff;
    --accentHover: #002281;
    
    /*TEXT*/
    --textMain: #f0f9fc;
    --textP: #c0c0c0;
    --textPLighter: #c9c9c9;
    --textBtn: #c0c0c0;
}

/* --- Style --- */
:root{
    --brad: 32px;
    --sectionPadding: 3rem;
    --transitionMain: all .4s cubic-bezier(.075, .82, .165, 1);
}

html{
    font-size: 18px;
}

body{
    font-family: 'Poppins', sans-serif;
    color: var(--textMain)
}

h1{
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
}

h2{
    font-size: 36px;
    font-weight: 500;
    margin-bottom: 24px;
    line-height: 1.2;
}

h3{
    font-size: 28px;
    margin-bottom: 16px;
}

span, b{
    font-size: 24px;
}

a, p{
    font-size: 18px;
}

p{
    margin-bottom: 1.8rem;
}

body{
    background: var(--bg);
    line-height: 150%;
}

.wrapper, section:not(.noWrap){
    width: 100%;
    max-width: 1340px;
    margin: auto;
    margin-right: auto;
    box-sizing: border-box;
}

.noWrap, .wrapper, section:not(.noWrap){
    margin-bottom: 75px;
}

.mainBtn{
    align-self: center;
    justify-self: center;
    margin: 1rem auto;
    padding: 1.4rem 1.5rem;
    background: var(--accent);
    border-radius: var(--brad);
    transition: var(--transitionMain);
    display: block;
    text-align: center;
}
.mainBtn:hover{
    transform: scale(1.04);
    cursor: pointer;
    box-shadow: 0px 0px 12px 5px var(--accentHover);
}

a{
    color: unset;
    text-decoration: none;
}

@media(max-width: 768px){
    .wrapper, section:not(.noWrap){
        max-width: 95%;
    }

    .mainBtn{
        margin-left: auto;
        margin-right: auto;
    }
}


@media (max-width: 768px){

:root{
    --sectionPadding: 1.5rem;
}

h1{
    font-size: 40px;
    font-weight: 700;
}

h2{
    font-size: 30px;
    font-weight: 500;
    text-align: center;
}

h3{
    font-size: 26px;
    text-align: center;
}

span, b{
    font-size: 22px;
}

p{
    font-size: 18px;
    text-align: center;
}
}

.logo{
    transition: all;
    transition: all .4s cubic-bezier(.075, .82, .165, 1);
}
.logo:hover{
    scale: 1.04;
}


/* --- header.css --- */
header {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    margin-bottom: 0!important;
}

/*test*/
header>nav>a {
    display: none!important
}

header>nav>ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 39px
}

.header__nav{
    margin-left: auto;
}

header>nav>ul a {
    width: max-content;
    transition: var(--transitionMain)
}

header>nav>ul a::after {
    content: none
}

header>nav>ul a:hover {
    color: var(--accent)!important
}

header>a {
    max-width: 186px;
    z-index: 80;
    margin-left: 0!important;
    margin-right: 0!important;
}

header img, footer img{
    border-radius: 0;
}

@media (max-width: 1024px) {
    header {
        padding:16px 0
    }

    header>a:last-child {
        display: none
    }

    header>nav {
        position: absolute;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(21,21,22,.9);
        backdrop-filter: blur(8px);
        z-index: 50;
        transform: translateX(-120%) translateY(0);
        transition: var(--transitionMain);
        display: flex;
        flex-direction: column
    }

    header>nav>ul {
        margin-top: 124px;
        margin-left: 24px;
        flex-direction: column;
        align-items: start;
        gap: 40px;
        height: 80vh;
        overflow-y: auto;
        overflow-x: hidden
    }

    header>nav>ul a {
        color: var(--textMain)!important;
        /* font-size: 16px!important */
    }

    header>nav>a {
        display: inline-block!important;
        margin-top: auto;
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 32px;
        z-index: 90;
        max-width: 90%;
        color: var(--textBtn)!important
    }

    .navOpen {
        transform: translateX(0%) translateY(0)
    }
}

.mobile__menu {
    display: none;
    z-index: 61
}

.burger {
    width: 60px;
    height: 60px;
    transition-duration: .5s;
    position: relative;
    scale: 0.4
}

.open>.icon-left {
    background: 0 0
}

.open>.icon-left::before {
    transform: rotateZ(45deg) scaleX(1.4) translate(4px,4px)
}

.open>.icon-left::after {
    transform: rotateZ(-45deg) scaleX(1.4) translate(4px,-4px)
}

.open>.icon-right {
    background: 0 0
}

.open>.icon-right::before {
    transform: rotateZ(-45deg) scaleX(1.4) translate(-4px,4px)
}

.open>.icon-right::after {
    transform: rotateZ(45deg) scaleX(1.4) translate(-4px,-4px)
}

.icon-left {
    transition-duration: .5s;
    position: absolute;
    height: 8px;
    width: 50%;
    top: 30px;
    background-color: #fff
}

.icon-left::before {
    transition-duration: .5s;
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: #fff;
    content: "";
    top: -20px
}

.icon-left::after {
    transition-duration: .5s;
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: #fff;
    content: "";
    top: 20px
}

.icon-left:hover {
    cursor: pointer
}

.icon-right {
    transition-duration: .5s;
    position: absolute;
    height: 8px;
    width: 50%;
    top: 30px;
    background-color: #fff;
    left: 30px
}

.icon-right::before {
    transition-duration: .5s;
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: #fff;
    content: "";
    top: -20px
}

.icon-right::after {
    transition-duration: .5s;
    position: absolute;
    width: 100%;
    height: 8px;
    background-color: #fff;
    content: "";
    top: 20px
}

@media (max-width: 1024px) {
    .mobile__menu {
        display:block;
        justify-self: flex-end;
        margin-left: auto;
    }

    header .mainBtn{
        display: none;
    }
}

.fadeInDown,header {
    animation-delay: .5s!important
}

/* --- hero.css --- */
.hero{
    height: max(88vh, 400px);
    overflow: hidden;
    position: relative;
    && .heroBg{
        height: 120%;
        width: 120%;
        transform: translateX(-10%) translateY(-10%);
        position: absolute;
        z-index: -1;
        filter: opacity(0.3) grayscale(60%);
    }
    && .mainHeroInfo{
        margin: auto;
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        height: 100%;
        z-index: 2;
        position: relative;
        && .heroText{
            display: flex;
            flex-direction: column;
            box-shadow: var(--bg) 0 5px 15px 10px;
            justify-content: center;
            background: var(--bg);
            border-radius: 50%;
            padding: min(24px, var(--sectionPadding));
            height: auto;
            border: 8px solid var(--accent);
            max-height: max(80vh, 350px);
            max-width: fit-content;
            aspect-ratio: 1/1;
        }
    }
    && b{
        font-size: inherit;
        color: var(--accent);
        display: block;
        text-transform: uppercase;
        background: linear-gradient(100deg, var(--accent), var(--accentHover));
        background-clip: text;
        -webkit-text-fill-color: transparent;
        padding: 16px 32px;
    }
    && br{
        line-height: 0;
    }
    && .wrapper{
        margin: 0 auto;
        height: 100%;
    }
    && .movingStrip, .movingStripAlt{
        position: absolute;
        height: 80px;
        width: 300%;
        background:repeating-linear-gradient(
			45deg,
			var(--accentHover) 30px,
			var(--accent) 60px,
			var(--innerBg) 30px,
			var(--bg) 90px
		);
        top: calc(50% - 40px);
        right: -100%;
        rotate: 25deg;
        animation: animateStripes 2s linear infinite;
        border: var(--innerBg) 4px solid;
    }
    && .movingStripAlt{
        rotate: 155deg;
    }
    && .mainBtn{
        font-size: 32px;
        color: var(--bg);
        padding: 1.2rem
    }
}

@keyframes animateStripes {
	0% {
		transform: translateY(0);
	}
	100% {
		transform: translateX(-170px) ;
	}
    }

@keyframes animateStripesAlt {
	0% {
		background-position-y: 75%;
	}
	100% {
		background-position-y: 25%;
	}
    }

    @keyframes heroWobble{

    }
    @media (max-width: 768px){
        .heroText{
            border-radius: var(--brad)!important;
            max-width: 90vw!important;
            aspect-ratio: unset!important;
            && b{
                padding: 16px 0
            }
        }
    }

/* --- toc.css --- */
.toc{
    background-color: var(--bg);
    border-radius: var(--brad);
    margin-top: 75px!important;
}

.toc a{
    transition: var(--transitionMain);
    &&:hover{
        color: var(--accent);
        cursor: pointer;
    }
}

.toc__container>ul li {
    min-width: max-content;
    max-width: max-content
}

.toc__container>ul a {
    padding-left: 24px;
    padding-right: 24px;
}

/* Custom scrollbar for TOC container */
.toc__container {
    scrollbar-width: thin;
    scrollbar-color: var(--accent) transparent;
}

.toc__container::-webkit-scrollbar {
    height: 8px;
}

.toc__container::-webkit-scrollbar-track {
    background: transparent;
    border-radius: 4px;
}

/* Swiper scrollbar styles */
.toc__container .swiper-scrollbar,
.toc .toc__container .swiper-scrollbar,
section.toc .toc__container .swiper-scrollbar {
    position: relative !important;
    background: transparent !important;
    border-radius: 6px !important;
    height: 6px !important;
    margin-top: 10px !important;
    min-width: 100% !important;
    opacity: 1 !important;
    transition: opacity 0.3s ease !important;
    left: 0;
    right: 0;
}

.toc__container .swiper-scrollbar-drag {
    background-color: var(--accent);
    border-radius: 6px;
    height: 100%;
    position: relative;
    cursor: default;
}

/* Hide scrollbar after first interaction */
.toc__container.swiper-scrollbar-hidden .swiper-scrollbar {
    opacity: 0;
}

/* Show scrollbar on hover */
.toc__container:hover .swiper-scrollbar {
    opacity: 1;
}

/* --- afterheader.css --- */
.about_main {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    align-items: stretch;
    justify-content: space-between;
    border-radius: var(--brad);
    gap: 48px;
    padding: var(--sectionPadding);
    background: var(--innerBg);
    min-height: 400px;
    && .about_mainInfo{
        height: fit-content;
        align-self: center;
        && p{
            margin-bottom: 0;
            text-align: center;
        }
        && h2{
            text-align: center;
        }
    }
}

.about_main > div {
    flex: 1 1 50%;
}

.about_main > img{
    border-radius: var(--brad);
}

.about_main img{
    border-radius: var(--brad);
    overflow: hidden;
}
.about_main > div:last-child img {
    /* object-position: 50% 20%; */
}
.about_mainRev {
    flex-direction: row-reverse;
}
.about_mainRev > div:first-child > div {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.about_mainImageContainer {
    border-radius: var(--brad);
    overflow: hidden;
    /* max-height: 640px; */
}
.about_mainImageContainer .swiper-slide {
    display: flex;
    flex-direction: row;
    gap: 6px;
    max-width: 100%;
}

.about_mainImageContainer .swiper-slide > * {
    flex: 1 1 50%;
}

@media (max-width: 1100px) {
    .refferal_img {
        display: none;
    }

    .about_main > div:last-child{
        aspect-ratio: unset;
    }
}

@media (max-width: 768px) {
    .about_main {
        grid-template-columns: 1fr;
        flex-direction: column;
        padding: var(--sectionPadding);
        gap: 1.2rem;
        max-width: 76%;
        min-height: unset;
        && .about_mainInfo{
            padding: 0;
        }
    }

    .about_main p{
        margin-bottom: 0;
    }

    .about_main > div {
        width: 100%;
        flex: 1 1 100% !important;
        padding: var(--sectionPadding);
        max-width: fit-content;
    }
    .about_main > div:first-child {
        margin-top: 24px;
    }
    .about_main > div:first-child > div {
        flex-direction: column;
    }
    .about_main > div:first-child > a {
        max-width: 100%;
    }
    .about_main div:last-child{
        display: none;
    }

    .about_main div:first-child{
    aspect-ratio: 1/1;
    padding: 0;
    margin: 0;
    }

}

/* --- tabs.css --- */
.energy-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 20px;
}

.energy-left {
  padding: 22px 20px 18px;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.energy-kicker {
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--muted);
}

.energy-title {
  text-transform: uppercase;
}

/* чипы */
.energy-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.energy-pill {
  text-transform: uppercase;
  padding: 4px 10px;
  font-size: 0.7em;
  border-radius: 999px;
  border: 2px solid var(--accent);
  color: var(--ink);
  background: radial-gradient(circle at 0 0, var(--accent), var(--innerBg));
}

.energy-pill--hot {
  border-color: var(--accent);
  background: radial-gradient(circle at 0 0, var(--accentHover), var(--innerBlackBg));
}

/* маленькие неоновые “счетчики” */
.energy-badges {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.energy-badge {
  border-radius: 14px;
  padding: 8px 10px;
  background:
    radial-gradient(circle at 0 0, var(--accent), transparent 55%),
    var(--innerBg);
  border: 2px solid var(--accent);
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.energy-badge-label {
  text-transform: uppercase;
  color: var(--muted);
  font-size: 0.8em;
}

.energy-badge-value {
  font-weight: 800;
  text-transform: uppercase;
  font-size: 0.9em;
}

.energy-strip {
  position: relative;
  overflow: hidden;
  border-radius: 999px;
  border: 2px solid var(--accent);
  background:
    radial-gradient(circle at 0 0, var(--accent), transparent 60%),
    var(--bg);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.energy-marquee {
  display: flex;
  white-space: nowrap;
  animation: energy-marquee-loop 20s linear infinite;
}

.energy-marquee span {
  display: inline-block;
  font-size: 0.9em;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  padding-inline: 32px;
  color: var(--ink);
  opacity: 0.9;
}

@keyframes energy-marquee-loop {
  0% { transform: translateX(0); }
  100% { transform: translateX(-33.33%); } /* Бесшовно циклично */
}

/* текст под бегущей строкой */
.energy-subline {
  margin-top: 10px;
  font-size: 0.8em;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  opacity: 0.9;
}

/* правая колонка */
.energy-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* эквалайзер */
.energy-eq {
  padding: 16px 16px 14px;
}

.energy-eq-label-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 10px;
}

.energy-eq-label {
  font-size: 0.8em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.energy-eq-status {
  font-size: 0.7em;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  border: 4px solid var(--accent);
  background: radial-gradient(circle at 0 0, var(--accentHover) var(--bg));
}

/* вертикальные полосы */
.energy-eq-bars {
  display: flex;
  align-items: flex-end;
  gap: 6px;
  height: 90px;
  margin-bottom: 10px;
}

.energy-eq-bars .bar {
  flex: 1;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--innerBg), var(--innerBlackLighterBg));
  opacity: 0.9;
  transform-origin: bottom center;
  animation: energy-bar 1.4s ease-in-out infinite;
  border: var(--accent) solid 2px;
}

.bar-1 { height: 40%; animation-delay: 0s; }
.bar-2 { height: 65%; animation-delay: 0.1s; }
.bar-3 { height: 85%; animation-delay: 0.2s; }
.bar-4 { height: 70%; animation-delay: 0.3s; }
.bar-5 { height: 50%; animation-delay: 0.4s; }
.bar-6 { height: 80%; animation-delay: 0.5s; }
.bar-7 { height: 60%; animation-delay: 0.6s; }

@keyframes energy-bar {
  0%, 100% { transform: scaleY(0.9); opacity: 0.9; }
  50%      { transform: scaleY(1.1); opacity: 1; }
}

/* легенда */
.energy-eq-legend {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.8em;
  color: var(--muted);
}

.energy-eq-legend .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 1px solid var(--accent)
}

.dot-blue {
  background: var(--innerBlackLighterBg);
}

.dot-lilac {
  background: var(--innerBg);
}

.dot-hot {
  background:  var(--accent);
}

/* карточка с тайм-слотами */
.energy-slots {
  padding: 18px 16px 16px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.energy-slots-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.energy-slots-label {
  font-size: 0.8em;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--muted);
}

.energy-slot-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.energy-slot {
  border-radius: 12px;
  padding: 8px 10px;
  background:
    radial-gradient(circle at 0 0, var(--accent), transparent 55%),
    var(--bg);
  border: 4px solid var(--accent);
}

.energy-slot-time {
  font-size: 0.8em;
  text-transform: uppercase;
  letter-spacing: 0.16em;
}

.energy-slot-tag {
  margin-top: 2px;
  font-size: 0.8em;
  color: var(--muted);
}

.energy-slot-tag--hot {
  color: #ffe4f4;
}

/* пояснение */
.energy-note {
  font-size: 0.8em;
  color: var(--muted);
  margin: 0;
}

/* адаптив */
@media (max-width: 960px) {
  .energy-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .energy-badges {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .energy-slot-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .energy-badges {
    grid-template-columns: minmax(0, 1fr);
  }

  .energy-slot-row {
    grid-template-columns: minmax(0, 1fr);
  }

  .energy-strip span {
    animation-duration: 20s;
  }
}

/* --- partner.css --- */
    /* ===== Experts (law-firm styling) ===== */
/* ===== Experts (law-firm styling) ===== */
.expertreview {
  background: var(--bg);            /* как и другие секции */
  padding: 80px 0;
}
.expertreview h2 {
  text-align: center;
  margin-bottom: 2.5rem;
}
.expertreview .highlight{
  color: var(--accent, #e0b15a);
}

/* сетка */
.expertReview{
  display:grid;
  grid-template-columns:1fr;
  gap: 16px;
}

/* ссылки внутри цитат — золотой акцент */
.expertReview a{
  color: var(--accent, #e0b15a);
  text-decoration: none;
  border-bottom: 1px solid rgba(224,177,90,.35);
}
.expertReview a:hover{
  border-color: var(--accent, #e0b15a);
}

/* левый штрих у абзаца — тонкий золотой градиент */
.expertReview p{
  border-left: 4px solid transparent;
  border-image: linear-gradient(180deg, var(--accentHover), var(--innerBg)) 1;
  padding-left: 18px;
  margin: 0 0 1rem;
  font-style: italic;
}

/* автор */
.expertReview span{
  font-style: italic;
  opacity: .7;
  display:block;
  text-align:right;
  font-size: 18px;
}

/* карточки */
.review-card{
  background: var(--innerBg);
  border: 1px solid var(--border, #e9e9e9);
  border-radius: var(--radius, 18px);
  padding: 2rem 2.2rem;
  box-shadow: var(--shadow, 0 10px 24px rgba(0,0,0,.08));
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.review-card:hover{
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(0,0,0,.14);
  border-color: var(--accent, #e0b15a);
}

/* 2 колонки на десктопе */
@media (min-width: 900px){
  .expertReview{ grid-template-columns: 1fr 1fr; }
}


/* --- info.css --- */
.section-flex {
            position: relative;
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
            align-items: start;
            gap: 24px;
            justify-content: space-between;
            flex-wrap: wrap;
            /* margin-bottom: 150px!important; */
        }

        .section-flex img{
        }

        .flexTextblock{
            z-index: 4;
            justify-self: center;
            align-self: center;
            margin: auto 0;
            grid-column: 2;
        }

        #infolist .wrapper{
            margin-bottom: 0;
        }

        .big_bg{
            position: absolute;
            width: 100%;
            height: 101%;
            left: -30%;
            top: -0.5%;
            z-index: 1;
            && img{
                object-position: 0% 20%;
            }
        }


        .section-flex.stretch {
            align-items: stretch
        }

        .section-flex {
            display: grid;
            grid-template-columns: 1fr 2fr 1fr;
        }

        .section-flex {
            gap: 70px;
        }

        .section-flex div img {
            aspect-ratio: 1/2;
        }

        .section-flex.row-reverse {
            flex-direction: row-reverse
        }

        .step {
            display: flex;
            flex-direction: row;
            align-items: center;
            margin-bottom: 20px;
            gap: 24px
        }

        .step_flex {
            display: flex;
            align-items: center;
            gap: 12px
        }

        .step-number {
            background: var(--accent);
            color: var(--textMain);
            min-width: 52px;
            min-height: 52px;
            border-radius: 10%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-weight: 700;
            position: relative;
            && .buoy{
                position: absolute;
                height: 100%;
                width: 100%;
                aspect-ratio: 1/1;
            }
        }

        .infowrapper{
            position: relative;
            && .box_shadow{
                position: absolute;
                height: 100%;
                width: 100%;
                left: 0;
                right: 0;
                z-index: 1;
                background: linear-gradient(180deg,var(--bg) 1%, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0) 80%, var(--bg) 99%),
                linear-gradient(93deg,var(--bg) 0%, rgba(0, 0, 0, 0) 10%, rgba(0, 0, 0, 0) 90%, var(--bg) 100%);       
                user-select: none;
                pointer-events: none;     
            }
        }

        .info-block .step-number {
            background: var(--acccent);
            color: var(--textMain) !important
        }

        .step-content h3 {
            margin-bottom: 12px !important;
            font-weight: 700;
        }

        .step-content p {
            margin: 0
        }

        .info .section-flex {
            display: flex;
            flex-direction: row;
            align-items: center;
            gap: 24px;
            justify-content: space-between;
            flex-wrap: wrap
        }

        .info-block .section-flex.reverse {
            flex-direction: column-reverse
        }

        .info__steps-container {
            display: grid;
            flex-direction: row;
            
            && .mainBtn{
                margin: 24px auto;
                min-width: 60%;
                text-align: center;
            }
        }

        

        .info__steps {
            display: flex;
            flex-wrap: wrap;
            column-gap: 24px;
            align-self: center;
            position: relative;
            z-index: 3;
        }

        .info__steps-container a {
            max-width: 240px
        }

        .info-block h2+p {
            margin-bottom: 32px
        }

        .info-block img {
            border-radius: var(--brad)
        }

        @media (min-width: 768px) {
            .info__steps .step {
                flex: 1 1 40% !important
            }

            .info-block .info__steps-container {
                align-items: start
            }

            .info__steps-container {
                align-items: center
            }


        }

        @media (max-width: 1200px) {
            .info {
                padding: 60px 0
            }

            .step {
                flex-direction: column;
                align-items: start
            }

            .info .section-flex {
                align-items: start
            }

            .info .section-flex_second {
                flex-direction: column-reverse
            }

            .info .section-flex>* {
                flex: 0 1 100%
            }

            .info .sectionImg .desktop {
                display: none
            }

            .info .sectionImg .mobile {
                display: block
            }

            .info__steps .step {
                flex: 1 1 100%
            }

            .info-block .info__steps .step {
                flex: 1 1 100% !important
            }

            .info__steps{
                background: var(--innerBg);
                padding: var(--sectionPadding);
            }
        }

        @media (min-width: 1200px) {
            .info .sectionImg .desktop {
                display: block
            }

            .info .sectionImg .mobile {
                display: none
            }

            .info__steps .step {
                flex: 1 1 100% !important
            }

            .info__steps-container {
                align-items: start
            }

            .section-flex .mainBtn {
                align-self: flex-start;
            }
        }

        @media (max-width: 700px) {
            
            .section-flex div img {
                display: none;
            }

            .section-flex.column-reverse {
                flex-direction: column-reverse
            }

            .section-flex {
                gap: 0;
                align-items: start
            }

            .step-number {
                align-self: center;
            }

            .section-flex{
                padding-left: 0;
                padding-right: 0;
                grid-template-columns: 1fr;
                grid-template-rows: 1fr;
            }

            .info__steps{
                && h2{
                    margin-left: auto;
                    margin-right: auto;
                }
                &&::after{
                    display: none!important;
                }
            }
        }

/* --- pricing_plans.css --- */
.priceCardList{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: 1fr 0.125fr;
    gap: 16px;
    text-align: center;
    && .mainBtn{
        margin-top: auto;
        padding-bottom: 24px;
    }
    && .priceCard{
        background-color: var(--innerBg);
        border-radius: var(--brad);
        overflow: hidden;
        
        && .priceTop{
                background-color: var(--accent);
                display: flex;
                flex-direction: column;
                position: relative;
                z-index: 2;
                &&::after{
                    content: '';
                    width: 32px;
                    height: 32px;
                    bottom: -16px;
                    left: calc(50% - 16px);
                    position: absolute;
                    transform: rotate(45deg);
                    background: var(--accent);
                }
                && .priceName{
                    position: relative;
                    padding: 16px
                };
                && .priceBg{
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    left: 0;
                    top: 0;
                    background-color: var(--bg);
                    opacity: 0.3;
                }
                && span{
                    position: relative;
                    z-index: 2;
                    font-weight: 700;
                }

                && .priceSubtitle{
                    z-index: 2;
                    font-size: 18px;
                }

                && .price{
                    padding: 20px 0;
                    text-shadow: var(--innerBg) 0 2px 5px;
                }

                && b{
                    opacity: 0.8;
                    font-style: italic;
                    padding-bottom: 8px ;
                }
            }

            &&:nth-child(2) {
                grid-column: 2;
                grid-row: 1/3;
                && .priceTop{
                    background-color: var(--accentHover);
                    &&::after{
                            background: var(--accentHover);
                        }
                    && .price{
                        padding: 32px;
                    }
                }
            }

        && .pricingList{
            && ul{
                display: flex;
                flex-direction: column;
                gap: 8px;
                width: 100%;
                padding: 32px 0 16px;
                && li{
                    padding: 12px 0;
                    position: relative;
                    &&::after{
                        position: absolute;
                        content: '';
                        width: 80%;
                        height: 3px;
                        border-radius: 20%;
                        background: linear-gradient(93deg, var(--innerBg) 0%, var(--accent) 50%, var(--innerBg) 100%);
                        left: 10%;
                        bottom: 0;
                    }
                }
            }
        }
    }
}

@media(max-width: 768px){
    .priceCardList{
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, auto);
        && .priceCard:nth-child(2){
            grid-column: 1!important;
            grid-row: 2!important;
        }
    }
}

/* --- gallery.css --- */
#users-uploads .wrapper:first-child {
    border-radius: var(--brad) var(--brad) 0 0;
    padding-bottom: 0
}

#users-uploads .wrapper:nth-child(2) {
    border-radius: 0 0 var(--brad) var(--brad)
}

.results {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    gap: 4px
}

.results div {
    flex: 1 1 10%;
    display: flex;
    flex-direction: column;
    gap: 4px
}

.results img{
    border-radius: var(--brad);
}

.results div:first-child img:first-child,
.results div:nth-child(5) img:first-child {
    height: 150%
}

.results div:nth-child(2) img:first-child {
    height: 200%
}

.results div:nth-child(4) img:first-child {
    height: 80%
}

@media (max-width: 768px){
    .results div:nth-child(2n){
        display: none;
    }
}

/* --- reviews.css --- */
#reviews .swiper{
  width:100%; max-width: 1400px; margin:0 auto; padding:0 20px;
  overflow:hidden;
  cursor: grab;
  &&:active{
    cursor: grabbing
  }
}

.rv-head{
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
}
.rv-kicker{
  grid-column:1/-1; color:var(--brand); font-weight:800; display:flex; align-items:center; gap:8px;
  text-shadow: var(--neon);
}
.rv-dot{ width:8px; height:8px; border-radius:50%; background:var(--brand); display:inline-block; }
.rv-title{
  margin:0;
}

@media(min-width: 768px){
  .rv-title{
    text-align: start;
  }
}

.rev-btn{
  width:64px; 
  height:64px; 
  border-radius:50%;
  background: var(--innerBg); 
  color: var(--textMain);
  border: var(--innerBlackLighterBg) 0px solid;
  display:grid; 
  place-items: center; 
  cursor:pointer; 
  transition: var(--transitionMain);
          && img{
            overflow: visible;
          }
          &&:hover {
            scale: 1.04;
            cursor: pointer;
            box-shadow: 0px 0px 12px 5px var(--accentHover);
            }
        &&:active {
            scale: 0.96;
            box-shadow: 0px 0px 12px 12px var(--accentHover);
        }
    
}

.rev-btn:hover{
  transform: translateY(-2px);
  background: var(--innerBg);
  border-color: var(--acccent);
  color: var(--textMain);
}

#reviews .swiper{ padding:40px 0 }
#reviews .swiper-slide{
  transition: transform .35s ease, z-index .35s ease, opacity .35s ease, filter .35s ease;
  will-change: transform;
  z-index:1; opacity:.9; filter:saturate(1);
  pointer-events:auto;
}

#reviews .swiper-slide-prev{
  transform:  translateY(6px) translateX(-6px) rotateY(4deg);
}
#reviews .swiper-slide-next{
  transform:  translateY(6px) translateX(6px) rotateY(-4deg);
}

#reviews .swiper-slide-active{
  transform: scale(1.00);
  z-index:3; opacity:1; filter:saturate(1.04);
}

.rv-card{
  border-radius:var(--brad);
  border: 2px solid transparent;
  padding:16px;
  box-shadow: var(--shadow);
  transition: var(--transitionMain);
  color: var(--textMain);
  position:relative; overflow:hidden;
}

#reviews .swiper-slide-active .rv-card {
  background: var(--accent);
  border: 2px solid var(--accent);
  box-shadow: 0 0 5px var(--accentHover);
  transform: none; 
}

.rv-top{ display:flex; align-items:center; gap:10px; margin-bottom:8px }
.rv-avatar{
  width:44px; height:44px; border-radius:50%; padding:2px;
  border:4px solid var(--bg);
  background: var(--accent);
}
.rv-avatar img{ width:100%; height:100%; border-radius:50%; display:block; object-fit:cover }
.rv-meta{ display:flex; flex-direction:column; line-height:1.1; }
.rv-meta strong{ color: var(--textMain) }
.rv-meta span{ font-size:12px; color: var(--muted) }
.rv-rate{ margin-left:auto; color: var(--brand-3); font-weight:900; text-shadow: var(--neon) }

.rv-quote{ color: var(--muted); line-height:1.55; margin:6px 0 10px; text-align: left; }
.rv-tags{ display:flex; gap:8px; flex-wrap:wrap }
.rv-tags span{
  font-size:12px; padding:6px 10px; border-radius:999px;
  background: linear-gradient(180deg, #fff, #fff2fb);
  color: var(--textMain);
  border:1px solid rgba(255, 0, 168, .22);
}

.rv-controls{ display:flex; gap:10px; margin-bottom: 20px; }

@media (max-width: 980px){
  #reviews .swiper-slide-prev,
  #reviews .swiper-slide-next{
    transform: scale(.97) translateY(4px) rotateY(2deg);
  }
  .rv-controls{
    margin-bottom: 0;
  }
  .rv-card{ width:95% }
  #reviews .swiper{ padding-left:20px !important; }
}
@media (max-width: 620px){
  #reviews .swiper-slide-prev,
  #reviews .swiper-slide-next{
    transform: scale(.985) translateY(2px) rotateY(0);
  }

  #reviews .swiper{
    padding-bottom: 0;
  }
}

#reviews .chip-glass{ color:var(--textMain); }

.badges {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.pill {
  display: inline-flex;
  background: var(--bg);
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: .85rem;
  border: 1px solid var(--accent);
  transition: var(--transitionMain);
}
.pill:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 12px rgba(255,0,168,.18) inset, var(--haze);
}


/* --- special_offer.css --- */
.special_offer {
    display: flex;
    flex-direction: row-reverse;
    align-items: stretch;
    justify-content: space-between;
    border-radius: var(--brad);
    gap: 48px;
    padding: var(--sectionPadding);
    background: var(--innerBg);
}

.special_offer > div {
    flex: 1 1 50%;
}
.special_offer > div:first-child {
    flex: 1 1 50%;
    max-height: fit-content;
    margin: auto 0;
}
.special_offer > div:last-child {
    aspect-ratio: 1.5/1;
    border-radius: var(--brad);
}

.special_offer img{
    border-radius: var(--brad);
    overflow: hidden;
}
.special_offer > div:last-child img {
    /* object-position: 50% 20%; */
}
.special_offerRev {
    flex-direction: row-reverse;
}
.special_offerRev > div:first-child > div {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.special_offerImageContainer {
    border-radius: var(--brad);
    overflow: hidden;
    /* max-height: 640px; */
}
.special_offerImageContainer .swiper-slide {
    display: flex;
    flex-direction: row;
    gap: 6px;
    max-width: 100%;
}

.special_offerImageContainer .swiper-slide > * {
    flex: 1 1 50%;
}

@media (max-width: 1100px) {
    .refferal_img {
        display: none;
    }

    .special_offer > div:last-child{
        aspect-ratio: unset;
    }
}

@media (max-width: 768px) {
    .special_offer {
        flex-direction: column;
        flex-wrap: wrap;
        padding: 0;
        gap: 0;
        max-width: 76%;
    }

    .special_offer p{
        margin-bottom: 0;
    }

    .special_offer > div {
        width: 100%;
        flex: 1 1 100% !important;
        padding: var(--sectionPadding);
        max-width: fit-content;
    }
    .special_offer > div:first-child {
        margin-top: 24px;
    }
    .special_offer > div:first-child > div {
        flex-direction: column;
    }
    .special_offer > div:first-child > a {
        max-width: 100%;
    }
}

/* --- faq.css --- */
.faq>div {
    border-radius: var(--brad)
}

#faq{
    background-color: var(--innerBg);
    border-radius: var(--brad);
    padding: var(--sectionPadding);

}

.accord__container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.accord__item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    padding: 32px 64px;
    background-color: var(--innerBlackLighterBg);
    border-radius: var(--brad);
}

.accord__item h3,.accord__item p {
    margin-bottom: 0;
}

.accord__item>div:first-child>p {
    font-weight: 400;
    color: var(--mainText)!important;
    font-size: 24px!important;
    margin-bottom: 0
}

.accord__item>div:first-child {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center
}

.accord__item>div:last-child {
    max-height: 0;
    visibility: hidden;
    transition: var(--transitionMain)
}

.accord__item>div:last-child p {
    color: #aaaab4!important;
    text-align: left;
}

/* .accord__item:first-child{
    border-radius: var(--brad) var(--brad) 0 0;
}

.accord__item:last-child{
    border-radius: 0 0 var(--brad) var(--brad);
} */
.show {
    visibility: visible!important
}

.accord__item div + div {
    transition: max-height 0.3s ease;
    overflow: hidden;
    /* padding: 20px; padding будет учтен в scrollHeight */
    box-sizing: border-box; /* важно! */
}

.accord__item div + div p {
    transition: margin-top 0.3s ease;
    visibility: hidden;
    margin: 0;
}

.accord__item div + div.show p {
    visibility: visible;
    opacity: 1;
    padding: 0 1rem;
}

div.show{
    margin-top: 28px;
}

@media (max-width: 768px){
    .accord__item{
        padding: 32px 16px;
    }
}

/* --- footer.css --- */
footer {
    background-color: var(--innerBlackBg);
    position: relative;
}

.footer__top {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
    padding-top: 36px;
    margin-bottom: 29px
}

.footer__top>div:first-child {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px
}

.footer__top>div>ul {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

.footer__top>nav{
    width: 39%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}

.footer__top>div>ul a {
    display: inline-block;
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center
}

.footer__top>div>ul img {
    height: 55%;
    object-fit: contain;
}

.footer__top>nav ul {
    margin-left: auto;
    max-width: 80%;
    display: flex;
    flex-direction: row;
    align-items: left;
    flex-wrap: wrap;
    row-gap: 20px;
    justify-content: left;
    flex-direction: column;
}

.footer__top>nav li a {
    width: max-content;
    text-decoration: none;
    transition: transform 150ms cubic-bezier(0.47, 0, 0.745, 0.715);
}


.footer__top>nav li a:hover{
    color: var(--accentHover);
    scale: 1.04;
}

.footer__bottom {
    padding: 16px 0;
    text-align: center;
    background-color: var(--innerBlackBg);
    border-top: 1px var(--innerBg) solid;
}

.footer__bottom p {
    justify-self: center;
    line-height: 150%;
}

@media (max-width: 768px) {
    .footer__top {
        flex-direction:column-reverse;
        align-items: start;
        gap: 24px
    }

    /* .footer__top>div:first-child>a {
        max-width: 153px
    } */

    /* .footer__top>div>ul {
        display: none
    } */

    @media (max-width: 768px) {
    .footer__top>nav ul {
        margin-left: 0;
        padding-left: 0;
        max-width: 80%;
        align-items: center;
        gap: 24px;
        row-gap: 12px;
        justify-content: center;
        text-align: center;
        list-style: none;
        min-width: fit-content;
        justify-self: center;
    }
}

    .footer__top>nav ul:not(:last-child){
        margin-bottom: 12px;
    }

    .footer__top>nav{
        width: min-content;
        grid-template-columns: 1fr;
        align-self: center;
        white-space: nowrap;
    }

    .footer__top>div>ul a{
        width: 52px;
        height: 52px;
    }
}

@media (max-width: 768px) {
    .footer__top>div:first-child {
        flex-direction: column;
        align-self: center;
    }

    .footer__bottom{
        text-align: center;
    }

    .footer__top>div>ul{
        padding: 0;
    }
}

.logo, .footer__top div:first-child a{
    transition: var(--transitionMain);
    border-radius: var(--brad);
    padding: 2px;
}

.btnContainer:hover, .logo:hover, .footer__top div:first-child a:hover{
    scale: 1.05;
    background: var(--accentHover);
    box-shadow: 0px 0px 12px 5px var(--accentHover);
}
