body {
    margin: 0;
    overflow-x: hidden;
    font-family: 'Arial', sans-serif;
    background-image: url('../images/backgraund.png'); /* путь от static/css */
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed; /* фон будет "прикреплён" при прокрутке */

}

html {
    scroll-behavior: smooth;
}


.container {
    max-width: 1350px;
    margin: 0 auto;
    padding: 10px 20px;
}


.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(10px);
    will-change: top, background-color, box-shadow;
    transition: top 0.5s ease, background-color 0.4s ease, box-shadow 0.4s ease; /* исправлено */
}

/* Новый класс для фона при возвращении */
.header.show-background {
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.header:not(.show-background) {
    background: linear-gradient(to bottom,
    rgba(255, 255, 255, 0.7) 0%,
    rgba(255, 255, 255, 0.5) 70%,
    rgba(255, 255, 255, 0) 100%);
    box-shadow: none;
}


.header.hidden {
    top: -90px; /* скрывает почти всё, оставляя 10px */
}

/* Тонкая линия-подсказка */
.header::after {
    content: "";
    display: block;
    height: 1px;
    background-color: rgba(0, 34, 68, 0.7); /* затемнённая полоса */
    position: absolute;
    bottom: -1px;
    left: 0;
    right: 0;
}

.header__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img {
    height: 100px;
}

.menu {
    display: flex;
    gap: 40px;
}

.menu a {
    text-decoration: none;
    color: #002244;
    font-size: 28px;
}

.phone {

    color: #002244;
    text-decoration: none;
    font-size: 28px;
    margin-left: 30px;
}

.btn-orange {
    background-color: #EB8B3E;
    color: white;
    text-decoration: none;
    padding: 15px 50px;
    border-radius: 90px;
    font-weight: bold;
    font-size: 28px;
    margin-bottom: 10px;
    margin-left: 30px;
    transition: 0.3s;
}

.btn-orange:hover {
    background-color: white;
    color: #EB8B3E;
    box-shadow: 0 4px 8px rgba(235, 139, 62, 0.3);
    position: relative;
}

.hero {
    margin-top: 120px;
    padding: 60px 0;
}

.hero__wrapper {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    max-width: 1350px;
}

.hero__content {
    flex: 1 1 500px;
    background-color: #EFF8FF;
    border-radius: 90px;
    max-width: 743px;
    height: 621px;
    padding-left: 3%;
    padding-right: 3%;

}

.hero__content h1 {
    font-size: 36px;
    color: #002244;
    margin-bottom: 20px;
    z-index: 1;
}

.hero__content p {
    font-size: 32px;
    line-height: 1.5;
    margin-bottom: 25px;
    color: #333;
    z-index: 1;
}

.hero__form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 700px;
    z-index: 1;
    margin-top: 30px;
    position: relative;
}

.form-row {
    display: flex;
    gap: 20px;
    margin-right: 5%;
}

.form-row > * {
    flex: 1;
    min-width: 0;
}


.form-group {
    flex: 1;
    background: white;
    border-radius: 25px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    padding: 10px 20px;
    max-width: 285px;
}

.form-group input {

    border: none;
    outline: none;
    font-size: 16px;
    background: transparent;
}

.form-toggle input[type="radio"] {
    display: none;
}

.form-toggle {

    border-radius: 25px;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    display: flex;
    align-items: center;
    box-sizing: border-box;
}

.form-toggle {
    display: flex;
    width: 100%;
    border-radius: 25px;
    overflow: hidden;
    background: white;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
}

.form-toggle input[type="radio"]:checked + label {
    background-color: #EB8B3E;
    color: white;
}

.form-toggle label.active {
    background-color: #CF6221;
    color: white;
    transition: all 1s;
}

.form-toggle label {
    background-color: transparent;
    color: #EB8B3E;
    flex: 1;
    text-align: center;
    padding: 12px 0;
    font-weight: bold;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}


.btn-orange {
    background-color: #EB8B3E;
    color: white;
    margin: 10px;
    border: none;
    padding: 15px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}


.hero__contact-type label {
    display: flex;
    align-items: center;
    gap: 5px;
}


.hero__image {
    flex: 1 1 400px;
    width: 80vw;
    margin-left: 40%;
    position: absolute;
    z-index: 0;
    pointer-events: none;
    position: absolute;

    pointer-events: none;

    animation: truckSlideIn 2s ease-out forwards;
    transform: translateX(100%);
    opacity: 0;
}

@keyframes truckSlideIn {
    to {
        transform: translateX(0);
        opacity: 1;
    }
}


.hero__image img {
    max-width: 100%;
    height: auto;
}

.why-us {
    margin: 60px auto;
    max-width: 1267px;
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 60px;

}

.why-us h2 {
    text-align: left;
    padding-left: 50px;
    font-size: 48px;
    color: #002244;
    margin-bottom: 40px;
    margin-top: 0;
    font-weight: bold;
}

.why-us__icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    max-width: 1007px;
    margin: 0 auto 30px auto;
}

.why-us__item {
    text-align: center;
    max-width: 250px;
    padding-bottom: 10px;
}

