:root {
	--primary-color: #1e1f23;
	--secondary-color: #1d1d1f;
	--accent-color: #fbb600;
	--success-color: #2e7d32;
	--background-color: linear-gradient(to top, #e6e9f0 0%, #eef1f5 100%);
	--background-secondary: #ebecef;
	--card-background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 252, 0.95) 100%);
	--text-primary: #1A1A1A;
	--text-secondary: #6B7280;
	--border-radius: 12px; 
	--border-radius-small: 6px; 
	--border-radius-medium: 12px; 
	--border-radius-large: 16px; 
	--border-radius-xl: 24px; 
	--border-radius-full: 50%; 
	--border-radius-pill: 9999px; 
	--box-shadow: 0 4px 30px rgba(0, 0, 0, 0.08);
	--cta-shadow: 0 4px 15px rgba(251, 182, 0, 0.3);
	--transition: all 0.3s ease;
	--section-padding: 3rem 0;
	--header-height: 80px;
	--color-low: #2e7d32;
	--color-medium: #f59e0b;
	--color-high: #d32f2f;
}

/* Global Styles */
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

html, body {
    width: 100%;
    max-width: 100%;
	background: var(--background-color);
	color: var(--text-primary);
	line-height: 1.4;
	overflow-x: hidden;
    box-sizing: border-box;
}

/* Отступ для основного контента при фиксированном хедере */
main {
    padding-top: var(--header-height);
}

