/* общие стили для страницы типа "услуга" */

/* приписка в Санкт-Петербурге*/
.in-spb { 
	display: block;
    font-size: 1.1rem;
    color: var(--main-red);
    font-weight: 100;
    font-style: italic;
}

/* стили для связанных услуг */

.related-service {
	padding: 2rem;
    border-radius: 10px;
}

.related-service {
	background: var(--main-red);
}

.related-service > * {
	color: #fff;
}

.related-service a:hover {
	color: #fff;
	text-decoration: none;
}
div.with-related-service:nth-child(even) .related-service {
    background: var(--main-blue);
}


.block-discounts {
    background-color: var(--main-red);
    color: #fff;
    padding: 24px;
    margin: 27px 0;
}

.wrapper-info-block-discounts {
    display: flex;
    gap: 24px;
}

.size-discounts {
    font-size: 56px;
    font-weight: 600;
}

.title-discounts {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 12px;
}

@media (max-width: 565px) {
	.wrapper-info-block-discounts {
       flex-direction: column;
    }
}

/* ========================================
   GEAR CAROUSEL STYLES
   ======================================== */
.gear-carousel-section {
	margin: 2.5rem 0;
	padding: 1.5rem 0;
}

.gear-carousel-section .container {
	max-width: 1200px;
}

.gear-carousel-wrapper {
	position: relative;
	border-radius: 1rem;
	overflow: hidden;
	background: #000;
}

#gearCarousel .carousel-inner {
	border-radius: 1rem;
}

#gearCarousel .carousel-item {
	transition: transform 0.4s ease-in-out;
}

#gearCarousel .carousel-item img {
	width: 100%;
	height: 400px;
	object-fit: contain;
	background: linear-gradient(180deg, #1a1a2e 0%, #0f0f1a 100%);
}

#gearCarousel .carousel-caption {
	position: absolute;
	left: 1rem;
	top: 1rem;
	right: auto;
	bottom: auto;
	padding: 0.5rem 1rem;
	background: rgba(0, 38, 69, 0.9);
	border-radius: 0.5rem;
	text-align: left;
	backdrop-filter: blur(4px);
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
	max-width: calc(100% - 2rem);
}

#gearCarousel .carousel-group-name {
	font-weight: 700;
	font-size: 0.85rem;
	color: #fff;
	line-height: 1.3;
}

#gearCarousel .carousel-photo-caption {
	font-weight: 400;
	font-size: 0.8rem;
	color: rgba(255, 255, 255, 0.8);
	line-height: 1.3;
}

/* Custom carousel controls */
#gearCarousel .carousel-control-prev,
#gearCarousel .carousel-control-next {
	width: 48px;
	height: 48px;
	top: 50%;
	transform: translateY(-50%);
	bottom: auto;
	background: rgba(255,255,255,0.95);
	border-radius: 50%;
	opacity: 0;
	transition: all 0.25s ease;
	box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

#gearCarousel:hover .carousel-control-prev,
#gearCarousel:hover .carousel-control-next {
	opacity: 1;
}

#gearCarousel .carousel-control-prev {
	left: 1rem;
}

#gearCarousel .carousel-control-next {
	right: 1rem;
}

#gearCarousel .carousel-control-prev-icon,
#gearCarousel .carousel-control-next-icon {
	filter: invert(1) grayscale(100);
	width: 1.25rem;
	height: 1.25rem;
}

#gearCarousel .carousel-control-prev:hover,
#gearCarousel .carousel-control-next:hover {
	background: var(--main-yellow);
}

/* Indicators */
#gearCarousel .carousel-indicators {
	margin-bottom: 0.75rem;
}

#gearCarousel .carousel-indicators [data-bs-target] {
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: rgba(255,255,255,0.5);
	border: 0;
	margin: 0 4px;
	transition: all 0.2s ease;
}

#gearCarousel .carousel-indicators .active {
	background: var(--main-yellow);
	width: 24px;
	border-radius: 4px;
}