.why-us__item img {
    width: 250px;
    height: auto;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-us__item img:hover {
    transform: translateY(-10px);
    filter: brightness(0) saturate(100%) invert(12%) sepia(76%) saturate(449%) hue-rotate(176deg) brightness(92%) contrast(99%);
}

.why-us__item p {
    font-size: 18px;
    font-weight: bold;
    color: #002244;
}

.why-us__description {
    padding-left: 50px;
    font-size: 32px;
    color: #002244;
    line-height: 1.5;
    font-weight: bold;
    max-width: 1100px;
}

.why-us__description2 {
    padding-left: 50px;
    font-size: 24px;
    color: #002244;
    line-height: 1.5;
    font-weight: bold;
    max-width: 1100px;
}

.delivery-block {
  max-width: 1267px;
  margin: 60px auto;   /* центрируем блок как целое */
  padding: 60px 40px;
  text-align: center;
}

.delivery-block .orange-button{
    text-align: left;
}

.delivery-block h2 {
    color: #002244;
    font-size: 64px;

}

.delivery-block p {
    color: #002244;
    font-size: 48px;
    margin: 0;
}


.orange-button {
    background-color: #FF7A00;
    color: #fff;
    border: none;
    padding: 12px 60px;
    border-radius: 90px;
    margin: 56px 0;
    font-weight: 600;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 36px;
}

.orange-button:hover {
    background-color: white;
    color: #EB8B3E;
    box-shadow: 0 4px 8px rgba(235, 139, 62, 0.3);
    position: relative;
}

.delivery-options {
    display: flex;
    justify-content: left;
    flex-wrap: wrap;

    gap: 20px;
    margin-top: 30px;
}

.card {
    width: 226px;
    height: 253px;
    background-color: rgba(255, 255, 255, 0.8);

    border-radius: 40px;
    padding: 24px 12px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
    transition: transform 0.5s ease;
}

.card p {
    font-size: 24px;
}

.card:hover {
    transform: translateY(-10px);
}

.number {
    margin-top: 50px;
    font-size: 64px;
    font-weight: bold;
    color: #002244;
}

.line {
    width: 95%;
    height: 5px;
    margin: 15px auto;
    background-color: #002244;
    border-radius: 40px;
}

.delivery-methods {
    padding: 80px 60px;

    border-radius: 60px;
    margin: 60px auto;
    max-width: 1350px;
}

.delivery-methods h2 {
    font-size: 48px;
    color: #002244;
    margin-bottom: 40px;
    font-weight: bold;
    padding-left: 30px;
}

.methods-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: space-around;
}

.method-card {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    padding: 20px;
    height: 292px;
    width: 584px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: 1.2s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    position: relative;
    overflow: hidden;
    cursor: pointer;

    transition: height 0.5s ease;
}

.method-card .main-text {
    opacity: 1;
    transition: 1.2s ease;
}

.method-card.expanded {

    height: 500px;

}

.method-card.expanded .main-text {
    opacity: 0;
}

.method-card .more-text {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 1.2s ease;
    font-size: 24px;
    position: absolute;
    color: #002244;
}

.method-card.expanded .more-text {
    opacity: 1;
    max-height: 450px;
    margin-top: 30px;
    max-width: 90%;
}

.method-card:hover {
    transform: translateY(-10px);
}


.method-card img {
    height: 182px;
    margin-bottom: 50px;
    margin-left: 350px;
    transition: 0.5s ease;
}

.method-card.expanded img {
    margin-top: 150px;
}


.method-card h3 {
    font-size: 28px;
    font-weight: bold;
    color: #002244;
    margin: 0;
    text-transform: uppercase;
}

.arrow-small {
    display: none;
}

.method-card p {
    font-size: 24px;
    color: #002244;
    flex-grow: 1;
}

.method-card .arrow {
    font-size: 28px;
    color: #ffffff;
    position: absolute;
    bottom: 20px;
    background-color: #EB8B3E;
    padding: 15px 15px;
    border-radius: 90px;
    margin-left: 20px;
    margin-bottom: 20px;
}

.method-card .arrow:hover {
    background-color: white;
    color: #EB8B3E;
    box-shadow: 0 4px 8px rgba(235, 139, 62, 0.3);

}

.delivery-types {

    margin: 80px auto;
    padding: 60px 40px;

}


.delivery-items {
    display: flex;
    flex-wrap: wrap;

    gap: 30px;
}

.delivery-items .item {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 40px;
    padding: 30px 20px;
    width: 200px;

    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: 0.3s ease;
}

.delivery-items .item:hover {
    transform: translateY(-10px);
}

.delivery-items .number {
    font-size: 64px;
    font-weight: bold;
    color: #002244;
    display: block;
    margin-bottom: 10px;
    margin-top: 10px;
}

.delivery-items p {
    font-size: 20px;
    font-weight: bold;
    color: #002244;
}

.train-image {
    transform: translateX(100%);
    opacity: 0;
    transition: transform 1.8s ease-out, opacity 1.8s ease-out;
}

.train-image.animate {
    transform: translateX(0);
    opacity: 1;
}

.train-image img {
    width: 100%;
    height: auto;
}

.train-wrapper {
    overflow: hidden;
}

.extra-services {
    padding: 80px 60px;
    border-radius: 60px;
    margin: 60px auto;
    max-width: 1350px;
    width: 95vw;
}

.extra-services h2 {
    font-size: 48px;
    color: #002244;
    margin-bottom: 40px;
    font-weight: bold;
    padding-left: 30px;
}

.extra-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(320px, 1fr));
    gap: 40px;
}

.service-card {
    background-color: rgba(255, 255, 255, 0.9);
    border-radius: 40px;
    padding: 30px 25px;

    height: auto;
    flex: 1 1 auto; /* карточка занимает столько ширины, сколько нужно */
    max-width: 100%;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);

    position: relative;
    width: auto;
    max-width: 100%;
    overflow: hidden; /* чтобы ничего не вылезало наружу */
    word-break: break-word;
    transition: width 2s ease, max-height 2s ease, transform 2s ease;
}