/* Отступ для футера на мобильных устройствах */
@media (max-width: 992px) {
    footer {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 576px) {
    footer {
        padding-bottom: calc(55px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 480px) {
    footer {
        padding-bottom: calc(50px + env(safe-area-inset-bottom));
    }
}
*, *::before, *::after {
    box-sizing: inherit;
}

img, video, canvas {
    max-width: 100%;
    height: auto;
}
a {
	text-decoration: none;
}
.accent-highlight {                                                                                    
	color: var(--accent-color);
    } 
.color-main {
  color: var(--accent-color);
}
/* Sections */

section {
	padding: var(--section-padding);
}
.container {
	width: 100%;
	margin: 0;
	padding: 0 5%;
}

/* Responsive container adjustments */
@media (max-width: 1200px) {
	.container {
		padding: 0 4%;
	}
}

@media (max-width: 992px) {
	.container {
		padding: 0 3%;
	}
}

@media (max-width: 768px) {
	.container {
		padding: 0 24px;
	}
}

@media (max-width: 576px) {
	.container {
		padding: 0 20px;
	}
}

@media (max-width: 480px) {
	.container {
		padding: 0 12px;
        width: 100%;
        box-sizing: border-box;
	}
}
.main_h1 {
	font-size: clamp(2rem, 5vw, 3rem); 
}

.fade-in-text {
	opacity: 0;
	transform: translateX(-200px);
	animation: slideInFromLeft 1s ease-out forwards;
}

@keyframes slideInFromLeft {
	to {
		opacity: 1;
		transform: translateX(0);
	}
}

/* Адаптивность для планшетов */
@media (max-width: 992px) {
	.main_h1 {
		font-size: clamp(0.5rem, 4vw, 0.8rem);
	}
}

/* Адаптивность для мобильных устройств */
@media (max-width: 768px) {
	.main_h1 {
		font-size: clamp(0.5rem, 5vw, 0.8rem);
	}
}

@media (max-width: 576px) {
	.main_h1 {
		font-size: clamp(0.5rem, 6vw, 0.8rem);
	}
}

@media (max-width: 480px) {
	.main_h1 {
		font-size: clamp(0.5rem, 6vw, 0.8rem);
	}
}
/* Common section styles */
section h2 {
	font-size: 2.5rem;
	text-align: center;
	margin-bottom: 3rem;
	color: var(--secondary-color);
	position: relative;
	font-weight: 700;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.question-icon {
	display: inline-block;
	vertical-align: middle;
	width: 32px;
	height: 32px;
	background: var(--accent-color);
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.question-icon svg {
	width: 20px;
	height: 20px;
}

.question-icon svg path {
	fill: black;
}

/* Header & Navigation */
header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 100;
	transform: translateY(0);
	transition: transform 0.3s ease-in-out;
	background: #eef1f5;
}

header.header-hidden {
	transform: translateY(-100%);
}

.mobile-menu-overlay.active ~ header,
.mobile-menu-overlay.active + header {
	transform: translateY(0) !important;
}

.nav-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
	margin-top: 0.8rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	padding: 0 5% 0.8rem;
}

@media (max-width: 1200px) {
	.nav-container {
		padding: 0.8rem 4% 0.8rem;
	}
}

@media (max-width: 992px) {
	.nav-container {
		padding: 0.8rem 3% 0.8rem;
	}
}

@media (max-width: 768px) {
	.nav-container {
		padding: 0.8rem 24px 0.8rem;
	}
}

@media (max-width: 576px) {
	.nav-container {
		padding: 0.8rem 20px 0.8rem;
	}
}

@media (max-width: 480px) {
	.nav-container {
		padding: 0.8rem 16px 0.8rem;
	}
}

.logo h2 {
	font-size: 1.8rem;
	font-weight: 700;
	color: var(--secondary-color);
	letter-spacing: -0.5px;
}

.logo span {
	color: var(--primary-color);
}

.logo-slogan {
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--text-secondary);
	letter-spacing: 0.5px;
	text-transform: uppercase;
	margin-left: 10px;
	vertical-align: middle;
}

/* CTA button in nav */
.nav-cta {
	display: inline-flex;
	align-items: center;
	gap: 3px;
	padding: 5px 18px;
	border-radius: var(--border-radius-medium);
	filter: saturate(110%);
	position: relative;
	isolation: isolate;
	border: 1px solid var(--primary-color);
	position: relative;
}

.nav-cta:hover {
	background-color: var(--primary-color);
	transition: var(--transition);
}

.nav-cta::after {
	display: none;
}

.nav-cta .cta-left, .nav-cta .cta-right {
	width: 24px;
	height: 24px;
	border-radius: 9999px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.nav-cta .cta-left i, .nav-cta .cta-right i {
	color: var(--primary-color);
	font-size: 16px;
}

.nav-cta .cta-text {
	color: var(--primary-color);
}

.nav-cta:hover .cta-left i,
.nav-cta:hover .cta-right i,
.nav-cta:hover .cta-text {
	color: white;
}


.cta-check {
    display: inline-block;
    padding: 5px 18px;
    border-radius: var(--border-radius);
    filter: saturate(110%);
    position: relative;
    isolation: isolate;
    border: 1px solid var(--accent-color);
    background-color: var(--accent-color);
    transition: all 0.3s ease;
    text-decoration: none;
	font-size: clamp(1rem, 1.2vw, 1rem);
	font-weight: 600;
	margin-right: 5px;
}

.cta-check:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    transition: var(--transition);
}

a.cta-check,
a.cta-check:link,
a.cta-check:visited {
    color: var(--primary-color) !important;
    text-decoration: none !important;
}

a.cta-check:hover {
    filter: brightness(1.1);
    transform: translateY(-2px);
    transition: var(--transition);
}

.cta-check .btn-primary {
    color: var(--primary-color);
    border: none;
    background: transparent;
}

.cta-check:hover .btn-primary {
    color: var(--primary-color);
}

.cta-check i {
    color: var(--primary-color);
}

.cta-check:hover i {
    color: var(--primary-color);
}

@media (max-width: 992px) {
    .cta-check-desktop {
        display: none;
    }
    .cta-check-mobile {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        width: 100%;
        z-index: 99;
        padding: 16px 24px;
        padding-bottom: calc(16px + env(safe-area-inset-bottom));
        border-radius: 0;
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.1);
        text-align: center;
        font-weight: 700;
        font-size: 1.2rem;
        margin: 0;
        border: none;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
        background: var(--accent-color);
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 8px;
        text-decoration: none;
        opacity: 1;
        transition: opacity 0.3s ease;
    }

    .cta-check-mobile:hover {
        filter: brightness(1.1);
        transform: none;
        transition: var(--transition);
        box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
    }

    .cta-check-mobile[style*="opacity: 0"] {
        pointer-events: none;
    }

    .cta-check-mobile,
    .cta-check-mobile:link,
    .cta-check-mobile:visited {
        color: var(--primary-color) !important;
        text-decoration: none !important;
        width: 100%;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    main {
        padding-bottom: calc(60px + env(safe-area-inset-bottom));
    }

    .nav-cta {
        width: auto;
        gap: 12px;
        padding: 10px 16px;
    }
    .nav-cta .cta-left, .nav-cta .cta-right {
        width: 30px;
        height: 30px;
    }
}

@media (min-width: 993px) {
    .cta-check-mobile {
        display: none;
    }
}

@media (max-width: 576px) {
    .cta-check-mobile {
        padding: 14px 20px;
        padding-bottom: calc(14px + env(safe-area-inset-bottom));
        font-size: 1.2rem;
    }

    main {
        padding-bottom: calc(55px + env(safe-area-inset-bottom));
    }
}

@media (max-width: 768px) {
	.nav-cta {
		margin: 0 auto;
		width: calc(100% - 32px);
		max-width: 320px;
	}
}

@media (max-width: 480px) {
    .cta-check-mobile {
        padding: 12px 16px;
        padding-bottom: calc(12px + env(safe-area-inset-bottom));
        font-size: 1rem;
    }

    main {
        padding-bottom: calc(50px + env(safe-area-inset-bottom));
    }
}

.mobile-menu-cta .cta-check {
    position: relative;
    bottom: auto;
    right: auto;
    left: auto;
    margin: 0;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    box-shadow: 0 4px 15px rgba(251, 182, 0, 0.3);
    text-align: center;
    border: 1px solid var(--accent-color);
    background: var(--accent-color);
}

.mobile-menu-cta .cta-check:hover {
    filter: brightness(1.1);
    transform: translateY(-3px);
    transition: var(--transition);
    box-shadow: 0 6px 20px rgba(251, 182, 0, 0.4);
}

.mobile-menu-cta a.cta-check,
.mobile-menu-cta a.cta-check:link,
.mobile-menu-cta a.cta-check:visited {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.header-left, .header-right {
	display: flex;
	align-items: flex-start;
    border: none;
    flex-direction: column;
}
.header-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--primary-color);
	text-decoration: none;
	white-space: nowrap;
	font-size: 0.8rem;
	font-weight: 600;
	color: var(--primary-color);
}
.header-item:hover {
	color: var(--accent-color);
}

@media (max-width: 992px) {
	.header-left {
		display: none;
	}
}
.phone_social {
	display: flex;
}

.phones {
	padding-left: 12px;
}
@media (max-width: 992px) {
	.phone_social {
		display: none;
	}
}
.social-icons-container {
	display: flex;
	gap: 5px;
	align-items: center;
	border-right: 1px solid var(--text-secondary);
	padding-right: 12px;
}

.social-icons-container a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	transition: var(--transition);
	text-decoration: none;
}

.social-icons-container i {
	color: var(--primary-color);
	transition: var(--transition);
	font-size: 1.2rem;
}

.social-icons-container a:hover i {
	color: var(--accent-color);
	transform: scale(1.15);
}

.header-social-icon:hover {
	opacity: 0.8;
	transform: scale(1.1);
}

.hamburger {
	display: flex;
	flex-direction: column;
	cursor: pointer;
	align-self: center; 
	margin-left: 10px; 
	align-self: center; 
}
.bar {
	width: 25px;
	height: 3px;
	background-color: var(--text-primary);
	margin: 4px 0;
	transition: var(--transition);
	border-radius: 2px;
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
	position: fixed;
	top: 0;
	left: 0;
    right: 0;
	width: 100%;
	height: 100dvh;
	background: var(--secondary-color);
	clip-path: circle(0px at 100% 0%);
	-webkit-clip-path: circle(0px at 100% 0%);
	transition: clip-path 0.8s ease-in-out;
	z-index: 1001;
	opacity: 0;
	visibility: hidden;
	overflow-y: auto;
}

