:root{
--orange:#5aa9e6;        /* 🔵 основен син */
--orange-dark:#3b82c4;  /* 🔵 hover */
--muted:#777;
}


/* GLOBAL FIX */
*,
*::before,
*::after{
box-sizing:border-box;
}


/* NAVBAR */

.navbar{
position:fixed;
position:sticky;
top:0;
background:white;
border-bottom:1px solid #eee;
z-index:10;
}

.nav-inner{
display:flex;
align-items:center;
justify-content:space-between;
height:64px;
}

.logo img{
height:40px;
}

.nav-links{
display:flex;
font-weight:500;
}

.nav-links a{
margin-right:20px;
position:relative;
padding:6px 0;
}

.nav-links a:last-child{
margin-right:0;
}

.nav-links a::after{
content:"";
position:absolute;
left:0;
bottom:-3px;
width:0;
height:2px;
background:var(--orange);
transition:.2s;
}

.nav-links a:hover::after{
width:100%;
}


/* BUTTONS */

.button{
display:inline-block;
padding:10px 20px;
border-radius:8px;
background:var(--orange);
color:white;
font-weight:600;
transition:.2s;
}

.button:hover{
background:var(--orange-dark);
}

.button-outline{
background:white;
color:var(--orange);
border:2px solid var(--orange);
}


/* SECTIONS */

.section{
padding:40px 0;
}

.section-title{
font-size:1.8rem;
margin-bottom:25px;
text-align:center;
}


/* CARDS */

.cards{
display:flex;
flex-wrap:wrap;
gap:20px;
}

.cards .card{
flex:0 0 calc(50% - 10px);
background:white;
border-radius:12px;
overflow:hidden;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
transition:.2s;
}

.cards .card:hover{
transform:translateY(-3px);
box-shadow:0 15px 30px rgba(0,0,0,0.12);
}

/* image */
.card-image{
height:220px;
overflow:hidden;
}

.card-image img{
width:100%;
height:100%;
object-fit:cover;
}

/* text */
.card-body{
padding:16px;
}

.card-title{
font-size:1.05rem;
margin-bottom:6px;
}

.card-text{
color:var(--muted);
font-size:0.9rem;
margin-bottom:12px;
}

.card-meta{
font-size:0.8rem;
color:var(--orange);
font-weight:500;
margin-bottom:6px;
}

/* links */
.card-title a{
color:inherit;
text-decoration:none;
}

.card-title a:hover{
color:var(--orange);
}


/* mobile */
@media (max-width:700px){
.cards .card{
flex:1 1 100%;
}
}


/* BURGER */

.burger{
display:none;
font-size:26px;
cursor:pointer;
}

@media (max-width:900px){

.nav-links{
display:none;
flex-direction:column;
position:absolute;
top:64px;
left:0;
width:100%;
background:white;
padding:15px 0;
border-bottom:1px solid #eee;
}

.nav-links.active{
display:flex;
}

.burger{
display:block;
}

}


/* GALLERY */

.gallery{
display:flex;
flex-wrap:wrap;
margin:-6px;
}

.gallery img{
width:calc(33.333% - 12px);
margin:6px;
height:180px;
object-fit:cover;
border-radius:10px;
cursor:pointer;
transition:0.2s;
}

.gallery img:hover{
transform:scale(1.03);
}


/* LIGHTBOX */

.lightbox{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.8);
display:none;
align-items:center;
justify-content:center;
}

.lightbox img{
max-width:90%;
max-height:90%;
border-radius:10px;
}


/* CONTACT */

.contact-grid{
display:flex;
flex-wrap:wrap;
gap:30px;
}

.contact-grid > *{
flex:1 1 300px;
}

@media (max-width:800px){
.contact-grid{
flex-direction:column;
}
}

.contact-form{
background:white;
padding:20px;
border-radius:12px;
box-shadow:0 8px 20px rgba(0,0,0,0.08);
}

