body {
font-family: Arial, sans-serif;
margin: 0;
padding: 0 0 0 250px; /* Отступ слева под ширину меню */
background-color: #fff;
color: #333;
}

:root {
--dark-grey: #2c3e50;
--light-grey: #f4f4f4;
--red: #e31e24;
--white: #ffffff;
}

/* ----- ШАПКА (HERO) ----- */
.hero {
max-width: 100%;
margin-bottom: 50px;
padding: 60px 40px;
background: linear-gradient(rgba(255,255,255,0.9), rgba(255,255,255,0.7)),
url('https://images.unsplash.com/photo-1571175443880-49e1d25b2bc5?ixlib=rb-4.0.3&auto=format&fit=crop&w=1000&q=80');
background-size: cover;
background-position: center;
border-radius: 0 0 20px 20px;
box-shadow: inset 0 -10px 20px rgba(0,0,0,0.05);
}

.hero h1 {
font-size: 48px;
color: #1a1a1a;
text-shadow: 1px 1px 2px rgba(255,255,255,0.8);
margin-bottom: 10px;
}

.hero p {
color: #666;
margin-bottom: 30px;
font-size: 18px;
}

/* ----- КНОПКИ ----- */
.btn-group {
display: flex;
gap: 10px;
justify-content: flex-start;
}

.btn {
padding: 12px 24px;
border-radius: 8px;
text-decoration: none;
font-weight: bold;
border: none;
cursor: pointer;
font-size: 14px;
}

.btn-red {
background-color: #e31e24;
color: white;
}

.btn-black {
background-color: #2c3e50;
color: white;
}

/* ----- СЕТКА КАРТОЧЕК (ПРЕИМУЩЕСТВА) ----- */
.grid-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 20px;
max-width: 1100px;
padding: 40px;
}

.card {
background-color: #f5f7fa;
padding: 30px;
border-radius: 12px;
position: relative;
min-height: 180px;
}

.card h3 {
margin-top: 0;
font-size: 20px;
}

.card p {
font-size: 14px;
color: #555;
line-height: 1.5;
}

/* ----- КНОПКИ В КАРТОЧКАХ ----- */
.card-btn {
display: inline-block;
background: #ffffff;
border: 1px solid #e0e0e0;
padding: 10px 20px;
border-radius: 4px;
font-size: 14px;
color: #333;
cursor: pointer;
text-decoration: none;
transition: all 0.2s ease;
margin-top: 15px;
font-family: inherit;
}

.card-btn:hover {
background: #f5f5f5;
border-color: #ccc;
}

.btn-red-text {
border-color: #e31e24;
color: #e31e24;
font-weight: 500;
}

.btn-red-text:hover {
background-color: #e31e24;
color: #ffffff;
border-color: #e31e24;
}

/* ----- МОДАЛЬНЫЕ ОКНА ----- */
.modal {
display: none;
position: fixed;
z-index: 1;
left: 0;
top: 0;
width: 100%;
height: 100%;
background-color: rgba(0,0,0,0.5);
}

.modal-content {
background-color: white;
margin: 15% auto;
padding: 30px;
border-radius: 12px;
width: 350px;
position: relative;
}

.close {
position: absolute;
right: 20px;
top: 10px;
font-size: 28px;
cursor: pointer;
}

.contact-modal {
text-align: center;
border-top: 5px solid #e31e24;
}

.modal-phone-number {
display: block;
font-size: 24px;
color: #1a1a1a;
text-decoration: none;
font-weight: bold;
margin: 20px 0;
padding: 15px;
background: #f4f4f4;
border-radius: 8px;
border: 1px dashed #e31e24;
}

.modal-subtext {
font-size: 12px;
color: #888;
}

/* ----- БОКОВАЯ ПАНЕЛЬ (SIDEBAR) ----- */
.sidebar {
position: fixed;
left: 0;
top: 0;
width: 250px;
height: 100vh;
background-color: var(--dark-grey);
color: var(--white);
display: flex;
flex-direction: column;
padding: 20px 0;
box-shadow: 4px 0 10px rgba(0,0,0,0.1);
}

.sidebar-logo {
padding: 0 20px 40px;
text-align: center;
font-weight: bold;
font-size: 20px;
letter-spacing: 1px;
}

.red-text {
color: var(--red);
}

.nav-links {
list-style: none;
padding: 0;
margin: 0;
}

.nav-links li a {
display: block;
padding: 20px 25px;
color: #bdc3c7;
text-decoration: none;
transition: 0.3s;
font-size: 14px;
border-left: 4px solid transparent;
}

.nav-links li a:hover,
.nav-links li a.active {
background-color: #34495e;
color: var(--white);
border-left: 4px solid var(--red);
}

.sidebar-footer {
margin-top: auto;
padding: 20px;
background-color: #243342;
text-align: center;
}