.mobile-menu-overlay.active {
	clip-path: circle(300% at 100% 0%); 
	-webkit-clip-path: circle(300% at 100% 0%);
	opacity: 1;
	visibility: visible;
}

.mobile-menu-content {
	padding: 1rem;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-start;
}

.mobile-menu-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding-bottom: 0.5rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.mobile-menu-cta {
	display: flex;
	justify-content: center;
}
.mobile-logo img{
	height: 50px; 
	width: auto; 
	vertical-align: middle;
}
.close-btn {
	background: none;
	border: none;
	cursor: pointer;
	width: 30px;
	height: 30px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	order: 2;
}

.close-btn span {
	position: absolute;
	width: 20px;
	height: 2px;
	background: white;
	transform-origin: center;
	transition: var(--transition);
}

.close-btn span:first-child {
	transform: rotate(45deg);
}

.close-btn span:last-child {
	transform: rotate(-45deg);
}

.mobile-menu-links {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	align-items: center;
	margin: 2rem auto;
}

.mobile-nav-link {
	color: #ffffff;
	font-size: 1.5rem;
	text-decoration: none;
	opacity: 0;
	transform: translateY(20px);
}

.mobile-menu-overlay.active .mobile-nav-link {
	opacity: 1;
	transform: translateY(0);
}
.mobile-nav-link:hover {
	color: white;
}

.mobile-nav-link::after {
	content: '';
	position: absolute;
	bottom: -5px;
	left: 0;
	width: 0;
	height: 2px;
	background: #fbb600;
	transition: var(--transition);
}

.mobile-nav-link:hover::after {
	width: 100%;
}

.mobile-menu-contacts {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 2rem;
}

.mobile-social-icons {
	display: flex;
	gap: 1.5rem;
}

.mobile-social-icons a {
	color: #ffffff;
	font-size: 1.5rem;
	opacity: 0;
	transform: translateY(20px);
}
.mobile-social-icons a:hover {
	color: var(--accent-color);
}
.mobile-contacts {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
}

.mobile-contacts a {
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	opacity: 0;
	transform: translateY(20px);
}

.mobile-address {
	text-align: center;
}

.mobile-address a {
	color: #ffffff;
	display: flex;
	align-items: center;
	gap: 0.5rem;
	opacity: 0;
	transform: translateY(20px);
}
.mobile-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--primary-color);
	text-decoration: none;
	white-space: nowrap;
	font-size: 1rem; 
	font-weight: 600;
	color: white;
}
.mobile-item:hover {
	color: var(--accent-color);
}

.mobile-item i {
	color: white;
}

.mobile-item:hover i {
	color: var(--accent-color);
}

.mobile-item svg {
	flex-shrink: 0;
	fill: white;
}

.mobile-item:hover svg path {
	fill: var(--accent-color);
}

/* Адаптивность для мобильных элементов */
@media (max-width: 768px) {
	.mobile-item {
		font-size: 1.1rem;
	}
}

@media (max-width: 576px) {
	.mobile-item {
		font-size: 1.2rem;
		line-height: 1.4;
	}
}

@media (max-width: 480px) {
	.mobile-item {
		font-size: 1.1rem;
		line-height: 1.3;
	}
}

/* Ensure elements are visible when menu is active */
.mobile-menu-overlay.active .mobile-nav-link,
.mobile-menu-overlay.active .mobile-social-icons a,
.mobile-menu-overlay.active .mobile-contacts a,
.mobile-menu-overlay.active .mobile-address a {
	opacity: 1;
	transform: translateY(0);
}

/* Show hamburger menu on mobile */
@media (max-width: 992px) {
	.hamburger {
		order: 2;
	}
	.nav-menu, .nav-cta {
		display: none;
	}
	.logo {
		order: 1;
	}
	.nav-container {
		justify-content: space-between;
	}
}

.cta-buttons {
	display: flex;
	gap: 1.5rem;
	justify-content: center;
	flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
	padding: 0.5rem 1rem;
	border-radius: var(--border-radius-medium);
	text-decoration: none;
	font-weight: 700;
	transition: var(--transition);
	display: inline-block;
	font-size: 1rem;
	border: 2px solid transparent;
	cursor: pointer;
	text-align: center;
	position: relative;
	overflow: hidden;
	z-index: 1;
}

.btn-primary {
  color: var(--primary-color);
  background-color: var(--accent-color);
}

.btn-primary:hover {
	color: white;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 182, 0, 0.2), transparent);
  z-index: -1;
  transition: none;
}

.btn-primary.text-shift {
  position: relative;
}

.btn-gradient-overlay {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(251, 182, 0, 0.4), transparent);
  z-index: -1;
  pointer-events: none;
}

