.logo_main img {
    max-width: 100%;
    height: auto;
}


.section-title {
    font-size: clamp(2rem, 3vw, 2.75rem);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    position: relative;
    margin-top: 50px;
}

#Price{margin-top: -100px; padding-top: 100px;}


#RegistrationForm{margin-top: -100px; padding-top: 150px;}


.section-title-pricelist {
    padding:10px;
    margin-top: 50px;
}


.section-title--portfolio {
    animation: titleReveal 1.2s ease forwards;
}

h3.section-title {
    font-size: 1.25rem;
    line-height: 1.5;
    max-width: 100%;
    margin: 0 auto 20px;
}

.section-description {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--muted-text);
    max-width: 900px;
    margin: 0 auto 40px;
    text-align: center;
}

.section-subtitle {
    color: var(--muted-text);
    max-width: 760px;
    margin: 0 auto 30px;
    font-size: 1.05rem;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
/* Подключение шрифтов */
@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local('Roboto'),
         url('../fonts/roboto-v20-cyrillic_latin-regular.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

/* Оптимизированные базовые стили */
:root {
    --primary-color: #f9f6f2;
    --secondary-color: #ffffff;
    --section-contrast: #f1e9e1;
    --accent-color: #c8835f;
    --text-color: #0f0f0f;
    --muted-text: #2f2f2f;
    --transition: 0.3s ease;
}

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    background-color: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

a {
    text-decoration: none;
    color: var(--text-color);
    transition: color var(--transition);
}

.header {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.96);
    padding: 15px 0;
    box-shadow: 0 10px 30px rgba(15, 15, 20, 0.08);
    backdrop-filter: blur(6px);

}





.social-contacts {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header_container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
}

.logo_main {
    justify-self: start;
    margin-left: 20px;
    transition: var(--transition);
    min-width: 120px;
}

.nav {
    grid-column: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu {
    display: flex;
    gap: 25px;
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    white-space: nowrap;
}


.header_contacts {
    justify-self: end;
    display: flex;
    align-items: center;
    gap: 15px;
    flex: 1;
    justify-content: flex-end;
    text-transform: uppercase;
}

.header a:not(.contacts_tel), 
.header img {
    transition: var(--transition);
}

.header a:not(.contacts_tel_header):hover,
.header img:hover {
    color: var(--accent-color);
}

.header_item {
    margin: 0 10px;
    display: flex;
    align-items: center;
}

.header_item a {
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
}

.header_item a:hover,
.telegram-button:hover,
.instagram-button:hover,



.logo_main:hover {
    transform: none;
}

.img_main {
    width: 180px !important;
    height: auto !important;
    min-width: 120px;
    max-width: 220px;
    transition: var(--transition);
    display: block;
    object-fit: contain;
}


.logo_main a {
    display: inline-flex;
    align-items: center;
    width: auto;
}

.logo_main a img,
.logo_main a svg {
    width: 80px !important;
    height: 80px !important;
    display: block;
    max-width: 80px;
    min-width: 80px;
}

.logo_main svg,
.logo_main a svg,
.header .logo_main svg,
.header .logo_main img {
    fill: var(--text-color) !important;
    color: var(--text-color) !important;
    stroke: var(--text-color);
}

.header .logo_main img.img_main,
.header .logo_main a img.img_main {
    width: 180px !important;
    height: auto !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

@media screen and (max-width: 768px) {
    .img_main,
    .logo_main a img,
    .logo_main a svg,
    .header .logo_main img.img_main,
    .header .logo_main a img.img_main {
        width: 80px !important;
        height: 80px !important;
        min-width: 80px;
        max-width: 80px;
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .logo_main {
        min-width: 100px;
    }
}

.menu_item a,
.contacts_tel {
    font-size: 18px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 2px;
    text-transform: uppercase;
    font-weight: 500;
}

.menu_item a::after,
.contacts_tel::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: var(--accent-color);
    transition: var(--transition);
}

.menu_item a:hover::after,
.contacts_tel:hover::after {
    width: 100%;
}

.contacts_tel {
    transition: var(--transition);
}



.section {
    text-align: center;
    background-image: url(../img/promo/bg.webp);
    background-size: cover;
    background-position: center;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-color);
    position: relative;
    margin: 0 auto;
}



.promo_wrap {
    padding: 35px;
    box-sizing: border-box;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.55);
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 28px;
    box-shadow: 0 30px 60px rgba(15, 15, 20, 0.18);
    backdrop-filter: blur(15px);
    position: relative;
    z-index: 2;
}

.promo {
    margin: 0 auto;
    width: 1230px;
    padding: 0;
    border-radius: 10px;
    position: relative;
    z-index: 2;
}

.promo_title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    width: 100%;
    margin: 0 auto 24px;
}

