/* ===== ПЕРЕОПРЕДЕЛЕНИЕ СТИЛЕЙ ДЛЯ СТРАНИЦЫ "О НАС" ===== */

@import url('https://fonts.googleapis.com/css2?family=Marmelad&display=swap');

.marmelad-regular {
  font-family: "Marmelad", sans-serif !important;
  font-weight: 400;
  font-style: normal;
}

  
/* Общие переопределения */
body {
	font-family: 'Marmelad', sans-serif !important;
	color: #4a4a4a !important;
	background-color: #fffaf5 !important;
}

h1, h2, h3, h4, h5, h6 {
	font-family: 'Marmelad', serif !important;
	color: #5a4a3a !important;
}

p {
	font-family: 'Marmelad', sans-serif !important;
	color: #6a5a4a !important;
	line-height: 1.8 !important;
}

.section-title {
	margin-bottom: 45px !important;
}

.section-title h2 {
	font-family: 'Marmelad', serif !important;
	font-size: 42px !important;
	color: #5a4a3a !important;
	margin-top: 15px !important;
	position: relative !important;
}

.section-title h2:after {
	content: '' !important;
	position: absolute !important;
	bottom: -15px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: 60px !important;
	height: 2px !important;
	background: #b2967c !important;
}

.section-title p {
	color: #7a6a5a !important;
	font-size: 16px !important;
	max-width: 700px !important;
	margin: 20px auto 0 !important;
}

.normal-title h2:after {
	display: none !important;
}

/* Breadcrumb Section */
.breadcrumb-option {
	padding-top: 200px !important;
	padding-bottom: 150px !important;
	margin-top: 0 !important;
	position: relative !important;
}

.breadcrumb-option:before {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	bottom: 0 !important;
	background: linear-gradient(135deg, rgba(255, 250, 245, 0.2) 0%, rgba(178, 150, 124, 0.4) 100%) !important;
}

.breadcrumb__text h2 {
	font-size: 56px !important;
	color: #ffffff !important;
	text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1) !important;
	position: relative !important;
	z-index: 2 !important;
}

.breadcrumb__widget a,
.breadcrumb__widget span {
	color: #ffffff !important;
	font-size: 16px !important;
	font-weight: 500 !important;
	text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1) !important;
	position: relative !important;
	z-index: 2 !important;
}

.breadcrumb__widget a:after {
	color: #ffffff !important;
}

/* About Services (Features) */
.about__services {
	margin-bottom: 60px !important;
}

.about__services .services__item {
	background: #ffffff !important;
	border-radius: 20px !important;
	padding: 40px 25px !important;
	box-shadow: 0 10px 30px rgba(178, 150, 124, 0.1) !important;
	transition: all 0.3s ease !important;
	text-align: center !important;
	margin-bottom: 30px !important;
	position: relative !important;
	overflow: hidden !important;
}