.btn-secondary {
	background-color: transparent;
	color: var(--primary-color);
	border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
	background: linear-gradient(135deg, var(--primary-color), #005a9e);
	color: white;
	transform: translateY(-5px);
	box-shadow: 0 12px 25px rgba(15, 108, 189, 0.3);
}

/* Hero Bento Section */
.hero-bento {
	margin: 0;
	padding-top: 10px;
	padding-bottom: 0px;
}

main > section:not(.hero-bento) {
	padding: var(--section-padding);
}

.bento-container {
	width: 100%;
	margin: 0;
	padding: 0 5%;
}

.all_project {
	display: flex;
    justify-content: flex-end;
    align-items: center;
}

.all_project a {
	text-decoration: none;
	color: var(--primary-color);
	font-size: 1rem;
	font-weight: 600;
	display: inline-flex;
	align-items: center;
	transition: color 0.3s ease;
	line-height: 1.4;
	padding: 5px 0;
}

.all_project a span {
	display: flex;
	align-items: center;
}

.all_project a:hover {
	color: var(--accent-color);
}

.all_project a::after {
	display: none; 
}

.arrow-icon {
	display: inline-block;
	transition: transform 0.3s ease;
	vertical-align: middle;
	margin-left: 5px;
	line-height: 1;
}

.arrow-icon svg {
	fill: currentColor;
	transition: transform 0.3s ease;
	display: block;
}

.arrow-icon {
	animation: arrowPulse 2s ease-in-out infinite;
}

@keyframes arrowPulse {
	0% {
		transform: translateX(0);
	}
	25% {
		transform: translateX(-3px);
	}
	50% {
		transform: translateX(0);
	}
	75% {
		transform: translateX(3px);
	}
	100% {
		transform: translateX(0);
	}
}

@media (max-width: 576px) {
    .all_project a {
        font-size: 0.8rem;
    }
}
/* Slider navigation */
.slider_navigation {
	display: flex;
	align-items: center;
	justify-content: flex-start;
}

.slider_navigation svg {
	width: 40px;
	height: 40px;
	padding: 8px;
	cursor: pointer;
	transition: all 0.3s ease;
	fill: var(--primary-color);
}

.slider_navigation svg:hover {
	fill: var(--accent-color);
	transform: scale(1.1);
}

.slider_navigation svg:active {
	fill: var(--primary-color);
	transform: scale(0.95);
	transition: all 0.1s ease;
}

.top-bento {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.bento-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 0.5rem;
    width: 100%;
    min-height: 80vh;
}

.bento-card-link {
  text-decoration: none;
  display: block;
  height: 100%;
  color: inherit;
  opacity: 1;
}

.js-enabled .bento-container {
  position: relative;
  overflow: hidden;
  min-height: 90vh; 
}

.js-enabled .bento-slider-container {
  position: relative;
  width: 100%;
  height: 100%;
}

.js-enabled .bento-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transform: translateX(100%);
  height: auto;
}

.js-enabled .bento-grid.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.bento-card {
  width: 100%;
  height: 100%;
  min-height: 200px;
	background: var(--card-background);
	border-radius: var(--border-radius-medium);
	box-shadow: var(--box-shadow);
	border: 1px solid rgba(0, 0, 0, .03);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1rem 2rem;
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Стили для текста на карточках */
.bento-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: white;
  position: relative;
  z-index: 2;
  line-height: 1.2;
  margin-bottom: 5px;
}

.bento-subtitle {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  position: relative;
  z-index: 2;
  max-width: 46ch;
  margin: 0;
}

.bento-span {
  transform: translateY(-0.1rem);
    font-size: 4rem;
    display: grid;
    place-items: center;
    width: 2rem;
    height: 2rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.bento-span svg {
  fill: white;
}

.bento-card:hover .bento-span {
  opacity: 1;
}

.bento-desription {
    display: grid;
    grid-template-columns: 1fr auto;
    place-content: start;
    gap: 0.5rem;
}

@media (max-width: 992px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100vw; 
    overflow: hidden; 
  }

  /* Показываем только 2 первые карточки на планшетах */
  .bento-grid .bento-card-link:nth-child(n+3) {
    display: none;
  }
}

@media (max-width: 576px) {
  .bento-grid {
    grid-template-columns: 1fr;
    max-width: 100vw; 
    gap: 0.25rem;
    overflow: hidden; 
  }

  /* Показываем только 2 первые карточки на мобильных устройствах */
  .bento-grid .bento-card-link:nth-child(n+3) {
    display: none;
  }
}

.bento-button-container {
  text-align: center;
  margin-top: 2rem;
}

.bento-button:hover {
  background: white;
  color: var(--primary-color);
  box-shadow: 0 12px 25px rgba(15, 108, 189, 0.4);
  border: 2px solid var(--primary-color);
  transform: translateY(-3px);
}

.bento-grid img {
  display: block;
  object-fit: cover;
	position: relative;
	color: #fff;
}

.bento-card::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 0
}

.bento-card::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 55%;
	background: linear-gradient(to top, rgba(0, 0, 0, .9) 0%, rgba(0, 0, 0, .18) 40%, rgba(0, 0, 0, 0) 100%);
	backdrop-filter: blur(2px);
	-webkit-backdrop-filter: blur(2px);
	z-index: 0;
	pointer-events: none;
	mask-image: radial-gradient(120% 80% at 50% 100%, #000 60%, rgba(0, 0, 0, 0) 100%);
	-webkit-mask-image: radial-gradient(120% 80% at 50% 100%, #000 60%, rgba(0, 0, 0, 0) 100%)
}

.bento-card>* {
	position: relative;
	z-index: 1
}

.bento-glass {
	position: relative;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(17, 17, 17, .45) 0%, rgba(17, 17, 17, .32) 40%, rgba(17, 17, 17, .2) 70%, rgba(17, 17, 17, 0) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-radius: 16px;
	padding: 1.25rem 1.5rem;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06), inset 0 0 30px rgba(0, 0, 0, .2);
	border: 1px solid rgba(255, 255, 255, .08);
	display: inline-block;
	max-width: 80%
}

.bento-glass::before {
	content: "";
	position: absolute;
	inset: -1px;
	border-radius: inherit;
	background: radial-gradient(120% 80% at 0% 50%, rgba(17, 17, 17, .35) 0%, rgba(17, 17, 17, 0) 70%), radial-gradient(120% 80% at 100% 50%, rgba(17, 17, 17, .35) 0%, rgba(17, 17, 17, 0) 70%);
	pointer-events: none
}

.bento-actions {
	display: flex;
	gap: 1rem;
	flex-wrap: wrap
}

.bento-square {
	padding: 1rem;
	align-items: stretch
}

.bento-square-content {
	padding: 0.5rem 2rem;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	gap: 1rem;
	min-height: 200px
}

.bento-square h3 {
	font-size: 1.3rem;
	color: var(--secondary-color);
	font-weight: 600
}

.review-slider .slider-container {
	background: transparent;
}