.promo_divider {
    width: 120px;
    height: 4px;
    background: var(--accent-color);
    margin: 0 auto 28px;
    border-radius: 999px;
}

.promo_subtitle {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-weight: 500;
    line-height: 1.4;
}

h3 {
    font-size: 1.1rem;
    line-height: 1.6;
    font-weight: 400;
    margin: 0 auto;
    max-width: 900px;
    color: var(--muted-text);
}

.registration-section {
    padding: 80px 0;
    background-color: var(--section-contrast);
    text-align: center;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cases-section {
    padding: 80px 0;
    background: var(--secondary-color);
}

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.case-card {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    box-shadow: 0 25px 45px rgba(15, 15, 20, 0.15);
    margin: 0;
    background: #fff;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateZ(0);
    will-change: auto;
}

.case-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.65) 100%);
    opacity: 0.85;
    transition: opacity 0.3s ease;
}

.case-card img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    transform: scale3d(1, 1, 1);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.case-card figcaption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    padding: 24px;
    color: #fff;
    z-index: 2;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.case-title {
    font-size: 1.25rem;
    font-weight: 600;
}

.case-tag {
    font-size: 0.95rem;
    opacity: 0.85;
}

.case-card:hover {
    transform: translate3d(0, -8px, 0);
    box-shadow: 0 35px 60px rgba(15, 15, 20, 0.2);
}

.case-card:hover img {
    transform: scale3d(1.05, 1.05, 1);
}

.case-card:hover::after {
    opacity: 1;
}


.registration-form {
    background-color: var(--secondary-color);
    border-radius: 24px;
    padding: 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
    box-shadow: 0 25px 60px rgba(15, 15, 20, 0.12);
}

.form-description {
    max-width: 600px;
    margin: 0 auto 30px;
    color: var(--muted-text);
}

.form-title {
    text-align: center;
    color: var(--text-color);
    margin-bottom: 16px;
    font-size: 2.5rem;
    font-weight: 600;
    width: 100%;
    margin: 0 auto;
}

