html, body {
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* ==========================================
   Базовые параметры и сброс
   ========================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: #33373B;
    background-color: #F8F9FA;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Доступность: видимый фокус */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
    outline: 2px solid #89B8CC !important;
    outline-offset: 2px !important;
}

/* ==========================================
   Шапка (Header)
   ========================================== */
.header {
    background-color: rgba(230, 234, 235, 0.95);
    border-bottom: none !important;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(8px);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo a {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.logo-img {
    height: 57px;
    width: auto;
    display: block;
    object-fit: contain;
    margin-top: -9px;
}

.logo-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 0.70rem;
    font-weight: 400;
    color: #555E64;
    letter-spacing: 0.5px;
    text-transform: none;
    line-height: 1;
    margin-top: -3px;
    text-align: center;
    display: block;
    width: 100%;
}

.nav {
    display: flex;
    gap: 24px;
    align-items: center;
}

.nav-link {
    color: #2F363A;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.nav-link:hover {
    color: #5B899D;
}

.btn-header {
    display: inline-block;
    background-color: #9DBDC9;
    color: #242D31;
    padding: 9px 20px;
    border-radius: 8px;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.2s ease, transform 0.15s ease;
    border: none;
}

.btn-header:hover {
    background-color: #8BAFBC;
    color: #1A2024;
    transform: translateY(-1px);
}

/* ==========================================
   Первый экран (Hero)
   ========================================== */
.hero {
    position: relative;
    min-height: 560px;
    display: flex;
    align-items: center;
    background: #2C3539 url('/static/images/cabinet.webp') center/cover no-repeat;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(20, 25, 30, 0.6) 0%, rgba(20, 25, 30, 0.45) 100%);
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 760px;
    color: #ffffff;
    margin: 0 auto;
}

.hero-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 3.2rem;
    font-weight: 600;
    line-height: 1.15;
    margin-bottom: 18px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
    overflow-wrap: break-word;
}

.hero-subtitle {
    font-size: 1.15rem;
    margin-bottom: 34px;
    font-weight: 300;
    line-height: 1.5;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.4);
    color: #E6D7C8;
}

.btn-hero {
    display: inline-block;
    background-color: #ffffff;
    color: #23282B;
    padding: 13px 32px;
    border-radius: 9px;
    font-size: 0.98rem;
    font-weight: 600;
    text-decoration: none;
    border: none;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transition: all 0.25s ease;
    cursor: pointer;
}

.btn-hero:hover {
    background-color: #F7FAFC;
    color: #1A1F21;
    transform: translateY(-2px);
    box-shadow: 0 6px 22px rgba(0, 0, 0, 0.22);
}

/* ==========================================
   Секция процедур
   ========================================== */
.section {
    padding: 70px 0;
}

.procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    text-align: center;
}

.procedure-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    cursor: pointer;
    padding: 20px 14px;
    border-radius: 14px;
    transition: transform 0.25s ease, background-color 0.25s ease;
    user-select: none;
    outline: none;
}

.procedure-item:hover,
.procedure-item:focus-visible {
    background-color: #EEF4F6;
    transform: translateY(-4px);
}

.procedure-icon {
    width: 82px;
    height: 82px;
    border-radius: 50%;
    background-color: #E2EEF2;
    color: #5B899D;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.procedure-icon svg {
    width: 36px;
    height: 36px;
}

.procedure-item:hover .procedure-icon {
    transform: scale(1.05);
    background-color: #D2E5EC;
}

.procedure-title {
    font-size: 1.05rem;
    font-weight: 500;
    color: #33373B;
}

.procedure-hint {
    margin-top: 6px;
    font-size: 0.82rem;
    color: #89B8CC;
    font-weight: 500;
    opacity: 0;
    transform: translateY(3px);
    transition: all 0.2s ease;
}

.procedure-item:hover .procedure-hint,
.procedure-item:focus-visible .procedure-hint {
    opacity: 1;
    transform: translateY(0);
}

/* ==========================================
   О мастере (About)
   ========================================== */
.section-about {
    background-color: #ffffff;
    border-top: 1px solid #EBEFF2;
    border-bottom: none !important;
}

.about-container {
    display: grid;
    grid-template-columns: 290px 1fr;
    gap: 50px;
    align-items: center;
}

.about-photo-wrapper {
    width: 100%;
}

.about-photo {
    width: 100%;
    height: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: center 20%;
    display: block;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    display: block;
    
}

.about-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.3rem;
    color: #2C3539;
    margin-bottom: 14px;
    line-height: 1.2;
}

.about-lead {
    font-size: 1.1rem;
    color: #555E64;
    margin-bottom: 14px;
}

.about-desc {
    color: #7B858B;
    font-size: 0.95rem;
    margin-bottom: 22px;
    line-height: 1.65;
}

/* ==========================================
   Форма онлайн-записи
   ========================================== */
.section-booking {
    background-color: #F8F9FA;
}

.booking-card {
    max-width: 620px;
    margin: 0 auto;
    background: #ffffff;
    padding: 40px;
    border-radius: 14px;
    border: 1px solid #E5EAEF;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
}

.booking-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    text-align: center;
    color: #2C3539;
    margin-bottom: 8px;
}

.booking-subtitle {
    text-align: center;
    font-size: 0.95rem;
    color: #7B858B;
    margin-bottom: 28px;
    line-height: 1.5;
}

.hp-input {
    display: none !important;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 500;
    color: #555E64;
    margin-bottom: 6px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 14px;
    border: 1px solid #D6DEE4;
    border-radius: 8px;
    font-family: inherit;
    font-size: 0.95rem;
    color: #2C3539;
    background-color: #FAFCFD;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-select {
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23555E64' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #89B8CC;
    box-shadow: 0 0 0 3px rgba(137, 184, 204, 0.18);
    background-color: #ffffff;
}

.form-group input.input-error {
    border-color: #E57373 !important;
    background-color: #FFF9F9 !important;
}

.btn-submit {
    display: block;
    width: 100%;
    background-color: #89B8CC;
    color: #ffffff;
    padding: 14px 20px;
    font-size: 1rem;
    font-weight: 600;
    margin-top: 10px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(137, 184, 204, 0.3);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-submit:hover {
    background-color: #72A4BA;
}

.btn-submit:active {
    transform: translateY(1px);
}

.form-result {
    margin-top: 14px;
    font-size: 0.95rem;
    text-align: center;
}
.form-result.success { color: #2E7D32; font-weight: 500; }
.form-result.error { color: #D32F2F; font-weight: 500; }

/* ==========================================
   Превью работ на главной
   ========================================== */
.section-works-preview {
    background-color: #ffffff;
    border-top: 1px solid #EBEFF2;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 25px;
}

.section-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    color: #2C3539;
}

.link-more {
    color: #5B899D;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
}
.link-more:hover { 
    color: #3E6E82;
    text-decoration: underline; 
}

.preview-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.preview-card {
    background: #ffffff;
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid #E6ECEF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.preview-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.preview-card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    
    display: block;
    cursor: zoom-in;
}

.preview-body {
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.preview-title {
    display: block;
    font-weight: 600;
    font-size: 1.02rem;
    color: #2C3539;
    overflow-wrap: break-word;
}

/* ==========================================
   Модалка процедуры
   ========================================== */
.proc-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 2500;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
}

.proc-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.proc-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 26, 31, 0.7);
    backdrop-filter: blur(5px);
}

.proc-dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    max-width: 540px;
    width: 100%;
    max-height: 90dvh;
    overflow-y: auto;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
    padding: 32px 30px;
    transform: translateY(15px);
    transition: transform 0.25s ease;
}

.proc-modal.is-active .proc-dialog {
    transform: translateY(0);
}

.proc-close {
    position: absolute;
    top: 18px;
    right: 18px;
    background: #F0F3F5;
    border: none;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #555E64;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.proc-close:hover {
    background-color: #89B8CC;
    color: #ffffff;
}

.proc-badge {
    display: inline-block;
    font-size: 0.76rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #6C8C99;
    font-weight: 600;
    margin-bottom: 6px;
}

.proc-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.1rem;
    color: #242D31;
    line-height: 1.15;
    margin-bottom: 4px;
}

.proc-time {
    display: inline-block;
    font-size: 0.88rem;
    color: #89B8CC;
    font-weight: 500;
    margin-bottom: 18px;
}

.proc-body {
    border-top: 1px solid #EEF2F4;
    padding-top: 18px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.proc-subtitle {
    font-size: 0.86rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #8C99A0;
    font-weight: 600;
    margin-bottom: 5px;
}

.proc-text {
    font-size: 0.95rem;
    color: #4A555C;
    line-height: 1.55;
}

.proc-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #EEF2F4;
}