@media(max-width:992px) {
	.bento-grid {
		grid-template-columns: 1fr
	}
	.bento-main {
		grid-row: auto;
		min-height: 0;
		padding: 2.5rem 2rem
	}
	.bento-title {
		font-size: 2.4rem
	}
}

@media(max-width:576px) {
	.bento-actions {
		flex-direction: column;
		align-items: stretch
	}
	.bento-square-content {
		padding: 0 2rem;
		min-height: 160px
	}
	.bento-title {
		font-size: 1.3rem
	}
	.bento-main::before {
		background: rgba(17, 17, 17, .75);
	}
}
/* Специализация автосервиса */

.section-title {
  text-align: center;
  margin-bottom: 12px;
}

.spec-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.spec-card {
  padding: 32px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.spec-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
}

.spec-logo img {
  height: 100px;
  max-width: 100%;
  object-fit: contain;
}

.spec-card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
}

/* Адаптив */
@media (max-width: 1200px) {
  .spec-cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .spec-card{
    padding: 22px 14px;
  }
  .spec-card h3{
    font-size: 1rem;
  }
}

@media (max-width: 768px) {
  .spec-cards {
    grid-template-columns: repeat(3, 1fr);
  }
    .spec-card{
    padding: 12px 4px;
  }
  .spec-card h3{
    font-size: 0.8rem;
  }
}

/* Common Services Section */
.common-services .container {
	width: 100%;
	margin: 0;
	padding: 0 5%;
}  

@media (max-width: 1200px) {
	.common-services .container {
		padding: 0 4%;
	}
}

@media (max-width: 992px) {
	.common-services .container {
		padding: 0 3%;
	}
}

@media (max-width: 768px) {
	.common-services .container {
		padding: 0 24px;
	}
}

@media (max-width: 576px) {
	.common-services .container {
		padding: 0 20px;
	}
}

@media (max-width: 480px) {
	.common-services .container {
		padding: 0 16px;
	}
}

.common-services .services-list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin-top: 2rem
}

.common-services .service-item {
	width: 100%;
	height: 200px;
	background: var(--card-background);
	border-radius: var(--border-radius-medium);
	box-shadow: var(--box-shadow);
	border: 1px solid rgba(0, 0, 0, .03);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1rem 2rem;
	position: relative;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
	text-decoration: none;
}

.common-services .service-item::before {
	content: "";
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 0
}

.common-services .service-item::after {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 55%;
	background: linear-gradient(to top, rgba(0, 0, 0, .28) 0%, rgba(0, 0, 0, .18) 40%, rgba(0, 0, 0, 0) 100%);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	z-index: 0;
	pointer-events: none;
	mask-image: radial-gradient(120% 80% at 50% 100%, #000 60%, rgba(0, 0, 0, 0) 100%);
	-webkit-mask-image: radial-gradient(120% 80% at 50% 100%, #000 60%, rgba(0, 0, 0, 0) 100%)
}

.common-services .service-item > * {
	position: relative;
	z-index: 1
}
.common-services .service-item h3 {
	margin: 0;
	color: white;
	font-size: 1.2rem;
	font-weight: 600;
	position: relative;
	z-index: 2;
	line-height: 1.2;
	margin-bottom: 5px;
}
.common-services .service-item p {
	margin: 0;
	color: rgba(255, 255, 255, 0.9);
	font-size: 0.9rem;
	line-height: 1.5;
	position: relative;
	z-index: 2;
	max-width: 46ch;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}
.common-services .service-icon {
	margin-top: auto;
	order: 3;
	align-self: flex-start
}
.common-services .service-icon i {
	font-size: 1.6rem
}
.common-services .service-item img {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: 0;
}
.common-services .service-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.common-services .service-item {
	position: relative
}
.common-services .service-item .corner-icon {
	position: absolute;
	top: 12px;
	right: 12px;
	width: 24px;
	height: 24px;
	opacity: .9;
	pointer-events: none;
	z-index: 3;
}
.common-services .service-item .corner-icon path {
	fill: white !important;
	filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .15))
}

@media(max-width:992px) {
	.common-services .services-list {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media(max-width:576px) {
	.common-services .services-list {
		grid-template-columns: repeat(2, 1fr);
		gap: 10px;
	}
	.common-services .service-item {
		aspect-ratio: auto;
        padding: 1rem;
	}
    .common-services .service-item h3{
        font-size: 1rem;
    }
}

/* Schedule UI */
.schedule-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
  justify-items: center;
}

.schedule-list h2 {
  margin-bottom: 20px;
  font-size: 1.5rem;
  grid-column: 1 / -1;
}

.schedule-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  width: 100%;
}