/* Stats badge */
.carousel-stats {
	position: absolute;
	top: 1rem;
	right: 1rem;
	background: rgba(0,0,0,0.6);
	color: #fff;
	padding: 0.35rem 0.75rem;
	border-radius: 2rem;
	font-size: 0.75rem;
	font-weight: 500;
	backdrop-filter: blur(4px);
	z-index: 10;
}

/* Footer link */
.gear-carousel-footer {
	text-align: center;
	margin-top: 1.5rem;
}

.gear-carousel-link {
	display: inline-block;
	padding: 0.75rem 1.5rem;
	background: var(--main-blue);
	color: #fff;
	border-radius: 2rem;
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9rem;
	transition: all 0.2s ease;
}

.gear-carousel-link:hover {
	background: var(--main-yellow);
	color: var(--main-blue);
	text-decoration: none;
}

/* Responsive */
@media (max-width: 767.98px) {
	#gearCarousel .carousel-item img {
		height: 280px;
	}

	#gearCarousel .carousel-control-prev,
	#gearCarousel .carousel-control-next {
		width: 40px;
		height: 40px;
		opacity: 0.8;
	}

	#gearCarousel .carousel-control-prev {
		left: 0.5rem;
	}

	#gearCarousel .carousel-control-next {
		right: 0.5rem;
	}

}

/* ========================================
   PRICE CARDS STYLES
   ======================================== */
.prices {
	font-size: 0.95rem;
}

/* Filter rows - horizontal layout */
.filters-bar {
	background: #fff;
	border-radius: 0.75rem;
	padding: 1rem 1.25rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 2px 12px rgba(0, 38, 69, 0.04);
}

.filter-row {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0;
	border-bottom: 1px solid rgba(0, 38, 69, 0.06);
}

.filter-row:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.filter-row:first-child {
	padding-top: 0;
}

.filter-row-label {
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--main-gray);
	min-width: 90px;
	flex-shrink: 0;
}

.filter-pills-group {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	flex: 1;
}

.filter-pill {
	border-radius: 999px;
	border: 1px solid rgba(0, 38, 69, 0.15);
	background: #fff;
	color: var(--main-blue);
	font-size: 0.8rem;
	padding: 0.25rem 0.7rem;
	cursor: pointer;
	transition: all 0.15s ease;
}

.filter-pill:hover {
	background: rgba(0, 38, 69, 0.04);
	border-color: var(--main-blue);
}

.filter-pill.is-active {
	background: var(--main-yellow);
	color: var(--main-blue);
	border-color: var(--main-yellow);
	font-weight: 600;
}

/* Reset button */
.filter-reset {
	border-radius: 999px;
	border: 1px dashed var(--main-gray);
	background: transparent;
	color: var(--main-gray);
	font-size: 0.75rem;
	padding: 0.25rem 0.75rem;
	cursor: pointer;
	transition: all 0.15s ease;
	display: none;
	margin-left: auto;
	flex-shrink: 0;
}

.filter-reset.is-visible {
	display: inline-block;
}

.filter-reset:hover {
	border-color: var(--main-red);
	color: var(--main-red);
	background: rgba(180, 16, 14, 0.05);
}

/* Gear class badges */
.gear-badge {
	display: inline-flex;
	align-items: center;
	padding: 0.15rem 0.5rem;
	border-radius: 999px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.03em;
	text-transform: uppercase;
}

.gear--gray {
	background: rgba(0, 0, 0, 0.05);
	color: var(--main-gray);
	border: 1px solid rgba(0, 0, 0, 0.1);
}

.gear--green {
	background: rgba(46, 139, 87, 0.12);
	color: #1e6e45;
	border: 1px solid rgba(46, 139, 87, 0.3);
}

.gear--blue {
	background: rgba(0, 38, 69, 0.1);
	color: #002645;
	border: 1px solid rgba(0, 38, 69, 0.25);
}

.gear--red {
	background: rgba(200, 16, 46, 0.1);
	color: #c8102e;
	border: 1px solid rgba(200, 16, 46, 0.25);
}