.btn-proc-book {
    width: 100%;
    background-color: #89B8CC;
    color: #ffffff;
    border: none;
    border-radius: 9px;
    padding: 13px 20px;
    font-size: 0.96rem;
    font-weight: 600;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(137, 184, 204, 0.25);
    transition: background-color 0.2s ease, transform 0.1s ease;
}

.btn-proc-book:hover {
    background-color: #72A4BA;
    transform: translateY(-1px);
}

/* ==========================================
   Подвал (Footer)
   ========================================= */
.footer {
    background-color: #E6EAEB;
    color: #4A555C;
    padding: 25px 0 15px;
    border-top: 1px solid #D8E2E5;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #D8E2E5;
    padding-bottom: 15px;
}

.footer-phone {
    display: block;
    font-size: 1.35rem;
    font-weight: 600;
    color: #2C3539;
    text-decoration: none;
    margin-bottom: 4px;
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: #5B899D;
}

.footer-address-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
    font-family: inherit;
    font-size: 0.92rem;
    color: #555E64;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.footer-address-btn:hover {
    color: #5B899D;
    text-decoration: underline;
}

.footer-address-btn .map-icon {
    flex-shrink: 0;
    stroke: #89B8CC;
}

.social-label {
    display: block;
    font-size: 0.85rem;
    color: #4A555C;
    margin-bottom: 8px;
    text-align: right;
}

.social-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    background-color: #89B8CC;
    color: #ffffff;
    text-decoration: none;
    border-radius: 50%;
    font-weight: 600;
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.social-link:hover {
    background-color: #72A4BA;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 10px;
    color: #76838A;
    font-size: 0.82rem;
}

/* ==========================================
   Модальное окно Яндекс Карты
   ========================================== */
.map-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 16px;
}

.map-modal.is-active {
    opacity: 1;
    visibility: visible;
}

.map-modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(20, 25, 30, 0.65);
    backdrop-filter: blur(4px);
}

.map-modal-dialog {
    position: relative;
    z-index: 2;
    background: #ffffff;
    width: 100%;
    max-width: 840px;
    height: 540px;
    max-height: 85dvh;
    border-radius: 12px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.map-modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px;
    background-color: #F8FAFB;
    border-bottom: none !important;
}

.map-modal-title-wrap {
    display: flex;
    flex-direction: column;
}

.map-modal-title {
    font-weight: 600;
    font-size: 1rem;
    color: #2C3539;
}

.map-modal-address {
    font-size: 0.82rem;
    color: #7B858B;
}

.map-modal-close {
    background: #EBEFF2;
    border: none;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    color: #4A555C;
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.map-modal-close:hover {
    background: #89B8CC;
    color: #ffffff;
}

.map-modal-body {
    flex-grow: 1;
    width: 100%;
    height: 100%;
    position: relative;
}

.map-modal-body iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
}

/* ==========================================
   Страница 404 Not Found
   ========================================== */
.section-error-404 {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    background-color: #F8F9FA;
    text-align: center;
}

.error-container {
    max-width: 580px;
    margin: 0 auto;
}

.error-code {
    display: block;
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 7.5rem;
    font-weight: 700;
    line-height: 1;
    color: #89B8CC;
    letter-spacing: 4px;
    opacity: 0.9;
    user-select: none;
}

.error-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.4rem;
    color: #2C3539;
    margin-top: 8px;
    margin-bottom: 14px;
}

.error-desc {
    font-size: 1rem;
    color: #6C7A82;
    line-height: 1.6;
    margin-bottom: 32px;
}

.error-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.btn-error {
    padding: 12px 26px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.25s ease;
    display: inline-block;
}

.btn-error-primary {
    background-color: #89B8CC;
    color: #ffffff;
    border: 1px solid #89B8CC;
}

.btn-error-primary:hover {
    background-color: #72A4BA;
    border-color: #72A4BA;
    transform: translateY(-2px);
    box-shadow: 0 4px 14px rgba(114, 164, 186, 0.25);
}

.btn-error-secondary {
    background-color: transparent;
    color: #2C3539;
    border: 1px solid #D5DCDE;
}

.btn-error-secondary:hover {
    background-color: #ffffff;
    border-color: #89B8CC;
    color: #5B899D;
    transform: translateY(-2px);
}

/* ==========================================
   Адаптивность (Media Queries)
   ========================================== */
@media (max-width: 992px) {
    .preview-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .about-container {
        gap: 36px;
    }
}

@media (max-width: 768px) {
    .header-container {
        height: 64px;
    }
    .nav {
        display: none;
    }
    .btn-header {
        padding: 8px 14px;
        font-size: 0.88rem;
    }
    .hero {
        min-height: 480px;
    }
    .hero-title {
        font-size: 2.3rem;
    }
    .hero-subtitle {
        font-size: 1.02rem;
    }
    .procedures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .procedure-icon {
        width: 72px;
        height: 72px;
    }
    .procedure-icon svg {
        width: 30px;
        height: 30px;
    }
    .procedure-title {
        font-size: 0.95rem;
    }
    .about-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 24px;
    }
    .about-photo-wrapper {
        max-width: 257px;
        margin: 0 auto;
    }
    
    .booking-card {
        padding: 26px 20px;
    }
    .form-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        flex-direction: column;
        text-align: center;
        gap: 22px;
    }
    .social-label {
        text-align: center;
    }
    .social-links {
        justify-content: center;
    }
    .footer-address-btn {
        justify-content: center;
    }
    .proc-dialog {
        padding: 24px 20px;
    }
    .proc-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    .error-code {
        font-size: 5rem;
    }
    .error-title {
        font-size: 1.8rem;
    }
    .error-actions {
        flex-direction: column;
    }
    .btn-error {
        width: 100%;
        text-align: center;
    }
}

/* Кнопка быстрого построения маршрута в модалке карты */
.map-modal-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.btn-map-route {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background-color: #89B8CC;
    color: #ffffff !important;
    text-decoration: none;
    font-size: 0.84rem;
    font-weight: 500;
    padding: 7px 14px;
    border-radius: 20px;
    transition: background-color 0.2s ease, transform 0.15s ease;
    box-shadow: 0 2px 6px rgba(137, 184, 204, 0.3);
}

.btn-map-route:hover {
    background-color: #72A4BA;
    transform: translateY(-1px);
}

.btn-map-route svg {
    flex-shrink: 0;
}

/* Кнопка-гамбургер и мобильная шторка меню */
.mobile-burger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 19px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin-left: 10px;
    outline: none;
}

.mobile-burger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #2F363A;
    border-radius: 2px;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.mobile-burger.is-active span:nth-child(1) {
    transform: translateY(8.5px) rotate(45deg);
}

.mobile-burger.is-active span:nth-child(2) {
    opacity: 0;
}

.mobile-burger.is-active span:nth-child(3) {
    transform: translateY(-8.5px) rotate(-45deg);
}

.mobile-nav-panel {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: rgba(230, 234, 235, 0.98);
    border-bottom: none !important;
    padding: 12px 20px 18px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.mobile-nav-panel.is-active {
    display: flex;
}

.mobile-nav-link {
    color: #2F363A;
    text-decoration: none;
    font-size: 1.05rem;
    font-weight: 500;
    padding: 11px 0;
    border-bottom: none !important;
    transition: color 0.2s ease;
}

.mobile-nav-link:last-child {
    border-bottom: none !important;
    color: #4C7D93;
    font-weight: 600;
}

.mobile-nav-link:hover {
    color: #5B899D;
}

@media (max-width: 768px) {
    .mobile-burger {
        display: flex;
    }
    .header-action {
        display: flex;
        align-items: center;
    }
}

/* Краткое описание карточки на главной странице */
.preview-desc {
    margin: 8px 0 0;
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.9em;
}

/* Стилизованная ссылка на все работы */
.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 9px 18px;
    background: #FAFCFD;
    border: 1px solid #D2DFE6;
    border-radius: 999px;
    color: #4A6B7C;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    letter-spacing: 0.2px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.link-more:hover {
    background: #5B899D;
    border-color: #5B899D;
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(91, 137, 157, 0.22);
    transform: translateY(-1px);
}

.link-more:hover span.arrow,
.link-more:hover {
    /* Легкий сдвиг стрелки вправо при наведении */
    text-decoration: none;
}

/* Элегантная анимация стрелки и кнопки */
.link-more {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: #FFFFFF;
    border: 1px solid #D6E2E9;
    border-radius: 999px;
    color: #4A6B7C;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    box-shadow: 0 2px 6px rgba(44, 53, 57, 0.04);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1),
                background-color 0.25s ease,
                border-color 0.25s ease,
                color 0.25s ease,
                box-shadow 0.25s ease;
}

.link-more .arrow {
    display: inline-block;
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform;
}

/* Эффект при наведении */
.link-more:hover {
    background-color: #5B899D;
    border-color: #5B899D;
    color: #FFFFFF;
    box-shadow: 0 6px 16px rgba(91, 137, 157, 0.25);
    transform: translateY(-2px);
}