.schedule-column {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.shedule-arrow-right svg{
	fill: var(--secondary-color);
}
.day-item {
  width: 100%;
  background: var(--card-background);
  border: none;
  border-radius: var(--border-radius);
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
  cursor: pointer;
  box-shadow: var(--box-shadow);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.day-item:hover {
  box-shadow: 0 10px 22px rgba(0,0,0,0.08);
  border: 2px solid var(--success-color);
  transition: all .3s cubic-bezier(0.4, 0, 0.2, 1);
}

.day-info {
  flex: 1;
  text-align: left;
}

.day-date {
  display: block;
  font-size: 12px;
  color: var(--text-secondary);
  margin-bottom: 2px;
}

.day-info strong {
  display: block;
  font-size: 16px;
}

.day-info small {
  font-size: 13px;
  color: var(--text-secondary);
}

.shedule-icon {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-weight: 700;
  font-size: 14px;
}

.shedule-icon.success { background: #e8f7ee; color: var(--success-color); }
.shedule-icon.warning { background: #fff4e5; color: var(--color-medium); }
.shedule-icon.danger  { background: #fdecea; color: var(--color-high); }

.shedule-arrow {
  font-size: 2rem;
  color: var(--text-secondary);
}

.shedule-status {
  font-size: 0.8rem;
  background: var(--color-high);
  color: white;
  padding: 4px 10px;
  border-radius: var(--border-radius);
}

/* Адаптив */
@media (max-width: 768px) {
  .schedule-wrapper {
    grid-template-columns: 1fr;
  }

  .schedule-list {
    grid-template-columns: 1fr;
  }
}

/* FAQ Section Styling */
.faq-section {
    padding: var(--section-padding);
}

.faq-layout {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}
.faq-left {
    flex: 1;
	min-width: 0;
}

.faq-right {
    flex: 1;
    min-width: 0;
}
.faq-toggle-btn{
    display: none;
}
/* Адаптивность для FAQ на мобильных устройствах */
@media (max-width: 768px) {
    .faq-layout {
        flex-direction: column;
        gap: 5px;
    }

    .faq-left {
        flex: auto;
    }

    .faq-right {
        flex: auto;
        display: none;
        width: 100%;
    }

    .faq-right.mobile-visible {
        display: block;
    }

    .faq-container {
        width: 100%;
    }

    .faq-toggle-container {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .faq-toggle-btn {
        display: block;
        background: transparent;
        color: var(--primary-color);
        border: none;
        padding: 12px 24px;
        cursor: pointer;
        font-size: 1rem;
        font-weight: 600;
        display: flex;
        align-items: center;
        gap: 8px;
        transition: all 0.3s ease;
    }

    .faq-toggle-btn:hover {
        filter: brightness(1.1);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(251, 182, 0, 0.4);
    }

    .faq-toggle-arrow {
        transition: transform 0.3s ease;
    }

    .faq-toggle-btn.active {
        display: none;
    }
}
.faq-item {
    background: var(--card-background);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.03);
    margin-bottom: 1rem;
    overflow: hidden;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
}

.faq-question {
    padding: 1rem 1rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--secondary-color);
}

.faq-question h3 {
    margin: 0;
    font-size: 1rem;
	font-weight: 600;
}

.faq-arrow {
    font-size: 0.8rem;
    transition: transform 0.3s ease;
}

.faq-arrow svg {
    width: 1rem;
    height: 1rem;
    fill: currentColor;
    transition: transform 0.3s ease;
    display: inline-block;
    vertical-align: middle;
}

.faq-question.active .faq-arrow svg {
    transform: rotate(180deg);
}

/* Ensure the arrow is properly aligned and rotated */
.faq-question .faq-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
}

.faq-question .faq-arrow svg {
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 1rem 1rem;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    transition: max-height 0.3s ease, opacity 0.3s ease, visibility 0.3s ease;
}

.faq-answer p {
    color: var(--text-secondary);
    margin-bottom: 0;
    text-align: left;
	font-size: 1rem;
}
	.faq-btn{
	display: block;
    margin: 2rem auto 0 auto;
    width: auto;
    max-width: 300px;
}

/* Maintenance Prediction Block Styling */
.maintenance-prediction {
	padding: var(--section-padding);
}

.maintenance-prediction h2 {
	text-align: center;
	margin-bottom: 1rem;
	color: var(--secondary-color);
	position: relative;
	font-weight: 600;
}

.maintenance-prediction .subtitle {
	text-align: center;
	margin-bottom: 3rem;
	color: var(--text-secondary);
	font-size: 1.2rem;
}

.prediction-layout {
	display: flex;
	gap: 2rem;
	align-items:flex-start;
	background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 252, 0.95) 100%);
	border-radius: var(--border-radius-xl);
	padding: 3rem;
	box-shadow: 0 28px 80px rgba(15, 24, 46, 0.1);
	border: 1px solid rgba(0, 0, 0, 0.03);
	backdrop-filter: blur(6px);
	position: relative;
	overflow: hidden;

}
.prediction-layout::after{
	content: "";
	position: absolute;
	inset: 0;
	pointer-events: none;
	background: radial-gradient(120% 80% at 10% 20%, rgba(15, 108, 189, 0.08), transparent 45%), radial-gradient(90% 70% at 90% 10%, rgba(255, 173, 94, 0.08), transparent 40%);
}

.prediction-image-container {
	flex: 1;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	flex-direction: column;
}

.prediction-image {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: var(--border-radius);
}

.prediction-form-container {
	flex: 1;
	min-width: 0;
}

@media (max-width: 992px) {
	.prediction-layout {
		flex-direction: column;
        padding: 1rem;
	}

	.prediction-image-container {
		width: 100%;
		height: 300px;
	}

	.prediction-form-container {
		width: 100%;
	}
}

@media (max-width: 768px) {
	.prediction-form-container {
		gap: 1.5rem;
	}
}

@media (max-width: 480px) {
	.prediction-form-container {
		gap: 1rem;
	}
}

.prediction-form {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(15, 108, 189, 0.12);
	padding: 3rem;
	border-radius: var(--border-radius);
}

.form-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.5rem;
	margin-bottom: 1.5rem;
}

@media (max-width: 768px) {
	.form-row {
		grid-template-columns: 1fr;
		gap: 1.2rem;
		margin-bottom: 1.2rem;
	}
}

@media (max-width: 480px) {
	.form-row {
		gap: 1rem;
		margin-bottom: 1rem;
		padding: 0 5px;
	}
}

.form-group {
	margin-bottom: 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
}

.form-group label {
	display: block;
	font-weight: 700;
	color: var(--secondary-color);
	font-size: 0.95rem;
	letter-spacing: 0.01em;
}

.form-hint {
	font-size: 0.88rem;
	color: var(--text-secondary);
	line-height: 1.4;
}

.form-group input, .form-group select {
	width: 100%;
	padding: 0.95rem 1.1rem;
	border: 1px solid #d9deea;
	border-radius: 14px;
	font-size: 1rem;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
	background-color: #f7f9fc;
	color: var(--text-primary);
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.select-wrapper select {
	padding: 0.95rem 2.8rem 0.95rem 1.1rem; 
	appearance: none;
}

.form-group input:focus, .form-group select:focus {
	outline: none;
	border-color: var(--primary-color);
	box-shadow: 0 10px 30px rgba(15, 108, 189, 0.16), 0 0 0 3px rgba(15, 108, 189, 0.18);
	background-color: #fff;
}

.select-wrapper {
	position: relative;
}

.select-caret {
	position: absolute;
	right: 14px;
	top: 50%;
	width: 14px;
	height: 14px;
	transform: translateY(-35%);
	pointer-events: none;
	filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.12));
}