.about__services .services__item:before {
	content: '' !important;
	position: absolute !important;
	top: 0 !important;
	left: 0 !important;
	right: 0 !important;
	height: 4px !important;
	background: linear-gradient(90deg, #b2967c, #d4b89c) !important;
	transform: scaleX(0) !important;
	transition: transform 0.3s ease !important;
}

.about__services .services__item:hover {
	transform: translateY(-10px) !important;
	box-shadow: 0 20px 40px rgba(178, 150, 124, 0.2) !important;
}

.about__services .services__item:hover:before {
	transform: scaleX(1) !important;
}

.about__services .services__item img {
	max-height: 70px !important;
	margin-bottom: 25px !important;
	transition: transform 0.3s ease !important;
}

.about__services .services__item:hover img {
	transform: scale(1.1) !important;
}

.about__services .services__item h5 {
	font-family: 'Marmelad', serif !important;
	font-size: 24px !important;
	color: #5a4a3a !important;
	margin-bottom: 15px !important;
}

.about__services .services__item p {
	font-size: 14px !important;
	color: #7a6a5a !important;
	margin-bottom: 0 !important;
}

/* About Main Section */
.about {
	position: relative !important;
	overflow: visible !important;
	padding-bottom: 100px !important;
}

.about:before,
.about:after {
	display: none !important;
}

.about__pic {
	border-radius: 20px !important;
	overflow: hidden !important;
	box-shadow: 0 20px 30px rgba(178, 150, 124, 0.2) !important;
	transition: transform 0.3s ease !important;
}

.about__pic:hover {
	transform: scale(1.02) !important;
}

.about__pic img {
	width: 100% !important;
	height: auto !important;
	display: block !important;
}

.about__text {
	padding-left: 50px !important;
}

.about__text .section-title {
	text-align: left !important;
	margin-bottom: 40px !important;
}

.about__text .section-title h2:after {
	left: 0 !important;
	transform: none !important;
}

.about__text .section-title p {
	margin-left: 0 !important;
	margin-right: 0 !important;
}

/* Progress Bars - Статические */
.about__bar {
	margin-top: 30px !important;
}

.about__bar__item {
	margin-bottom: 30px !important;
}

.about__bar__item p {
	font-weight: 500 !important;
	color: #5a4a3a !important;
	margin-bottom: 10px !important;
	display: flex !important;
	justify-content: space-between !important;
}

.about__bar__item p span {
	color: #b2967c !important;
	font-weight: 600 !important;
}

.progress-bar-wrapper {
	background: rgba(178, 150, 124, 0.1) !important;
	height: 10px !important;
	border-radius: 50px !important;
	position: relative !important;
	width: 100% !important;
}

.progress-bar-fill {
	background: #b2967c !important;
	border-radius: 50px !important;
	height: 100% !important;
	width: 0%;
	position: relative !important;
}

.progress-bar-fill[data-width="82"] { width: 82% !important; }
.progress-bar-fill[data-width="73"] { width: 73% !important; }
.progress-bar-fill[data-width="86"] { width: 86% !important; }

.progress-tip {
	background: #b2967c !important;
	color: #ffffff !important;
	font-size: 12px !important;
	padding: 4px 12px !important;
	border-radius: 20px !important;
	position: absolute !important;
	right: -20px !important;
	top: -30px !important;
	white-space: nowrap !important;
}

.progress-tip:after {
	content: '' !important;
	position: absolute !important;
	bottom: -5px !important;
	left: 50% !important;
	transform: translateX(-50%) !important;
	border-left: 5px solid transparent !important;
	border-right: 5px solid transparent !important;
	border-top: 5px solid #b2967c !important;
}

/* Team Section - Центрированные фото */
.team {
	background: #f5f0e8 !important;
	padding-top: 80px !important;
	padding-bottom: 80px !important;
	margin-top: 0 !important;
}

.team .section-title {
	margin-bottom: 50px !important;
}

.team__item {
	background: #ffffff !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	box-shadow: 0 10px 30px rgba(178, 150, 124, 0.1) !important;
	transition: all 0.3s ease !important;
	padding: 40px 25px 30px !important;
	position: relative !important;
	display: flex !important;
	flex-direction: column !important;
	align-items: center !important;
	text-align: center !important;
	margin-bottom: 30px !important;
}

.team__item:hover {
	transform: translateY(-10px) !important;
	box-shadow: 0 20px 40px rgba(178, 150, 124, 0.2) !important;
}

.team__item__pic {
	position: relative !important;
	right: auto !important;
	bottom: auto !important;
	margin-bottom: 25px !important;
	width: 180px !important;
	height: 180px !important;
	border-radius: 50% !important;
	overflow: hidden !important;
	box-shadow: 0 15px 25px rgba(178, 150, 124, 0.3) !important;
	border: 4px solid #ffffff !important;
	transition: all 0.3s ease !important;
}

.team__item:hover .team__item__pic {
	transform: scale(1.05) !important;
	box-shadow: 0 20px 30px rgba(178, 150, 124, 0.4) !important;
}

.team__item__pic img {
	width: 100% !important;
	height: 100% !important;
	object-fit: cover !important;
	transition: transform 0.5s ease !important;
}

.team__item:hover .team__item__pic img {
	transform: scale(1.1) !important;
}

.team__item__text {
	width: 100% !important;
}

.team__item__title {
	margin-bottom: 15px !important;
}

.team__item__title h4 {
	font-family: 'Marmelad', serif !important;
	font-size: 26px !important;
	color: #5a4a3a !important;
	margin-bottom: 5px !important;
	font-weight: 600 !important;
}

.team__item__title span {
	font-size: 15px !important;
	color: #b2967c !important;
	font-weight: 500 !important;
	letter-spacing: 0.5px !important;
}

.team__item__text p {
	font-size: 14px !important;
	color: #7a6a5a !important;
	line-height: 1.6 !important;
	margin-bottom: 20px !important;
	max-width: 250px !important;
	margin-left: auto !important;
	margin-right: auto !important;
}

.team__item__social {
	display: flex !important;
	justify-content: center !important;
	gap: 15px !important;
}

.team__item__social a {
	color: #b2967c !important;
	font-size: 18px !important;
	width: 40px !important;
	height: 40px !important;
	border-radius: 50% !important;
	background: rgba(178, 150, 124, 0.1) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	transition: all 0.3s ease !important;
	text-decoration: none !important;
}

.team__item__social a:hover {
	background: #b2967c !important;
	color: #ffffff !important;
	transform: translateY(-3px) !important;
}

/* Classes Section (What We Offer) */
.upcoming-classes {
	background: #ffffff !important;
	padding-top: 80px !important;
	padding-bottom: 80px !important;
}

.classes__item {
	background: #ffffff !important;
	border-radius: 20px !important;
	overflow: hidden !important;
	box-shadow: 0 10px 30px rgba(178, 150, 124, 0.1) !important;
	transition: all 0.3s ease !important;
	margin-bottom: 30px !important;
}

.classes__item:hover {
	transform: translateY(-10px) !important;
	box-shadow: 0 20px 40px rgba(178, 150, 124, 0.2) !important;
}

.classes__item__pic {
	height: 250px !important;
	position: relative !important;
}

.classes__item__pic span {
	background: #b2967c !important;
	color: #ffffff !important;
	padding: 8px 25px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	border-radius: 0 20px 20px 0 !important;
	left: 0 !important;
	top: 20px !important;
}

.classes__item__text {
	padding: 30px !important;
}

.classes__item__text p {
	color: #b2967c !important;
	font-size: 14px !important;
	margin-bottom: 15px !important;
}

.classes__item__text h4 {
	margin-bottom: 20px !important;
}

.classes__item__text h4 a {
	font-family: 'Marmelad', serif !important;
	font-size: 24px !important;
	color: #5a4a3a !important;
	text-decoration: none !important;
	transition: color 0.3s ease !important;
}

.classes__item__text h4 a:hover {
	color: #b2967c !important;
}

.classes__item__text h6 {
	font-size: 16px !important;
	color: #7a6a5a !important;
	margin-bottom: 25px !important;
}

.classes__item__text h6 span {
	color: #b2967c !important;
	font-size: 14px !important;
}

.class-btn {
	background: transparent !important;
	border: 1.5px solid #b2967c !important;
	color: #5a4a3a !important;
	padding: 10px 25px !important;
	border-radius: 30px !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	text-decoration: none !important;
	transition: all 0.3s ease !important;
	display: inline-block !important;
}

.class-btn:hover {
	background: #b2967c !important;
	color: #ffffff !important;
}

/* Counter Section */
.counter {
	padding-top: 0 !important;
	padding-bottom: 100px !important;
	background: #fffaf5 !important;
}

.counter__text {
	background: linear-gradient(135deg, #b2967c 0%, #c4aa92 100%) !important;
	padding: 60px 40px !important;
	border-radius: 30px !important;
	box-shadow: 0 20px 40px rgba(178, 150, 124, 0.3) !important;
	display: flex !important;
	justify-content: space-around !important;
	flex-wrap: wrap !important;
	gap: 30px !important;
}

.counter__item {
	display: flex !important;
	align-items: center !important;
	gap: 20px !important;
	margin: 0 !important;
	padding: 20px !important;
	background: rgba(255, 255, 255, 0.1) !important;
	backdrop-filter: blur(10px) !important;
	border-radius: 20px !important;
	min-width: 200px !important;
	transition: transform 0.3s ease !important;
}

.counter__item:hover {
	transform: translateY(-5px) !important;
}

.counter__item__icon {
	float: none !important;
	margin-right: 0 !important;
}

.counter__item__icon img {
	max-width: 50px !important;
	filter: brightness(0) invert(1) !important;
}

.counter__item__text {
	overflow: visible !important;
}

.counter__item__text h2 {
	font-size: 36px !important;
	color: #ffffff !important;
	line-height: 1 !important;
	margin-bottom: 5px !important;
}

.counter__item__text p {
	color: #ffffff !important;
	font-size: 14px !important;
	margin-bottom: 0 !important;
	opacity: 0.9 !important;
}

/* Адаптивность */
@media only screen and (max-width: 991px) {
	.about__text {
		padding-left: 0 !important;
		margin-top: 40px !important;
	}
	
	.about__pic {
		max-width: 500px !important;
		margin: 0 auto !important;
	}
}

@media only screen and (max-width: 767px) {
	.breadcrumb-option {
		padding-top: 150px !important;
		padding-bottom: 100px !important;
	}
	
	.breadcrumb__text h2 {
		font-size: 42px !important;
	}
	
	.counter__text {
		flex-direction: column !important;
		align-items: center !important;
	}
	
	.counter__item {
		width: 100% !important;
		max-width: 300px !important;
	}
	
	.team__item__pic {
		width: 150px !important;
		height: 150px !important;
	}
}

/* ===== ИСПРАВЛЕННЫЕ СТИЛИ ДЛЯ КАРУСЕЛИ ===== */

/* Обертка слайдера - фиксированные отступы */
.about-slider-wrapper {
    position: relative;
    margin-top: 60px;
    padding: 0 50px;
}

/* Контейнер Swiper */
.about-swiper {
    width: 100%;
    overflow: hidden;
}

/* Слайд - фиксированная ширина */
.about-swiper .swiper-slide {
    height: auto;
    width: 100% !important;
}

/* Внутренний контейнер слайда */
.about-swiper .swiper-slide .row {
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}

/* Колонки внутри слайда */
.about-swiper .swiper-slide [class*="col-"] {
    padding: 0 15px;
}

/* Изображение */
.about__pic-slide {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 30px rgba(178, 150, 124, 0.2);
    height: 100%;
    min-height: 400px;
    background: #f5f0e8;
}

.about__pic-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Текстовый блок */
.about__text-slide {
    padding-left: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Кнопки навигации */
.about-slider-wrapper .swiper-button-prev,
.about-slider-wrapper .swiper-button-next {
    width: 45px;
    height: 45px;
    background: #b2967c;
    border-radius: 50%;
    transition: all 0.3s ease;
    margin-top: -22px;
}

.about-slider-wrapper .swiper-button-prev:after,
.about-slider-wrapper .swiper-button-next:after {
    font-size: 18px;
    color: #ffffff;
    font-weight: bold;
}

.about-slider-wrapper .swiper-button-prev:hover,
.about-slider-wrapper .swiper-button-next:hover {
    background: #9a8268;
    transform: scale(1.1);
}

.about-slider-wrapper .swiper-button-prev {
    left: 0;
}

.about-slider-wrapper .swiper-button-next {
    right: 0;
}

/* Пагинация */
.about-slider-wrapper .swiper-pagination {
    position: relative;
    bottom: 0;
    margin-top: 40px;
}

.about-slider-wrapper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d4b89c;
    opacity: 0.6;
    margin: 0 6px !important;
}

.about-slider-wrapper .swiper-pagination-bullet-active {
    background: #b2967c;
    opacity: 1;
}

/* Адаптация для планшетов */
@media only screen and (max-width: 991px) {
    .about-slider-wrapper {
        padding: 0 40px;
    }
    
    .about__pic-slide {
        min-height: 350px;
        margin-bottom: 30px;
    }
    
    .about__text-slide {
        padding-left: 0;
        text-align: center;
    }
    
    .about__text-slide .section-title h2:after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
}

/* Адаптация для мобильных */
@media only screen and (max-width: 767px) {
    .about-slider-wrapper {
        padding: 0 15px;
    }
    
    .about-slider-wrapper .swiper-button-prev,
    .about-slider-wrapper .swiper-button-next {
        display: none;
    }
    
    .about__pic-slide {
        min-height: 250px;
    }
    
    .about__text-slide .section-title h2 {
        font-size: 28px !important;
    }
    
    .progress-tip {
        right: -15px !important;
        font-size: 10px !important;
        padding: 2px 8px !important;
    }
}

/* Отступы между колонками */
.g-4 {
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 1.5rem;
    margin-top: calc(-1 * var(--bs-gutter-y));
    margin-left: calc(-0.5 * var(--bs-gutter-x));
    margin-right: calc(-0.5 * var(--bs-gutter-x));
}

.g-4 > * {
    margin-top: var(--bs-gutter-y);
    padding-left: calc(var(--bs-gutter-x) * 0.5);
    padding-right: calc(var(--bs-gutter-x) * 0.5);
}

.services__item.modern-card {
    text-align: center;
    padding: 35px 20px 30px !important;
    background: #ffffff;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.services__item.modern-card .card-title {
    font-family: 'Marmelad', serif !important;
    font-size: 24px !important;
    color: #5a4a3a !important;
    margin-bottom: 15px;
    font-weight: 600;
}

.services__item.modern-card .card-divider {
    width: 40px;
    height: 2px;
    background: #b2967c;
    margin: 0 auto 20px auto;
    transition: width 0.3s ease;
}

.services__item.modern-card:hover .card-divider {
    width: 60px;
}

.services__item.modern-card p {
    font-size: 14px !important;
    color: #7a6a5a !important;
    margin-bottom: 0;
    line-height: 1.6;
}

@media only screen and (max-width: 576px) {
    .offer-price span {
        font-size: 38px;
    }
    
    .offer-card__inner {
        padding: 20px 15px;
    }
    
    .services__item.modern-card {
        padding: 25px 15px !important;
    }
}