.service-card img {
    width: 180px;
    right: 30px;
    bottom: 30px;
    height: auto;
    display: none;
    position: absolute;
}

.service-card h3 {
    font-size: 28px;
    text-transform: uppercase;
    color: #002244;
    margin-bottom: 15px;
}

.service-card p {
    font-size: 24px;
    color: #002244;
    line-height: 1.4;
    max-width: 90%;
}

.service-full {
    max-height: 0;
    overflow: hidden;
    transition: max-height 1s ease, opacity 1s ease;
    opacity: 0;
    margin-top: 10px;
}

.service-card.expanded .service-full {
    max-height: 1350px;
    opacity: 1;

}

/* Общий стиль для пунктов (левая и правая колонка) */
.service-card .service-full .service-list p,
.service-card .service-full .service-indent p {
  position: relative;
  margin: 10px 0;
  padding-left: 20px;
  font-size: 17px;
  line-height: 1.65;
  color: #102b45;
}

/* Везде одинаковые оранжевые точки */
.service-card .service-full .service-list p::before,
.service-card .service-full .service-indent p::before {
  content: "•";
  position: absolute;
  left: 0;
  top: 0;
  line-height: 1.65;
  font-weight: 700;
  color: #EB8B3E;
}

/* Колонки одинаковой высоты */
.service-card .service-columns {
  display: flex;
  gap: 56px;
  align-items: stretch;   /* растягиваем по высоте */
}

/* Каждая колонка */
.service-card .service-col {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* Чтобы текст внутри не прилипал */
.service-card .service-col h4 {
  margin-bottom: 14px;
}


.service-card.expanded {
    grid-column: 1 / -1;
}

.service-card.expanded p {
    font-size: 18px;
    line-height: 1.7;
}

.service-card.expanded .service-full p {
    margin-bottom: 12px;
}

/* Две колонки по умолчанию */
.service-card .service-columns {
  display: flex;
  gap: 56px;
  align-items: stretch;
}

/* Мобильная версия — одна колонка */
@media (max-width: 768px) {
  .service-card .service-columns {
    flex-direction: column;
    gap: 24px; /* отступ между блоками */
  }

  .service-card .service-col {
    width: 100%;
  }
}



.toggle-service {
    display: inline-flex;
    margin-top: 10px;
    background-color: #EB8B3E;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 30px;
    font-size: 16px;
    cursor: pointer;
    transition: 0.3s ease;
}


.toggle-service:hover {
    background-color: white;
    color: #EB8B3E;
    box-shadow: 0 4px 8px rgba(235, 139, 62, 0.3);
}


.arrow-orange {
    font-size: 28px;
    color: #ffffff;
    width: 210px;
    margin-left: 35%;
    display: inline-flex;
    background-color: #EB8B3E;
    padding: 15px;
    border-radius: 90px;
    transition: 0.3s ease;
    cursor: pointer;
}

.arrow-orange:hover {
    background-color: white;
    color: #EB8B3E;
    box-shadow: 0 4px 8px rgba(235, 139, 62, 0.3);
}

.footer {
    background-color: rgba(0, 34, 68, 0.5);
    color: white;
    padding-top: 60px;

}

.footer__wrapper {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    padding: 0 20px 40px 20px;
}

.footer__logo {
    flex: 1 1 300px;
}

.footer__logo img {
    height: 80px;
    margin-bottom: 15px;
}

.footer__logo p {
    font-size: 16px;
    line-height: 1.5;
    color: #ffffff;
    max-width: 300px;
}

.footer__nav, .footer__contacts {
    flex: 1 1 200px;
}

.footer__nav h4, .footer__contacts h4 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #FF8C3E;
}

.footer__nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer__nav li {
    margin-bottom: 10px;
}

.footer__nav a,
.footer__contacts a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s;
}

.footer__nav a:hover,
.footer__contacts a:hover {
    color: #FF8C3E;
}

.footer__contacts p {
    margin: 8px 0;
    font-size: 16px;
    line-height: 1.4;
}

.footer__bottom {
    text-align: center;
    padding: 20px;
    background-color: #001933;
    font-size: 14px;
    color: #aaa;
}

.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
    backdrop-filter: blur(4px);
}

.modal-content {

    background: #f4f8fc;
    padding: 40px 30px;
    border-radius: 30px;
    width: 100%;
    max-width: 750px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    position: relative;
    animation: fadeIn 0.4s ease;
}

.modal-content h3 {
    font-size: 28px;
    font-weight: bold;
    color: #002244;
    margin-bottom: 20px;
}

