*{
margin:0;
padding:0;
box-sizing:border-box;
}

html{
scroll-behavior:smooth;
}

body{
font-family:'Nunito',sans-serif;
background:#FFFBFD;
color:#444;
line-height:1.6;
overflow-x:hidden;
}

img{
max-width:100%;
display:block;
}

a{
text-decoration:none;
color:inherit;
}

ul{
list-style:none;
}

.container{
width:min(1280px,92%);
margin:auto;
}

section{
padding:80px 0;
}

h1,h2,h3,h4{
color:#444;
font-weight:800;
}

h2{
font-size:42px;
text-align:center;
margin-bottom:20px;
}

.header{
    position: sticky;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: linear-gradient(
        to bottom,
        #F10468 0%,
        #EE0467 50%,
        #EC0367 100%
    );
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.logo{
display:flex;
align-items:center;
}

.logo img{
height:100px;
width:auto;
display:block;
}

@media (max-width:768px){

.logo img{
    height:56px;
    width:auto;
    margin:0 auto;
}

}

.menu ul{
display:flex;
gap:28px;
align-items:center;
}



.menu a{
color:#fff;
font-weight:800;
font-size:19px;
transition:.3s;
position:relative;
}

.menu a:hover{
opacity:.8;
}

.menu a::after{
content:"";
position:absolute;
left:0;
bottom:-6px;
width:0;
height:2px;
background:#fff;
transition:.3s;
}

.menu a:hover::after{
width:100%;
}

.hero{
padding:90px 0;
background:linear-gradient(180deg,#FFF6FA 0%,#FFFFFF 100%);
}

.hero-content{
display:grid;
grid-template-columns:1fr 1fr;
align-items:center;
gap:70px;
}

.hero-label{
display:inline-block;
padding:10px 18px;
background:#fff;
border-radius:40px;
font-weight:800;
color:#F70365;
margin-bottom:25px;
box-shadow:0 10px 25px rgba(255,91,167,.15);
}

.hero h1{
font-size:56px;
line-height:1.1;
margin-bottom:25px;
}

.hero p{
font-size:20px;
margin-bottom:35px;
}

.hero-buttons{
display:flex;
gap:18px;
flex-wrap:wrap;
}
.btn{
display:inline-flex;
align-items:center;
justify-content:center;
padding:18px 34px;
border:none;
border-radius:50px;
background:#F70365;
color:#fff;
font-size:18px;
font-weight:800;
cursor:pointer;
transition:.3s;
box-shadow:0 10px 22px rgba(247,3,101,.22);
}

.btn:hover{
transform:translateY(-4px);
box-shadow:0 20px 40px rgba(255,91,167,.35);
}

.btn-light{
background:#fff;
color:#F70365;
border:2px solid #F70365;
}

.btn-light:hover{
background:#F70365;
color:#fff;
}

.hero-image{
display:flex;
justify-content:center;
align-items:center;
}

.hero-image img{
max-width:520px;
filter:drop-shadow(0 25px 40px rgba(0,0,0,.18));
transition:.4s;
}

.hero-image img:hover{
transform:scale(1.03);
}

.trust{
padding:50px 0;
}

.trust h2{
font-size:30px;
margin-bottom:35px;
}

.trust-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
}

.trust-card{
background:#fff;
padding:28px;
border-radius:22px;
text-align:center;
font-size:20px;
font-weight:800;
box-shadow:0 15px 35px rgba(0,0,0,.07);
transition:.3s;
}

.trust-card:hover{
transform:translateY(-6px);
}

.advantages{
background:#fff;
}

.advantages-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:28px;
margin-top:50px;
}

.advantage-card{
background:#FFFBFD;
padding:35px;
border-radius:25px;
text-align:center;
transition:.3s;
box-shadow:0 15px 35px rgba(255,91,167,.08);
}

.advantage-card:hover{
transform:translateY(-8px);
}

.icon{
font-size:46px;
margin-bottom:18px;
}

.advantage-card h3{
margin-bottom:15px;
font-size:24px;
}