.form-row {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.form-row--double .form-group {
    flex: 1;
    min-width: 0;
}

@media screen and (max-width: 768px) {
    .form-row--double {
        flex-direction: column;
    }
    
    .form-row--double .form-group {
        flex: 1 1 100%;
        width: 100%;
    }
    
    input[type="time"],
    input[type="date"] {
        width: 100%;
        box-sizing: border-box;
        min-width: 0;
    }
}

.form-group {
    margin-bottom: 20px;
    position: relative;
    transition: transform 0.2s ease;
    width: 100%;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input,
.form-group textarea,
.form-group select {
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    background-color: rgba(15, 15, 20, 0.04);
    color: var(--text-color);
    font-size: 16px;
}

.form-group input::placeholder {
    color: var(--muted-text);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 12px 25px rgba(200, 131, 95, 0.25);
    transform: translateY(-2px);
}

.form-group input:hover,
.form-group textarea:hover,
.form-group select:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

.form-group select option {
    background-color: var(--primary-color);
    color: var(--text-color);
}

.form-note {
    color: var(--muted-text);
    font-size: 0.9rem;
}

/* Общие стили для кнопок отправки форм */
.submit-button,
.submit-btn {
    width: 100%;
    padding: 16px 30px;
    background-color: var(--accent-color);
    color: #000;
    border: none;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    box-shadow: 0 20px 40px rgba(200, 131, 95, 0.35);
}

.submit-button:hover,
.submit-btn:hover {
    background-color: #f1b693;
    transform: translateY(-2px);
    box-shadow: 0 25px 40px rgba(200, 131, 95, 0.45);
}

.submit-button:active,
.submit-btn:active {
    background-color: #ffed4a;
    transform: translateY(-2px);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.submit-button:disabled,
.submit-btn:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* Стили для мобильных устройств */
@media screen and (max-width: 768px) {
    .submit-button,
    .submit-btn {
        padding: 12px 24px;
        font-size: 16px;
    }
}

.price-list {
    padding: 60px 0;
    background-color: var(--primary-color);
    color: var(--text-color);
    text-align: center;
    margin: 0 auto;
}

.price-list .section-title {
    text-align: center;
    width: 100%;
    margin: 0 auto;
    padding: 20px 0;
    text-transform: uppercase;
}

.price-list .container {
    max-width: 1230px;
    margin: 0 auto;
    padding: 0 20px;
}

.price-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    padding: 40px 0;
    margin: 0 auto;
    max-width: 1200px;
}

@media (min-width: 768px) {
    .price-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .price-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    /* Размещаем последние две карточки слева и справа */
    .price-card:nth-last-child(2) {
        grid-column: 1;
    }
    
    .price-card:last-child {
        grid-column: 3;
    }
}

.price-card {
    background: linear-gradient(135deg, #ffffff 0%, #f9f6f2 100%);
    border-radius: 20px;
    padding: 0;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    border: 1px solid rgba(200, 131, 95, 0.1);
    overflow: hidden;
    position: relative;
}

.price-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-color), rgba(200, 131, 95, 0.6));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.price-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12), 0 4px 12px rgba(0, 0, 0, 0.08);
    border-color: rgba(200, 131, 95, 0.3);
}

.price-card:hover::before {
    opacity: 1;
}

.price-card:active {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1), 0 3px 10px rgba(0, 0, 0, 0.06);
}

.price-card h3 {
    color: var(--text-color);
    font-size: 24px;
    margin-bottom: 20px;
    white-space: nowrap;
}

.price-list-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 10px;
    border-bottom: 1px solid rgba(255, 215, 0, 0.2);
}

.price-list-item:last-child {
    margin-bottom: 0;
    border-bottom: none;
}

.service-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-color);
    margin-right: 12px;
    flex-shrink: 0;
}

.service-icon svg {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    fill: none;
}

.service-card {
    display: flex;
    align-items: center;
    gap: 0;
}

.service-name {
    color: var(--text-color);
    font-size: 16px;
    text-align: left;
    padding-right: 10px;
    flex: 1;
}

.service-price {
    color: var(--accent-color);
    font-size: 18px;
    font-weight: bold;
    white-space: nowrap;
}

.price-section {
    padding: 60px 0 200px 0;
    position: relative;
    z-index: 1;
}

.price-section .container {
    position: relative;
    z-index: 2;
}

.warranty-block {
    padding: 40px 30px;
    margin-top: 40px;
    margin-bottom: 0;
    text-align: center;
    background: linear-gradient(135deg, rgba(200, 131, 95, 0.12), rgba(255, 255, 255, 0.8));
    border-radius: 24px;
    border: 1px solid rgba(200, 131, 95, 0.2);
    box-shadow: 0 20px 40px rgba(15, 15, 20, 0.08);
    position: relative;
    z-index: 10;
}