.link-more:hover .arrow {
    transform: translateX(5px);
}

/* Микро-отклик на нажатие (клик) */
.link-more:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(91, 137, 157, 0.2);
}

/* Статичная аккуратная ссылка на все работы (без анимаций) */
.link-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 16px;
    background: #FFFFFF;
    border: 1px solid #D6E2E9;
    border-radius: 999px;
    color: #4A6B7C;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transform: none !important;
    transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.link-more:hover {
    background-color: #5B899D;
    border-color: #5B899D;
    color: #FFFFFF;
    transform: none !important;
}

.link-more:active {
    background-color: #4A6B7C;
    border-color: #4A6B7C;
    color: #FFFFFF;
    transform: none !important;
}

.link-more .arrow {
    transform: none !important;
    transition: none !important;
}

/* Адаптив шапки секции с работами для мобильных */
.link-more {
    white-space: nowrap; /* Никогда не переносить слова внутри кнопки */
    flex-shrink: 0;      /* Не давать сжимать кнопку */
}

@media (max-width: 640px) {
    .section-works-preview .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 20px;
    }

    .section-works-preview .section-title {
        line-height: 1.2;
        margin: 0;
    }

    .section-works-preview .link-more {
        align-self: flex-start;
        padding: 6px 14px;
        font-size: 0.85rem;
    }
}

/* Премиальные карточки услуг */
.section-procedures {
    padding: 60px 0 50px;
    background-color: #FAFBFB;
}

.procedures-intro {
    text-align: center;
    margin-bottom: 36px;
}

.section-tag {
    display: inline-block;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #5B899D;
    font-weight: 600;
    margin-bottom: 6px;
}

.procedures-main-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.2rem;
    color: #2C3539;
    font-weight: 400;
    margin: 0;
}

.procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.procedure-card {
    background: #FFFFFF;
    border: 1px solid #E6ECEF;
    border-radius: 14px;
    padding: 17px 13px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(44, 53, 57, 0.03);
    min-height: 200px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.procedure-card:hover {
    border-color: #5B899D;
    box-shadow: 0 8px 24px rgba(91, 137, 157, 0.12);
}

.proc-icon-box {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background-color: #F0F6F8;
    color: #4A6B7C;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
}

.proc-icon-box svg {
    width: 24px;
    height: 24px;
}

.proc-card-content {
    flex-grow: 1;
}

.proc-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    color: #2C3539;
    font-weight: 600;
    margin: 0 0 6px;
    line-height: 1.25;
}

.proc-card-tagline {
    font-size: 0.85rem;
    color: #6C7A82;
    line-height: 1.45;
    margin: 0 0 16px;
}

.proc-card-link {
    font-size: 0.85rem;
    color: #5B899D;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

/* Адаптив для планшетов и мобильных */
@media (max-width: 992px) {
    .procedures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}

@media (max-width: 580px) {
    .section-procedures {
        padding: 40px 0 35px;
    }
    .procedures-main-title {
        font-size: 1.8rem;
    }
    .procedures-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .procedure-card {
        padding: 20px;
        min-height: auto;
    }
}

/* Журнальный премиум-дизайн секции процедур */
.section-procedures {
    padding: 70px 0 65px;
    background-color: #F8F9FA;
}

.procedures-intro {
    text-align: center;
    margin-bottom: 42px;
}

.section-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #6C8D9E;
    font-weight: 600;
    margin-bottom: 8px;
}

.procedures-main-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 2.35rem;
    color: #242D31;
    font-weight: 400;
    letter-spacing: -0.3px;
    margin: 0;
}

.procedures-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.procedure-card {
    background: #FFFFFF;
    border: none;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    box-shadow: 0 4px 18px rgba(36, 45, 49, 0.04);
    box-sizing: border-box;
    transition: box-shadow 0.3s ease;
}

.procedure-card:hover {
    box-shadow: 0 10px 30px rgba(36, 45, 49, 0.08);
}

.proc-card-media {
    width: 100%;
    height: 165px;
    overflow: hidden;
    background: #EEF2F4;
}

.proc-card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
}

.proc-card-content {
    padding: 22px 20px 24px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    text-align: left;
}

.proc-card-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.45rem;
    color: #242D31;
    font-weight: 600;
    margin: 0 0 8px;
    line-height: 1.25;
}

.proc-card-tagline {
    font-size: 0.86rem;
    color: #6A7780;
    line-height: 1.5;
    margin: 0 0 18px;
    flex-grow: 1;
}

.proc-card-link {
    font-size: 0.85rem;
    color: #4A6B7C;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    position: relative;
    padding-bottom: 2px;
    border-bottom: none !important;
    width: fit-content;
    transition: border-color 0.2s ease, color 0.2s ease;
}

.procedure-card:hover .proc-card-link {
    color: #242D31;
    
}

/* Адаптив для планшетов и смартфонов */
@media (max-width: 1024px) {
    .procedures-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 18px;
        max-width: 820px;
        margin: 0 auto;
    }
    .procedure-card {
        max-width: 390px;
        width: 100%;
        margin: 0 auto;
    }
    .proc-card-media {
        height: 165px;
    }
}

@media (max-width: 600px) {
    .section-procedures {
        padding: 44px 0 40px;
    }
    .procedures-main-title {
        font-size: 1.85rem;
    }
    .procedures-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .procedure-card {
        max-width: 325px;
        margin: 0 auto;
        width: 100%;
    }

    .proc-card-media {
        height: 145px;
    }
    .proc-card-content {
        padding: 18px 16px 20px;
    }
}

/* Мягкая и деликатная ссылка "Подробнее" */
.proc-card-link {
    font-size: 0.84rem;
    color: #8C99A0 !important;
    font-weight: 500;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-bottom: none !important; /* Убираем черту */
    padding: 0;
    transition: color 0.25s ease;
}

.proc-arrow {
    font-size: 0.95rem;
    color: #A0ACB2;
    transition: color 0.25s ease;
}

.procedure-card:hover .proc-card-link {
    color: #5B899D !important;
}

.procedure-card:hover .proc-arrow {
    color: #5B899D;
}

/* Читаемая, мягкая ссылка Подробнее */
.proc-card-link {
    font-size: 0.88rem !important;
    color: #4A6B7C !important;
    font-weight: 500 !important;
    letter-spacing: 0.2px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-bottom: none !important;
    padding: 4px 0;
    transition: color 0.2s ease;
}

.proc-arrow {
    font-size: 1rem !important;
    color: #6C8D9E !important;
    line-height: 1;
}

.procedure-card:hover .proc-card-link {
    color: #2C3539 !important;
}

.procedure-card:hover .proc-arrow {
    color: #2C3539 !important;
}

/* Ссылка Подробнее в точном цвете плашки "НАПРАВЛЕНИЯ КАБИНЕТА" */
.proc-card-link {
    font-size: 0.88rem !important;
    color: #5B899D !important;
    font-weight: 500 !important;
    letter-spacing: 0.3px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    border-bottom: none !important;
    padding: 0;
    transition: color 0.2s ease;
}

.proc-arrow {
    font-size: 1rem !important;
    color: #5B899D !important;
    line-height: 1;
    transition: transform 0.2s ease, color 0.2s ease;
}

.procedure-card:hover .proc-card-link,
.procedure-card:hover .proc-arrow {
    color: #3D6475 !important; /* Чуть глубже при наведении */
}

/* Краткое описание в карточках выполненных работ */
.preview-desc {
    margin: 8px 0 0;
    font-size: 0.84rem;
    color: #6C7A82;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.8em;
}

/* Бейдж серии фотографий на карточке */
.preview-media {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.preview-media img {
    width: 100%;
    height: 100%;
    display: block;
    
}

.preview-badge-counter {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(18, 24, 27, 0.65);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    color: #ffffff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 3px 8px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    pointer-events: none;
    z-index: 2;
}

/* ==========================================
   Адаптивность шапки и логотипа
   ========================================== */
.nav-link {
    white-space: nowrap;
}

.btn-header {
    white-space: nowrap;
    flex-shrink: 0;
}

.logo {
    flex-shrink: 0;
}

/* Промежуточные экраны (планшеты 769px - 992px): логотип 49px, меню в одну строку */
@media (max-width: 992px) and (min-width: 769px) {
    .logo-img {
        height: 56px;
        margin-top: -9px;
    }
    .logo-subtitle {
        font-size: 0.70rem;
        margin-top: -3px;
    }
    .nav {
        gap: 14px;
    }
    .nav-link {
        font-size: 0.88rem;
    }
    .btn-header {
        padding: 8px 14px;
        font-size: 0.85rem;
    }
}

/* Мобильные экраны и вертикальные планшеты (до 768px) */
@media (max-width: 768px) {
    .logo-img {
        height: 52px;
        margin-top: -8px;
    }
    .logo-subtitle {
        font-size: 0.70rem;
        margin-top: -2px;
    }
}

/* Смартфоны (до 480px) */
@media (max-width: 480px) {
    .logo-img {
        height: 46px;
        margin-top: -6px;
    }
    .logo-subtitle {
        font-size: 0.58rem;
        margin-top: -2px;
    }
}

/* Отступ секции от фиксированной шапки */
#about, .about-section {
    scroll-margin-top: 90px;
    padding-top: 30px;
}

