/* ===== Before/After Static Section — Square Photos ===== */
.before-after-static {
    padding: 50px 0;
    background: #fafafa;
}

.ba-static-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 в ряд для десктопа */
    gap: 20px;
    margin-top: 25px;
}

/* ===== Card ===== */
.ba-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.ba-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 35px rgba(101, 154, 64, 0.25);
}

/* ===== Square Image ===== */
.ba-image-wrap {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1; /* КВАДРАТ */
}

.ba-image-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.ba-card:hover .ba-image-wrap img {
    transform: scale(1.08);
}

/* ===== Overlay Badge ===== */
.ba-overlay {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(101, 154, 64, 0.95); /* Ваш цвет #659a40 */
    color: #fff;
    padding: 5px 16px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

/* ===== Content ===== */
.ba-content {
    padding: 14px 16px 16px;
}

.ba-location {
    display: inline-block;
    font-size: 12px;
    color: #659a40;
    margin-bottom: 8px;
    font-weight: 600;
}

.ba-location i {
    margin-right: 5px;
}

.ba-description {
    margin: 0;
    font-size: 13px;
    line-height: 1.5;
    color: #555;
}

/* ===== Tablet ===== */
@media (max-width: 1024px) {
    .ba-static-grid {
        grid-template-columns: repeat(2, 1fr); /* 2 в ряд на планшете */
        gap: 18px;
    }
}

/* ===== Mobile ===== */
@media (max-width: 768px) {
    .before-after-static {
        padding: 35px 0;
    }
    
    .ba-static-grid {
        grid-template-columns: 1fr; /* 1 в ряд на мобильном */
        gap: 20px;
    }
    
    .ba-image-wrap {
        aspect-ratio: 1/1;
    }
    
    .ba-overlay {
        padding: 4px 12px;
        font-size: 10px;
        top: 8px;
    }
    
    .ba-content {
        padding: 12px 14px 14px;
    }
    
    .ba-location {
        font-size: 11px;
    }
    
    .ba-description {
        font-size: 12px;
    }
}

.container {
	max-width: 1800px;
}
.valymo .ccb-field__title {
	font-size: 32px;
	font-weight: 700;
}
.footer .footer-menu {
    justify-content: center;
}

.hakkimizda-bolumu-anasayfa {
        margin-top: 0;
	    padding: 4rem 9rem;
}

li {
    display: list-item;
	  float: none;
}

ul {
    list-style-type: disc !important; /* Стандартная точка */  
    padding-left: 20px !important; /* Место под маркер */
}

.ul ul {
    list-style-type: circle !important; /* Пустой кружок */  
}

.ccb-default-checkbox-image .ccb-checkbox-image {
	width: 30%!important;
	min-height: 0;
}
.komforto label.ccb-checkbox-image {
    width: 100% !important;
}
.daiktu label.ccb-checkbox-image {
    width: 100% !important;
}
.ccb-default-checkbox-image .ccb-checkbox-image__box img {
	width: 100px!important;
}
.ccb-default-checkbox-image .ccb-checkbox-image__box {
	justify-content: center;
}
.ccb-default-checkbox-image {
	gap:3px!important;
}
.ccb-default-radio-image .ccb-radio-image {
	width: 33%!important;
	min-height: 0;
}
.ccb-default-radio-image .ccb-radio-image__box img {
	width: 100px!important;
}
.ccb-default-radio-image .ccb-radio-image__box {
	justify-content: center;
}
.ccb-default-radio-image {
	gap:3px!important;
}

.ccb-default-image-radio-withicon .ccb-radio-image {
	width: 40%;
}

.ccb-default-image-checkbox-withicon .ccb-checkbox-image {
	width: 40%!important;
}
.footer .footer-info a {
	color: #fff!important;
	text-decoration: none;
	font-size: 16px;
}
.tablo .tablo--1-ve-3:nth-child(3n) {
    margin-right: 0 !important;
}
.tablo .tablo--1-ve-3 {
    margin-bottom: 4rem; /* чтобы ряды не слипались */
    float: none !important;
}
.ccb-default-image-radio-withicon .ccb-radio-image__box img {
    width: 50px!important;
    height: 50px!important;
}
.ccb-default-image-checkbox-withicon .ccb-checkbox-image__box img {
    width: 50px!important;
    height: 50px!important;
}
.ccb-page-breaker {
    max-width: 100%!important;
    margin: 0 auto;
    position: relative;
}
.paketler__on--onyazi {
    height: 30rem;
}
.paketler__on--arkayazi {
    height: 30rem;
}
.side-widget .site-menu ul {
	  display:flex;
	  align-content: center;
}
.side-widget .logo {
    margin-bottom: 0;
	text-align: center;
}

.navbar .logo a img {
    height: 50px;
}

.logo img {
    width: 100px;
}

.telh {
    height: 60px;
    line-height: 55px;
    display: inline-block;
    background: #063f84;
    color: #ffffff;
    padding: 0 15px;
	  margin: 0 10px;
    position: relative;
    font-size: 17px;
    font-weight: 600;
    border-radius: 0.3rem;
}
.navbar .hamburger-menu {
    display:none;
}

.firstmenu a {
	font-weight: 900!important;
	font-size: 18px!important;
}
.ccb-default-checkbox-image .ccb-checkbox-image__price, .ccb-default-radio-image .ccb-radio-image__price {
    font-size: 18px !important;
    color: #000 !important;
    font-weight: 600 !important;
    position: relative;
    display: block;
    overflow: hidden; 
    white-space: nowrap;
}
@media only screen and (max-width: 56.25em), only screen and (hover: none) {
	.h1, h1 {
        font-size: 6rem;
    }
	.h2, h2 {
		font-size: 5rem;
	}
	.h3, h3 {
		font-size: 4rem;
	}
    .paketler__on {
        height: auto;
        position: relative;
        box-shadow: none;
    }
	  .navbar .logo {
        margin: 0 auto;
        padding: 0;
		text-align:center;
    }
	  .telh {
	    margin: 0;
		padding: 0 10px;
	  }
	.navbar-expand-md>.container {
        padding-right: 15px;
        padding-left: 15px;
    }
	  .dropdown-menu {
        min-width: max-content;
	    background: #ffffff!important;
    }
	.page-header {
        height: 300px;
    }
	.ccb-default-checkbox-image .ccb-checkbox-image__price, .ccb-default-radio-image .ccb-radio-image__price {
        font-size: 13px !important;
    }
	.ccb-default-checkbox-image .ccb-checkbox-image {
	    width: 48%!important;
    }
    .ccb-default-radio-image .ccb-radio-image {
	    width: 48%!important;
    }
	.navbar .site-menu ul li a {
    font-size: 15px;
    }
}

:root { --main-green: #659a40; }

/* 1. ВИЗУАЛЬНЫЙ БЛОК */
.service-visual-box.photo-mode {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 350px;
}

/* Фотография с эффектом скругления */
.main-photo-wrapper {
    position: relative;
    width: 85%;
    height: 320px;
    border-radius: 30px 100px 30px 100px; /* Асимметричные углы */
    overflow: visible; /* Чтобы иконка вылетала */
    z-index: 2;
}

.service-main-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 30px 100px 30px 100px;
}

/* Парящая иконка поверх фото */
.floating-icon-card {
    position: absolute;
    bottom: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: #fff;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    border: 3px solid var(--main-green);
}

.floating-icon-card img {
    width: 50px;
    height: 50px;
}

/* Цифра-фон */
.service-number-bg {
    position: absolute;
    font-size: 160px;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(101, 154, 64, 0.7);
    top: -20px;
    left: -10px;
    z-index: 10;
}

.order-lg-2 .service-number-bg { left: auto; right: -10px; }
.order-lg-2 .floating-icon-card { right: auto; left: -20px; }

/* 2. ТЕКСТОВЫЕ СТИЛИ */
.service-title-modern { font-size: 36px; font-weight: 800; margin-bottom: 10px; }
.service-short-desc { color: var(--main-green); font-size: 20px; font-weight: 700; margin-bottom: 20px; }
.service-detailed-info { 
    background: #f9f9f9; padding: 25px; border-radius: 20px; 
    border-left: 5px solid var(--main-green); font-size: 16px; line-height: 1.7; 
}

.btn-clean-modern {
    background: var(--main-green); color: #fff !important;
    padding: 16px 40px; border-radius: 50px; font-weight: 700; display: inline-block;
    box-shadow: 0 10px 20px rgba(101, 154, 64, 0.3); text-decoration: none;
}

/* --- PAGRINDINIAI STILIAI --- */
.services-hero { padding: 80px 0 40px; background: #fff; }
.main-services-title { font-size: 42px !important; font-weight: 800; color: #1a1a1a; margin-bottom: 20px; }
.main-services-subtitle { font-size: 20px !important; color: #555; max-width: 800px; margin: 0 auto; line-height: 1.6; }
.title-separator { width: 80px; height: 5px; background: #659a40; margin: 25px auto; border-radius: 10px; }

/* --- KORTELĖS --- */
.paslauga-card {
    background: #fff;
    border-radius: 30px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    border: 1px solid #eee;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.paslauga-card:hover { transform: translateY(-10px); box-shadow: 0 20px 40px rgba(0,0,0,0.08) !important; }

/* Spalvų akcentai */
.eco-service { border-top: 8px solid #659a40; }
.standard-service { border-top: 8px solid #2d5a88; }
.repair-service { border-top: 8px solid #6c757d; }

/* Viršutinė dalis */
.card-top { display: flex; align-items: flex-start; margin-bottom: 30px; }
.paslauga-icon-box { 
    width: 70px; height: 70px; background: #f8f9fa; border-radius: 20px; 
    display: flex; align-items: center; justify-content: center; margin-right: 20px; flex-shrink: 0;
}
.paslauga-icon-box img { width: 40px; height: 40px; object-fit: contain; }

.paslauga-title { font-size: 26px !important; font-weight: 800; color: #111; margin-bottom: 8px; }
.paslauga-intro { font-size: 16px; color: #666; line-height: 1.4; margin: 0; }

/* Turinys / Sąrašas */
.kas-ieina-title { font-size: 18px; font-weight: 700; color: #333; margin-bottom: 15px; text-transform: uppercase; letter-spacing: 0.5px; }

.paslauga-list ul { list-style: none; padding: 0; margin: 0 0 30px 0; }
.paslauga-list ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    font-size: 16px;
    color: #444;
    line-height: 1.5;
}

/* Stilingi taškai/varnelės */
.paslauga-list ul li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #659a40;
    font-weight: 900;
}

/* Mygtukas */
.card-bottom-action { margin-top: auto; text-align: center; }
.btn-uzsakyti {
    display: block;
    background: #659a40;
    color: #fff !important;
    padding: 18px 30px;
    border-radius: 15px;
    font-size: 18px;
    font-weight: 700;
    text-decoration: none !important;
    transition: 0.3s;
    box-shadow: 0 10px 20px rgba(101, 154, 64, 0.2);
}
.btn-uzsakyti:hover { background: #527e34; transform: scale(1.02); }

.small-text-info { font-size: 13px; color: #aaa; margin-top: 12px; text-transform: uppercase; letter-spacing: 1px; }

/* --- MOBILI VERSIJA --- */
@media (max-width: 991px) {
    .services-hero { padding: 50px 0 30px; }
    .main-services-title { font-size: 32px !important; }
    
    .paslauga-card { padding: 30px 20px; }
    .card-top { flex-direction: column; align-items: center; text-align: center; }
    .paslauga-icon-box { margin-right: 0; margin-bottom: 15px; }
    
    .paslauga-title { font-size: 24px !important; }
    .paslauga-list ul li { font-size: 15px; }
    
    .btn-uzsakyti { padding: 20px; font-size: 20px; }
	.services1 {
		padding: 0;
	}
	.service-row-item { margin-bottom: 100px !important; text-align: center !important; }
    
    .main-photo-wrapper {
        width: 100%;
        height: 250px;
        border-radius: 20px 60px;
    }

    .service-number-bg {
        font-size: 100px !important;
        top: -40px;
        left: 50% !important;
        transform: translateX(-50%);
        -webkit-text-stroke: 1px rgba(101, 154, 64, 0.2);
    }

    .floating-icon-card {
        width: 80px;
        height: 80px;
        bottom: -15px;
        right: 10px !important;
        left: auto !important;
        border-radius: 20px;
    }

    .floating-icon-card img { width: 40px; }
    .service-title-modern { font-size: 28px !important; }
    .service-detailed-info { text-align: left; margin: 0 15px; }
    .btn-clean-modern { width: 90%; }
	.iletisim-form-alani {
        padding: 0;
    }
	.navbar .hamburger-menu {
		display:block;
        margin-left: 0;
        margin-right: 0;
    }
	.col-lg-2.offset-xl-1.col-sm-6.wow.fadeInUp.animated.animated {
        display: none;
    }
	.col-lg-2.col-sm-6.wow.fadeInUp.animated.animated {
		display: none;
	}
	.col-lg-4.wow.fadeInUp {
		display: none;
	}
	.hakkimizda-bolumu-anasayfa {
        padding: 1rem 2rem;
    }
}