.phone-link {
color: var(--red);
text-decoration: none;
font-weight: bold;
}

/* ----- СЕКЦИЯ УСЛУГ ----- */
.services-section {
padding: 20px 40px;
}

.services-section h2 {
font-size: 28px;
margin-bottom: 30px;
color: var(--dark-grey);
border-left: 5px solid var(--red);
padding-left: 15px;
}

.services-grid {
display: grid;
grid-template-columns: 1fr 1fr;
gap: 30px;
}

.service-card {
display: flex;
background: #fff;
border: 1px solid #eee;
border-radius: 8px;
overflow: hidden;
transition: transform 0.2s, box-shadow 0.2s;
min-height: 180px;
}

.service-card:hover {
transform: translateY(-5px);
box-shadow: 0 10px 20px rgba(0,0,0,0.05);
border-color: var(--red);
}

.service-image {
width: 40%;
background-size: cover;
background-position: center;
background-color: #f0f0f0;
}

.service-info {
width: 60%;
padding: 20px;
display: flex;
flex-direction: column;
justify-content: center;
}

.service-info h3 {
margin: 0 0 10px 0;
font-size: 18px;
color: #1a1a1a;
text-transform: uppercase;
}

.service-info p {
margin: 0;
font-size: 14px;
color: #666;
line-height: 1.4;
}

.full-width {
grid-column: span 2;
background: var(--light-grey);
}

/* ----- СЕКЦИЯ БРЕНДОВ (БЕСКОНЕЧНАЯ ЛЕНТА) ----- */
.brands-section {
padding: 60px 40px;
overflow: hidden;
}

.brands-wrapper {
overflow: hidden;
cursor: grab;
white-space: nowrap;
padding: 20px 0;
user-select: none;
}

.brands-wrapper:active {
cursor: grabbing;
}

.brands-track {
display: inline-flex;
gap: 20px;
animation: scroll 30s linear infinite;
}

.brands-wrapper:hover .brands-track {
animation-play-state: paused;
}

.brand-item {
background: #fff;
border: 1px solid #eee;
border-radius: 12px;
padding: 15px 30px;
min-width: 150px;
height: 80px;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 4px 6px rgba(0,0,0,0.02);
}

.brand-item img {
max-width: 100%;
max-height: 100%;
filter: grayscale(100%);
opacity: 0.7;
transition: 0.3s;
}

.brand-item:hover img {
filter: grayscale(0%);
opacity: 1;
}

<span style="color: hsl(var(--primary)); font-weight: 500;">@keyframes</span> scroll {
0% { transform: translateX(0); }
100% { transform: translateX(-50%); }
}

/* ----- СЕКЦИЯ ОТЗЫВОВ ----- */
.reviews-section {
padding: 60px 40px;
background: var(--light-grey);
}

.reviews-section h2 {
font-size: 28px;
margin-bottom: 40px;
color: var(--dark-grey);
border-left: 5px solid var(--red);
padding-left: 15px;
}

.reviews-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 25px;
max-width: 1200px;
}

.review-card {
background: #fff;
padding: 25px;
border-radius: 12px;
box-shadow: 0 4px 12px rgba(0,0,0,0.04);
border-left: 4px solid var(--red);
transition: transform 0.2s, box-shadow 0.2s;
}

.review-card:hover {
transform: translateY(-3px);
box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.review-header {
display: flex;
align-items: center;
gap: 12px;
margin-bottom: 15px;
}

.review-avatar {
width: 42px;
height: 42px;
background: var(--red);
color: #fff;
border-radius: 50%;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 18px;
flex-shrink: 0;
}

.review-name {
font-weight: 600;
font-size: 16px;
color: #1a1a1a;
}

.review-stars {
color: #f4b400;
letter-spacing: 2px;
font-size: 14px;
margin-left: auto;
}

.review-text {
font-size: 14px;
color: #555;
line-height: 1.6;
margin-bottom: 12px;
font-style: italic;
}

.review-date {
font-size: 12px;
color: #999;
display: block;
text-align: right;
}

/* ----- ФУТЕР ----- */
.site-footer {
background: #2c3e50;
color: #ecf0f1;
padding: 30px 40px;
margin-top: 0;
}

.footer-content {
max-width: 1200px;
margin: 0 auto;
display: flex;
justify-content: space-between;
align-items: center;
flex-wrap: wrap;
gap: 15px;
}

.copyright {
font-size: 14px;
}

.footer-note {
font-size: 14px;
opacity: 0.8;
}

<span style="color: hsl(var(--primary)); font-weight: 500;">@media</span> (max-width: 768px) {
body {
padding-left: 0;
}
.sidebar {
transform: translateX(-100%);
transition: 0.3s;
z-index: 10;
}
.services-grid {
grid-template-columns: 1fr;
}
.full-width {
grid-column: span 1;
}
.reviews-container {
grid-template-columns: 1fr;
}
}