.badge {
        justify-content: flex-start;
        padding: 9px 16px !important;
}

/* Блок доверия: 2 колонки по 50%, центрирование внутри */
.about-badges {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    margin-top: 22px !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

.badge {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #EAF3F4 !important;
    border: 1px solid #CEE3E6 !important;
    color: #24414D !important;
    padding: 8px 10px !important;
    border-radius: 8px !important;
    font-size: 0.81rem !important;
    font-weight: 500 !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    width: 100% !important;
    box-shadow: 0 1px 3px rgba(36, 65, 77, 0.04) !important;
}

.badge span {
    white-space: nowrap !important;
    text-align: center !important;
}

.badge-icon {
    width: 15px !important;
    height: 15px !important;
    flex-shrink: 0 !important;
    color: #3B6B7C !important;
}

@media (max-width: 920px) {
    .about-badges {
        grid-template-columns: 1fr !important;
        max-width: 275px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Премиальный футер с точными классами */
.footer {
    background-color: #E8EEF1;
    color: #2D434E;
    padding: 44px 0 24px;
    border-top: 1px solid #D5E1E6;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid #D8E2E5;
}

.footer-contacts {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.footer-phone {
    font-size: 1.55rem;
    font-weight: 700;
    color: #1E343F;
    text-decoration: none;
    letter-spacing: 0.3px;
    line-height: 1.2;
    transition: color 0.2s ease;
}

.footer-phone:hover {
    color: #4C7B8E;
}

/* Кнопка адреса без системной рамки браузера */
.footer-address {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 2px 0 !important;
    margin: 0 !important;
    color: #4A636F;
    font-size: 0.92rem;
    font-family: inherit;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s ease;
}

.footer-address:hover {
    color: #1E343F;
}

.footer-address .map-icon {
    color: #5C8899;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.footer-address:hover .map-icon {
    transform: translateY(-1px);
    color: #1E343F;
}

/* Правая колонка: вертикальный стек, прижатый вправо */
.footer-socials {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
    text-align: right;
}

.social-label {
    font-size: 0.84rem;
    color: #5D7480;
    font-weight: 500;
}

/* 4 круглые иконки ровно в один ряд */
.social-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
}

.social-link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background-color: #8FAEC0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #FFFFFF !important;
    text-decoration: none;
    transition: transform 0.2s ease, background-color 0.2s ease;
    flex-shrink: 0;
}

.social-link:hover {
    background-color: #6A91A5;
    transform: translateY(-2px);
}

.social-link svg {
    width: 17px;
    height: 17px;
    fill: currentColor;
}

.footer-email-sub {
    font-size: 0.88rem;
    color: #4A636F;
    margin-top: 2px;
}

.footer-email-sub a {
    color: #2D586B;
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.2s ease;
}

.footer-email-sub a:hover {
    color: #14323F;
}

.footer-bottom {
    padding-top: 10px;
    text-align: center;
    font-size: 0.82rem;
    color: #728894;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 24px;
    }

    .footer-contacts,
    .footer-socials {
        align-items: center;
        text-align: center;
    }
}

/* ==========================================
   Премиальный футер: Архитектурный баланс
   ========================================== */
.footer {
    background-color: #EAF0F2 !important;
    color: #334A56 !important;
    padding: 52px 0 28px !important;
    border-top: 1px solid #DCE6EA !important;
}

.footer-container {
    max-width: 1140px !important;
    margin: 0 auto !important;
    padding: 0 20px !important;
    display: flex !important;
    justify-content: space-between !important;
    align-items: flex-start !important;
    padding-bottom: 30px !important;
    border-bottom: 1px solid #D8E2E5;
}

/* Левая колонка: просторная и устойчивая */
.footer-contacts {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 12px !important;
}

.footer-phone {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 1.85rem !important;
    font-weight: 700 !important;
    color: #142833 !important;
    letter-spacing: -0.3px !important;
    line-height: 1.15 !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.footer-phone:hover {
    color: #3D6274 !important;
}

.footer-address {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
    background: none !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    color: #556E7B !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.88rem !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    transition: color 0.2s ease !important;
}

.footer-address:hover {
    color: #142833 !important;
}

.footer-address .map-icon {
    color: #6C8592 !important;
    width: 15px !important;
    height: 15px !important;
    stroke-width: 1.8 !important;
    transition: transform 0.2s ease !important;
}

.footer-address:hover .map-icon {
    transform: translateY(-1px) !important;
    color: #142833 !important;
}

/* Правая колонка: выверенный вертикальный ритм */
.footer-socials {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    margin-top: -6px !important;
    gap: 8px !important;
    text-align: right !important;
}

.social-label {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.72rem !important;
    text-transform: uppercase !important;
    letter-spacing: 0.9px !important;
    color: #6C8592 !important;
    font-weight: 600 !important;
}

.social-links {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
}

.social-link {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50% !important;
    background-color: #FFFFFF !important;
    border: 1px solid #D6E2E6 !important;
    box-shadow: 0 1px 3px rgba(20, 40, 51, 0.05) !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #385A6A !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
}

.social-link:hover {
    background-color: #F8FBFC !important;
    transform: translateY(-2px) !important;
    border-color: #BED1D7 !important;
    color: #142833 !important;
}

.social-link svg {
    width: 16px !important;
    height: 16px !important;
    fill: currentColor !important;
}

/* Блок почты: отделен воздухом сверху, монохромный и строгий */
.footer-email-sub {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.84rem !important;
    color: #6C8592 !important;
    margin-top: 14px !important;
    line-height: 1.35 !important;
}

.footer-email-sub a {
    color: #344C57 !important;
    text-decoration: none !important;
    font-weight: 500 !important;
    display: inline-block !important;
    margin-top: 4px !important;
    transition: color 0.2s ease, text-decoration 0.2s ease !important;
}

.footer-email-sub a:hover {
    color: #142833 !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
}

.footer-email-sub a:first-of-type {
    margin-right: 6px !important;
}

.footer-email-sub a:last-of-type {
    margin-left: 6px !important;
}

/* Копирайт внизу */
.footer-bottom {
    padding-top: 15px !important;
    text-align: center !important;
}

.footer-bottom p {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif !important;
    font-size: 0.80rem !important;
    color: #8298A4 !important;
    margin: 0 !important;
    letter-spacing: 0.2px !important;
}

@media (max-width: 768px) {
    .footer-container {
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        gap: 26px !important;
    }

    .footer-contacts,
    .footer-socials {
        align-items: center !important;
        text-align: center !important;
    }
}

/* Мягкая палитра иконок и ссылок почты */
.social-link {
    color: #6C8592 !important;
    border-color: #DDE7EB !important;
}

.social-link:hover {
    color: #335464 !important;
    border-color: #BDD0D8 !important;
}

.footer-email-sub a {
    color: #52707E !important;
}

.footer-email-sub a:hover {
    color: #1E3845 !important;
}

/* Медицинский стиль плашек доверия (свежесть, стерильность, чистота) */
.about-badges .badge {
    cursor: default !important;
    background: #F4F9FB !important;
    background: linear-gradient(180deg, #FAFCFD 0%, #EEF6F9 100%) !important;
    border: 1px solid #D6E8EE !important;
    box-shadow: 0 2px 6px rgba(35, 75, 95, 0.03) !important;
    color: #244C5E !important;
    
}

.about-badges .badge svg,
.about-badges .badge .badge-icon {
    color: #3B728B !important;
    stroke: currentColor !important;
}

/* Выверенный размер сетки: исходный кегль шрифта, увеличенный внутренний воздух */
.about-badges {
    width: 100% !important;
    max-width: 545px !important;
    margin-right: auto !important;
}

.about-badges .badge {
    cursor: default !important;
    padding: 9px 14px !important;
    gap: 6px !important;
    justify-content: center !important;
    white-space: nowrap !important;
}

.about-badges .badge svg,
.about-badges .badge .badge-icon {
    width: 16px !important;
    height: 16px !important;
}

@media (max-width: 920px) {
    .about-badges {
        grid-template-columns: 1fr !important;
        max-width: 275px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

/* Деликатные контакты под кнопкой hero */
.hero-meta {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.hero-location-note {
    font-size: 0.84rem;
    color: rgba(255, 255, 255, 0.85);
    letter-spacing: 0.2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
}

.hero-phone {
font-size: 1rem;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    letter-spacing: 0.5px;
    
    padding-bottom: 2px;
    transition: all 0.25s ease;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.45);
    border-bottom: none !important;
}

.hero-phone:hover {
    color: #FFFFFF;
    
}

@media (max-width: 600px) {
    .hero-location-note {
        font-size: 0.78rem;
        padding: 0 12px;
        text-align: center;
        line-height: 1.4;
    }
    .hero-phone {
font-size: 0.95rem;
    border-bottom: none !important;
}
}

/* Адаптивная типографика Hero для идеального вида на узких экранах */
.hero-title {
    text-wrap: balance !important;
}

@media (max-width: 600px) {
    .hero-title {
        font-size: clamp(1.65rem, 6.5vw, 2.1rem) !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }
    .hero-subtitle {
        font-size: 0.92rem !important;
        line-height: 1.45 !important;
    }
    .hero-location-note {
        font-size: 0.80rem !important;
        white-space: nowrap !important;
    }
}

/* Сброс лишней границы: оставляем только одну родную линию */
.footer-bottom {
    border-top: none !important;
    padding-top: 15px !important;
    text-align: center !important;
}

.hero-phone {
    border-bottom: none !important;
    text-decoration: none !important;
}

/* ==========================================
   152-ФЗ: Чекбокс и Модальное окно политики
   ========================================== */
.form-privacy-group {
    margin: 18px 0 20px 0;
    text-align: left;
}

.privacy-label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    cursor: pointer;
    user-select: none;
}

.privacy-label input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
    pointer-events: none;
}

.custom-checkbox {
    width: 18px;
    height: 18px;
    border: 1.5px solid #89B8CC;
    border-radius: 4px;
    flex-shrink: 0;
    margin-top: 2px;
    background: #FFFFFF;
    transition: all 0.2s ease;
    position: relative;
    box-sizing: border-box;
}

.privacy-label input[type="checkbox"]:focus-visible + .custom-checkbox {
    outline: 2px solid #5A8F9E;
    outline-offset: 2px;
}

.privacy-label input[type="checkbox"]:checked + .custom-checkbox {
    background-color: #6C96A8;
    border-color: #6C96A8;
}

.privacy-label input[type="checkbox"]:checked + .custom-checkbox::after {
    content: "";
    position: absolute;
    left: 5px;
    top: 1px;
    width: 5px;
    height: 10px;
    border: solid #FFFFFF;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.privacy-text {
    font-size: 0.80rem;
    line-height: 1.45;
    color: #5D6E77;
}

.privacy-link-btn {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    font: inherit;
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease, text-decoration 0.2s ease;
}

.privacy-link-btn:hover {
    color: #1F3F4D;
    text-decoration: underline;
    text-underline-offset: 3px;
}

/* Модальное окно политики */
.privacy-modal-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(44, 53, 57, 0.55);
    backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

.privacy-modal-backdrop.is-open {
    display: flex;
}

.privacy-modal-dialog {
    background: #FFFFFF;
    width: 100%;
    max-width: 520px;
    max-height: 85vh;
    border-radius: 16px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    animation: modalFadeIn 0.22s ease-out;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.96); }
    to { opacity: 1; transform: scale(1); }
}

.privacy-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 22px;
    border-bottom: 1px solid #EDF1F3;
}