/* Price display */
.price {
	font-weight: 700;
	white-space: nowrap;
	color: #002645;
}

.price--discount {
	color: #c8102e;
	font-weight: 800;
	font-size: 1.05em;
}

.price--old {
	font-size: max(12px, 0.8em);
	color: #999;
	text-decoration: line-through;
	margin-left: 0.4rem;
	font-weight: 400;
}

/* Set cards with class columns */
#prices [data-filter-group="gear"] {
	display: none;
}

#prices .filter-row:has([data-filter-group="gear"]) {
	display: none;
}

.price-sets-list {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.price-set-card {
	background: #fff;
	border-radius: 1rem;
	box-shadow: 0 2px 12px rgba(0, 38, 69, 0.06);
	overflow: hidden;
}

.price-set-header {
	display: flex;
	align-items: center;
	gap: 1rem;
	padding: 1rem 1.25rem;
	background: linear-gradient(135deg, rgba(0, 38, 69, 0.03) 0%, rgba(0, 38, 69, 0.01) 100%);
	border-bottom: 1px solid rgba(0, 38, 69, 0.06);
}

.price-set-img {
	width: 64px;
	height: 64px;
	object-fit: contain;
	flex-shrink: 0;
	border-radius: 0.5rem;
}

.price-set-info {
	flex: 1;
}

.price-set-title {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--main-blue);
	margin: 0 0 0.25rem;
}