.modal-content-1 input,
.modal-content textarea {
    width: 95%;
    padding: 15px 20px;
    margin: 0 auto 15px auto;

    border-radius: 20px;
    border: none;
    background: white;
    font-size: 16px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.hero__content h1 {
    padding-top: 30px;
}

.modal-content textarea {
    resize: none;
    height: 80px;
}

.modal-content .checkbox {
    font-size: 12px;
    color: #333;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-bottom: 20px;

}

.close-modal {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 28px;
    color: #333;
    cursor: pointer;
}

@keyframes fadeIn {
    from {
        transform: translateY(-20px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.btn-orange-1 {
    background-color: #FF7A00;
    color: #fff;
    border: none;
    padding: 12px 60px;
    border-radius: 90px;
    position: relative;
    margin: 0 auto;
    font-weight: 600;
    margin-left: 25%;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 36px;
}

.btn-orange-1:hover {
    background-color: white;
    color: #EB8B3E;
    box-shadow: 0 4px 8px rgba(235, 139, 62, 0.3);
    position: relative;
}

.form-toggle-wrapper {
    width: 100%;
}

.form-note {
    font-size: 14px !important;
    font-weight: normal !important;
    color: #555 !important;
    opacity: 0.6;
    bottom: 23%;
    left: 56%;
    line-height: 1.4 !important;
    position: absolute !important;
}


.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    background: #28a745;
    color: white;
    padding: 14px 24px;
    border-radius: 6px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    font-size: 16px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
    z-index: 1000;
}

.toast.show {
    opacity: 1;
}

@media (max-width: 768px) {
    body {
        width: 100%;
        font-size: 14px;

    }

    .container {
        padding: 0 16px;
        max-width: 100%;
    }

    h1, h2, h3, h4 {
        text-align: center;
    }

    .btn-orange,
    .orange-button {
        display: block;
        width: 100%;
        text-align: center;

        font-size: 16px;
        margin: 16px 0;
    }
}

@media (max-width: 768px) {
    .header__top {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .menu {
        display: none;
    }

    .hero__wrapper {
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }

    .hero__form .form-row {
        flex-direction: column;
        gap: 10px;
    }

    .hero__image img {
        width: 100%;
        height: auto;
    }

    .form-toggle {
        display: flex;
        justify-content: center;
        gap: 10px;
    }
}

@media (max-width: 768px) {
    .why-us__icons {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 24px;
        padding: 24px 0;
    }

    .why-us__item {
        text-align: center;
    }

    .why-us__description,
    .why-us__description2 {
        font-size: 14px;
        text-align: center;
        margin: 8px 0;
    }
}

.header__right__mobile {
    display: none;
}

.floating-call-button {
    position: fixed;
    bottom: 50px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #EB8B3E;
    border-radius: 50%;
    display: none; /* показываем только на мобилке */
    align-items: center;
    justify-content: center;
    z-index: 3000;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.floating-call-button img {
    width: 32px;
    height: 32px;
    filter: brightness(0) invert(1); /* белый телефон */
}


@media (max-width: 768px) {

    .body {
        width: 100%;
        max-width: 100vw;
        overflow-x: hidden;

    }

    .hero__wrapper {
        text-align: left;
        position: relative;
        max-width: 100%;
        margin-top: 20px;
        align-items: normal /* предотвратит переполнение */
    }

    .header {
        max-width: 768px;
        width: 100vw;
    }

    .header__right {
        margin-right: 25px;
        display: none;
    }

    .header__right .phone {
        display: none;
    }

    .header__right .btn-orange {
        font-size: 16px;
        right: 50px;
    }

    .header__right .btn-orange a {
        padding: 5px 10px;
    }

    .phone__mobile {
        padding: 10px;
        background-color: #EB8B3E;
    }

    .hero {
        margin-top: 50px;
        padding: 60px 0;
        overflow: hidden;
        height: 85vh;
    }

    .hero__content {
        max-width: 340px;
        max-height: 560px;
        flex: 1 1 304px;
        border-radius: 50px;
    }

    .hero__content h1 {
        font-size: 20px;
        padding-top: 10px;
    }

    .hero__content p {
        font-size: 16px;
    }

    .hero__image {
        animation: none;
        transform: none;
        opacity: 1;
        margin-top: 400px;
        width: 290px;

        display: flex;
        justify-content: center;
    }

    .hero__image img {
        width: 100%;
        height: auto;
        max-width: 290px;
    }


    .hero__form {
        font-size: 12px;
    }

    .form-group {
        padding: 7px 15px;
        max-width: 90%;
        overflow: hidden;
    }

    .form-group input {

        font-size: 12px;
    }

    .form-row {
        gap: 5px;

    }

    .form-toggle {
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        margin: 10px 0;
        width: 100%;
    }

    .form-toggle label {
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #ffffff;

        padding: 6px 16px;
        font-size: 12px;
        font-weight: 500;
        cursor: pointer;
        color: #333;
        transition: all 0.3s ease;
    }

    .why-us {
        max-width: 95%;
    }

    .container h2 {
        font-size: 32px;
    }

    .why-us__item p {
        font-size: 18px;
    }

    .why-us__item {
        padding: 0;
    }

    .why-us__item img {
        width: 150px;
    }

    .why-us__description {
        text-align: left;
        padding-left: 20px;
        font-size: 20px;
    }

    .why-us__description2 {
        padding-left: 20px;
        text-align: left;
        font-size: 16px;
    }

    .delivery-block {
        max-width: 768px;
        padding: 10px 20px;
        text-align: left;
    }

    .delivery-block h2 {
        font-size: 24px;
        text-transform: uppercase;
        text-align: left;
    }

    .delivery-block p {
        font-size: 22px;
    }

    .card {
        max-width: 150px;
        max-height: 180px;
    }

    .card span {
        font-size: 18px;
    }

    .card p {
        font-size: 16px;
    }

    .delivery-methods {
        padding: 20px 20px;
        max-width: 768px;
    }

    .methods-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
        justify-items: center;
    }

    .method-card {
        width: 100%;
        max-width: 150px;
        height: 240px;
        padding: 20px 10px;
        border-radius: 30px;
    }

    .method-card img {
        width: 100%;
        height: auto;
        max-height: 100px;
        margin: 0 auto 10px auto;
    }

    .method-card h3 {
        font-size: 14px;
        text-align: center;
        margin-bottom: 8px;
    }

    .method-card p {
        font-size: 12px;
        text-align: center;
        margin-top: 5px;
    }

    .method-card .arrow {
        display: none;
    }

    .method-card .arrow-small {
        display: block;
        width: 60%;
        padding: 0 10px;
        left: 50%;
        bottom: 10px;
        color: #ffffff;
        position: absolute;
        background-color: #EB8B3E;
        border-radius: 90px;
        align-items: center;
        /* скрываем стрелку */
    }

    .method-card .arrow-small:hover {
        background-color: white;
        color: #EB8B3E;
        box-shadow: 0 4px 8px rgba(235, 139, 62, 0.3);

    }


    .train-image {
        width: 100%;

    }

    .delivery-items {
        display: grid;
        grid-template-columns: repeat(2, 1fr); /* два столбца */
        gap: 10px;
        padding: 10px;
        width: 90vw;
    }

    .delivery-types {
        padding: 0;
    }

    .delivery-items .line {
        margin: 0 auto;
    }

    .delivery-items .item {
        width: auto;

    }

    .delivery-items .number {
        font-size: 16px;
    }

    .delivery-items p {
        font-size: 16px;
    }

    /* Адаптация блока дополнительных услуг */
    .extra-services h2 {
        padding: 0;
    }

    .extra-services {
        padding: 0;

    }


    .extra-services .container {
        width: 100vw;
        padding: 0;
    }

    .extra-grid {
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        gap: 12px;
        width: 95vw;
    }

    .service-card {
        padding: 12px;
        border-radius: 10px;
        font-size: 13px;
        line-height: 1.3;
        min-height: auto;
        position: relative;
        width: auto;
    }

    .service-card h3 {
        font-size: 14px;
        margin-bottom: 6px;

    }


    .service-card p {
        font-size: 12px;
        margin-bottom: 8px;
        font-weight: bold;
    }

    .service-card img {
        width: 100px;
        height: auto;
        position: absolute;
        bottom: 10px;
        right: 10px;
    }

    .arrow-orange {
        display: none;
    }

    /* Футер */
    .footer {
        font-size: 12px;
        padding: 24px 16px;
    }

    .footer .privacy-link {
        display: block;
        margin-top: 10px;
        color: #999;
        text-decoration: none;
        transition: color 0.3s ease;
        text-decoration: none; /* убирает подчеркивание */
        color: inherit; /* делает цвет таким же, как у родителя */
        font-size: 14px; /* настроить как обычный текст */
        cursor: pointer;
    }

    .footer .privacy-link:hover {
        color: #EB8B3E;
    }

    .footer__logo img {
        width: 120px;
    }

    .footer__logo p {
        font-size: 12px;
    }

    .footer__nav h4,
    .footer__contacts h4 {
        font-size: 13px;
        margin-bottom: 4px;
    }

    .footer__nav ul li {
        margin-bottom: 4px;
    }

    .footer__bottom {
        font-size: 10px;
        padding-top: 8px;
    }

    .modal-content {
        padding: 20px 16px;
        max-width: 375px;
    }

    .modal-content h3 {
        font-size: 20px;
        text-align: center;
    }

    .modal-content-1 input,
    .modal-content textarea {
        width: 80vw;
        font-size: 14px;
        padding: 12px 16px;
        margin-bottom: 12px;
    }

    .modal-content textarea {
        height: 100px;
    }

    .modal-content .checkbox {
        font-size: 12px;
        line-height: 1.4;
        flex-direction: column;
        align-items: flex-start;
    }

    .btn-orange-1 {
        width: 100%;
        font-size: 18px;
        padding: 12px 0;
        margin-left: 0;
        display: block;
    }

    .floating-call-button {
        display: flex;
    }

    @media (max-width: 768px) {
        .form-note {
            font-size: 12px;
            text-align: center;
            margin: 4px 0 6px 0;
            left: 14%;

        }
    }
    .logo img {
        width: 70px;
        height: auto;
        margin-top: 10px;
    }

}

@media (max-width: 400px) {

    .logo {
        width: 50px;
    }

    .header__right {
        display: none;
    }

    .delivery-options .card {
        max-width: 90vw;
        width: 90vw;
        margin: 0 auto;
        height: auto;
    }

    .delivery-methods .container {
        width: 100vw !important;
        padding: 0;
    }

    .delivery-methods .container h2 {
        padding: 0;
    }

    .delivery-methods {
        width: 100vw;
        padding: 0;
    }

    .delivery-methods .methods-grid {
        width: 95vw;
        margin: 0 auto;
    }

    .method-card {
        width: 40vw;
    }

    .delivery-types {
        width: 100vw;
        padding: 0;
    }

    .delivery-types .container {
        width: 100vw;
        padding: 0;

    }

    .delivery-types .delivery-items {
        width: 95vw;
        margin: 0 auto;
    }

    .delivery-block {
        width: 95vw;
        padding: 0;
        margin: 0 auto;
    }

    .service-card img {
        width: 60px;
    }

    body.touch .method-card:hover,
    body.touch .btn-orange:hover,
    body.touch .form-toggle label:hover {

        color: inherit !important;
        box-shadow: none !important;
        transform: none !important;
        transition: none !important;
    }


}

/* Скрываем на десктопе */
.burger-icon,
.mobile-menu {
    display: none;
}

@media screen and (max-width: 768px) {
    .burger-icon {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        cursor: pointer;
        width: 30px;
        height: 25px;
        z-index: 1001;
        position: fixed;
        top: 20px;
        right: 20px;
    }

    .burger-icon span {
        height: 3px;
        width: 100%;
        background: #CF6221;
        border-radius: 2px;
        transition: 0.3s;
    }

    .mobile-menu {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        background: white;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }

    .mobile-menu.active {
        right: 0;
    }

    .mobile-menu ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    .mobile-menu li {
        margin: 15px 0;
    }

    .mobile-menu a {
        text-decoration: none;
        font-size: 20px;
        color: #222;
    }

    .contacts-section {
        border-radius: 40px;
    }

    .contacts-info {
        margin-left: 10px;
        width: 100%;
    }

    .contacts-info h2 {
        font-size: 32px;
        margin-bottom: 30px;
        color: #002244;
        text-align: left;
    }

    .faq-section {
        padding: 60px 0;
        margin: 50px auto !important;
        max-width: 1267px;
        background-color: rgba(255, 255, 255, 0.75);
        border-radius: 0px !important;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

    }
}

/* контакты */

.contacts-section {

    background-color: #f8fbfd;
    padding: 60px 0;
    max-width: 85vw;
    border-radius: 90px;
    margin: 150px auto;
}

.contacts-wrapper {

    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 40px;
}

.contacts-info {
    flex: 1 1 400px;
    margin-left: 50px;
}

.contacts-info h2 {
    font-size: 32px;
    margin-bottom: 30px;
    color: #002244;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    font-size: 16px;
    color: #333;
}

.contact-item img {
    width: 24px;
    height: 24px;
    margin-top: 4px;
    color: #002244;
}

.contact-socials a {
    margin-right: 15px;
}

.contact-socials img {
    width: 50px;
    height: 50px;
}

.contacts-map {
    flex: 1 1 400px;
}

.contacts-map img {
    max-width: 100%;
    border-radius: 12px;
}

.faq-section {
    padding: 60px 0;
    margin: 200px auto;
    max-width: 1267px;
    background-color: rgba(255, 255, 255, 0.75);
    border-radius: 60px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);

}

.section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #2c2c2c;
    margin-left: 20px;
}

.faq-item {
    border-bottom: 1px solid #002244;
    padding: 20px 20px;

}

.faq-question {
    cursor: pointer;
    font-size: 18px;
    font-weight: 500;
    position: relative;
    padding-right: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-toggle-arrow {
    font-size: 18px;
    transition: transform 0.3s ease;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.4s ease;
    opacity: 0;
    font-size: 16px;
    color: #555;
    margin-top: 10px;
}

.faq-item.active .faq-answer {
    max-height: 300px; /* достаточное значение для раскрытия */
    opacity: 1;
}


.faq-item.active .faq-toggle-arrow {
    transform: rotate(180deg);
}

.how-we-work {
    padding: 60px 0;
}

.how-we-work .section-title {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 40px;
    text-align: center;
    color: #2c2c2c;
}

.work-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.work-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease;
}

.work-card:hover {
    transform: translateY(-5px);
}

.work-media img,
.work-media video {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.work-content {
    padding: 20px;
}

.work-content h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #ff6a00; /* оранжевый брендовый */
}

.work-content p {
    font-size: 16px;
    color: #555;
}

/* ===== Reviews (основа) ===== */
.reviews.container {
    max-width: 1267px;
    margin: 120px auto 0px auto;
    padding: 60px 0;

}

.reviews .section-title {
    font-size: 32px;
    font-weight: 600;
    margin: 0 0 30px 20px;
    color: #002244;
}

.reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    padding: 0 20px 10px;
}

.review-card {
    background: #fff;
    border-radius: 40px;
    padding: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .08);
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.review-card__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px
}