.advantage-card p{
font-size:20px;
color:#666;
}
.catalog{
background:#fff;
}

.catalog h2{
margin-bottom:10px;
}

.catalog-subtitle{
text-align:center;
font-size:20px;
color:#777;
margin-bottom:60px;
}

.catalog-section{
margin-bottom:120px;
}

/* ---------- Заголовки категорий ---------- */

.section-title{
    display:flex;
    justify-content:center;
    margin-bottom:45px;
}

.section-title h3{

    position:relative;

    padding-bottom:18px;

    font-size:38px;

    font-weight:800;

    color:#444;

    letter-spacing:-0.02em;

    line-height:1.1;

}

.section-title h3::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    transform:translateX(-50%);

    width:90px;

    height:5px;

    border-radius:50px;

    background:linear-gradient(
        90deg,
        #ffd3e4,
        #f70365,
        #ffd3e4
    );

    box-shadow:0 4px 12px rgba(247,3,101,.25);

}
.section-title h3:hover{

    transform:translateY(-2px);

    box-shadow:
        0 18px 40px rgba(247,3,101,.12),
        inset 0 1px 0 rgba(255,255,255,1);

}
.books-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:30px;
}

.book-card{
background:#fff;
border:1px solid #F6E6ED;
border-radius:32px;
overflow:hidden;
box-shadow:0 12px 28px rgba(0,0,0,.06);
display:flex;
flex-direction:column;
height:100%;
transition:.35s;
display:flex;
flex-direction:column;
min-height:820px;
}

.book-card:hover{
transform:translateY(-10px);
box-shadow:0 25px 45px rgba(255,91,167,.18);
}

.book-card img{
width:100%;
aspect-ratio:3/4;
object-fit:cover;
background:#ffe7f3;
}
.book-content{
display:flex;
flex-direction:column;
padding:22px;
flex:1;
}
.book-card h4{
font-size:24px;
text-align:center;
line-height:1.35;
height:130px;
display:flex;
align-items:center;
justify-content:center;
margin-bottom:18px;
}

.book-text{
text-align:center;
font-weight:700;
color:#666;
line-height:1.6;

min-height:170px;
display:flex;
align-items:flex-start;
justify-content:center;
}

.book-bottom{
display:flex;
flex-direction:column;
align-items:center;
gap:8px;
margin:20px 22px 22px;
width:calc(100% - 44px);
padding-top:18px;
border-top:1px solid #F3EEF1;
margin-top:auto;
}
.book-bottom span{
display:block;
width:100%;
text-align:center;
}
.book-bottom span:first-child{
font-size:22px;
font-weight:900;
color:#444;
}
.book-bottom span:last-child{
font-size:15px;
font-weight:700;
color:#888;
}

.book-btn{
width:calc(100% - 24px);
height:62px;
margin:24px 22px 22px;
border:none;
border-radius:40px;
background:#F70365;
color:#fff;
font-size:20px;
font-weight:800;
cursor:pointer;
transition:.3s;
}


.book-btn:hover{
background:#D90058;
transform:translateY(-3px);
}

.custom-book{
border:3px dashed #ff8dc2;
background:#fff7fb;
}