.privacy-modal-title {
    margin: 0;
    font-size: 1.15rem;
    color: #24414D;
    font-weight: 600;
}

.privacy-modal-close {
    background: none;
    border: none;
    font-size: 28px;
    line-height: 1;
    color: #7A8E99;
    cursor: pointer;
    padding: 0;
    transition: color 0.2s ease;
}

.privacy-modal-close:hover {
    color: #24414D;
}

.privacy-modal-body {
    padding: 20px 22px;
    overflow-y: auto;
    font-size: 0.88rem;
    line-height: 1.6;
    color: #4A5B64;
}

.privacy-modal-body p {
    margin: 0 0 14px 0;
}

.privacy-modal-body p:last-child {
    margin-bottom: 0;
}

/* Брендовая почта в футере */
.footer-email-sub {
    margin-top: 14px;
    text-align: center;
}

.footer-email-sub a {
    color: #7A8E99;
    font-size: 0.92rem;
    font-weight: 400;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: color 0.25s ease;
}

.footer-email-sub a:hover {
    color: #24414D;
    text-decoration: none;
}

/* Утонченный стиль почты (минимализм) */
.footer-email-sub {
    margin-top: 12px !important;
}

.footer-email-sub a {
    font-size: 0.82rem !important;
    font-weight: 300 !important;
    letter-spacing: 0.05em !important;
    color: #7A8E99 !important;
    opacity: 0.85;
}

.footer-email-sub a:hover {
    color: #24414D !important;
    opacity: 1;
}

/* Корректировка контраста почты под тон заголовка */
.footer-email-sub a {
    color: #4E6470 !important;
    font-weight: 400 !important;
    opacity: 1 !important;
    letter-spacing: 0.04em !important;
}

.footer-email-sub a:hover {
    color: #1F3038 !important;
}

/* Итоговая гармонизация блока контактов */
.footer-email-sub {
    margin-top: 16px !important;
}

.footer-email-sub a {
    color: #384F5B !important;
    font-size: 0.84rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.04em !important;
    opacity: 1 !important;
    text-decoration: none !important;
    transition: color 0.25s ease !important;
}

.footer-email-sub a:hover {
    color: #1A272E !important;
}

/* Выравнивание правой контактной колонки по правому краю */
.footer-socials {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-end !important;
    text-align: right !important;
}

.footer-socials .social-label {
    text-align: right !important;
    width: 100% !important;
}

.footer-socials .social-links {
    display: flex !important;
    justify-content: flex-end !important;
    width: 100% !important;
}

.footer-email-sub {
    width: 100% !important;
    text-align: right !important;
    margin-top: 14px !important;
}

/* Строгая швейцарская сетка для правой колонки футера */
@media (min-width: 769px) {
    .footer-socials {
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-end !important;
        text-align: right !important;
    }

    .footer-socials .social-label {
        display: block !important;
        text-align: right !important;
        width: auto !important;
        margin-right: 0 !important;
    }

    .footer-socials .social-links {
        display: flex !important;
        justify-content: flex-end !important;
        align-items: center !important;
        margin-right: 0 !important;
        gap: 8px !important;
    }

    .footer-email-sub {
        display: block !important;
        text-align: right !important;
        margin-top: 14px !important;
        margin-right: 0 !important;
    }

    .footer-email-sub a {
        display: inline-block !important;
        text-align: right !important;
    }
}

/* ========================================================
   ИДЕАЛЬНАЯ СЕТКА ФУТЕРА: ДЕСКТОП И МОБИЛЬНЫЙ
   ======================================================== */

/* Общие стили блока */
.footer-socials {
    display: flex !important;
    flex-direction: column !important;
}

.footer-socials .social-links {
    display: flex !important;
    gap: 10px !important;
}

.footer-email-sub {
    margin-top: 14px !important;
}

.footer-email-sub a {
    color: #384F5B !important;
    font-size: 0.85rem !important;
    font-weight: 400 !important;
    letter-spacing: 0.03em !important;
    text-decoration: none !important;
    transition: color 0.2s ease !important;
}

.footer-email-sub a:hover {
    color: #111D24 !important;
}

/* 1. Десктоп: строгая швейцарская вертикаль по правому краю */
@media (min-width: 769px) {
    .footer-socials {
        align-items: flex-end !important;
        text-align: right !important;
    }

    .footer-socials .social-label {
        display: block !important;
        text-align: right !important;
        margin-right: 0 !important;
        margin-bottom: 8px !important;
    }

    .footer-socials .social-links {
        justify-content: flex-end !important;
        margin-right: 0 !important;
    }

    .footer-email-sub {
        text-align: right !important;
        margin-right: 0 !important;
    }
}

/* 2. Мобильный: гармоничный центр с благородным воздухом */
@media (max-width: 768px) {
    .footer-socials {
        align-items: center !important;
        text-align: center !important;
        margin-top: 32px !important;
    }

    .footer-socials .social-label {
        display: block !important;
        text-align: center !important;
        margin-bottom: 12px !important;
    }

    .footer-socials .social-links {
        justify-content: center !important;
    }

    .footer-email-sub {
        text-align: center !important;
        margin-top: 14px !important;
    }
}

/* Дополнительный воздух между адресом и блоком связи на мобильных */
@media (max-width: 768px) {
    .footer-socials {
        margin-top: 40px !important;
    }
}

/* ========================================================
   ОБНОВЛЕННАЯ СТИЛИСТИКА МОДАЛЬНОГО ОКНА ПОЛИТИКИ
   ======================================================== */