.warranty-title {
    color: var(--text-color);
    font-size: 1.5rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.warranty-text {
    color: var(--muted-text);
    font-size: 1rem;
    line-height: 1.5;
    margin: 0;
}



.info-section,
.features-section {
    margin-bottom: 50px;
    padding: 60px 0;
    background-color: var(--secondary-color);
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card {
    background: var(--primary-color);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    cursor: pointer;
    min-height: 200px;
    contain: layout style paint;
    opacity: 1;
    transform: translateZ(0);
}

/* Улучшенные карточки для прайс-листа */
.price-section .info-card.service-card {
    padding: 18px 24px;
    min-height: auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    border: none;
    margin: 0;
    transition: background-color 0.3s ease;
    position: relative;
}

.price-section .info-card.service-card:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 24px;
    right: 24px;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(200, 131, 95, 0.2), transparent);
}

.price-section .info-card.service-card:hover {
    background: rgba(200, 131, 95, 0.04);
    transform: none;
    box-shadow: none;
}

.price-section .info-card.service-card:first-child {
    border-radius: 20px 20px 0 0;
}

.price-section .info-card.service-card:last-child {
    border-radius: 0 0 20px 20px;
}

.price-section .info-card.service-card:only-child {
    border-radius: 20px;
}

.price-section .service-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    letter-spacing: 0.01em;
}

.price-section .service-price {
    font-size: 17px;
    font-weight: 600;
    color: var(--accent-color);
    letter-spacing: 0.02em;
}

.info-card.loaded {
    animation: fadeInUp 0.4s ease forwards;
}

.info-card:hover {
    transform: translate3d(0, -5px, 0);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-color: var(--accent-color);
}

.info-card:active {
    transform: translate3d(0, -2px, 0);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
    color: var(--text-color);
    font-size: 22px;
    margin-bottom: 15px;
    font-weight: 600;
    text-transform: uppercase;
}

.info-card p {
    color: var(--text-color);
    font-size: 16px;
    line-height: 1.6;
    margin: 0;
}

