html, body {
    overflow-x: hidden;
    width: 100%;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding-top: 110px;
    font-family: 'Onest', 'Arial', sans-serif;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
}

.site-header {
    background-color: skyblue;
    padding: 20px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    width: 100%;
}

.site-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50vw;
    width: 200vw;
    height: 100%;
    background-color: skyblue;
    z-index: -1;
}

.header-container {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    height: 60px;
}

.phone-number {
    position: absolute;
    top: 0;
    left: 55%;
    transform: translateX(-50%);
    font-size: 20px;
    font-weight: bold;
    color: white;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 5px;
    white-space: nowrap;
}

.phone-number:hover,
.phone-number:focus {
    text-decoration: underline;
}

.menu-bar {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: 30px;
    background-color: #73BAD7;
    color: white;
    font-size: 18px;
    font-weight: bold;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    z-index: 1000;
    border: none;
    outline: none;
}

.main-nav {
    font-size: 16px;
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background: #333;
    transition: left 0.3s ease-in-out;
    padding-top: 60px;
    z-index: 2000;
}

.main-nav ul {
    list-style: none;
    padding: 0;
}

.main-nav ul li {
    padding: 10px;
    border-bottom: 1px solid #444;
}

.main-nav ul li:last-child {
    border-bottom: none;
}

.main-nav ul li a {
    color: white;
    text-decoration: none;
}

.main-nav ul li a:hover,
.main-nav ul li a:focus {
    text-decoration: underline;
}

.main-nav .close-btn {
    position: absolute;
    top: 10px;
    right: 15px;
    font-size: 30px;
    cursor: pointer;
    color: white;
    background: none;
    border: none;
}

.social-icons {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 1000;
}

.social-icons a img {
    width: 50px;
    height: 50px;
    transition: transform 0.2s ease;
}

.social-icons a:hover img,
.social-icons a:focus img {
    transform: scale(1.1);
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

.services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50vw;
    width: 200vw;
    height: 100%;
    background-color: skyblue;
    z-index: -1;
}

.services h1 {
    font-size: 32px;
    font-weight: bold;
    color: white;
    text-align: center;
    margin-bottom: 20px;
    grid-column: 1 / -1;
}

.services-list {
    display: contents;
}

.service {
    display: flex;
    align-items: center;
    background-color: #f0f0f0;
    border-radius: 10px;
    padding: 15px;
}

.service img {
    height: 40px;
    margin-right: 15px;
}

.service span {
    font-size: 18px;
}

.partners-block {
    background-color: skyblue;
    padding: 40px 0;
    position: relative;
    z-index: 1;
}

.partners-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50vw;
    width: 200vw;
    height: 100%;
    background-color: skyblue;
    z-index: -1;
}