.privacy-modal-backdrop {
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    background-color: rgba(26, 42, 50, 0.45) !important;
}

.privacy-modal-dialog {
    border-radius: 18px !important;
    box-shadow: 0 20px 48px rgba(22, 38, 46, 0.16) !important;
    border: 1px solid rgba(221, 231, 235, 0.6) !important;
}

.privacy-modal-header {
    padding: 20px 24px !important;
    border-bottom: 1px solid #EEF3F5 !important;
}

.privacy-modal-title {
    font-size: 1.12rem !important;
    font-weight: 600 !important;
    color: #1F3642 !important;
    letter-spacing: -0.01em !important;
}

.privacy-modal-close {
    width: 32px !important;
    height: 32px !important;
    border-radius: 50% !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #728792 !important;
    background: transparent !important;
    transition: all 0.2s ease !important;
}

.privacy-modal-close:hover {
    background: #F0F4F6 !important;
    color: #1A272E !important;
}

.privacy-modal-body {
    padding: 24px 26px !important;
    color: #435863 !important;
    scrollbar-width: thin !important;
    scrollbar-color: #D2DFE5 transparent !important;
}

.privacy-modal-body::-webkit-scrollbar {
    width: 5px !important;
}

.privacy-modal-body::-webkit-scrollbar-thumb {
    background-color: #D2DFE5 !important;
    border-radius: 4px !important;
}

.privacy-item {
    margin-bottom: 18px !important;
}

.privacy-item:last-child {
    margin-bottom: 0 !important;
}

.privacy-item-title {
    margin: 0 0 6px 0 !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    color: #1E343F !important;
}

.privacy-item p {
    margin: 0 !important;
    font-size: 0.86rem !important;
    line-height: 1.62 !important;
    color: #4C606C !important;
}

.privacy-mail-link {
    color: #2F6F8C !important;
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    font-weight: 500 !important;
    transition: color 0.2s ease !important;
}

.privacy-mail-link:hover {
    color: #17485E !important;
}

/* Адаптив подвала для мобильных экранов */
@media (max-width: 768px) {
    .footer-bottom p {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        gap: 6px !important;
        text-align: center !important;
    }

    .footer-bottom .footer-separator {
        display: none !important;
    }

    .footer-bottom .privacy-link-btn {
        display: inline-block !important;
        padding: 4px 8px !important;
        font-size: 0.78rem !important;
    }
}

.footer-bottom, .footer-bottom p {
    -webkit-text-size-adjust: none !important;
    text-size-adjust: none !important;
    font-size: 0.82rem !important;
    line-height: 1.5 !important;
}

.footer-bottom .privacy-link-btn {
    font-size: inherit !important;
    line-height: inherit !important;
}

/* Секция квалификации и сертификатов */
.section-certificates { background-color: #F8FAF9; padding-top: 70px; padding-bottom: 30px; overflow: hidden; }

.certificates-slider-wrapper {
    position: relative;
    margin-top: 35px;
}

.certificates-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding-bottom: 20px;
    padding-top: 5px;
    scrollbar-width: thin;
    scrollbar-color: #CBD5DC transparent;
    -webkit-overflow-scrolling: touch;
}

.certificates-track::-webkit-scrollbar {
    height: 6px;
}

.certificates-track::-webkit-scrollbar-track {
    background: transparent;
}

.certificates-track::-webkit-scrollbar-thumb {
    background-color: #CBD5DC;
    border-radius: 10px;
}

.cert-card {
    flex: 0 0 262px;
    background: #FFFFFF;
    border: 1px solid #E1E8EC;
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: 0 4px 16px rgba(25, 42, 50, 0.04), 0 1px 3px rgba(25, 42, 50, 0.02);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.25s ease;
    display: flex;
    flex-direction: column;
    position: relative;
}

.cert-card:hover {
    transform: translateY(-5px);
    border-color: #CAD6DC;
    box-shadow: 0 14px 32px rgba(25, 42, 50, 0.09), 0 3px 8px rgba(25, 42, 50, 0.03);
}

.cert-img-wrap {
    position: relative;
    width: 100%;
    height: 182px;
    background-color: #F4F6F8;
    background-image: linear-gradient(180deg, #F8FAFB 0%, #EEF2F4 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4px 6px;
    box-sizing: border-box;
    border-bottom: 1px solid #E6ECEF;
}

.cert-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center center;
    display: block;
    border-radius: 2px;
    outline: 1px solid rgba(22, 44, 56, 0.08);
    filter: drop-shadow(0 3px 8px rgba(25, 45, 55, 0.09)) drop-shadow(0 1px 2px rgba(25, 45, 55, 0.04));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.cert-card:hover .cert-img-wrap img {
    transform: scale(1.025);
    filter: drop-shadow(0 7px 16px rgba(25, 45, 55, 0.14)) drop-shadow(0 2px 4px rgba(25, 45, 55, 0.06));
}

.cert-zoom-icon {
    position: absolute;
    inset: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 18px rgba(25, 45, 55, 0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1F3F4D;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 2;
}

.cert-card:hover .cert-zoom-icon {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.cert-info {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.cert-date {
    display: inline-block;
    align-self: flex-start;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #1F3F4D;
    background: #EDF3F5;
    padding: 3px 8px;
    border-radius: 6px;
    margin-bottom: 10px;
}

.cert-name {
    font-size: 0.96rem;
    font-weight: 600;
    color: #1A282F;
    line-height: 1.35;
    margin: 0 0 6px;
}

.cert-desc {
    font-size: 0.82rem;
    line-height: 1.45;
    color: #61737D;
    margin: 0;
}

/* Lightbox модальное окно */
.cert-lightbox {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 18, 0.95);
    backdrop-filter: blur(6px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, visibility 0.25s ease;
    padding: 20px;
}

.cert-lightbox.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cert-lb-content {
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.cert-lb-content img {
    max-width: 86vw;
    max-height: 78vh;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.5);
    background: #fff;
}

.cert-lb-caption {
    margin-top: 14px;
    color: #F8FAF9;
    font-size: 0.90rem;
    text-align: center;
    max-width: 650px;
    line-height: 1.45;
}

.cert-lb-close {
    position: absolute;
    top: 24px;
    right: 28px;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.cert-lb-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
    transform: scale(1.05);
}

.cert-lb-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    z-index: 10;
}

.cert-lb-nav:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.35);
    transform: translateY(-50%) scale(1.05);
}

.cert-lb-prev { left: 28px; }
.cert-lb-next { right: 28px; }

@media (max-width: 768px) {
    .section-certificates { background-color: #F8FAF9; padding-top: 70px; padding-bottom: 30px; overflow: hidden; }
    .cert-card {
        flex: 0 0 min(280px, 82vw);
    }
    .cert-img-wrap {
        height: 195px;
        background-color: #F4F6F7;
        padding: 6px;
    }
    .cert-img-wrap img {
        object-fit: contain;
    }
    .cert-lb-prev { left: 10px; width: 40px; height: 40px; font-size: 28px; }
    .cert-lb-next { right: 10px; width: 40px; height: 40px; font-size: 28px; }
    .cert-lb-close { top: 12px; right: 12px; width: 38px; height: 38px; font-size: 22px; }
    .cert-lb-caption { font-size: 0.80rem; }
}

/* Шапка секции сертификатов и стрелки */
.cert-header-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 25px;
}

.cert-title-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cert-subtitle {
    margin: 0;
    font-size: 0.95rem;
    color: #61737D;
    line-height: 1.45;
}

.cert-nav-arrows {
    display: flex;
    gap: 10px;
    flex-shrink: 0;
}

.cert-arrow-btn {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: #FFFFFF;
    border: 1px solid #E1E8EC;
    color: #5B899D;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(31, 63, 77, 0.04);
    transition: all 0.25s ease;
}

.cert-arrow-btn:hover {
    background: #F2F7F9;
    border-color: #B2CDD8;
    color: #2F596B;
    transform: translateY(-1px);
    box-shadow: 0 4px 14px rgba(91, 137, 157, 0.15);
}

.cert-arrow-btn:active {
    transform: translateY(0);
    background: #E8F0F3;
    box-shadow: 0 2px 6px rgba(91, 137, 157, 0.10);
}

@media (max-width: 768px) {
    .cert-nav-arrows {
        display: none; /* на смартфонах листание свайпом естественнее */
    }
}

/* Компактные отступы секции сертификатов */
.section-certificates {
    padding-top: 70px !important;
    padding-bottom: 30px !important;
}

.certificates-slider-wrapper {
    margin-top: 15px !important;
}

/* Возвращаем подчеркивание ссылке на политику в форме записи */
.form-privacy-group .privacy-link-btn {
    text-decoration: underline !important;
    text-underline-offset: 3px !important;
    color: inherit;
    cursor: pointer;
    transition: opacity 0.2s ease;
}
.form-privacy-group .privacy-link-btn:hover {
    opacity: 0.75;
}

/* Скрытие боковых стрелок лайтбокса сертификатов на экранах мобильных устройств */
@media (max-width: 768px) {
    .cert-lb-nav {
        display: none !important;
    }
}

/* Cookie-баннер */
.cookie-banner {
  position: fixed;
  bottom: -130px;
  left: 24px;
  max-width: 330px;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(137, 184, 204, 0.28);
  border-radius: 14px;
  box-shadow: 0 10px 30px rgba(44, 53, 57, 0.12);
  padding: 16px 18px;
  z-index: 9999;
  transition: bottom 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease, visibility 0.4s;
  opacity: 0;
  visibility: hidden;
}

.cookie-banner.show {
  bottom: 24px;
  opacity: 1;
  visibility: visible;
}

.cookie-content p {
  margin: 0 0 12px 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: #55656E;
}

.cookie-content a {
  color: #4C7D93;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-btn {
  background: #83B0C7;
  color: #FFFFFF;
  border: none;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.84rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  width: 100%;
}

.cookie-btn:hover {
  background: #6E9CB3;
}

@media (max-width: 480px) {
  .cookie-banner {
    left: 12px;
    right: 12px;
    max-width: none;
    width: auto;
  }
}

/* Полноэкранный модальный плеер в стиле фото-галереи */
.reels-modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.25s ease;
}