.review-card__person {
    display: flex;
    align-items: center;
    gap: 12px
}

.review-card__avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .08)
}

.review-card__name {
    font-weight: 700;
    color: #002244;
    font-size: 16px;
    line-height: 1.2
}

.review-card__role {
    font-size: 14px;
    color: #555
}

.review-card__logo {
    max-height: 24px;
    max-width: 120px;
    opacity: .9
}

.review-card__rating {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px
}

.stars {
    display: inline-flex;
    gap: 4px
}

.star {
    width: 18px;
    height: 18px;
    fill: #EB8B3E
}

.star--muted {
    fill: #e0e0e0
}

.review-card__date {
    font-size: 12px;
    color: #777
}

.review-card__body {
    border: 1px solid rgba(0, 34, 68, .12);
    border-radius: 16px;
    padding: 12px 14px;
    background: rgba(0, 34, 68, .02)
}

/* ===== Плавное раскрытие (без open) ===== */
.review-card__summary {
    display: inline-block;
    background: #EB8B3E;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
    border: 0;
    margin-bottom: 10px
}

.review-card__summary::-webkit-details-marker {
    display: none
}

.review-card__text {
    max-height: 0;
    overflow: hidden;
    opacity: .0;
    transition: max-height 400ms ease, opacity 300ms ease;
    color: #002244;
    font-size: 14px;
    line-height: 1.55;
    margin: 0;
}