.info-icon {
    width: 68px;
    height: 68px;
    border-radius: 20px;
    background: rgba(200, 131, 95, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    color: var(--accent-color);
}

.info-icon svg {
    width: 38px;
    height: 38px;
    stroke: currentColor;
}

@keyframes fadeInUp {
    from {
        opacity: 0.95;
        transform: translate3d(0, 5px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

/* Оптимизация для предотвращения layout shift */
.service-card img {
    aspect-ratio: 3 / 2;
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    background: var(--primary-color);
}

.service-card {
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

/* Дополнительные стили для case-card уже определены выше, не дублируем */

/* Убраны animation-delay для предотвращения принудительной компоновки */

/* Адаптивность */
@media screen and (max-width: 768px) {
    .info-section,
    .features-section {
        padding: 40px 0;
    }

    .info-grid {
        gap: 20px;
        margin-top: 30px;
    }

    .info-card {
        padding: 20px;
    }

    .info-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .info-card p {
        font-size: 14px;
    }
}

/* Темная тема */
@media (prefers-color-scheme: dark) {
    .info-card {
        background: rgba(255, 255, 255, 0.05);
    }
    
    .info-card:hover {
        background: rgba(255, 255, 255, 0.08);
    }
}

.advantages-section {
    text-align: center;
    padding: 60px 0;
}

.advantages-section h2 {
    text-align: center;
    width: 100%;
    margin: 0 auto 40px;
    font-size: 2rem;
    font-weight: 500;
    text-transform: uppercase;
}

.advantages-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.advantage-item {
    text-align: center;
    flex: 1 1 300px;
    max-width: 350px;
    margin: 0 auto;
}

.guarantee-text {
    background-color: rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
}

.floating-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--accent-color);
    color: #000;
    padding: 16px 32px;
    border: none;
    border-radius: 40px;
    font-size: 18px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    z-index: 1000;
    transition: transform var(--transition), background-color var(--transition), box-shadow var(--transition);
    box-shadow: 0 20px 40px rgba(200, 131, 95, 0.35);
}

.floating-button:hover {
    transform: translateY(-2px);
    background-color: #f1b693;
    text-decoration: none;
    box-shadow: 0 25px 40px rgba(200, 131, 95, 0.45);
}

.floating-button:active {
    transform: translateY(-1px);
    background-color: #f1b693;
    box-shadow: 0 15px 30px rgba(200, 131, 95, 0.4);
}



.address-section {
    padding: 80px 0;
    background-color: var(--secondary-color);
    margin-bottom: 0;
    position: relative;
    text-align: center;
    margin: 0 auto;
}

.address-section .section-title {
    color: var(--text-color);
    margin-bottom: 20px;
    text-align: center;
    font-size: 2.5rem;
}

.contact-description {
    max-width: 640px;
    margin: 0 auto 30px;
    color: var(--muted-text);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.contact-card {
    padding: 24px;
    border-radius: 18px;
    background: var(--primary-color);
    text-align: left;
    box-shadow: 0 20px 40px rgba(15, 15, 20, 0.08);
}

.contact-card h3 {
    margin-bottom: 10px;
    color: var(--text-color);
}

.contact-card .contacts_tel,
.contact-card a {
    font-size: 20px;
    text-transform: none;
}

.contact-meta {
    display: block;
    margin-top: 8px;
    color: var(--muted-text);
    font-size: 0.95rem;
}

.contact-social {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.contact-social a {
    padding: 6px 14px;
    border-radius: 999px;
    border: 1px solid rgba(15, 15, 20, 0.15);
    font-size: 0.95rem;
}

.contact-note {
    color: var(--muted-text);
    font-size: 1rem;
}



.footer {
    background-color: #171717;
    padding: 40px 0 20px;
    margin-top: 0;
    position: relative;
    z-index: 1;
    color: #fff;
}

.footer_container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    align-items: flex-start;
    margin-bottom: 30px;
}

.footer_brand p {
    
    color: rgba(255, 255, 255, 0.7);
    margin-top: 15px;
}

.footer_logo img {
    max-height: 120px;
}

.footer_nav h4,
.footer_contacts h4 {
    margin-bottom: 12px;
}

.footer_nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.footer_nav a,
.footer_contacts a,
.footer_contacts span {
    color: rgba(255, 255, 255, 0.85);
}

.footer_bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    gap: 20px; 
    max-width: 1200px;
    justify-content: center;
    text-align: center;
    margin: 0 auto;
}

.footer_social {
    display: flex;
    gap: 12px;
}

.footer_social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
}

.telegram-button, .instagram-button, .contacts_tel_header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    text-decoration: none;
    transition: all var(--transition);
}

.telegram-button {
    background-color: #229ED9;
}


.contacts_tel_header  {
    background-color: #ffd700;
}

.instagram-button {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

.telegram-button i, .instagram-button i {
    font-size: 20px;
    color: white;
}

/* Стили для SVG иконок вместо Font Awesome */
.telegram-button svg, 
.instagram-button svg, 
.contacts_tel_header svg,
.header-phone-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
    stroke: currentColor;
    color: white;
    transition: var(--transition);
}

.telegram-button:hover, .instagram-button:hover, .contacts_tel_header:hover {
    transform: scale(1.1);
}

/* Стили для SVG в футере */
.footer_social svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
    transition: var(--transition);
}

.footer_social a:hover svg {
    transform: scale(1.1);
}




html {
    scroll-behavior: smooth;
}

/* Оптимизация скролла для мобильных устройств */
@media screen and (max-width: 768px) {
    html {
        scroll-behavior: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
        overflow-x: hidden;
        position: relative;
        width: 100%;
        touch-action: pan-y;
    }
    
    /* Улучшение производительности скролла */
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Предотвращение рывков при скролле */
    main, section {
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: scroll-position;
    }
}

.price_list, .contacts_address {
    cursor: pointer;
}