.reels-modal-overlay.is-open {
    display: flex;
    opacity: 1;
}

.reels-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a0e12 !important;
}

.reels-topbar {
    position: absolute;
    top: 20px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100003;
    pointer-events: none;
}

.reels-badge {
    background: rgba(255, 255, 255, 0.12);
    color: #E2E8F0;
    font-size: 0.8rem;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.reels-actions {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

.reels-btn-close {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.reels-btn-close:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: scale(1.05);
}

.reels-content-container {
    position: relative;
    z-index: 100002;
    display: flex;
    flex-direction: column;
    align-items: center;
    max-height: 92vh;
    max-width: 90vw;
}

.reels-media-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.85);
}

.reels-media-wrap video {
    max-height: 76vh;
    max-height: 76dvh;
    max-width: 85vw;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    border-radius: 14px;
    background: #000;
    outline: none;
}

/* Наложение описания в стиле Telegram поверх нижней части видео */
.reels-info-box {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 5;
    background: linear-gradient(to top, rgba(10, 14, 18, 0.92) 0%, rgba(10, 14, 18, 0.60) 65%, transparent 100%);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    padding: 34px 18px 16px;
    text-align: left;
    pointer-events: none;
    box-sizing: border-box;
}

.reels-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.2;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.6);
}

.reels-desc {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.88);
    line-height: 1.35;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 600px) {
    .reels-topbar {
        top: 14px;
        left: 14px;
        right: 14px;
    }
    .reels-media-wrap video {
        max-height: 68vh;
        border-radius: 8px;
    }
    .reels-info-box {
        margin-top: 10px;
        padding: 10px 14px;
    }
}

/* Позиционирование боковых стрелок навигации Reels */
.reels-modal-overlay .lightbox-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 25;
}
.reels-modal-overlay .lightbox-prev {
    left: 20px;
}
.reels-modal-overlay .lightbox-next {
    right: 20px;
}

/* Точная подгонка вертикального видео Reels под экран */
#reels-lightbox-modal .lightbox-backdrop {
    background: #0a0e12 !important;
}

#reels-active-video {
    width: auto !important;
    height: 76vh !important;
    height: 76dvh !important;
    aspect-ratio: 9 / 16 !important;
    
    border-radius: 14px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.9) !important;
    background: #000 !important;
}

@media (max-width: 600px) {
    #reels-active-video {
        height: 82vh !important;
        height: 82dvh !important;
        max-width: 92vw !important;
        border-radius: 10px !important;
    }
}

/* Точная подгонка видео под вертикальные пропорции */
#reels-lightbox-modal video,
#reels-active-video {
    width: auto !important;
    height: 76vh !important;
    height: 76dvh !important;
    aspect-ratio: 9 / 16 !important;
    
    border-radius: 12px !important;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8) !important;
    outline: none !important;
}

@media (max-width: 600px) {
    #reels-lightbox-modal video,
    #reels-active-video {
        height: 82vh !important;
        height: 82dvh !important;
        max-width: 92vw !important;
        border-radius: 10px !important;
    }
}

/* Полноэкранный режим видео без обрезки */
video:fullscreen {
    object-fit: contain !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #000000 !important;
}

video:-webkit-full-screen {
    object-fit: contain !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #000000 !important;
}

video:-moz-full-screen {
    object-fit: contain !important;
    width: 100vw !important;
    height: 100vh !important;
    background: #000000 !important;
}

/* Защита сетки карточек от деформации при отсутствии текста */

/* Нормальная высота медиа процедур с правильным кадрированием лица */
.proc-card-media {
    height: 210px !important;
}
.proc-card-media img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center !important;
}
@media (max-width: 1024px) {
    .proc-card-media {
        height: 200px !important;
    }
}
@media (max-width: 600px) {
    .proc-card-media {
        height: 180px !important;
    }
}

/* ========================================================
   КАРТОЧКИ ПРЕВЬЮ РАБОТ НА ГЛАВНОЙ СТРАНИЦЕ
   ======================================================== */
.section-works-preview .preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    /* justify-content: flex-start; */
	justify-content: center;
}

.section-works-preview .preview-card {
    position: relative;
    width: 210px;
    height: 345px;
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.08);
    background: #1e293b;
    cursor: pointer;
    flex: 0 0 auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.section-works-preview .preview-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.16);
}

.section-works-preview .preview-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.section-works-preview .preview-media img,
.section-works-preview .preview-media video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform 0.4s ease;
}

.section-works-preview .preview-media img {
    transform: scale(1.04);
}

.section-works-preview .preview-body {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    padding: 24px 12px 12px;
    background: linear-gradient(to top, rgba(15, 23, 42, 0.90) 0%, rgba(15, 23, 42, 0.55) 60%, rgba(15, 23, 42, 0) 100%);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    display: flex;
    flex-direction: column;
    gap: 3px;
    pointer-events: none;
}

.section-works-preview .preview-title {
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: 1.15rem;
    font-weight: 600;
    line-height: 1.2;
    color: #FFFFFF;
    margin: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
}

.section-works-preview .preview-desc {
    font-family: 'Inter', -apple-system, sans-serif;
    font-size: 0.78rem;
    font-weight: 400;
    line-height: 1.3;
    color: rgba(255, 255, 255, 0.85);
    margin: 0;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

@media (max-width: 640px) {
    .section-works-preview .preview-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    .section-works-preview .preview-card {
        width: 100%;
        height: auto;
        aspect-ratio: 9 / 16;
    }
}

.preview-media,
.work-card-media {
    position: relative !important;
    isolation: isolate !important;
}

.preview-badge-video {
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    left: auto !important;
    bottom: auto !important;
    width: 30px !important;
    height: 30px !important;
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    border-radius: 50% !important;
    backdrop-filter: blur(6px) !important;
    -webkit-backdrop-filter: blur(6px) !important;
    z-index: 25 !important;
    pointer-events: none !important;
    transition: transform 0.25s ease !important;
}

.preview-badge-video svg {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    filter: drop-shadow(0 3px 8px rgba(0, 0, 0, 0.45));
}

.preview-badge-video .badge-bg {
    fill: rgba(15, 23, 42, 0.55);
    stroke: rgba(255, 255, 255, 0.4);
    stroke-width: 1.2;
    transition: fill 0.25s ease, stroke 0.25s ease;
}

.preview-card:hover .preview-badge-video,
.work-card:hover .preview-badge-video {
    transform: scale(1.08) !important;
}

.preview-badge-video .badge-bg,
.work-card:hover .preview-badge-video .badge-bg {
    fill: rgba(15, 23, 42, 0.75);
    stroke: rgba(255, 255, 255, 0.65);
}

/* Премиальный утонченный слайдер громкости */
#reels-vol-slider {
    -webkit-appearance: none;
    appearance: none;
    background: transparent;
    height: 14px;
    outline: none;
}

#reels-vol-slider::-webkit-slider-runnable-track {
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, #ffffff 0%, #ffffff var(--val, 70%), rgba(255, 255, 255, 0.3) var(--val, 70%), rgba(255, 255, 255, 0.3) 100%);
    border-radius: 2px;
}

#reels-vol-slider::-moz-range-track {
    width: 100%;
    height: 3px;
    background: rgba(255, 255, 255, 0.35);
    border-radius: 2px;
}

#reels-vol-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    margin-top: -3.5px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.15s ease;
}

#reels-vol-slider::-webkit-slider-thumb:hover {
    transform: scale(1.25);
}