/* раскрытое состояние — включаем большим max-height, JS подставит точное значение */
.review-card__body.is-open .review-card__text {
    opacity: 1;
}

/* адаптив */
@media (max-width: 1200px) {
    .reviews__grid {
        grid-template-columns:repeat(2, minmax(0, 1fr))
    }
}

@media (max-width: 768px) {
    .reviews.container {
        margin: 60px auto;
        padding: 30px 0;
        border-radius: 40px
    }

    .reviews__grid {
        grid-template-columns:1fr;
        gap: 12px
    }

    .review-card {
        border-radius: 30px;
        padding: 16px
    }

    .review-card__summary {
        width: 100%;
        text-align: center
    }
}

/* Reviews — плавное раскрытие через max-height */
.review-card__summary {
    display: inline-block;
    background: #EB8B3E;
    color: #fff;
    font-weight: 600;
    font-size: 14px;
    line-height: 1;
    padding: 10px 16px;
    border-radius: 999px;
    cursor: pointer;
    user-select: none;
    border: 0;
    margin-bottom: 10px;
}

.review-card__summary::-webkit-details-marker {
    display: none
}

.review-card__text {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 400ms ease, opacity 300ms ease;
}

.review-card__body.is-open .review-card__text {
    opacity: 1;
}


/* FIX: мобильная кнопка не вылезает из карточки */
.review-card__body {
    overflow: hidden; /* чтобы скругления держали контент внутри */
    border-radius: 16px; /* если уже есть — оставь как есть */
}