.custom-cover{
height:420px;
display:flex;
align-items:center;
justify-content:center;
font-size:80px;
background:linear-gradient(180deg,#FFE0EE,#fff);
color:#F70365;
}
.how-it-works{
background:#FFFBFD;
}

.steps{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:30px;
margin-top:50px;
}

.step{
background:#fff;
padding:35px;
border-radius:25px;
text-align:center;
box-shadow:0 12px 28px rgba(0,0,0,.06);
transition:.3s;
}

.step:hover{
transform:translateY(-8px);
}

.step-number{
width:70px;
height:70px;
margin:0 auto 20px;
border-radius:50%;
background:#F70365;
color:#fff;
display:flex;
align-items:center;
justify-content:center;
font-size:28px;
font-weight:900;
}

.step h3{
margin-bottom:15px;
font-size:22px;
line-height:1.35;
}

.step p{
color:#666;
font-size:20px;
}

.faq{
background:#fff;
}

.faq-list{
max-width:950px;
margin:50px auto 0;
}

.faq-item{
background:#FFFBFD;
border-radius:22px;
margin-bottom:18px;
overflow:hidden;
box-shadow:0 10px 30px rgba(0,0,0,.06);
}

.faq-question{
width:100%;
padding:24px 28px;
display:flex;
justify-content:space-between;
align-items:center;
border:none;
background:none;
cursor:pointer;
font-size:20px;
font-weight:800;
text-align:left;
}

.faq-question span{
font-size:32px;
color:#F70365;
}

.faq-answer{
max-height:0;
overflow:hidden;
transition:.35s;
}

.faq-answer p{
padding:0 28px 28px;
color:#666;
line-height:1.7;
}

.delivery{
background:#FFFBFD;
}

.delivery-card{
max-width:700px;
margin:50px auto 0;
background:#fff;
padding:45px;
border-radius:28px;
text-align:center;
box-shadow:0 12px 28px rgba(0,0,0,.06);
}

.delivery-icon{
font-size:64px;
margin-bottom:20px;
}

.delivery-card h3{
margin-bottom:15px;
font-size:30px;
}

.delivery-card p{
font-size:18px;
color:#666;
}
.contacts{
background:#fff;
}

.contacts-grid{
display:grid;
grid-template-columns:repeat(3, minmax(220px, 260px));
justify-content:center;
gap:40px;
margin-top:60px;
}

.contact-card{
width:100%;
max-width:260px;
background:#fff;
padding:50px 35px;
border-radius:38px;
text-align:center;
box-shadow:0 18px 40px rgba(0,0,0,.06);
transition:.3s;
}

.contact-card:hover{
transform:translateY(-8px);
}

.contact-icon{
font-size:50px;
margin-bottom:20px;
}

.contact-card h3{
font-size:28px;
margin-bottom:18px;
}

.contact-card p,
.contact-card a{
font-size:20px;
line-height:1.5;
color:#666;
font-weight:700;
word-break:normal;
overflow-wrap:anywhere;
}

.contact-card a:hover{
color:#F70365;
}

.footer {
    background: linear-gradient(
        to bottom,
        #F10468 0%,
        #EE0467 50%,
        #EC0367 100%
    );
}

.footer-logo{
height:95px;
margin:0 auto 18px;
}

.modal{
position:fixed;
inset:0;
background:rgba(0,0,0,.6);
display:none;
align-items:center;
justify-content:center;
padding:20px;
z-index:9999;
}

.modal.active{
display:flex;
}

.modal-content{
background:#fff;
width:100%;
max-width:480px;
padding:40px;
border-radius:30px;
position:relative;
text-align:center;
animation:popup .3s ease;
}

@keyframes popup{

from{
opacity:0;
transform:scale(.9);
}

to{
opacity:1;
transform:scale(1);
}

}

.close-modal{
position:absolute;
right:18px;
top:15px;
background:none;
border:none;
font-size:34px;
cursor:pointer;
color:#999;
}

.modal-buttons{
display:flex;
flex-direction:column;
gap:15px;
margin-top:30px;
}

.modal-buttons .btn{
width:100%;
}
.hidden{
opacity:0;
transform:translateY(35px);
transition:.7s;
}

.show{
opacity:1;
transform:none;
}

@media(max-width:1100px){

.books-grid,
.advantages-grid,
.steps,
.contacts-grid{
grid-template-columns:repeat(2,1fr);
}

.hero-content{
grid-template-columns:1fr;
text-align:center;
}

.hero-buttons{
justify-content:center;
}

.hero-image{
margin-top:20px;
}

}

@media(max-width:768px){

section{
padding:60px 0;
}

.header{
    background: linear-gradient(
        to bottom,
        #F10468 0%,
        #EE0467 50%,
        #EC0367 100%
    );
}
.menu ul{
flex-wrap:wrap;
justify-content:center;
gap:15px;
}

h2{
font-size:32px;
}

.hero h1{
font-size:40px;
}

.hero p{
font-size:18px;
}

.books-grid,
.advantages-grid,
.steps,
.contacts-grid,
.trust-grid{
grid-template-columns:1fr;
}

.book-card h4{
font-size:22px;
min-height:auto;
}

.custom-cover{
height:360px;
}

.btn,
.book-btn{
width:100%;
}

.modal-content{
padding:30px 20px;
}

}
.book-btn-wrap{
margin-top:auto;
}
/*=========================
        ОТЗЫВЫ
=========================*/

.reviews{
    background:#faf6f8;
    padding:110px 0;
    overflow:hidden;
}

.reviews .hero-label{
    display:table;
    margin:0 auto 18px;
}

.reviews h2{
    text-align:center;
    margin-bottom:18px;
}

.reviews .catalog-subtitle{
    max-width:700px;
    margin:0 auto;
    text-align:center;
    color:#777;
    line-height:1.7;
}

.reviews-slider{
    position:relative;
    overflow:hidden;
    margin-top:60px;
    padding:20px 0;
}

.reviews-slider::before,
.reviews-slider::after{
    content:"";
    position:absolute;
    top:0;
    width:160px;
    height:100%;
    z-index:5;
    pointer-events:none;
}

.reviews-slider::before{
    left:0;
    background:linear-gradient(to right,#faf6f8,transparent);
}

.reviews-slider::after{
    right:0;
    background:linear-gradient(to left,#faf6f8,transparent);
}

.reviews-track{
    display:flex;
    gap:28px;
    width:max-content;
    animation:reviewsMove 55s linear infinite;
}

.reviews-track:hover{
    animation-play-state:paused;
}

.review-card{
    flex:0 0 320px;
    transition:.35s;
}

.review-card:hover{
    transform:translateY(-10px);
}

.review-card img{
    width:100%;
    display:block;
    border-radius:26px;
    box-shadow:0 18px 45px rgba(0,0,0,.10);
}

@keyframes reviewsMove{

    from{
        transform:translateX(0);
    }

    to{
        transform:translateX(-50%);
    }

}

@media(max-width:768px){

.review-card{

flex:0 0 260px;

}

}
.review-card:nth-child(even){
    margin-top:30px;
}
/* ---------- Категории каталога ---------- */

.category-title{

    display:table;

    margin:0 auto 40px;

    padding-bottom:16px;

    font-size:38px;

    font-weight:800;

    color:#444;

    letter-spacing:-0.02em;

    position:relative;

    line-height:1.1;

}

.category-title::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    transform:translateX(-50%);

    width:90px;

    height:5px;

    border-radius:50px;

    background:linear-gradient(
        90deg,
        #ffd3e4,
        #f70365,
        #ffd3e4
    );

    box-shadow:0 4px 12px rgba(247,3,101,.25);

}
/* ===========================
   Красивые заголовки категорий
=========================== */

.category-title{

    display:table;

    margin:0 auto 45px;

    font-size:40px;

    font-weight:900;

    color:#3f3f3f;

    letter-spacing:-0.03em;

    line-height:1.15;

    position:relative;

    padding-bottom:18px;

}

.category-title::after{

    content:"";

    position:absolute;

    left:50%;

    bottom:0;

    transform:translateX(-50%);

    width:95px;

    height:6px;

    border-radius:999px;

    background:linear-gradient(
        90deg,
        #ffd4e5,
        #f70365,
        #ffd4e5
    );

    box-shadow:0 8px 18px rgba(247,3,101,.22);

}

.category-title::before{

    content:"";

    position:absolute;

    left:50%;

    top:-16px;

    transform:translateX(-50%);

    width:36px;

    height:4px;

    border-radius:999px;

    background:#ffd4e5;

}
@media (max-width:768px){

.header{
    background: linear-gradient(
        to bottom,
        #F10468 0%,
        #EE0467 50%,
        #EC0367 100%
    );
}
/* ===== Мобильная шапка ===== */

@media (max-width:768px){

.header{
    background: linear-gradient(
        to bottom,
        #F10468 0%,
        #EE0467 50%,
        #EC0367 100%
    );
}