.partners-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.partners-left {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.partners-images {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.partners-images img {
    height: 30px;
}

.stars {
    display: flex;
    gap: 5px;
}

.rating-text {
    color: white;
    font-size: 18px;
    text-align: center;
    margin-top: 5px;
}

.partners-right img {
    max-width: 100%;
    height: 300px;
    display: block;
}

.map-block {
    text-align: center;
    padding: 40px 20px;
    position: relative;
}

.map-block h2 {
    font-size: 32px;
    font-weight: bold;
    color: #333;
    margin-bottom: 20px;
}

.map-image {
    width: 1200px;
    max-width: 100%;
    height: auto;
}

.reviews-block {
    padding: 40px 0;
    overflow: hidden;
}

.reviews-container {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.review-card {
    flex: 0 0 250px;
    background-color: #f0f0f0;
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 5px;
}

.review-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}

.review-name {
    font-size: 16px;
    font-weight: bold;
}

.review-partner {
    width: 60px;
    height: auto;
    margin-left: auto;
}

.review-stars {
    width: 100px;
    height: auto;
}

.review-text {
    font-size: 14px;
    color: #555;
}

.call-master {
    position: relative;
    display: flex;
    flex-direction: column; /* h2 сверху, остальное ниже */
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: #f9f9f9;
}

.call-master::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50vw;
    width: 200vw;
    height: 100%;
    background-color: #f9f9f9;
    z-index: -1;
}

.call-master h2 {
    font-size: 32px;
    margin: 0 0 20px; /* Отступ снизу для отделения от контента */
    color: #333;
    text-align: center;
}

.call-master-content-wrapper {
    display: flex;
    flex-wrap: nowrap; /* Изображение и форма в одном ряду */
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    width: 90%;
}

.call-master-image {
    width: 350px;
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    flex: 0 0 auto; /* Изображение не растягивается */
}

.call-master-content {
    flex: 1; /* Форма занимает оставшееся пространство */
    text-align: center;
}

.call-master-content p {
    font-size: 16px;
    margin-bottom: 10px;
}

.call-master-content label {
    display: block;
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.call-master-content input {
    width: 150px;
    max-width: 100%;
    padding: 10px;
    margin-bottom: 10px;
    border: 1px solid #ccc;
    border-radius: 20px;
    font-size: 14px;
}

.call-master-content input:focus {
    outline: 2px solid skyblue;
}

.call-master-content button {
    padding: 10px 20px;
    background-color: skyblue;
    color: white;
    border: none;
    border-radius: 20px;
    cursor: pointer;
}

.call-master-content button:hover,
.call-master-content button:focus {
    background-color: deepskyblue;
    outline: 2px solid #fff;
}

.call-master-content .privacy {
    font-size: 12px;
    color: #777;
    margin-top: 10px;
}

.call-master-content .privacy a {
    color: #777;
    text-decoration: underline;
}

.call-master-content .privacy a:hover,
.call-master-content .privacy a:focus {
    color: deepskyblue;
}

.repair-block {
    position: relative;
    padding: 20px;
    background-color: #f9f9f9;
    text-align: center;
}

.repair-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: -50vw;
    width: 200vw;
    height: 100%;
    background-color: #f9f9f9;
    z-index: -1;
}

.repair-block h2 {
    font-size: 32px;
    font-weight: bold;
    margin-bottom: 40px;
    color: #333;
}

.repair-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.repair-item {
    position: relative;
    display: flex;
    align-items: flex-start;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 10px;
    overflow: hidden;
    text-decoration: none;
    text-align: left;
    color: #333;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    padding: 20px;
}

.repair-item::after {
    content: "Подробнее";
    position: absolute;
    left: 20px;
    bottom: 10px;
    font-size: 16px;
    color: black;
    text-decoration: underline;
}

.repair-item:hover,
.repair-item:focus {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.repair-item.big {
    grid-column: span 2;
    height: 200px;
}

.repair-item.small {
    grid-column: span 1;
    height: 200px;
}

.repair-item span {
    font-size: 18px;
    font-weight: bold;
    z-index: 1;
}

.image-container {
    position: absolute;
    bottom: 0;
    right: 0;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
}

.repair-item.big .image-container {
    width: 250px;
    height: 250px;
    bottom: 0;
    right: 0;
}

.repair-item.small .image-container {
    width: 200px;
    height: 200px;
    bottom: -10px;
    right: -30px;
}

.repair-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.about-company {
    position: relative;
    margin-top: 0;
    background-color: skyblue;
    z-index: 1;
}

.about-company::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -50vw;
    width: 200vw;
    height: calc(100% + 40px);
    background-color: skyblue;
    z-index: -1;
}

.about-company h2 {
    color: white;
    font-size: 32px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
}

.about-content {
    color: white;
    margin: 0 auto;
    font-family: 'Onest', sans-serif;
}

.intro-text {
    font-size: 18px;
    margin-bottom: 30px;
}

.why-trust-us h3 {
    font-size: 24px;
    margin-top: 30px;
}

.section h4 {
    font-size: 20px;
    font-weight: bold;
    margin-top: 10px;
}

.section ul {
    padding-left: 20px;
    font-size: 16px;
}

.call-to-action p {
    font-size: 18px;
    font-weight: bold;
    margin-top: 30px;
}

.call-to-action a {
    color: white;
    text-decoration: underline;
}

.call-to-action a:hover,
.call-to-action a:focus {
    color: deepskyblue;
}

.popup-call-master {
    display: none;
    justify-content: center;
    align-items: flex-start;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 9999;
    overflow-y: auto;
    overflow-x: hidden;
    padding: 40px 20px;
    box-sizing: border-box;
    scrollbar-width: none;
}

.popup-call-master[aria-hidden="false"] {
    display: flex;
}

.popup-call-master::-webkit-scrollbar {
    display: none;
}

.popup-call-master .call-master {
    width: 100%;
    max-width: 500px;
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
    position: relative;
    text-align: center;
    box-sizing: border-box;
}

.popup-call-master .call-master::before {
    display: none;
}

.popup-call-master .close-btn {
    position: absolute;
    top: 0;
    right: 15px;
    font-size: 48px;
    cursor: pointer;
    color: #333;
    background: none;
    border: none;
}

.popup-call-master .close-btn:focus {
    outline: 2px solid skyblue;
}

.popup-social-icons {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
}

.popup-social-icons a {
    display: inline-block;
}

.popup-social-icons img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.popup-phone-number {
    color: black;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
}

.popup-phone-number:hover,
.popup-phone-number:focus {
    text-decoration: underline;
}

#phone, #popup-phone {
    border-radius: 20px;
    border: 1px solid #ccc;
    padding: 9px;
    width: 150px;
    font-size: 14px;
}

