*{
margin:0;
padding:0;
box-sizing:border-box;
}

body{
font-family:'Inter',sans-serif;
background:#f5f7fb;
color:#1e293b;
}


.header{
display:flex;
justify-content:space-between;
padding:20px 80px;
background:white;
box-shadow:0 5px 15px rgba(0,0,0,0.05);
position:sticky;
top:0;
}

nav a{
margin-left:30px;
text-decoration:none;
color:#334155;
}


.hero{
display:flex;
align-items:center;
justify-content:space-between;
padding:80px;
}

.hero-image img{
width:420px;
border-radius:20px;
box-shadow:0 20px 40px rgba(0,0,0,0.15);
}

.btn{
background:#2563eb;
color:white;
padding:14px 30px;
border:none;
border-radius:10px;
margin-top:20px;
cursor:pointer;
}

.hero-stats{
display:flex;
gap:30px;
margin-top:30px;
}


.services{
padding:80px;
text-align:center;
}

.services-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-top:40px;
}

.service{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 10px 20px rgba(0,0,0,0.05);
}


.doctors{
padding:80px;
text-align:center;
}

.doctors-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:25px;
margin-top:40px;
}

.doctor img{
width:100%;
border-radius:14px;
}


.before-section{
padding:80px;
text-align:center;
}

.before-after{
position:relative;
max-width:480px;
margin:40px auto;
overflow:hidden;
border-radius:16px;
}

.before-after img{
width:100%;
display:block;
}

.after{
position:relative;
}

.before-wrapper{
position:absolute;
top:0;
left:0;
width:50%;
height:100%;
overflow:hidden;
}

.before-wrapper img{
width:480px;
}

.slider{
width:100%;
margin-top:20px;
}


.gallery{
padding:80px;
text-align:center;
}

.gallery-grid{
display:grid;
grid-template-columns:repeat(4,1fr);
gap:20px;
margin-top:40px;
}

.gallery-grid img{
width:100%;
border-radius:10px;
}


.reviews{
padding:80px;
text-align:center;
}

.reviews-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:25px;
margin-top:40px;
}

.review{
background:white;
padding:25px;
border-radius:12px;
box-shadow:0 10px 20px rgba(0,0,0,0.05);
}


.map{
padding:80px;
text-align:center;
}

.map iframe{
width:100%;
height:350px;
border:none;
border-radius:12px;
margin-top:30px;
}


.footer{
background:#0f172a;
color:white;
padding:60px;
}

.footer-grid{
display:grid;
grid-template-columns:repeat(3,1fr);
gap:40px;
}

.copy{
text-align:center;
margin-top:40px;
color:#94a3b8;
}


.whatsapp{
position:fixed;
bottom:25px;
right:25px;
background:#25D366;
width:60px;
height:60px;
display:flex;
align-items:center;
justify-content:center;
border-radius:50%;
color:white;
font-size:28px;
text-decoration:none;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
}
.hero{
display:flex;
align-items:center;
justify-content:space-between;
padding:100px 80px;
background:linear-gradient(135deg,#f8fbff,#eaf2ff);
position:relative;
overflow:hidden;
}

.hero::before{
content:"";
position:absolute;
width:500px;
height:500px;
background:#3b82f6;
opacity:0.08;
border-radius:50%;
top:-200px;
left:-150px;
}

.hero-image img{
width:420px;
border-radius:20px;
box-shadow:0 30px 60px rgba(0,0,0,0.15);
}
.service{
background:white;
padding:30px;
border-radius:16px;
box-shadow:0 10px 25px rgba(0,0,0,0.05);
transition:0.3s;
}

.service:hover{
transform:translateY(-8px);
box-shadow:0 20px 40px rgba(0,0,0,0.1);
}

.icon{
font-size:32px;
margin-bottom:10px;
}
.review{
background:white;
padding:30px;
border-radius:18px;
box-shadow:0 15px 35px rgba(0,0,0,0.06);
text-align:left;
}

.stars{
color:#fbbf24;
font-size:20px;
margin-bottom:10px;
}

.review-user{
display:flex;
align-items:center;
gap:10px;
margin-top:15px;
}

.review-user img{
width:40px;
height:40px;
border-radius:50%;
}
.reveal{
opacity:0;
transform:translateY(40px);
transition:1s;
}

.reveal.active{
opacity:1;
transform:translateY(0);
}
.doctor{
transition:0.4s;
}

.doctor:hover{
transform:translateY(-10px);
}
.whatsapp{
position:fixed;
bottom:25px;
right:25px;
width:60px;
height:60px;
background:#25D366;
border-radius:50%;
display:flex;
align-items:center;
justify-content:center;
box-shadow:0 10px 25px rgba(0,0,0,0.2);
z-index:999;
}

.whatsapp img{
width:32px;
}
.modal{
display:none;
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.5);
align-items:center;
justify-content:center;
z-index:1000;
}