.price-set-audience {
	font-size: 0.75rem;
	color: var(--main-gray);
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

.price-sets-table {
	width: 100%;
	border-collapse: collapse;
}

.price-sets-table th,
.price-sets-table td {
	padding: 0.6rem 0.75rem;
	text-align: center;
	border-bottom: 1px solid rgba(0, 38, 69, 0.06);
}

.price-period-col {
	width: 40%;
}

.price-class-th {
	font-size: 0.75rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.03em;
}

.price-class-th.gear--gray {
	background: rgba(0, 0, 0, 0.05);
	color: var(--main-gray);
}

.price-class-th.gear--green {
	background: rgba(46, 139, 87, 0.12);
	color: #1e6e45;
}

.price-class-th.gear--blue {
	background: rgba(0, 38, 69, 0.1);
	color: #002645;
}

.price-class-th.gear--red {
	background: rgba(200, 16, 46, 0.1);
	color: #c8102e;
}

.price-class-note {
	display: inline;
	font-size: 12px;
	font-weight: 500;
	text-transform: none;
	letter-spacing: 0;
	opacity: 0.75;
}

.price-period-cell {
	text-align: left;
	color: var(--main-gray);
	font-size: 0.85rem;
}

.price-value-cell {
	font-weight: 600;
	color: var(--main-blue);
	font-size: 0.9rem;
}

.price-value-cell .price--discount {
	color: var(--main-red);
}

.price-value-cell .price--old {
	display: block;
	font-size: 12px;
	font-weight: 400;
	color: var(--main-gray);
}

.price-no-value {
	color: rgba(0, 38, 69, 0.2);
}

.price-row:hover td {
	background: rgba(237, 198, 25, 0.08);
}

/* Extended periods - hidden by default */
.price-extended-periods {
	display: none;
}

.price-set-card.is-expanded .price-extended-periods {
	display: table-row-group;
}

/* Show more button */
.price-show-more {
	display: block;
	width: 100%;
	padding: 0.6rem 1rem;
	background: rgba(0, 38, 69, 0.03);
	border: 0;
	border-top: 1px solid rgba(0, 38, 69, 0.06);
	color: var(--main-blue);
	font-size: 0.8rem;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.2s;
}

.price-show-more:hover {
	background: rgba(237, 198, 25, 0.15);
}

.price-set-card.is-expanded .price-show-more {
	background: rgba(237, 198, 25, 0.1);
}

/* Audience group headings */
.audience-group {
	margin-bottom: 2rem;
}

.audience-group-title {
	font-size: 1.2rem;
	font-weight: 800;
	color: #002645;
	margin-bottom: 1.25rem;
	padding-bottom: 0.75rem;
	border-bottom: none;
	display: flex;
	align-items: center;
	gap: 0;
}

.audience-group-title::before {
	content: '';
	width: 6px;
	height: 100%;
	min-height: 1.5em;
	background: #edc619;
	border-radius: 0;
	margin-right: 0.75rem;
}

.audience-group.is-hidden {
	display: none;
}

/* Service price message */
.service-price-message {
	padding: 2rem;
	text-align: center;
	background: #f9f9f7;
	border-radius: 0.75rem;
}

.service-price-message p {
	margin: 0;
	color: var(--main-gray);
	font-size: 1rem;
}

/* Responsive */
@media (max-width: 575.98px) {
	.price-sets-table th,
	.price-sets-table td {
		padding: 0.5rem 0.4rem;
		font-size: 0.8rem;
	}

	.price-class-th {
		font-size: 0.65rem;
	}

	.price-period-col {
		width: 35%;
	}
}

/* ========================================
   SERVICE PROMO BANNER
   ======================================== */
.service-promo-banner {
	margin: 2rem 0;
	padding: 1.75rem 1.75rem;
	border-radius: 1rem;
	background: linear-gradient(135deg, #0d6efd 0%, #003d99 100%);
	color: #fff;
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
	overflow: hidden;
}

.service-promo-banner-inner {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	gap: 1.5rem;
}

.service-promo-banner-main {
	flex: 1 1 260px;
	min-width: 0;
}

.service-promo-badge {
	display: inline-block;
	padding: 0.25rem 0.9rem;
	border-radius: 999px;
	background-color: var(--main-yellow);
	color: #000;
	font-weight: 700;
	font-size: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.07em;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
	margin-bottom: 0.75rem;
}

.service-promo-title {
	font-size: clamp(1.5rem, 2.1vw, 2.1rem);
	font-weight: 800;
	margin-bottom: 0.5rem;
}

.service-promo-text {
	font-size: 0.98rem;
	line-height: 1.6;
	opacity: 0.95;
}

.service-promo-aside {
	flex: 0 0 260px;
	max-width: 320px;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	justify-content: center;
}

.service-promo-cta {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
	gap: 0.4rem;
	text-align: right;
}

.service-promo-cta small {
	font-size: 0.75rem;
	opacity: 0.85;
}

.service-promo-cta-phone {
	font-weight: 700;
	font-size: 1rem;
}

.service-promo-cta .btn {
	min-width: 180px;
}

.service-promo-custom-slot {
	margin-top: 0.75rem;
}

.service-promo-contact {
	margin-top: 0.75rem;
	font-size: 0.95rem;
}

.service-promo-contact-list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem 1.25rem;
}

.service-promo-contact-list li {
	display: flex;
	align-items: center;
	gap: 0.35rem;
}

.service-promo-contact-phone-link {
	color: var(--main-yellow);
	font-weight: 700;
	text-decoration: none;
}

.service-promo-contact-phone-link:hover {
	text-decoration: underline;
}

.service-promo-contact-location {
	color: rgba(255, 255, 255, 0.85);
	font-size: 0.9rem;
}

@media (max-width: 991.98px) {
	.service-promo-banner {
		padding: 1.5rem 1.25rem;
	}

	.service-promo-banner-inner {
		flex-direction: column;
	}

	.service-promo-aside {
		align-items: flex-start;
		max-width: none;
	}

	.service-promo-cta {
		align-items: flex-start;
		text-align: left;
	}
}

@media (max-width: 575.98px) {
	.service-promo-title {
		font-size: 1.4rem;
	}

	.service-promo-contact {
		font-size: 1rem;
	}

	.service-promo-contact-list {
		flex-direction: column;
		align-items: flex-start;
		gap: 0.4rem;
	}

	.service-promo-contact-list li {
		width: 100%;
	}
}

@media (max-width: 400px) {
	.service-promo-contact-phone-link {
		font-size: 15px;
	}
}