.form-group input:hover, .form-group select:hover {
	background-color: #fff;
	border-color: rgba(15, 108, 189, 0.5);
}

.form-group input::placeholder {
	color: #9aa4b5;
}

.prediction-form .btn-primary {
	width: 100%;
	padding: 1rem;
	font-size: 1.1rem;
	margin-top: 1rem;
	border-radius: 14px;
	box-shadow: 0 16px 40px rgba(15, 108, 189, 0.22);
	letter-spacing: 0.01em;
}

@media (max-width: 768px) {
	.prediction-form {
		padding: 2.25rem;
	}
}

@media (max-width: 480px) {
	.prediction-form {
		padding: 1.5rem;
		border-radius: var(--border-radius-xl);
	}

	.prediction-result {
		padding: 1.5rem;
	}

	.prediction-form .btn-primary {
		padding: 0.9rem;
		font-size: 1rem;
	}

	.prediction-result {
		padding: 1.8rem;
	}
}

.prediction-result {
	background: var(--card-background);
	border-radius: var(--border-radius);
	padding: 2.5rem;
	box-shadow: var(--box-shadow);
	border: 1px solid rgba(0, 0, 0, 0.03);
	display: none;
}

.prediction-cta {
	margin-top: 1.25rem;
}

.prediction-result h3 {
	font-size: 1.8rem;
	color: var(--primary-color);
	margin-bottom: 1.5rem;
	text-align: center;
}

@media (max-width: 480px) {
	.prediction-result h3 {
		font-size: 1.5rem;
		margin-bottom: 1.2rem;
	}
}

/* Баннер запчасти */

.result-placeholder {
	color: var(--text-secondary);
	margin-bottom: 1.5rem;
	text-align: center;
	font-style: italic;
}

.result-details {
	margin-top: 1.5rem;
}

.result-details ul {
	list-style: none;
	padding: 0;
}

.result-details li {
	padding: 0.8rem 0;
	border-bottom: 1px solid #eee;
	display: flex;
	align-items: center;
}

.result-details li:last-child {
	border-bottom: none;
}

.result-details li::before {
	content: '✓';
	color: var(--primary-color);
	font-weight: bold;
	display: inline-block;
	width: 25px;
	margin-right: 10px;
	font-size: 1.2rem;
}

.parts-banner {
	padding: var(--section-padding);
}
.parts-banner__inner {
	position: relative;
	background: url('../home/img/banner-repair.jpg');
	background-size: cover;
	background-position: center;
	border-radius: var(--border-radius-xl);
	overflow: hidden;
	min-height: 260px;
}
.parts-banner__content {
	position: relative;
	padding: 2.75rem 3rem;
	max-width: 560px;
	color: #fff;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
}
.parts-banner__eyebrow {
	text-transform: uppercase;
	letter-spacing: 0.08em;
	font-weight: 700;
	font-size: 0.95rem;
	color: #c8d7ff;
	margin: 0;
}
.parts-banner__title {
	margin: 0;
	font-size: clamp(1.9rem, 1.9vw, 1.7rem);
	line-height: 1.1;
	font-weight: 700;
}

/* Стили для соцсетей */
            .social-grid{
              display: flex;
              justify-content: center;
              gap: 24px;
              width: 100%;
              flex-wrap: wrap;
			  background: linear-gradient(145deg, rgba(255, 255, 255, 0.9) 0%, rgba(245, 248, 252, 0.95) 100%);
    		  padding: 30px 0;
			  border-radius: var(--border-radius);
			  box-shadow: 0 28px 80px rgba(15, 24, 46, 0.1);
			  border: 1px solid rgba(0, 0, 0, 0.03);
			  backdrop-filter: blur(6px);
              overflow: hidden;
            }
            .card-social {
            width: 100%;
            max-width: 420px;
            height: auto;
            border-radius: 48px;
            padding: 5px 48px;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            position: relative;
            overflow: hidden;
            box-sizing: border-box;
			align-items: center;
        }

        /* Левая карточка */
        .gray-card-social {
            background-color: var(--card-background);
            color: var(--primary-color);
        }

        /* Правая карточка */
        .blue-card-social {
            background-color: var(--card-background);
            color: var(--primary-color);
        }
		.h2-social{
			margin-bottom: 1rem;
		}
        .h3-social {
			position: relative;
			color: var(--primary-color);
			text-align: center;
            font-size: 1.8rem;
            font-weight: 600;
            margin: 0 0 16px 0;
            letter-spacing: -0.5px;
        }
        .subtitle-social {
          text-align: center;
          margin-bottom: 2rem;
          color: var(--text-secondary);
          font-size: 1.2rem;
        }

        @media (max-width: 768px) {
            .subtitle-social {
                font-size: 1.1rem;
                margin-bottom: 2rem;
            }
        }

        @media (max-width: 480px) {
            .subtitle-social {
                font-size: 1rem;
                margin-bottom: 1.5rem;
                padding: 0 10px;
            }
            .card-social{
                width: 100%;
                padding: 5px 24px;
            }
        }
        .p-social {
            font-size: 18px;
            line-height: 1.4;
            margin: 0;
            opacity: 0.8;
            max-width: 320px;
            text-align: center;
        }

/* Contact Section */
.contacts-top {
  max-width: 100%;
  margin: 0 auto;
  padding: 0px 24px 40px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
}

.contact-item h4 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.contact-item a {
  font-size: 1rem;
  color: var(--secondary-color);
  text-decoration: none;
}
/* Стили для SVG иконки метро */
.contact-item svg {
	stroke-width: 4; 
    background-color: rgb(134, 71, 178);
    border-radius: 50%;
    padding: 4px;
    display: inline-block;
    vertical-align: middle;
    box-sizing: content-box;
    fill: white;
}