.review-card__summary {
    display: block; /* вместо inline-block */
    width: 100%;
    box-sizing: border-box; /* ширина учитывает padding */
}

/* Чуть компактнее на мобилке, чтобы было «воздух» по бокам */
@media (max-width: 768px) {
    .review-card__body {
        padding: 10px 12px;
    }

    .review-card__summary {
        padding: 12px 14px;
    }

    /* было 10px 16px — можно тактильно ровнее */
}

/* Оверлей */
.mobile-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    transition: opacity 0.3s ease;
    opacity: 0;
}

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

/* Меню */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -250px;
    width: 250px;
    height: 100%;
    background: #fff;
    z-index: 999;
    box-shadow: -2px 0 6px rgba(0, 0, 0, 0.2);
    transition: right 0.3s ease;
    padding: 20px;
}

.mobile-menu.active {
    right: 0;
}

/* Кнопка закрытия */
.close-menu {
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    display: block;
    margin-left: auto;
    color: #333;
}

/* Overlay */
#mobileOverlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 998;
}

#mobileOverlay.active {
    opacity: 1;
    visibility: visible;
}

/* Мобильное меню */
#mobileMenu {
    position: fixed;
    top: 0;
    right: -280px; /* скрыто */
    width: 260px;
    height: 100%;
    background: linear-gradient(180deg, #FF6B00, #FF9500);
    color: white;
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.3);
    transition: right 0.3s ease;
    z-index: 999;
    padding: 20px;
}

.mobile-menu a {
    font-weight: bold;
    color: #e0e0e0;
    border-bottom: 1px solid #e0e0e0;
    margin-bottom: 10px;
    width: 100%;

}


#mobileMenu.active {
    right: -3px;
}

/* Крестик */
#closeMenu {
    background: none;
    border: none;
    font-size: 24px;
    color: white;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
}

/* overlay и меню поверх шапки */
#mobileOverlay {
    z-index: 4000;
}

#mobileMenu {
    z-index: 5000;
}

/* было 999 */

#mobileMenu {
    /* чтобы точно не пряталось под шапкой на мобиле */
    position: fixed;
    top: 0;
    right: -100%;
    width: 260px;
    height: 100vh;
    transition: right 0.3s ease;
}

/* добавь это в style.css (после первого блока .reviews__grid, ближе к концу файла) */
.reviews__grid {
    align-items: start; /* карточки по своей высоте, без растягивания */
}

/* на всякий случай зафиксируем поведение самой карточки */
.review-card {
    align-self: start; /* если где-то переопределят align-items */
    height: auto;
}

/* overlay */
.mobile-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, .35);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s ease;
    z-index: 999;
}

.mobile-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* панель меню */
.mobile-menu {
    right: -100%;
    top: 0;
    bottom: 0;
    width: 86vw;
    max-width: 380px;
    height: 100vh;
    background: linear-gradient(180deg, #FF7A00 0%, #FF3B3B 100%);
    color: #fff;
    border-top-left-radius: 28px;
    border-bottom-left-radius: 28px;
    box-shadow: -12px 0 40px rgba(0, 0, 0, .25);
    backdrop-filter: blur(8px);
    display: block; /* перекрываем старое "flex center" */
    position: fixed;
    z-index: 1000;
    overflow: auto;
    transition: right .35s ease;
}

.mobile-menu.active {
    right: 0;
}

/* внутренности */
.mm__panel {
    padding: 22px 22px 28px 22px;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.mm__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.mm__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 22px;
    letter-spacing: .2px;
}

.mm__logo {
    width: 46px;
    height: auto;
    filter: brightness(0) invert(1);
}

.mm__brand-text {
    opacity: .95;
    font-weight: 700;
}

.mm__close {
    width: 36px;
    height: 36px;
    border-radius: 12px;
    border: none;
    background: rgba(255, 255, 255, .18);
    color: #fff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.mm__nav {
    list-style: none;
    margin: 14px 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mm__nav li a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 6px;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    font-weight: 700;
    border-bottom: 1px solid rgba(255, 255, 255, .25);
}

.mm__nav li a:active {
    transform: translateY(1px);
}

.mm__ico {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    color: #fff;
    opacity: .95;
}

.mm__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, .25);
}

.mm__contact {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #fff;
    text-decoration: none;
    opacity: .95;
}