#phone:focus, #popup-phone:focus {
    outline: 2px solid skyblue;
}

.footer {
    margin-top: 35px;
    text-align: center;
    color: #333;
}

@media (max-width: 768px) {
    .container {
        padding: 0 10px;
    }
    .services {
        grid-template-columns: 1fr;
    }
    .partners-content {
        flex-direction: column;
        align-items: center;
    }
    .partners-right img {
        height: auto;
    }
	
    .services h1 {
        font-size: 20px;
    }
	
    .map-block h2 {
        font-size: 20px;
    }

    .repair-block h2 {
        font-size: 20px;
    }
	
	.about-company h2 {
        font-size: 20px;
    }
	
    .call-master {
        flex-direction: column;
        text-align: center;
    }

    .call-master h2 {
        font-size: 20px;
        margin-bottom: 15px;
    }

    .call-master-content-wrapper {
        flex-direction: column; /* Столбец на малых экранах */
        align-items: center;
    }

    .call-master-image {
        width: 100%;
    }
	
    .repair-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .repair-item.big {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .repair-container {
        grid-template-columns: 1fr;
        text-shadow: 
            -1px -1px 0 white,  
            1px -1px 0 white,  
            -1px 1px 0 white,  
            1px 1px 0 white;
    }
    .repair-item {
        height: 100px;
    }
    .repair-item.big {
        grid-column: span 1;
        height: 100px;
    }
    .repair-item.small {
        grid-column: span 1;
        height: 100px;
    }
    .repair-item.big .image-container {
        width: 150px;
        height: 150px;
        bottom: 0;
        right: -50px;
    }
    .repair-item.small .image-container {
        width: 150px;
        height: 150px;
        bottom: 0;
        right: -50px;
    }
}

@media (max-width: 350px) {
    .repair-item span {
        display: block;
        max-width: 14ch;
        overflow-wrap: break-word;
        text-align: left;
    }
}
/* <!-- Стили Хлебных крошек --> */
/* Хлебные крошки — общий контейнер */
.breadcrumbs {
  padding: 12px 20px;
  background: #f8f9fa;           /* светлый фон, можно #fff или #f5f5f5 */
  border-bottom: 1px solid #e9ecef;
  font-size: 14px;
  margin-bottom: 15px;
}

/* Список крошек — горизонтальный, без маркеров */
.breadcrumbs-list {
  display: flex;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: wrap;               /* на мобильных переносится */
}

/* Каждый элемент крошек */
.breadcrumbs-item {
  display: flex;
  align-items: center;
}

/* Ссылки и текущая страница */
.breadcrumbs-link,
.breadcrumbs-current span {
  display: inline-block;
  padding: 6px 12px;
  background: #ffffff;
  border: 1px solid #dee2e6;
  border-radius: 6px;
  color: #495057;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Hover-эффект только для ссылок */
.breadcrumbs-link:hover {
  background: #e9ecef;
  border-color: #adb5bd;
  color: #212529;
  transform: translateY(-1px);   /* лёгкий подъём */
  box-shadow: 0 2px 4px rgba(0,0,0,0.08);
}

/* Текущая страница — выделяем иначе */
.breadcrumbs-current span {
  background: #e9ecef;
  font-weight: 600;
  color: #343a40;
  cursor: default;
}

/* Стрелочки-разделители */
.breadcrumbs-separator {
  margin: 0 4px;
  color: #6c757d;
  font-weight: bold;
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .breadcrumbs {
    padding: 10px 15px;
    font-size: 13px;
  }
  
  .breadcrumbs-link,
  .breadcrumbs-current span {
    padding: 5px 10px;
  }
  
  .breadcrumbs-separator {
    margin: 0 3px;
  }
}