#reels-vol-slider::-moz-range-thumb {
    width: 10px;
    height: 10px;
    border: none;
    border-radius: 50%;
    background: #ffffff;
    cursor: pointer;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
    transition: transform 0.15s ease;
}

/* Полноэкранный Reels UI (Telegram / Instagram Standard) */
#reels-lightbox-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    width: 100vw !important;
    height: 100% !important;
    height: 100dvh !important;
    z-index: 100000 !important;
    display: none;
    align-items: center;
    justify-content: center;
    overflow: hidden !important;
    background: #000000 !important;
}

#reels-lightbox-modal.is-active {
    display: flex !important;
}

#reels-lightbox-modal .lightbox-scroll-area {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    height: 100dvh !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

#reels-lightbox-modal .lightbox-media-wrapper {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    background: #000000 !important;
    overflow: hidden !important;
    cursor: pointer !important;
}

#reels-lightbox-modal #reels-active-video {
    display: block !important;
    outline: none !important;
    background: #000000 !important;
    object-fit: contain !important;
}

#reels-vol-group {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
}

#reels-vol-slider {
    position: absolute !important;
    right: 100% !important;
    margin-right: 8px !important;
    width: 0;
    opacity: 0;
    cursor: pointer !important;
    transition: width 0.25s ease, opacity 0.2s ease !important;
}

#reels-play-indicator {
    position: absolute !important;
    width: 64px !important;
    height: 64px !important;
    border-radius: 50% !important;
    background: rgba(0, 0, 0, 0.55) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #fff !important;
    opacity: 0;
    transform: scale(0.75);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
    pointer-events: none !important;
    z-index: 10 !important;
}

#reels-info-card {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 25 !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.95) 0%, rgba(0, 0, 0, 0.75) 40%, rgba(0, 0, 0, 0.3) 75%, transparent 100%) !important;
    padding: 24px 14px 16px !important;
    text-align: left !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
    cursor: pointer !important;
}

#reels-info-title {
    font-family: 'Cormorant Garamond', Georgia, serif !important;
    font-size: 1.20rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin-bottom: 2px !important;
    line-height: 1.2 !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}

#reels-info-desc {
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.80rem !important;
    color: rgba(255, 255, 255, 0.95) !important;
    line-height: 1.35 !important;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.9) !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-right: 72px !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
}

#reels-info-desc::-webkit-scrollbar {
    display: none !important;
}

#reels-info-desc.is-expanded {
    display: block !important;
    -webkit-line-clamp: unset !important;
    padding-right: 2px !important;
    max-height: 220px !important;
    overflow-y: auto !important;
}

.reels-info-footer {
    display: flex !important;
    align-items: center !important;
    margin-top: 3px !important;
    min-height: 18px !important;
}

#reels-more-btn {
    font-family: 'Inter', sans-serif !important;
    font-size: 0.74rem !important;
    color: #89B8CC !important;
    font-weight: 600 !important;
    cursor: pointer !important;
    user-select: none !important;
    position: relative !important;
    z-index: 36 !important;
    padding: 4px 6px !important;
    margin: -4px -6px !important;
}

#reels-more-btn:hover {
    color: #a5d2e5 !important;
    text-decoration: underline !important;
}

#reels-time-display {
    position: absolute !important;
    bottom: 6px !important;
    right: 12px !important;
    z-index: 35 !important;
    font-family: 'Inter', -apple-system, sans-serif !important;
    font-size: 0.68rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    font-variant-numeric: tabular-nums !important;
    letter-spacing: 0.2px !important;
    pointer-events: none !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.9) !important;
}

#reels-progress-wrap {
    position: absolute !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    height: 22px !important;
    z-index: 30 !important;
    display: flex !important;
    align-items: flex-end !important;
    cursor: pointer !important;
    padding: 0 0 2px 0 !important;
    box-sizing: border-box !important;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.35) 60%, transparent 100%) !important;
}

.reels-progress-track {
    width: 100% !important;
    height: 3px !important;
    background: rgba(255, 255, 255, 0.25) !important;
    border-radius: 2px !important;
    overflow: hidden !important;
}

#reels-progress-bar {
    width: 0%;
    height: 100% !important;
    background: #ffffff !important;
    border-radius: 2px !important;
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8) !important;
    transition: width 0.08s linear !important;
}

@media (min-width: 769px) {
    #reels-lightbox-modal .lightbox-media-wrapper {
        max-height: 88vh !important;
        max-width: 90vw !important;
        border-radius: 16px !important;
        box-shadow: 0 24px 70px rgba(0, 0, 0, 0.9) !important;
    }

    #reels-lightbox-modal #reels-active-video {
        max-height: 88vh !important;
        max-width: 90vw !important;
        width: auto !important;
        height: auto !important;
        border-radius: 16px !important;
    }
}

@media (max-width: 768px) {
    #reels-lightbox-modal {
        height: 100dvh !important;
    }

    #reels-lightbox-modal .lightbox-media-wrapper {
        width: 100vw !important;
        height: 100dvh !important;
        max-width: 100vw !important;
        max-height: 100dvh !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    #reels-lightbox-modal #reels-active-video {
        width: 100vw !important;
        height: 100dvh !important;
        max-width: 100vw !important;
        max-height: 100dvh !important;
        object-fit: contain !important;
        border-radius: 0 !important;
    }

    #reels-lightbox-modal .lightbox-topbar {
        position: absolute !important;
        top: env(safe-area-inset-top, 10px) !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 20 !important;
        background: transparent !important;
        padding: 8px 14px !important;
    }

    #reels-lightbox-modal .lightbox-nav-btn {
        display: none !important;
    }

    #reels-info-card {
        padding-bottom: calc(env(safe-area-inset-bottom, 10px) + 14px) !important;
    }

    #reels-time-display {
        bottom: calc(env(safe-area-inset-bottom, 0px) + 6px) !important;
    }

    #reels-progress-wrap {
        bottom: env(safe-area-inset-bottom, 0px) !important;
    }
}

/* ==========================================
   Секция: Частые вопросы (Компактный FAQ)
   ========================================== */
.section-faq {
    background-color: #FFFFFF;
    border-top: 1px solid #EBEFF2;
    padding: 50px 0; /* Было 70px — секция станет компактнее */
}

.faq-intro {
    text-align: center;
    margin-bottom: 28px; /* Было 44px */
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px; /* Было 14px — плашки будут ближе друг к другу */
}

.faq-item {
    background: #FAFBFB;
    border: 1px solid #E2EBF0;
    border-radius: 10px; /* Мягкие аккуратные углы */
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    overflow: hidden;
}

.faq-item[open] {
    background: #FFFFFF;
    border-color: #89B8CC;
    box-shadow: 0 4px 14px rgba(91, 137, 157, 0.08);
}

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 20px; /* Было 20px 24px — высота плашки уменьшится почти в 1.5 раза */
    font-size: 0.98rem; /* Чуть аккуратнее шрифт */
    font-weight: 450;
    color: #2C3539;
    cursor: pointer;
    list-style: none;
    user-select: none;
    transition: color 0.2s ease;
}

.faq-question::-webkit-details-marker {
    display: none;
}

.faq-question:hover {
    color: #4A6B7C;
}

.faq-icon {
    width: 24px;  /* Было 28px */
    height: 24px; /* Было 28px */
    border-radius: 50%;
    background: #EEF4F6;
    color: #5B899D;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
    font-weight: 400;
    line-height: 1;
    flex-shrink: 0;
    margin-left: 12px;
    transition: transform 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.faq-item[open] .faq-icon {
    transform: rotate(45deg);
    background: #89B8CC;
    color: #FFFFFF;
}

.faq-answer {
    padding: 0 20px 16px;
    font-size: 0.91rem;
    color: #555E64;
    line-height: 1.55;
    border-top: 1px solid transparent;
}

.faq-item[open] .faq-answer {
    border-top-color: #F0F4F6;
    padding-top: 10px;
}

@media (max-width: 600px) {
    .faq-question {
        padding: 11px 14px;
        font-size: 0.92rem;
    }
    .faq-answer {
        padding: 0 14px 14px;
        font-size: 0.86rem;
    }
}

/* На планшетах (710px - 940px) скрываем 4-ю карточку для ровного ряда из 3 шт */
@media (min-width: 710px) and (max-width: 940px) {
    .section-works-preview .preview-card:nth-child(4) {
        display: none !important;
    }
}

/* Блок мета-данных в модалке процедуры (время и цена) */
.proc-meta-info {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.proc-meta-info .proc-time,
.proc-meta-info .proc-price {
    font-size: 0.88rem;
    font-weight: 500;
    margin-bottom: 0 !important;
}

.proc-meta-info .proc-time {
    color: #6C8C99;
}

.proc-meta-info .proc-price {
    color: #2F6F8C;
    background: #EAF3F6;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 0.2px;
}
