/**
 * Service Detail Page Styles
 * Стили для страницы конкретной услуги
 */

/* Hero Section */
.service-detail-hero {
	min-height: 100vh;
	padding: 0;
	position: relative;
	overflow: hidden;
	display: flex;
	align-items: center;
}

.service-detail-hero__bg {
	position: absolute;
	inset: 0;
	background-image: url('../img/full_service.jpg'); background-image: var(--hero-bg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	z-index: 1;
}
.service-detail-hero__bg::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(270deg, rgba(4,4,4,0) 59%, rgba(4,4,4,1) 87%),
	            linear-gradient(0deg, rgba(4,4,4,0) 59%, rgba(4,4,4,1) 100%);
	z-index: 2;
}

.service-detail-hero__content {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	gap: 30px;
	border-left: none;
	border-right: none;
	margin-top: 120px;
}

.service-detail-hero__breadcrumbs {
	display: flex;
	align-items: center;
	gap: 10px;
	opacity: 0.7;
}

.service-detail-hero__breadcrumb {
	color: var(--color-white);
	font-size: 16px;
	font-weight: 400;
}

.service-detail-hero__breadcrumb-separator {
	color: var(--color-white);
	font-size: 16px;
}

.service-detail-hero__title {
	color: var(--color-white);
	font-size: 72px;
	font-weight: 900;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.service-detail-hero__actions {
	display: flex;
	gap: var(--space-20);
}

.service-detail-hero__button {
	display: inline-flex;
	align-items: center;
	gap: 60px;
	padding: 10px 60px 10px 0;
	height: 60px;
	border: 0;
	text-decoration: none;
	cursor: pointer;
	font-weight: 600;
	font-size: 16px;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	color: var(--color-white);
	background: var(--color-red);
}

.service-detail-hero__button:hover {
	background: var(--color-red-hover);
}

.service-detail-hero__button .button__icon {
	width: 60px;
	height: 60px;
	background: var(--color-white) url('../svg/tool.svg') no-repeat center;
	background-size: 24px;
	border: 1px solid var(--color-border);
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-detail-hero__button:hover .button__icon {
	background: var(--color-bg-soft) url('../svg/tool.svg') no-repeat center;
	background-size: 24px;

}

/* Order Button Section */
.order-button-section {
	background: var(--color-white);
	padding: 50px 0;
	border-bottom: 1px solid var(--color-border);
}

.order-button-wrapper {
	display: flex;
	justify-content: flex-start;
}

.order-button {
	display: flex;
	align-items: center;
	gap: 20px;
}

.order-button__icon {
	width: 60px;
	height: 60px;
	background: var(--color-red);
	border: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.order-button__icon img {
	width: 24px;
	height: 24px;
	filter: brightness(0) invert(1); /* Делаем иконку белой */
}

.order-button__btn {
	background: var(--color-red);
	color: var(--color-white);
	border: none;
	padding: 10px 60px;
	height: 60px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.order-button__btn:hover {
	background: var(--color-red-hover);
}

/* Main Content */
.main-content {
	background: var(--color-white);
}

/* Section Headers */
.section-header {
	display: flex;
	align-items: center;
	gap: 70px;
	margin-bottom: 60px;
}

.section-header__line {
	width: 6px;
	height: 80px;
	background: var(--color-red);
}

.section-header__title {
	font-size: 48px;
	font-weight: 900;
	line-height: 1;
	color: var(--color-text);
	margin: 0;
	text-transform: uppercase;
}

/* Description Section */
.section--description {
	margin-bottom: 100px;
}

.description-content {
	max-width: 1540px;
	padding-top: 60px;
	padding-inline: 40px;
}

.description-content p {
	font-size: 20px;
	line-height: 1.5;
	color: var(--color-muted);
	margin: 0 0 30px 0;
}

.description-content p:last-child {
	margin-bottom: 0;
}

/* Cost Table Section */
.section--cost-table {
	margin-bottom: 100px;
}

.cost-table {
	width: 100%;
	border: 1px solid var(--color-border);
}

.cost-table__header {
	display: grid;
	grid-template-columns: 402px 680px 538px;
	background: var(--color-bg-soft);
}

.cost-table__header-cell {
	padding: 28px 106px;
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	color: var(--color-text);
	text-align: center;
	border-right: 1px solid var(--color-border);
}

.cost-table__header-cell:last-child {
	border-right: none;
}

.cost-table__row {
	display: grid;
	grid-template-columns: 402px 680px 538px;
	border-top: 1px solid var(--color-border);
}

.cost-table__cell {
	padding: 28px 106px;
	font-size: 20px;
	font-weight: 400;
	line-height: 1;
	color: var(--color-muted);
	text-align: center;
	border-right: 1px solid var(--color-border);
}

.cost-table__cell:last-child {
	border-right: none;
}

/* Technical Features Section */
.section--technical-features {
	margin-bottom: 100px;
}

.technical-features-content {
	max-width: 1540px;
	padding-inline: 40px;
}

.technical-features-content p {
	font-size: 20px;
	line-height: 1.5;
	color: var(--color-muted);
	margin: 0 0 30px 0;
}

.technical-features-content p:last-child {
	margin-bottom: 0;
}

/* Advantages Section */
.section--advantages {
	margin-bottom: 100px;
}

.advantages-content {
	max-width: 1540px;
	padding-inline: 40px;
}

.advantages-content p {
	font-size: 20px;
	line-height: 1.5;
	color: var(--color-muted);
	margin: 0 0 30px 0;
}

.advantages-content p:last-child {
	margin-bottom: 0;
}

.advantages-list {
	list-style: none;
	padding: 0;
	margin: 30px 0;
}

.advantages-list li {
	font-size: 20px;
	line-height: 1.5;
	color: var(--color-muted);
	margin-bottom: 20px;
	position: relative;
	padding-left: 30px;
}

.advantages-list li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 10px;
	width: 6px;
	height: 6px;
	background: var(--color-red);
}

.advantages-list li:last-child {
	margin-bottom: 0;
}

/* FAQ Section */
.section--faq {
	margin-bottom: 100px;
}

.faq-list {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.faq-item {
	border: 1px solid var(--color-border);
	border-bottom: none;
}

.faq-item:last-child {
	border-bottom: 1px solid var(--color-border);
}

.faq-item__header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 36px 40px;
	background: var(--color-white);
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.faq-item__header:hover {
	background: var(--color-bg-soft);
}

.faq-item__question {
	font-size: 24px;
	font-weight: 400;
	line-height: 1;
	color: var(--color-text);
	margin: 0;
	text-transform: uppercase;
}

.faq-item__toggle {
	width: 60px;
	height: 60px;
	background: var(--color-red);
	border: 1px solid var(--color-border);
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.faq-item__toggle:hover {
	background: var(--color-red-hover);
}

.faq-item__toggle-icon {
	width: 24px;
	height: 24px;
	position: relative;
	transition: transform 0.3s ease;
}

.faq-item__toggle-icon::before,
.faq-item__toggle-icon::after {
	content: "";
	position: absolute;
	background: var(--color-white);
	transition: all 0.3s ease;
}

.faq-item__toggle-icon::before {
	width: 24px;
	height: 3px;
	top: 50%;
	left: 0;
	transform: translateY(-50%);
}

.faq-item__toggle-icon::after {
	width: 3px;
	height: 24px;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

.faq-item--active .faq-item__toggle-icon::after {
	transform: translateX(-50%) rotate(90deg);
}

.faq-item__content {
	background: var(--color-bg-soft);
	overflow: hidden;
	transition: max-height 0.3s ease;
	max-height: 0;
}

.faq-item--active .faq-item__content {
	max-height: 500px;
}

.faq-item__answer {
	padding: 40px;
}

.faq-item__answer p {
	font-size: 24px;
	line-height: 1.5;
	color: var(--color-muted);
	margin: 0 0 20px 0;
}

.faq-item__answer p:last-child {
	margin-bottom: 0;
}

/* Contacts Section - используем стили из главной страницы */

/* Section Title Styles */
.section-title {
	display: flex;
	align-items: center;
	gap: 70px;
	
	opacity: 1;
	transform: translateY(0);
}

.section-title__bar {
	width: 6px;
	height: 80px;
	background: var(--color-red);
	opacity: 1;
	transform: scale(1);
}

.section-title__text {
	margin: 0;
	margin-block: 70px;
	font-size: 48px;
	font-weight: 900;
	color: var(--color-text);
	text-transform: uppercase;
}

/* Contacts Styles */
.contacts { 
	position: relative; 
}

.contacts__map { 
	height: 700px; 
	width: 100%;
	position: relative;
}

.contacts__panel { 
	background: var(--color-white); 
	color: var(--color-text); 
}

.contacts__grid { 
	display: grid; 
	grid-template-columns: 1fr 1fr; 
	padding-top: 0; 
	padding-bottom: 0; 
}

.contacts__left { 
	display: flex; 
	flex-direction: column; 
	gap: 40px; 
	justify-content: space-between; 
}

.contacts__col { 
	display: grid; 
	gap: 20px; 
	align-content: start; 
	padding-top: 40px; 
}

.contacts__item { 
	display: grid; 
	grid-template-columns: 40px 1fr; 
	gap: 20px; 
	align-items: start; 
}

.contacts__icon { 
	width: 40px; 
	height: 40px; 
	border: none; 
	background: var(--color-red); 
	opacity: 1;
	transform: translateY(0);
	transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.contacts__icon--address { 
	background: var(--color-red) url('../svg/home-alt.svg') no-repeat center; 
	background-size: 24px 24px; 
}

.contacts__icon--phone { 
	background: var(--color-red) url('../svg/phone.svg') no-repeat center; 
	background-size: 24px 24px; 
}

.contacts__icon--mail { 
	background: var(--color-red) url('../svg/envelope-alt.svg') no-repeat center; 
	background-size: 24px 24px; 
}

.contacts__text { 
	font-size: 24px; 
	text-transform: uppercase; 
	line-height: 1.5; 
}

.contacts__form { 
	display: grid; 
	align-content: end; 
}

.form { 
	background: var(--color-bg-soft); 
	color: var(--color-text); 
	padding: 40px; 
	display: flex; 
	flex-direction: column; 
	gap: 30px; 
}

.form__title { 
	font-size: 32px; 
	text-transform: uppercase; 
	font-weight: 700; 
	margin: 0; 
}

.form__body { 
	display: flex; 
	flex-direction: column; 
	gap: 20px; 
}

.form__row { 
	display: flex; 
	gap: 12px; 
	align-items: center; 
}

.form__row--top { 
	gap: 12px; 
}

.form__row--bottom { 
	gap: 12px; 
}

.field { 
	flex: 1; 
	position: relative; 
}

.field__control { 
	width: 100%; 
	padding: 18px 20px; 
	border: none; 
	border-bottom: 1.4px solid var(--color-border); 
	font-size: 16px; 
	font-weight: 400; 
	background: transparent; 
	transition: border-bottom-color 0.3s ease; 
}

.field__control:focus { 
	border-bottom-color: var(--color-red); 
	outline: none; 
}

.field__control:focus + .field__placeholder,
.field__control:not(:placeholder-shown) + .field__placeholder {
    transform: translateY(-25px) scale(0.75);
    color: var(--color-muted);
    font-size: 14px;
}

.field__placeholder {
    position: absolute;
    top: 18px;
    left: 20px;
    font-size: 16px;
    color: var(--color-muted);
    pointer-events: none;
    transition: all 0.3s ease;
    transform-origin: left top;
}

.field__control--area { 
	height: 60px; 
	resize: none; 
}

.form__submit { 
	width: 362px; 
	height: 60px; 
	padding: 0; 
	gap: 100px; 
}

.form__submit .button__icon { 
	margin-left: 0; 
	background: var(--color-white) url('../svg/Triangle.svg') no-repeat center; 
	background-size: 24px; 
	flex-shrink: 0; 
}

.form__submit:hover .button__icon { 
	background: var(--color-bg-soft) url('../svg/Triangle.svg') no-repeat center; 
	background-size: 24px; 
}

/* Responsive Design */
@media (max-width: 1200px) {
	.service-detail-hero {
		min-height: 100vh;
		padding: 0;
	}
	
	.service-detail-hero__title {
		font-size: 60px;
	}
	
	.service-detail-hero__actions {
		flex-direction: column;
		gap: 15px;
		width: 100%;
	}
	
	.main-content {
		padding: 80px 0;
	}
	
	.section-header {
		gap: 50px;
		margin-bottom: 40px;
	}
	
	.section-header__title {
		font-size: 36px;
	}
	
	.section-title {
		gap: 50px;
		margin-bottom: 40px;
	}
	
		.section-title__text {
		font-size: 36px;
	}
	
	.cost-table__header,
	.cost-table__row {
		grid-template-columns: 1fr 1fr 1fr;
	}
	
	.cost-table__header-cell,
	.cost-table__cell {
		padding: 20px 40px;
		font-size: 18px;
	}
	
	/* Contacts responsive */
	.contacts__map {
		height: 600px;
	}
	
	.contacts__text {
		font-size: 20px;
	}
	
	.form {
		padding: 30px;
	}
	
	.form__title {
		font-size: 28px;
	}
	
	.form__submit {
		width: 300px;
		height: 50px;
		gap: 80px;
	}
	
	
}

@media (max-width: 768px) {
	.service-detail-hero {
		min-height: 100vh;
		padding: 0;
	}
	
	.service-detail-hero__title {
		font-size: 48px;
	}
	
	.service-detail-hero__actions {
		flex-direction: column;
		gap: 15px;
		width: 100%;
	}
	
	.main-content {
		padding: 60px 20px;
	}
	
	.section-header {
		flex-direction: column;
		gap: 30px;
		text-align: center;
	}
	
	.section-header__title {
		font-size: 28px;
	}
	
	.section-title {
		flex-direction: column;
		gap: 30px;
		text-align: center;
	}
	
	.section-title__text {
		font-size: 28px;
	}
	
	.description-content p,
	.technical-features-content p,
	.advantages-content p,
	.advantages-list li {
		font-size: 18px;
	}
	
	.cost-table__header,
	.cost-table__row {
		grid-template-columns: 1fr;
	}
	
	.cost-table__header-cell,
	.cost-table__cell {
		padding: 15px 20px;
		font-size: 16px;
		border-right: none;
		border-bottom: 1px solid var(--color-border);
	}
	
	.cost-table__header-cell:last-child,
	.cost-table__cell:last-child {
		border-bottom: none;
	}
	
	.faq-item__header {
		padding: 20px;
	}
	
	.faq-item__question {
		font-size: 18px;
	}
	
	.faq-item__toggle {
		width: 50px;
		height: 50px;
	}
	
	.faq-item__answer {
		padding: 20px;
	}
	
		.faq-item__answer p {
		font-size: 18px;
	}
	
	/* Contacts responsive */
	.contacts__grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
	
	.contacts__map {
		height: 500px;
	}
	
	.contacts__text {
		font-size: 18px;
	}
	
	.form {
		padding: 20px;
	}
	
	.form__title {
		font-size: 24px;
	}
	
	.form__row {
		flex-direction: column;
		gap: 20px;
	}
	
	.form__submit {
		width: 100%;
		height: 50px;
		gap: 60px;
	}
	
	
}

@media (max-width: 480px) {
	.service-detail-hero {
		min-height: 100vh;
		padding: 0;
	}
	
	.service-detail-hero__title {
		font-size: 36px;
	}
	
	.service-detail-hero__actions {
		flex-direction: column;
		gap: 15px;
		width: 100%;
	}
	
	.service-detail-hero__breadcrumb,
	.service-detail-hero__breadcrumb-separator {
		font-size: 14px;
	}
	
	.main-content {
		padding: 40px 15px;
	}
	
	.section-header__title {
		font-size: 24px;
	}
	
	.section-title__text {
		font-size: 24px;
	}
	
	.description-content p,
	.technical-features-content p,
	.advantages-content p,
	.advantages-list li {
		font-size: 16px;
	}
	
	.cost-table__header-cell,
	.cost-table__cell {
		padding: 15px;
		font-size: 14px;
	}
	
	.faq-item__question {
		font-size: 16px;
	}
	
		.faq-item__answer p {
		font-size: 16px;
	}
	
	/* Contacts responsive */
	.contacts__map {
		height: 400px;
	}
	
	.contacts__text {
		font-size: 16px;
	}
	
	.form {
		padding: 15px;
	}
	
	.form__title {
		font-size: 20px;
	}
	
	.form__submit {
		height: 45px;
		gap: 40px;
	}
	
	
}