.contact-form form{
display:flex;
flex-direction:column;
gap:10px;
}

.contact-form input,
.contact-form select,
.contact-form textarea{
width:100%;
padding:10px;
border-radius:8px;
border:1px solid #ddd;
font-size:0.95rem;
}

.contact-form textarea{
min-height:100px;
resize:vertical;
}


/* FORM FEEDBACK */

.form-success{
background:#e6f9ec;
color:#1a7f37;
padding:10px;
border-radius:8px;
margin-bottom:10px;
font-size:0.85rem;
}

.form-error{
background:#fdecea;
color:#b42318;
padding:10px;
border-radius:8px;
margin-bottom:10px;
font-size:0.85rem;
}


/* FAQ */

.faq{
max-width:700px;
margin:0 auto;
display:flex;
flex-direction:column;
gap:15px;
}

.faq-item{
background:white;
padding:16px;
border-radius:10px;
box-shadow:0 6px 18px rgba(0,0,0,0.06);
transition:0.2s;
}

.faq-item:hover{
transform:translateY(-2px);
box-shadow:0 10px 25px rgba(0,0,0,0.08);
}

.faq-item h3{
font-size:1rem;
margin-bottom:6px;
}

.faq-item p{
font-size:0.9rem;
color:#777;
}


/* SOCIAL */

.social-links{
display:flex;
gap:12px;
margin-top:8px;
}

.social-links a{
font-size:1rem;
color:var(--orange);
font-weight:500;
transition:0.2s;
}

.social-links a:hover{
opacity:0.7;
}


/* FOOTER CTA */

.footer-cta{
background:#f8fafc;
padding:40px 0;
border-top:1px solid #eee;
}

.footer-cta-inner{
display:flex;
justify-content:space-between;
align-items:center;
gap:20px;
}

.footer-cta h2{
margin-bottom:6px;
font-size:1.4rem;
}

.footer-cta p{
color:#777;
font-size:0.95rem;
}

@media (max-width:800px){
.footer-cta-inner{
flex-direction:column;
text-align:center;
}
}


/* FOOTER */

.footer{
padding:20px 0;
background:white;
border-top:1px solid #eee;
}

.footer-inner{
display:flex;
flex-direction:column;
align-items:center;
gap:8px;
text-align:center;
}

.footer-copy{
font-size:0.85rem;
color:#777;
}

.footer-social{
display:flex;
gap:15px;
}

.footer-social a{
font-size:0.9rem;
color:#777;
transition:0.2s;
text-decoration:none;
}

.footer-social a:hover{
color:var(--orange);
}


/* PAGE IMAGE */

.page-image{
margin-top:20px;
border-radius:12px;
overflow:hidden;
}

.page-image img{
width:100%;
height:300px;
object-fit:cover;
display:block;
}

/* SUCCESS MESSAGE (FIXED VERSION) */

.form-success-box{
max-width:600px;
margin:0 auto;
background:white;
border:1px solid #e5e7eb;
border-radius:12px;
padding:14px 16px;
box-shadow:0 6px 18px rgba(0,0,0,0.06);
}

.form-success-inner{
display:flex;
align-items:center;
gap:12px;
}

.form-success-icon{
width:30px;
height:30px;
border-radius:50%;
background:var(--orange);
color:white;
display:flex;
align-items:center;
justify-content:center;
font-size:14px;
font-weight:bold;
flex-shrink:0;
}

.form-success-box strong{
display:block;
font-size:0.95rem;
margin-bottom:2px;
}

.form-success-box p{
font-size:0.85rem;
color:#666;
margin:0;
}

.cookie-banner{
position:fixed;
bottom:0;
left:0;
width:100%;
background:white;
border-top:1px solid #eee;
padding:12px 20px;
display:flex;
justify-content:space-between;
align-items:center;
z-index:100;
box-shadow:0 -5px 15px rgba(0,0,0,0.05);
}

.cookie-banner p{
margin:0;
font-size:0.85rem;
color:#555;
}