.modal-content{
background:white;
padding:40px;
border-radius:16px;
width:400px;
max-width:90%;
}

.modal-content input,
.modal-content textarea{
width:100%;
padding:12px;
margin-top:10px;
border-radius:8px;
border:1px solid #ddd;
}

.modal-content button{
margin-top:20px;
background:#2563eb;
color:white;
border:none;
padding:12px;
border-radius:8px;
width:100%;
}

.close{
float:right;
font-size:24px;
cursor:pointer;
}
@media (max-width:900px){

.hero{
flex-direction:column;
text-align:center;
}

.hero-image img{
width:300px;
margin-top:30px;
}

.services-grid{
grid-template-columns:1fr 1fr;
}

.doctors-grid{
grid-template-columns:1fr 1fr;
}

.gallery-grid{
grid-template-columns:1fr 1fr;
}

.reviews-grid{
grid-template-columns:1fr;
}

.footer-grid{
grid-template-columns:1fr;
}

}
@media (max-width: 768px){

/* HEADER */

.header{
flex-direction:column;
padding:15px;
gap:10px;
}

nav{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:10px;
}

nav a{
margin:0;
font-size:14px;
}


/* HERO */

.hero{
flex-direction:column;
padding:40px 20px;
text-align:center;
}

.hero-text{
max-width:100%;
}

.hero h1{
font-size:32px;
}

.hero-image img{
width:100%;
max-width:320px;
margin-top:30px;
}


/* STATS */

.hero-stats{
justify-content:center;
gap:25px;
}


/* SERVICES */

.services{
padding:50px 20px;
}

.services-grid{
grid-template-columns:1fr 1fr;
gap:15px;
}


/* DOCTORS */

.doctors{
padding:50px 20px;
}

.doctors-grid{
grid-template-columns:1fr 1fr;
gap:15px;
}


/* BEFORE AFTER */

@media (max-width:768px){

.before-after{
width:100%;
max-width:320px;
margin:30px auto;
}

.before-after img{
width:100%;
height:auto;
}

.before-wrapper img{
width:100%;
height:auto;
object-fit:cover;
}
.before-wrapper{
height:100%;
}

.slider{
width:100%;
margin-top:10px;
}

}

/* GALLERY */

.gallery{
padding:50px 20px;
}

.gallery-grid{
grid-template-columns:1fr 1fr;
gap:10px;
}


/* REVIEWS */

.reviews{
padding:50px 20px;
}

.reviews-grid{
grid-template-columns:1fr;
}


/* MAP */

.map{
padding:50px 20px;
}

.map iframe{
height:250px;
}


/* FOOTER */

.footer{
padding:40px 20px;
}

.footer-grid{
grid-template-columns:1fr;
gap:20px;
}


/* WHATSAPP */

.whatsapp{
width:55px;
height:55px;
bottom:20px;
right:20px;
}

}
/* Скрыть блок "До и После" на телефонах */
@media (max-width: 768px) {
  .before-after {
    display: none;
  }
}