/* Стили для уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    padding: 18px 28px;
    background-color: #4CAF50;
    color: white;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    z-index: 10000;
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    min-width: 280px;
    max-width: 400px;
    animation: slideInRight 0.4s ease-out forwards;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.notification.show {
    opacity: 1;
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    border-left: 4px solid #2e7d32;
}

.notification.error {
    background: linear-gradient(135deg, #f44336 0%, #d32f2f 100%);
    border-left: 4px solid #c62828;
}

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

.notification-icon {
    font-size: 24px;
    line-height: 1;
    flex-shrink: 0;
}

.notification-message {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    flex: 1;
}

/* Стили для полей ввода даты и времени */
input[type="date"],
input[type="time"] {
    -webkit-appearance: none;
    appearance: none;
    background-color: rgba(15, 15, 20, 0.04);
    padding: 14px 16px;
    border: 2px solid transparent;
    border-radius: 12px;
    font-size: 16px;
    width: 100%;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

input[type="time"]:focus {
    outline: none;
    background-color: #fff;
    border-color: var(--accent-color);
    box-shadow: 0 12px 25px rgba(200, 131, 95, 0.25);
    transform: translateY(-2px);
}

input[type="time"]:hover {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Специальные стили для поля времени */
input[type="time"]::-webkit-calendar-picker-indicator {
    cursor: pointer;
    opacity: 0.6;
    padding: 4px;
}

input[type="time"]::-webkit-calendar-picker-indicator:hover {
    opacity: 1;
}

input[type="time"]::-webkit-datetime-edit-fields-wrapper {
    padding: 0;
    display: flex;
    align-items: center;
}

input[type="time"]::-webkit-datetime-edit {
    padding: 0;
    flex: 1;
}

input[type="time"]::-webkit-datetime-edit-text {
    padding: 0 4px;
}

/* Базовый контейнер */
.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 20px;
    text-align: center;
}

/* Основные секции */
main {
    text-align: center;
}

.section,
.price-section,
.registration-section,
.about-section,
.advantages-section,
.address-section {
    width: 100%;
    margin: 0 auto;
    text-align: center;
}

/* Контент внутри секций */
.promo_wrap,
.price-grid,
.info-container,
.advantages-grid {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

/* Карточки и формы */
.price-card,
.registration-form,
.form-group {
    text-align: center;
    margin-left: auto;
    margin-right: auto;
}

/* Базовые стили для мобильных устройств */
@media screen and (max-width: 768px) {
    .header_container {
        grid-template-columns: auto 1fr;
    }
    
    .nav {
        display: none;
    }

    .header_container {
        padding: 5px 10px;
        min-height: 40px;
    }

    /* Уменьшаем логотип */
    .img_main {
        width: 130px;
        height: auto;
    }

    /* Уменьшаем размер телефона */
    .contacts_tel {
        font-size: 12px;
        padding: 5px;
    }

    /* Уменьшаем размер иконок соцсетей */
    .telegram-button i,
    .instagram-button i {
        font-size: 16px;
    }

    .telegram-button,
    .instagram-button {
        padding: 5px;
    }

    /* Компактный layout для контактов */
    .header_contacts {
        gap: 8px;
    }

    .social-contacts {
        gap: 8px;
    }

    .header_contacts {
        display: flex;
        align-items: center;
        justify-content: flex-end;
        gap: 15px;
    }

    /* Стили для контактов */
    .header_item.telegram-link,
    .header_item.instagram-link,
    .header_item .contacts_tel {
        display: flex;
        align-items: center;
    }

    /* Скрываем все остальные элементы в header_contacts */
    .header_contacts > *:not(.social-contacts) {
        display: none;
    }

    /* Уменьшаем размер иконок и телефона */
    .telegram-button,
    .instagram-button {
        font-size: 20px;
    }

    .contacts_tel {
        font-size: 14px;
    }

    /* Уменьшаем логотип */
    .img_main {
        width: 140px;
        height: auto;
    }

    .container {
        padding: 0 15px;
    }

    .promo_title {
        font-size: 24px;
        padding: 0 10px;
    }

    .promo_subtitle {
        font-size: 18px;
        padding: 0 10px;
    }

    .section-title {
        font-size: 22px;
        padding: 10px;
    }

    .price-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 0;
    }

    .price-card {
        width: 100%;
        margin: 0;
    }
    
    .price-section .info-card.service-card {
        padding: 16px 20px;
    }
    
    .price-section .service-name {
        font-size: 15px;
    }
    
    .price-section .service-price {
        font-size: 16px;
    }

    .mobile-hidden {
        display: none;
    }

    /* Предотвращение горизонтального скролла */
    body {
        overflow-x: hidden;
        width: 100%;
    }

    .header {
        width: 100vw;
        max-width: 100%;
    }

    /* Адаптация навигации */
    .nav {
        flex-direction: column;
        align-items: center;
    }

    /* Адаптация социальных иконок */
    .social-contacts {
        gap: 10px;
    }

    /* Адаптация карточек */
    .price-card,
    .advantage-item {
        flex-basis: 100%;
        max-width: 100%;
    }
}

/* Планшеты */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .contacts_tel {
        font-size: 16px;
    }
    .container {
        padding: 0 20px;
    }

    .header_container {
        padding: 0 15px;
    }

    .price-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .mobile-hidden {
        display: block;
    }
}