.mm__cta {
    width: 100%;
    margin: 6px 0 0 0;
    font-size: 18px;
    padding: 14px 18px;
}

/* подстрахуем бургер поверх */
.burger-icon {
    z-index: 1001;
}

.mobile-menu {
    transform: translateX(100%);
    transition: transform .35s ease, opacity .35s ease;
    opacity: 0;
}

.mobile-menu.active {
    transform: translateX(0);
    opacity: 1;
}

.mm__nav li {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity .3s ease, transform .3s ease;
}

.mobile-menu.active .mm__nav li {
    opacity: 1;
    transform: translateX(0);
}

.mm__nav li:nth-child(1) {
    transition-delay: .05s;
}

.mm__nav li:nth-child(2) {
    transition-delay: .1s;
}

.mm__nav li:nth-child(3) {
    transition-delay: .15s;
}

.mm__nav li:nth-child(4) {
    transition-delay: .2s;
}

.mm__nav li:nth-child(5) {
    transition-delay: .25s;
}

/* ДОБАВЬ в конец style.css */


/* iOS/WebKit: отключаем fixed-фон + форсим компоновку слоёв */
@supports (-webkit-touch-callout: none) {
    body {
        background-attachment: scroll !important;
    }

    .methods-grid, .method-card {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        backface-visibility: hidden;
        will-change: transform;
    }
}

.page-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url('../images/backgraund.webp') center/cover no-repeat;
}

/* iOS fix: фоновый слой должен быть fixed, не absolute */
@supports (-webkit-touch-callout: none) {
    .page-bg {
        position: fixed !important;
        inset: 0;
        pointer-events: none;
        backface-visibility: hidden;
        -webkit-backface-visibility: hidden;
        transform: translateZ(0);
        will-change: transform;
    }
}

.method-card {
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
}

.methods-section {
    position: relative;
    z-index: 0; /* чтобы фон был ниже контента */
}

.methods-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url('../images/backgraund.webp') center/cover no-repeat;
    z-index: -1; /* фон под контентом */
}

/* фиксированный фон на отдельном слое */
.page-bg {
    position: fixed;
    inset: 0;
    background-image: url('../images/backgraund.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    z-index: -1;
    will-change: transform;
    transform: translateZ(0);
}

/* у body больше НЕ должно быть background-attachment */
body {
    background: none; /* убрать старую привязку фона */
}






/* ==== Mobile fix: единый цвет и выразительность ==== */
@media (max-width: 768px) {
    .service-card {
        padding: 18px 16px;
        border-radius: 20px;
        background-color: rgba(255, 255, 255, 0.95);
    }

    /* Единый цвет текста */
    .service-card h3,
    .service-card h4,
    .service-card p,
    .service-card .service-full p {
        color: #002244 !important;
    }

    /* Заголовки выразительнее */
    .service-card h3 {
        font-size: 18px;
        font-weight: 800;
        margin-bottom: 8px;
        text-transform: uppercase;
    }

    .service-card h4 {
        font-size: 15px;
        font-weight: 700;
        margin-bottom: 6px;

    }

    /* Основной текст */
    .service-card p {
        font-size: 12px;
        line-height: 1.55;
        font-weight: 500;
        margin-bottom: 10px;
    }

    /* Списки в раскрытой карточке */
    .service-card .service-full .service-list p,
    .service-card .service-full .service-indent p {
        font-size: 14px;
        line-height: 1.6;
        padding-left: 18px;
        position: relative;
    }

    .service-card .service-full .service-list p::before,
    .service-card .service-full .service-indent p::before {
        content: "•";
        color: #EB8B3E; /* акцентный оранжевый */
        position: absolute;
        left: 0;
        font-weight: bold;
    }
}

/* На всякий пожарный — никогда не выходить за контейнер */
img { max-width: 100%; height: auto; }

/* Карточка отзыва */
.review-card {
  display: grid;
  gap: 12px;
}

/* Контейнер фото: скругление, обрезка «лишнего» и фон-заглушка */
.review-photo {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #f2f4f7;
}

/* Базовые правила для изображения */
.review-photo img {
  display: block;
  width: 100%;
  height: auto;              /* по умолчанию показываем как есть */
  object-fit: contain;       /* в ОТКРЫТОМ состоянии не обрезаем */
  image-rendering: auto;
}

/* В СВЕРНУТОМ состоянии — делаем «обложку» фиксированной высоты */
.review-card.is-collapsed .review-photo img {
  height: clamp(160px, 28vw, 320px); /* адаптивная высота превью */
  object-fit: cover;                 /* заполняем блок, аккуратно обрезая */
}

/* На узких экранах чуть ниже превью, чтобы не мешало тексту */
@media (max-width: 480px) {
  .review-card.is-collapsed .review-photo img {
    height: clamp(140px, 40vw, 240px);
  }
}

/* Слайдшоу только у одной карточки */
.review-photo--slideshow {
  position: relative;
  height: 260px;                /* под размер других фото — при необходимости подправь */
}

.review-photo--slideshow img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;                   /* прячем по умолчанию ТОЛЬКО в слайдшоу */
  transition: opacity .6s ease;
}

.review-photo--slideshow img.active {
  opacity: 1;
}

@media (max-width: 600px) {
  .review-photo--slideshow { height: 220px; }
}

.contacts-map iframe {
    width: 100%;
    height: 350px;   /* можешь сделать 400–450px */
    border: none;
    border-radius: 12px;
}