.contact-item path {
	stroke-width: 2; 
}
.metro{
    display: flex;
    align-items: center;
    gap: 8px;
}
/* Адаптив */
@media (max-width: 992px) {
  .contacts-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .contacts-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 5px;
    padding: 0px 0px 40px;
  }
  .contact-item a,
  .contact-item p {
    font-size: 0.8rem;
  }
  .contact-item h4{
    font-size: 1rem;
    margin-bottom: 0.5rem;
  }
}
.map-container {
	width: 100%;
	height: 600px;
	border-radius: var(--border-radius);
	overflow: hidden;
	box-shadow: var(--box-shadow);
}
.map-container iframe {
	width: 100%;
	height: 100%;
	border: none;
	height: 300px;
}
/* Адаптивность для карты */

@media (max-width: 768px) {
	.map-container {
		height: 600px;
	}
}
@media (max-width: 576px) {
	.map-container {
		height: 600px;
	}
}
/* Footer */
footer {
	background-color: var(--primary-color);
	color: white;
	padding: 5rem 0 2.5rem;
}

.footer-content {
	display: grid;
	grid-template-columns: 1fr 3fr;
	gap: 2rem;
	margin-bottom: 3rem;
}

.footer-section h3 {
	font-size: 1.8rem;
	margin-bottom: 1.2rem;
	font-weight: 600;
}

.footer-section h3 span {
	color: var(--primary-color);
}

.footer-section p {
	color: var(--text-secondary);
	margin-bottom: 1.8rem;
	line-height: 1.7;
}

.social-icons {
	display: flex;
	gap: 1.2rem;
}

.social-icons a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 45px;
	height: 45px;
	background-color: rgba(255, 255, 255, 0.1);
	border-radius: 50%;
	color: white;
	transition: var(--transition);
	font-size: 1.2rem;
  text-decoration: none;
}

.social-icons a:hover {
	background: var(--accent-color);
	box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.footer-links {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}
.footer-column-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	padding: 0.75rem 0;
}
.footer-column h4 {
	font-size: 1.2rem;
	position: relative;
	font-weight: 600;
}

.footer-column ul {
	list-style: none;
}

.footer-column li {
	margin-bottom: 0.2rem;
	display: flex;
	align-items: center;
	gap: 8px;
}

.footer-column a {
	color: var(--text-secondary);
	text-decoration: none;
	transition: var(--transition);
	display: block;
	line-height: 1.6;
}

.footer-column a:hover {
	color: var(--text-color);
}

.footer-bottom {
	display: flex;
	justify-content: space-between;
	align-items: center;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	padding-top: 2rem;
	color: var(--text-secondary);
	font-size: 0.95rem;
	flex-wrap: wrap;
	gap: 1rem;
}

.footer-bottom p {
	margin: 0;
}

.footer-bottom a {
	color: var(--text-secondary);
	text-decoration: none;
}

.footer-bottom a:hover {
	color: var(--text-color);
}

.privacy-policy-link {
	text-decoration: none;
	color: var(--text-secondary);
	transition: var(--transition);
	font-weight: 500;
}

.privacy-policy-link:hover {
	color: var(--accent-color);
	text-decoration: underline;
}

.footer-toggle-btn{
		display: none;
}
.footer-toggle-btn {
	background: none;
	border: none;
	cursor: pointer;
	padding: 0.25rem;
	align-items: center;
	justify-content: center;
}
.footer-toggle-icon {
	width: 16px;
	height: 16px;
	display: inline-block;
	position: relative;
	color: var(--text-secondary);
	transition: transform 0.3s ease;
}
.footer-column.active .footer-toggle-icon {
	transform: rotate(180deg);
}
.footer-column-content {
	display: block;
	max-height: 300px;
	overflow: hidden;
	transition: max-height 0.3s ease;
}

@media (max-width: 992px) {
	.footer-toggle-btn {
		display: block;
	}
	.footer-column-content {
		display: none;
		max-height: 0;
		overflow: hidden;
	}
	.footer-column.active .footer-column-content {
		display: block;
		max-height: 300px;
		overflow: visible;
	}
	.footer-column-header {
		margin-bottom: 0.5rem;
        padding: 0;
	}
	.footer-content {
		grid-template-columns: 1fr;
        gap: 2rem;
	}
	.footer-links {
		grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
	}
	.footer-toggle-icon {
		display: block;
	}
	.hero-content p {
		font-size: 1.2rem;
	}
	.contact-content, .content-wrapper {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 768px) {
	.hamburger {
		display: flex;
	}
	.nav-menu {
		position: fixed;
		left: -100%;
		top: var(--header-height, 110px);
		flex-direction: column;
		background-color: white;
		width: 100%;
		text-align: center;
		transition: 0.3s;
		box-shadow: 0 10px 27px rgba(0, 0, 0, 0.1);
		padding: 2rem 0;
		border-top: 1px solid rgba(0, 0, 0, 0.05);
	}
	.nav-menu.active {
		left: 0;
	}
	.hero-content p {
		font-size: 1.1rem;
	}
	.reviews-grid {
		grid-template-columns: 1fr;
	}
	.footer-links {
		grid-template-columns: 1fr;
	}
	.cta-buttons {
		flex-direction: column;
		align-items: center;
		gap: 1rem;
	}
	.btn-primary, .btn-secondary {
		width: 100%;
		max-width: 300px;
	}
}

@media (max-width: 576px) {
	section {
		padding: 1rem 0;
	}
	section h2 {
		font-size: 2rem;
    margin-bottom: 1.5rem;
    line-height: normal;
	}
}

/* Animation for hamburger menu */
.hamburger.active .bar:nth-child(2) {
	opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
	transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
	transform: translateY(-8px) rotate(-45deg);
}

/* Стили для юридического уведомления в футере */
.footer-disclaimer {
	text-align: center;
	padding: 1rem 0 0;
	color: rgba(255, 255, 255, 0.6);
	font-size: 0.8rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 1rem;
}