/* Предотвращение горизонтального скролла на всех устройствах */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* Дополнительная оптимизация для мобильных */
@media screen and (max-width: 768px) {
    html, body {
        -webkit-overflow-scrolling: touch;
        touch-action: pan-y pinch-zoom;
        overscroll-behavior-y: contain;
    }
}

/* Базовые контейнеры */
.container,
.header_container,
.info-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
}

/* Адаптивные изображения */
img {
    max-width: 100%;
    height: auto;
}

/* Базовые стили для promo_wrap */
.promo {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.promo_title,
.promo_subtitle,
.promo h3 {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    word-wrap: break-word;
}

@media screen and (max-width: 768px) {
    .promo_wrap {
        padding: 20px;
        margin: 10px auto;
        width: 100%;
    }

    .promo_title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 15px;
    }

    .promo_subtitle {
        font-size: 18px;
        line-height: 1.4;
        margin-bottom: 8px;
    }

    .promo h3 {
        font-size: 16px;
        line-height: 1.4;
    }
}

@media screen and (max-width: 450px) {
    .promo_wrap {
        padding: 8px;
        margin: 8px auto;
        width: 100%;
    }

    .promo_title {
        font-size: 20px;
        line-height: 1.2;
        margin-bottom: 8px;
    }

    .promo_subtitle {
        font-size: 16px;
        line-height: 1.3;
        margin-bottom: 6px;
    }

    .promo h3 {
        font-size: 14px;
        line-height: 1.3;
    }
}

@media screen and (max-width: 500px) {
    .header_container {
        padding: 2px 6px;
        min-height: 32px;
    }

    /* Уменьшаем логотип */
    .img_main {
        width: 110px;
        height: auto;
    }

    /* Уменьшаем размер телефона */
   

    /* Уменьшаем иконки соцсетей */
    .telegram-button i,
    .instagram-button i, .contacts_tel_header {
        font-size: 15px;
    }

    .telegram-button,
    .instagram-button, .contacts_tel_header {
        padding: 2px;
        width: 28px;
        height: 28px;
        min-width: 16px;
        min-height: 16px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .social-contacts {
        gap: 4px;
        display: flex;
        align-items: center;
    }

    /* Минимальные отступы */
    .header_contacts {
        gap: 4px;
    }

    .social-contacts {
        gap: 4px;
    }

    /* Оптимизация контейнера */
    .header_contacts {
        padding-right: 4px;
    }
}

@media screen and (max-width: 480px) {
    .header_container {
        display: flex;
        text-align: center;
        padding: 2px 6px;
        min-height: 32px;
    }
   
    
}

/* Оптимизация для мобильных устройств */
@media screen and (max-width: 768px) {
    /* Уменьшаем размер шрифта */
    html {
        font-size: 14px;
    }

    /* Оптимизация контейнеров */
    .container {
        padding: 0 15px;
    }
    
    /* Исправление формы на мобильных */
    .form-row--double {
        flex-direction: column;
        gap: 0;
    }
    
    .form-row--double .form-group {
        flex: 1 1 100%;
        width: 100%;
        margin-bottom: 20px;
    }
    
    input[type="date"],
    input[type="time"] {
        width: 100% !important;
        box-sizing: border-box;
        min-width: 0;
        max-width: 100%;
    }

    /* Оптимизация изображений */
    img {
        max-width: 100%;
        height: auto;
    }

    /* Оптимизация навигации */
    .header {
        position: sticky;
        top: 0;
        z-index: 1000;
        -webkit-transform: translateZ(0);
        transform: translateZ(0);
        will-change: transform;
    }

    /* Оптимизация форм */
    input, textarea, select {
        font-size: 16px; /* Предотвращает зум на iOS */
    }

    /* Оптимизация кнопок */
    button, .button {
        min-height: 44px; /* Минимальная высота для тач-таргетов */
        padding: 12px 20px;
    }

    /* Улучшение читаемости */
    p, li {
        line-height: 1.6;
    }
}

/* Оптимизация для планшетов */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    html {
        font-size: 15px;
    }

    .container {
        padding: 0 20px;
    }
}

/* Оптимизация производительности */
* {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
}

/* Дополнительная оптимизация для мобильных скролла */
@media screen and (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    /* Улучшение производительности скролла */
    body, main, section {
        -webkit-overflow-scrolling: touch;
        overscroll-behavior-y: contain;
    }
    
    /* Предотвращение рывков при скролле */
    .section, .cases-section, .price-section, 
    .registration-section, .address-section {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
}

/* Оптимизация анимаций */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

.gpu-accelerated {
    transform: translateZ(0);
}

.optimize-rendering {
    contain: layout style paint;
}

/* Восстанавливаем стили навигации */
.nav {
    display: flex;
    align-items: center;
}

/* Медиа-запрос для мобильных устройств */
@media screen and (max-width: 768px) {
    .nav {
        display: none; /* Скрываем навигацию на мобильных */
    }
}

/* Медиа-запрос для планшетов */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    .menu {
        gap: 15px;
    }

    .menu_item a {
        font-size: 14px;
    }
}

/* Стили для модального окна */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: var(--primary-color);
    padding: 30px;
    border-radius: 8px;
    z-index: 1001;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
}

.modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    line-height: 1;
}

.modal-close:hover {
    color: #ccc;
}

/* Стили уведомлений (дубликат удален - используются стили выше) */

@media screen and (max-width: 768px) {
    .modal {
        width: 95%;
        padding: 20px;
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .notification {
        width: calc(100% - 40px);
        max-width: none;
        right: 20px;
        left: 20px;
        top: 20px;
        padding: 16px 20px;
        text-align: left;
    }
    
    .notification-content {
        gap: 10px;
    }
    
    .notification-icon {
        font-size: 20px;
    }
    
    .notification-message {
        font-size: 15px;
    }
}

/* Стили для кнопки в модальном окне */
.modal .submit-button {
    width: 100%;
    padding: 15px;
    background-color: var(--accent-color);
    color: var(--text-color);
    border: none;
    border-radius: 4px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    cursor: pointer;
    transition: background-color 0.3s ease;
    margin-top: 20px;
}

.modal .submit-button:hover {
    background-color: #ffed4a;
}

.modal .submit-button:active {
    transform: scale(0.98);
}

.modal .submit-button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/* Анимация при нажатии */
.modal .submit-button:active:not(:disabled) {
    transform: scale(0.98);
}

/* Стили для мобильных устройств */
@media screen and (max-width: 768px) {
    .modal .submit-button {
        padding: 12px;
        font-size: 14px;
    }
}
