/* Custom Styles for Чистая Гавань - FreshRoom Design */

/* FuturaBookCTT Font */
@font-face {
    font-family: 'FuturaBookCTT';
    src: url('../fonts/futurabookctt-normal.eot');
    src: url('../fonts/futurabookctt-normal.eot?#iefix') format('embedded-opentype'),
         url('../fonts/futurabookctt-normal.woff2') format('woff2'),
         url('../fonts/futurabookctt-normal.woff') format('woff'),
         url('../fonts/futurabookctt-normal.ttf') format('truetype'),
         url('../fonts/futurabookctt-normal.otf') format('opentype'),
         url('../fonts/futurabookctt-normal.svg#FuturaBookCTT') format('svg');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

:root {
    /* Dutch Seas Palette - ColourLovers #617935 */
    --dutch-seas-1: #E8F0F1; /* Светло-голубой */
    --dutch-seas-2: #A8D5E2; /* Голубой */
    --dutch-seas-3: #7DB4B8; /* Бирюзовый */
    --dutch-seas-4: #4A90A4; /* Сине-зеленый */
    --dutch-seas-5: #2C5F7A; /* Темно-синий */
    
    /* Основные цвета на основе палитры Dutch Seas */
    --primary-color: #4A90A4;
    --primary-dark: #2C5F7A;
    --primary-light: #7DB4B8;
    --primary-gradient: linear-gradient(135deg, #4A90A4 0%, #7DB4B8 50%, #2C5F7A 100%);
    --primary-gradient-animated: linear-gradient(135deg, #4A90A4 0%, #7DB4B8 25%, #A8D5E2 50%, #7DB4B8 75%, #2C5F7A 100%);
    --secondary-color: #6c757d;
    --success-color: #79c8c3;
    --success-gradient: linear-gradient(135deg, #a8d5e2 0%, #79c8c3 50%, #4a90a4 100%);
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #7DB4B8;
    --info-gradient: linear-gradient(135deg, #7DB4B8 0%, #4A90A4 100%);
    --light-color: #E8F0F1;
    --dark-color: #2C5F7A;
    --text-dark: #1a1a1a;
    --text-light: #666666;
    --border-color: #e5e5e5;
    --bg-light: #fafafa;
}

/* Colors Palette Block */
.colors {
    display: flex;
    gap: 20px;
    padding: 40px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin: 40px 0;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.color-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    min-width: 140px;
}

.color-swatch {
    width: 120px;
    height: 120px;
    border-radius: 16px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 3px solid rgba(255, 255, 255, 0.8);
}

.color-swatch:hover {
    transform: scale(1.15) translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    z-index: 10;
    position: relative;
}

.color-swatch.color-1 {
    background: var(--dutch-seas-1);
}

.color-swatch.color-2 {
    background: var(--dutch-seas-2);
}

.color-swatch.color-3 {
    background: var(--dutch-seas-3);
}

.color-swatch.color-4 {
    background: var(--dutch-seas-4);
}

.color-swatch.color-5 {
    background: var(--dutch-seas-5);
}

.color-name {
    font-weight: 600;
    color: var(--text-dark);
    font-size: 1rem;
}

.color-code {
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-light);
    background: var(--bg-light);
    padding: 6px 12px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

@media (max-width: 768px) {
    .colors {
        padding: 25px 15px;
        gap: 15px;
    }
    
    .color-item {
        min-width: 100px;
    }
    
    .color-swatch {
        width: 90px;
        height: 90px;
    }
    
    .color-name {
        font-size: 0.85rem;
    }
    
    .color-code {
        font-size: 0.75rem;
        padding: 4px 8px;
    }
}

/* Global Styles */
/* Минимальный размер шрифта для всего проекта */
* {
    font-size: max(1em, 16px);
}

body {
    font-family: 'FuturaBookCTT', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

/* Header */
.header {
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.navbar-brand {
    padding: 0.5rem 0;
}

.navbar-brand img {
    height: 55px;
    width: auto;
}

.nav-link {
    font-weight: 500;
    color: var(--text-dark) !important;
    padding: 0.5rem 1rem !important;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--primary-color) !important;
}

.nav-link.active {
    color: var(--primary-color) !important;
}

/* Hero Section - Swiper */
.hero-section {
    position: relative;
    overflow: hidden;
    background: white;
}


.heroSwiper {
    width: 100%;
    height: 50vh;
    min-height: 500px;
    max-height: 620px;
}

.heroSwiper .swiper-slide {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
    height: 100%;
}

.heroSwiper .swiper-button-next,
.heroSwiper .swiper-button-prev {
    color: var(--primary-color);
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid rgba(74, 144, 164, 0.3);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.heroSwiper .swiper-button-next:hover,
.heroSwiper .swiper-button-prev:hover {
    background: var(--primary-color);
    color: white;
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.3);
}

.heroSwiper .swiper-button-next::after,
.heroSwiper .swiper-button-prev::after {
    font-size: 20px;
    font-weight: bold;
}

.hero-section .swiper-pagination {
    position: relative;
    bottom: auto;
    top: auto;
    margin-top: 20px;
    text-align: center;
}

.hero-section .swiper-pagination-bullet {
    background: var(--primary-color);
    opacity: 0.3;
    width: 12px;
    height: 12px;
    margin: 0 5px;
}

.hero-section .swiper-pagination-bullet-active {
    opacity: 1;
    background: var(--primary-color);
}

.hero-slide {
    height: 50vh;
    min-height: 500px;
    max-height: 620px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    transform-style: preserve-3d;
    will-change: transform;
    background: white;
    overflow: hidden;
}

/* Круглая картинка справа */
.hero-slide::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translateY(-50%);
    width: 60vw;
    height: 60vw;
    max-width: 800px;
    max-height: 800px;
    min-width: 500px;
    min-height: 500px;
    border-radius: 50% 0 0 50%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.hero-slide > .container {
    position: relative;
    z-index: 2;
    transform-style: preserve-3d;
    will-change: transform;
    width: 100%;
    margin: 0 auto;
    transform: translate3d(0, 0, 0);
}

.hero-slide-content {
    min-height: 500px;
}

/* Контент слева на белом фоне */
.hero-slide .col-lg-5,
.hero-slide .col-lg-6,
.hero-slide .col-md-8,
.hero-slide .col-9 {
    position: relative;
    z-index: 3;
}

/* Колонка для картинки (скрыта, используется только для сетки) */
.hero-image-col {
    position: relative;
    opacity: 0;
}

/* Вариант 2: Картинка слева (зеркальный) */
.hero-slide-left::after {
    left: auto;
    right: 50%;
    border-radius: 0 50% 50% 0;
}

/* Вариант 3: Картинка по центру */
.hero-slide-center::after {
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40vw;
    height: 40vw;
    max-width: 500px;
    max-height: 500px;
    min-width: 300px;
    min-height: 300px;
    border-radius: 50%;
    z-index: 1;
}

.hero-center-features {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    padding: 2rem;
}

.hero-feature-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 18px;
    color: var(--text-dark);
}

.hero-feature-item i {
    color: var(--primary-color);
    font-size: 1.5rem;
}

/* Вариант 4: Картинка на весь фон */
.hero-slide-fullbg {
    background: var(--primary-gradient);
}

.hero-slide-fullbg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 0.3;
}

.hero-slide-fullbg::after {
    display: none;
}

.hero-card-content {
    border-radius: 24px;
    padding: 3rem;
    position: relative;
    z-index: 2;
}

/* Вариант 5: Диагональный split */
.hero-slide-diagonal::after {
    left: auto;
    right: 0;
    top: 0;
    bottom: 0;
    width: 50%;
    height: 100%;
    max-width: none;
    max-height: none;
    min-width: auto;
    min-height: auto;
    border-radius: 0;
    transform: none;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 30% 100%);
    z-index: 1;
}

.hero-diagonal-content {
    position: relative;
    z-index: 2;
    padding-right: 2rem;
}

.hero-diagonal-stats {
    display: flex;
    gap: 2rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid var(--primary-color);
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 18px;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Вариант 6: Два изображения PNG с параллакс эффектом */
.hero-slide-parallax {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 50vh;
    min-height: 500px;
    max-height: 620px;
    overflow: hidden;
    background: white;
}

.hero-slide-parallax::after {
    display: none;
}

/* Блок с параллакс изображениями */
.hero-parallax-images {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.hero-parallax-bg-1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
    opacity: 1;
    transform: translate3d(var(--parallax-bg-1-x, 0px), var(--parallax-bg-1-y, 0px), 0);
    transition: transform 0.3s ease-out;
}

.hero-parallax-bg-2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 1;
    transform: translate3d(var(--parallax-bg-2-x, 0px), var(--parallax-bg-2-y, 0px), 0);
    transition: transform 0.3s ease-out;
    filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.2));
}

.hero-slide-parallax > .container {
    position: relative;
    z-index: 2;
}

.hero-premium-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2rem;
}

.badge-premium {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(74, 144, 164, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 18px;
}

.badge-premium i {
    font-size: 1.2rem;
}

/* Фоновые картинки для круглых элементов задаются через inline <style> в каждом блоке */

/* Минимальный размер шрифта 18px для всех элементов в слайдере */
.hero-slide,
.hero-slide * {
    font-size: max(1em, 18px);
}

/* h2 в слайдере должны быть как h1 по размеру */
.hero-section h2 {
    font-weight: 700;
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.hero-section .lead {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 2rem;
    color: var(--text-light);
}

/* Прозрачность рамки кнопок в слайдере */
.hero-slide .btn,
.hero-section .btn {
    border-color: rgba(74, 144, 164, 0.64) !important;
}

.hero-slide .btn-outline-primary,
.hero-section .btn-outline-primary {
    border-color: rgba(74, 144, 164, 0.64) !important;
}

.hero-slide .btn-outline-light,
.hero-section .btn-outline-light {
    border-color: rgba(255, 255, 255, 0.64) !important;
}

.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s;
}

.carousel-control-prev {
    left: 20px;
}

.carousel-control-next {
    right: 20px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    background-color: rgba(255, 255, 255, 0.4);
    opacity: 1;
}

/* Buttons - FreshRoom Style */
.btn {
    font-weight: 600;
    padding: 0.75rem 2rem;
    border-radius: 24px;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

button,
input[type="button"],
input[type="submit"],
input[type="reset"] {
    border-radius: 24px;
}

.btn-outline-primary {
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    background: transparent;
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

.btn-light {
    background-color: white;
    color: var(--primary-color);
    font-weight: 600;
}

.btn-light:hover {
    background-color: var(--bg-light);
    color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.btn-lg {
    padding: 15px 36px;
    font-size: 1.15rem;
    border-radius: 32px;
    font-weight: 600;
    letter-spacing: 0.4px;
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.45) !important;
    position: relative;
}

.btn-lg:hover {
    box-shadow: 0 12px 35px rgba(74, 144, 164, 0.55) !important;
}

.btn-success {
    background: var(--success-gradient);
    background-size: 200% 200%;
    color: white;
}

.btn-success:hover {
    background: linear-gradient(135deg, #198754 0%, #20c997 50%, #198754 100%);
    background-size: 200% 200%;
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(25, 135, 84, 0.4);
}

/* Advantages Section */
.advantages-section {
    background: white;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.advantages-section .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantages-section .row {
    justify-content: center;
}

.advantage-card {
    background: white;
    border-radius: 12px;
    border: 0;
    padding: 2rem;
    height: 100%;
    text-align: center;
}

.advantage-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(74, 144, 164, 0.3);
    transition: box-shadow 0.3s ease;
}


.advantage-card h4 {
    color: var(--text-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.advantage-card p {
    color: var(--text-light);
    margin: 0;
}

/* Services Section */
.services-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.service-card {
    transition: all 0.3s ease;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: white;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(74, 144, 164, 0.25);
    border-color: var(--primary-color);
}

/* Service Icon Cards */
.service-icon-card {
    transition: all 0.3s ease;
    border-radius: 16px;
    background: white;
    cursor: pointer;
    border: 2px solid transparent;
}

.service-icon-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(74, 144, 164, 0.25);
    border-color: var(--primary-color);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 5px 15px rgba(74, 144, 164, 0.3);
    transition: all 0.3s ease;
}

.service-icon-card:hover .service-icon-wrapper {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 10px 30px rgba(74, 144, 164, 0.4);
}

.card-img-wrapper {
    height: 250px;
    overflow: hidden;
    background: var(--bg-light);
}

.card-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-card:hover .card-img-wrapper img {
    transform: scale(1.05);
}

.service-card .card-body {
    padding: 1.5rem;
}

.service-card .card-title {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.service-card .card-text {
    color: var(--text-light);
    margin-bottom: 1rem;
}

/* Calculator Section */
.calculator-section {
    background: white;
    padding: 5rem 0;
}

.calculator-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: white;
    box-shadow: 0 10px 40px rgba(74, 144, 164, 0.15);
    transition: box-shadow 0.3s ease;
}

.calculator-card:hover {
    box-shadow: 0 15px 50px rgba(74, 144, 164, 0.25);
}

.calculator-tabs .btn-group {
    border-radius: 8px;
    overflow: hidden;
}

.calculator-tabs .btn {
    border-radius: 24px;
    padding: 1rem 2rem;
}

.calculator-tabs .btn-check:checked + .btn {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

.calculator-tabs .btn-outline-primary {
    border-color: var(--border-color);
    color: var(--text-dark);
}

.calculator-tabs .btn-outline-primary:hover {
    background-color: var(--bg-light);
    border-color: var(--border-color);
    color: var(--text-dark);
}

/* Form Styles */
.form-control,
.form-select {
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 164, 0.15);
    outline: none;
}

.form-label {
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.form-check-input:checked {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
}

.form-check-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 164, 0.15);
}

/* Promotions Section */
.promotions-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.promotion-card {
    border-radius: 12px;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    background: white;
    height: 100%;
}

.promotion-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.promotion-card.border-primary {
    border-color: var(--primary-color) !important;
}

.promotion-card.border-success {
    border-color: var(--success-color) !important;
}

/* Reviews Section */
.reviews-section {
    background: white;
    padding: 5rem 0;
}

.review-card {
    border-radius: 12px;
    border: 1px solid var(--border-color);
    background: white;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.review-card:hover {
    box-shadow: 0 10px 30px rgba(74, 144, 164, 0.2);
    transform: translateY(-3px);
}

.reviews-section .carousel-control-prev,
.reviews-section .carousel-control-next {
    background-color: var(--primary-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
}

/* Clients Section */
.clients-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.client-logo {
    transition: all 0.3s ease;
    height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.client-logo:hover {
    transform: scale(1.1);
    box-shadow: 0 15px 35px rgba(74, 144, 164, 0.2);
    border-color: var(--primary-color);
}

.client-logo img {
    max-height: 100px;
    filter: grayscale(100%);
    transition: filter 0.3s;
}

.client-logo:hover img {
    filter: grayscale(0%);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
    padding: 5rem 0;
    position: relative;
}

.faq-background-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(74, 144, 164, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(125, 180, 184, 0.05) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.faq-header {
    position: relative;
    z-index: 2;
}

.faq-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--success-gradient);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(74, 144, 164, 0.3);
}

.faq-modern-container {
    position: relative;
    z-index: 2;
}

.accordion-modern {
    --bs-accordion-border-width: 0;
    --bs-accordion-border-radius: 0;
    --bs-accordion-inner-border-radius: 0;
    --bs-accordion-body-padding-x: 0;
    --bs-accordion-body-padding-y: 0;
    --bs-accordion-active-color: inherit;
    --bs-accordion-btn-focus-box-shadow: none;
}

.faq-item-modern {
    background: white;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    overflow: hidden;
}

.faq-item-modern:hover {
    box-shadow: 0 8px 30px rgba(74, 144, 164, 0.15);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.faq-question-wrapper {
    position: relative;
}

.faq-question-header {
    margin: 0;
}

.faq-question-button {
    width: 100%;
    padding: 1.5rem 2rem;
    background: white;
    border: none;
    text-align: left;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.faq-question-button:not(.collapsed)::before {
    transform: scaleY(1);
}

.faq-question-button:not(.collapsed) {
    background: rgba(74, 144, 164, 0.05);
}

.faq-question-button:hover {
    background: rgba(74, 144, 164, 0.03);
}

.faq-question-content {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex: 1;
}

.faq-question-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.25);
    transition: all 0.3s ease;
}

.faq-question-button:not(.collapsed) .faq-question-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.35);
}

.faq-question-text {
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
}

.faq-question-button:not(.collapsed) .faq-question-text {
    color: var(--primary-color);
}

.faq-question-arrow {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 164, 0.1);
    border-radius: 50%;
    color: var(--primary-color);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.faq-question-button:not(.collapsed) .faq-question-arrow {
    background: var(--primary-color);
    color: white;
    transform: rotate(180deg);
}

.faq-answer-wrapper {
    padding: 0 2rem 1.5rem 2rem;
    background: white;
}

.faq-answer-content {
    padding-left: 4.5rem;
    animation: fadeInUp 0.4s ease-out;
}

.faq-answer-content p {
    color: var(--text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* Legacy accordion styles for compatibility */
.accordion-button {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-dark);
    background-color: white;
    border: 1px solid var(--border-color);
}

.accordion-button:not(.collapsed) {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    color: white;
    border-color: var(--primary-color);
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.2rem rgba(74, 144, 164, 0.15);
    border-color: var(--primary-color);
}

.accordion-item {
    border: 1px solid var(--border-color);
    margin-bottom: 0.5rem;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-body {
    color: var(--text-light);
    padding: 1.5rem;
}

/* Contacts Section */
.contacts-section {
    background: white;
    padding: 5rem 0;
    position: relative;
}

.contacts-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.03) 0%, rgba(125, 180, 184, 0.02) 50%, rgba(74, 144, 164, 0.03) 100%);
    z-index: 0;
    pointer-events: none;
}

.contacts-header {
    position: relative;
    z-index: 2;
}

.contacts-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: var(--success-gradient);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2.5rem;
    box-shadow: 0 10px 30px rgba(74, 144, 164, 0.3);
}

/* Contact Cards Modern */
.contact-card-modern {
    background: transparent;
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    border: none;
    position: relative;
}

.contact-card-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 1.5rem;
    background: transparent;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 2rem;
}

.contact-card-title {
    font-size: 1.4rem;
    font-weight: 100;
    color: #6c757d;
    margin-bottom: 0.5rem;
}

.contact-card-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.contact-card-link {
    display: inline-flex;
    align-items: center;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 400;
    font-size: 1.35rem;
    padding: 0;
    background: transparent;
}

.contact-card-link:hover {
    color: var(--primary-color);
}

/* Contact Form Card */
.contact-form-card {
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.contact-form-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.contact-form-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.contact-form-card:hover .contact-form-image img {
    transform: scale(1.1);
}

.contact-form-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(74, 144, 164, 0.4) 0%, transparent 100%);
    display: flex;
    align-items: flex-start;
    justify-content: flex-end;
    padding: 1rem;
}

.contact-form-badge {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1rem;
    border-radius: 24px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Contact Info Card */
.contact-info-card {
    border-radius: 16px;
    overflow: hidden;
    background: white;
}

.contact-info-image {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.contact-info-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.contact-info-card:hover .contact-info-image img {
    transform: scale(1.1);
}

.contact-info-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(74, 144, 164, 0.3) 0%, transparent 100%);
}

.contact-info-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-light);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.contact-info-item:hover {
    background: rgba(74, 144, 164, 0.05);
    transform: translateX(5px);
}

.contact-info-icon {
    width: 45px;
    height: 45px;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.25);
}

.contact-info-content {
    flex: 1;
}

.contact-info-content h6 {
    color: var(--text-dark);
    font-size: 1rem;
}

.map-container {
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.map-container:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 25px rgba(74, 144, 164, 0.15);
}

.map-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
}

/* WhatsApp Float Button */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    background-color: #20ba5a;
    transform: scale(1.1);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    font-size: 32px;
}

/* CTA Footer */
.cta-footer-section {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    padding: 5rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #79c8c3 0%, #9dd8d3 25%, #a8e0db 50%, #9dd8d3 75%, #5fa8a3 100%);
    background-size: 400% 400%;
    z-index: 1;
}

.cta-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255, 255, 255, 0.06) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.cta-footer-section .container {
    position: relative;
    z-index: 3;
}

.cta-content {
    animation: fadeInUp 0.8s ease-out;
}

.cta-icon-wrapper {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
    }
}

.cta-footer-section h3 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    font-weight: 700;
}

.cta-footer-section .lead {
    font-size: 1.2rem;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.cta-footer-section .btn-light {
    background: white;
    color: var(--primary-color);
    font-weight: 600;
    border: none;
    transition: all 0.3s ease;
}

.cta-footer-section .btn-light:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(255, 255, 255, 0.3);
    color: var(--primary-dark);
}

.cta-footer-section .btn-outline-light {
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: white;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-footer-section .btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: white;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

.cta-feature {
    display: flex;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 25px;
    font-size: 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.cta-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.2);
}

.cta-feature i {
    font-size: 1.1rem;
}

/* Footer Modern */
.footer-modern {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    color: #e0e0e0;
    position: relative;
    overflow: hidden;
}

.footer-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.05) 0%, rgba(125, 180, 184, 0.03) 50%, rgba(74, 144, 164, 0.05) 100%);
    z-index: 1;
}

.footer-pattern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(74, 144, 164, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(125, 180, 184, 0.06) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.footer-modern .container {
    position: relative;
    z-index: 3;
}

.footer-main {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding: 2.5rem 0 !important;
}

/* Footer Brand */
.footer-brand {
    position: relative;
}

.footer-logo-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.footer-logo-link:hover {
    transform: scale(1.05);
}

.footer-logo {
    height: 50px;
    width: auto;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

.footer-logo-link:hover .footer-logo {
    filter: brightness(0) invert(1) drop-shadow(0 0 10px rgba(74, 144, 164, 0.5));
}

.footer-brand-name {
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    margin: 0;
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-description {
    color: #b0b0b0;
    line-height: 1.6;
    font-size: 0.9rem;
    margin: 0;
}

/* Footer Titles */
.footer-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.25rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--primary-gradient);
    border-radius: 2px;
}

/* Footer Navigation */
.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav li {
    margin-bottom: 0.5rem;
}

.footer-link {
    color: #b0b0b0;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    position: relative;
    padding-left: 0;
}

.footer-link::before {
    content: '';
    position: absolute;
    left: -15px;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    padding-left: 15px;
    transform: translateX(5px);
}

.footer-link:hover::before {
    width: 10px;
}

/* Footer Contacts */
.footer-contacts {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    padding: 0.6rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.footer-contact-item:hover {
    background: rgba(74, 144, 164, 0.1);
    border-color: rgba(74, 144, 164, 0.3);
    transform: translateX(5px);
}

.footer-contact-icon {
    width: 36px;
    height: 36px;
    background: var(--primary-gradient);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.3);
}

.footer-contact-content {
    flex: 1;
}

.footer-contact-label {
    display: block;
    font-size: 0.75rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.footer-contact-link {
    color: white;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.footer-contact-link:hover {
    color: var(--primary-color);
}

.footer-contact-text {
    color: #b0b0b0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Footer Social */
.footer-social-title {
    font-size: 0.9rem;
    color: #888;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
}

.social-links-modern {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link-modern {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #b0b0b0;
    font-size: 1.2rem;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.social-link-modern:hover {
    background: var(--primary-gradient);
    border-color: var(--primary-color);
    color: white;
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 8px 20px rgba(74, 144, 164, 0.4);
}

/* Footer Bottom */
/* Footer Contacts Center */
.footer-contacts-center {
    margin: 0;
}

.footer-contact-center-item:hover {
    transform: translateY(-2px);
    opacity: 0.9;
}

.footer-contact-center-item:hover span {
    text-decoration: underline;
}

.footer-bottom {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    padding: 1.5rem 0 !important;
}

.footer-bottom::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 2rem);
    max-width: 1140px;
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: #888;
    font-size: 0.9rem;
}

.footer-copyright strong {
    color: white;
}

.footer-legal {
    color: #666;
}

.footer-region {
    color: #666;
    line-height: 1.6;
}

/* Legacy footer styles for compatibility */
.footer {
    background-color: #1a1a1a;
    color: #e0e0e0;
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: white;
}

.footer p {
    color: #e0e0e0;
}

.footer .text-muted {
    color: #b0b0b0 !important;
}

.footer a {
    color: #b0b0b0;
    text-decoration: none;
    transition: color 0.3s;
}

.footer a:hover {
    color: var(--primary-color);
    text-decoration: underline;
}

.social-links a {
    transition: transform 0.3s ease;
    color: #e0e0e0;
}

.social-links a:hover {
    transform: scale(1.2);
    color: var(--primary-color);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--text-dark);
}

.display-3, .display-5, .display-6 {
    font-weight: 700;
}

.lead {
    color: var(--text-light);
}

/* Section Headings */
section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

section .lead {
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

/* Alerts */
.alert {
    border-radius: 12px;
    border: none;
}

.alert-success {
    background-color: #d4edda;
    color: #155724;
    border-left: 4px solid var(--success-color);
}

/* Responsive */
@media (max-width: 991px) {
    /* Планшеты */
    .hero-slide::after {
        width: 50vw;
        height: 50vw;
        max-width: 600px;
        max-height: 600px;
        min-width: 400px;
        min-height: 400px;
        left: 50%;
        border-radius: 50% 0 0 50%;
    }
    
    .hero-slide-left::after {
        right: 50%;
        border-radius: 0 50% 50% 0;
    }
    
    .hero-slide-center::after {
        width: 35vw;
        height: 35vw;
        max-width: 400px;
        max-height: 400px;
        min-width: 250px;
        min-height: 250px;
    }
    
    .hero-slide-diagonal::after {
        width: 40%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 20% 100%);
    }
    
    .hero-card-content {
        padding: 2rem;
    }
    
    .hero-diagonal-stats {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    /* Скрываем слайдер на мобильных */
    .hero-section {
        display: none;
    }
    
    .hero-slide-content {
        min-height: auto;
    }
    
    .hero-slide::after {
        width: 40vw;
        height: 40vw;
        min-width: 300px;
        min-height: 300px;
        left: 50%;
        border-radius: 50% 0 0 50%;
    }
    
    
    .hero-section h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    /* Мобильные */
    .hero-slide::after {
        width: 35vw;
        height: 35vw;
        min-width: 200px;
        min-height: 200px;
        left: 50%;
        border-radius: 50% 0 0 50%;
    }
    
    .hero-slide-left::after {
        right: 50%;
        border-radius: 0 50% 50% 0;
    }
    
    .hero-slide-center::after {
        width: 30vw;
        height: 30vw;
        min-width: 180px;
        min-height: 180px;
    }
    
    .hero-slide-diagonal::after {
        width: 30%;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 10% 100%);
    }
    
    .hero-card-content {
        padding: 1.5rem;
    }
    
    .hero-center-features {
        padding: 1rem;
        gap: 1rem;
    }
    
    .hero-feature-item {
        font-size: 18px;
    }
    
    .hero-diagonal-stats {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .stat-item {
        text-align: left;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .hero-parallax-bg-1,
    .hero-parallax-bg-2 {
        width: 100%;
        height: 100%;
    }
    
    .hero-premium-badges {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .badge-premium {
        font-size: 18px;
        padding: 0.5rem 1rem;
    }
}
    
    .display-3 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.75rem;
    }
    
    .whatsapp-float {
        width: 50px;
        height: 50px;
        bottom: 20px;
        right: 20px;
        font-size: 24px;
    }
    
    .whatsapp-float i {
        font-size: 26px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        width: 40px;
        height: 40px;
    }
    
    .carousel-control-prev {
        left: 10px;
    }
    
    .carousel-control-next {
        right: 10px;
    }
    
    section h2 {
        font-size: 1.75rem;
    }
    
    .btn-lg {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .before-after-wrapper {
        height: 350px;
    }
    
    
    .gallery-masonry {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 10px;
    }
    
    .gallery-item-large,
    .gallery-item-wide {
        grid-column: span 1;
    }
    
    .gallery-filter .filter-btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }
    
    .cta-footer-section {
        padding: 3rem 0;
    }
    
    .cta-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .cta-footer-section h3 {
        font-size: 1.75rem;
    }
    
    .cta-footer-section .lead {
        font-size: 1rem;
    }
    
    .cta-feature {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
    
    .cta-footer-section .btn-lg {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Text Colors */
.text-primary {
    color: var(--primary-color) !important;
}

/* Before/After Section */
.before-after-section {
    background: white;
    padding: 5rem 0;
}

.before-after-container {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.before-after-wrapper {
    position: relative;
    width: 100%;
    height: 500px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
}

.before-after-wrapper:active {
    cursor: grabbing;
}

.before-after-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.before-image {
    z-index: 1;
}

.after-image {
    z-index: 2;
    clip-path: inset(0 50% 0 0);
    transition: clip-path 0.1s ease-out;
}

.before-after-slider {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background: var(--primary-color);
    z-index: 3;
    transform: translateX(-50%);
    cursor: ew-resize;
    box-shadow: 0 0 10px rgba(74, 144, 164, 0.5);
}

.slider-handle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.slider-handle:hover {
    transform: translate(-50%, -50%) scale(1.1);
}

.slider-handle::before,
.slider-handle::after {
    content: '';
    position: absolute;
    width: 2px;
    height: 20px;
    background: white;
    top: 50%;
    transform: translateY(-50%);
}

.slider-handle::before {
    left: -15px;
}

.slider-handle::after {
    right: -15px;
}

.before-after-label {
    position: absolute;
    top: 20px;
    padding: 8px 20px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 8px;
    z-index: 4;
    backdrop-filter: blur(5px);
}

.before-label {
    left: 20px;
}

.after-label {
    right: 20px;
}

/* Photo Estimate Section */
.photo-estimate-section {
    background: var(--bg-light);
    padding: 5rem 0;
}

.photo-estimate-card {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--border-color);
    background: white;
    box-shadow: 0 10px 40px rgba(74, 144, 164, 0.15);
}

.upload-area {
    border: 3px dashed var(--border-color);
    border-radius: 12px;
    background: var(--bg-light);
    transition: all 0.3s ease;
    cursor: pointer;
}

.upload-area:hover {
    border-color: var(--primary-color);
    background: rgba(74, 144, 164, 0.05);
}

.upload-area.dragover {
    border-color: var(--primary-color);
    background: rgba(74, 144, 164, 0.1);
    transform: scale(1.02);
}

.upload-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
    box-shadow: 0 5px 20px rgba(74, 144, 164, 0.3);
}

.photo-preview {
    position: relative;
}

.photo-preview img {
    max-height: 400px;
    width: 100%;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.estimate-result {
    animation: fadeInUp 0.5s ease-out;
}

.result-icon {
    font-size: 2.5rem;
    color: var(--success-color);
}

.service-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    color: white;
    border-radius: 20px;
    font-size: 1.1rem;
}

.estimate-info {
    padding: 1rem;
    background: rgba(74, 144, 164, 0.05);
    border-radius: 8px;
}

.estimate-info h4,
.estimate-info h5 {
    color: var(--text-dark);
    margin-top: 0.5rem;
}

/* Gallery Section */
.gallery-section {
    background: white;
    padding: 5rem 0;
}

.gallery-filter {
    margin-bottom: 2rem;
}

.gallery-filter .filter-btn {
    margin: 0.25rem;
    transition: all 0.3s ease;
}

.gallery-filter .filter-btn.active,
.gallery-filter .filter-btn:hover {
    background: var(--primary-gradient);
    background-size: 200% 200%;
    color: white;
    border-color: transparent;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    grid-auto-rows: 10px;
    gap: 15px;
}

/* Компактная галерея (Благодарности): без растягивания, меньшая высота блоков */
.gallery-masonry--compact {
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    grid-auto-rows: 8px;
    gap: 10px;
}
.gallery-masonry--compact .gallery-item {
    --row-span: 24;
}
.gallery-masonry--compact .gallery-item-small {
    --row-span: 20;
}
.gallery-masonry--compact .gallery-item-large {
    --row-span: 30;
}
.gallery-masonry--compact .gallery-item-wide {
    --row-span: 24;
}
.gallery-masonry--compact .gallery-item-tall {
    --row-span: 36;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    cursor: pointer;
    grid-row-end: span var(--row-span, 30);
    opacity: 1;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.gallery-item.hidden {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    position: absolute;
    width: 0;
    height: 0;
}

.gallery-item-small {
    --row-span: 25;
}

.gallery-item-large {
    --row-span: 40;
    grid-column: span 2;
}

.gallery-item-wide {
    --row-span: 30;
    grid-column: span 2;
}

.gallery-item-tall {
    --row-span: 50;
}

.gallery-image-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.gallery-item:hover .gallery-image-wrapper {
    box-shadow: 0 15px 40px rgba(74, 144, 164, 0.3);
    transform: translateY(-5px);
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover .gallery-image {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, transparent 100%);
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-content {
    color: white;
    width: 100%;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery-item:hover .gallery-content {
    transform: translateY(0);
}

.gallery-title {
    color: white;
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.gallery-text {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
}

.gallery-view {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    transition: all 0.3s ease;
}

.gallery-view:hover {
    background: white;
    color: var(--primary-color);
    transform: scale(1.05);
}

.modal-content {
    border-radius: 0;
}

/* Business Card Modal */
.business-card {
    background: white;
    padding: 2rem;
    border: 2px solid #E8F0F1;
}
.business-card-logo img {
    filter: drop-shadow(0 2px 4px rgba(74, 144, 164, 0.2));
}
.business-card-company {
    color: #4A90A4;
    font-weight: 700;
    font-size: 1.8rem;
}
.business-card-tagline {
    font-size: 1rem;
    color: #6c757d;
}
.business-card-divider {
    display: flex;
    align-items: center;
    gap: 1rem;
}
.business-card-divider .divider-line {
    flex: 1;
    height: 2px;
    background: linear-gradient(90deg, transparent, #7DB4B8, transparent);
}
.business-card-divider .divider-icon {
    color: #7DB4B8;
    font-size: 0.8rem;
}
.business-card-info .info-item {
    display: flex;
    justify-content: space-between;
    padding: 0.75rem 1rem;
    background: #f8f9fa;
    border-left: 3px solid #7DB4B8;
}
.business-card-info .info-label {
    color: #6c757d;
    font-weight: 500;
}
.business-card-info .info-value {
    font-weight: 600;
    color: #2C5F7A;
}
.business-card-contacts .contact-block {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}
.business-card-contacts .contact-block i {
    color: #4A90A4;
    font-size: 1.25rem;
    margin-top: 2px;
}
.business-card-contacts .contact-block div {
    display: flex;
    flex-direction: column;
}
.business-card-contacts .contact-block a,
.business-card-contacts .contact-block span {
    color: #333;
    text-decoration: none;
    font-size: 0.95rem;
    line-height: 1.5;
}
.business-card-contacts .contact-block a:hover {
    color: #4A90A4;
}
.business-card-slogan .slogan-text {
    font-size: 1.2rem;
    font-style: italic;
    color: #4A90A4;
    font-weight: 500;
}

/* Print styles for business card */
@media print {
    html, body {
        height: auto !important;
        overflow: visible !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    body * {
        visibility: hidden;
    }
    .modal, .modal-dialog, .modal-content, .modal-body,
    #businessCardContent, #businessCardContent * {
        visibility: visible !important;
        position: static !important;
        transform: none !important;
        display: block !important;
        overflow: visible !important;
        height: auto !important;
        width: auto !important;
    }
    .modal {
        position: absolute !important;
        left: 0 !important;
        top: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
    }
    .modal-dialog {
        max-width: 100% !important;
        margin: 0 !important;
    }
    .modal-content {
        border: none !important;
    }
    .modal-body {
        padding: 0.5cm !important;
    }
    .business-card {
        border: 2px solid #4A90A4 !important;
        box-shadow: none !important;
        padding: 0.5cm !important;
        page-break-inside: avoid !important;
        break-inside: avoid !important;
    }
    .business-card-header {
        margin-bottom: 0.5cm !important;
    }
    .business-card-logo img {
        height: 40px !important;
    }
    .business-card-tagline {
        font-size: 10pt !important;
    }
    .business-card-divider {
        margin-bottom: 0.3cm !important;
    }
    .business-card-info {
        margin-bottom: 0.3cm !important;
    }
    .business-card-info h5 {
        font-size: 11pt !important;
        margin-bottom: 0.2cm !important;
    }
    .business-card-info .info-item {
        padding: 0.2cm !important;
        font-size: 9pt !important;
    }
    .business-card-contacts {
        margin-bottom: 0.3cm !important;
    }
    .business-card-contacts .contact-block {
        padding: 0.2cm !important;
        font-size: 9pt !important;
    }
    .business-card-contacts .contact-block i {
        font-size: 10pt !important;
    }
    .business-card-slogan .slogan-text {
        font-size: 10pt !important;
    }
    .business-card-slogan .slogan-subtext {
        font-size: 8pt !important;
    }
    .modal-header, .modal-footer, .btn-close {
        display: none !important;
    }
    .modal-backdrop {
        display: none !important;
    }
    @page {
        size: A4;
        margin: 0.5cm;
    }
}

#galleryModal .modal-content {
    background: transparent;
    border: none;
}

#galleryModal .modal-body {
    position: relative;
    padding: 0;
}

.lightbox-image-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 50vh;
    max-height: 90vh;
    overflow: hidden;
}

.lightbox-image {
    max-width: 100%;
    max-height: 90vh;
    width: auto;
    height: auto;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    transition: opacity 0.3s ease;
}

.lightbox-image.loading {
    opacity: 0.5;
}

.lightbox-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 1050;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.lightbox-nav:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
}

.lightbox-prev {
    left: 20px;
}

.lightbox-next {
    right: 20px;
}

.lightbox-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 2rem 1rem 1rem;
    color: white;
    text-align: center;
}

.lightbox-counter {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
}

.lightbox-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: white;
}

#galleryModal .btn-close {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#galleryModal .btn-close:hover {
    opacity: 1;
    transform: scale(1.1);
}

/* Badge */
.badge,
.badge-success,
.badge-primary,
.badge-warning,
.badge-danger,
.badge-info,
[class*="badge-"],
[class*="bg-success"],
[class*="bg-primary"],
[class*="bg-warning"],
[class*="bg-danger"],
[class*="bg-info"] {
    border-radius: 16px !important;
}

.badge {
    padding: 0.5rem 1rem;
    border-radius: 16px;
    font-weight: 600;
}

/* Detailed Services Section */
.detailed-services-section {
    background: var(--bg-light);
    padding: 4rem 0;
}

.service-block-card {
    border-radius: 16px;
    transition: all 0.3s ease;
    background: white;
    height: 100%;
    border: 2px solid var(--border-color);
    overflow: hidden;
}

.service-block-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(74, 144, 164, 0.2);
    border-color: var(--primary-color);
}

.service-block-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-block-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-block-card:hover .service-block-image {
    transform: scale(1.1);
}

.service-block-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(74, 144, 164, 0.3) 0%, transparent 100%);
    pointer-events: none;
}

.service-block-icon {
    width: 50px;
    height: 50px;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.3);
    flex-shrink: 0;
}

.service-block-card:nth-child(2) .service-block-icon {
    background: var(--success-gradient);
    background-size: 200% 200%;
    box-shadow: 0 4px 12px rgba(25, 135, 84, 0.3);
}

.service-block-card h3 {
    color: var(--text-dark);
    font-weight: 700;
    font-size: 1.5rem;
    margin: 0;
}

.service-item-compact {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    transition: all 0.3s ease;
    line-height: 1.4;
}

.service-item-compact:hover {
    color: var(--primary-color);
    transform: translateX(3px);
}

.service-item-compact i {
    font-size: 1rem;
    flex-shrink: 0;
}

.service-item-compact span {
    flex: 1;
    font-weight: 500;
}

.service-block-card .btn-outline-success {
    border-color: var(--success-color);
    color: var(--success-color);
}

.service-block-card .btn-outline-success:hover {
    background-color: var(--success-color);
    color: white;
    border-color: var(--success-color);
}

/* Responsive for Detailed Services */
@media (max-width: 768px) {
    /* Minimum font size 16px for mobile */
    body {
        font-size: 16px;
        -webkit-text-size-adjust: 100%;
    }
    
    .content-wrapper,
    .content-section,
    article,
    p,
    .content-wrapper p,
    .content-section p {
        font-size: 16px;
    }
    
    .navbar-nav .nav-link {
        font-size: 16px;
    }
    
    .footer-modern,
    .footer-main,
    .footer-nav,
    .footer-nav a,
    .footer-contacts,
    .footer-contact-item,
    .footer-contact-link,
    .footer-contact-label,
    .footer-copyright,
    .footer-legal,
    .footer-region,
    .footer-description,
    .footer-title {
        font-size: 16px;
    }
    
    .detailed-services-section {
        padding: 3rem 0;
    }
    
    .service-block-card {
        margin-bottom: 2rem;
    }
    
    .service-block-image-wrapper {
        height: 180px;
    }
    
    .service-block-icon {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }
    
    .service-block-card h3 {
        font-size: 1.3rem;
    }
    
    .service-item-compact {
        font-size: 0.85rem;
        padding: 0.4rem 0;
    }
    
    .contacts-section {
        padding: 3rem 0;
    }
    
    .contacts-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .contact-card-modern {
        padding: 1.5rem;
        margin-bottom: 1rem;
    }
    
    .contact-card-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .contact-form-image,
    .contact-info-image {
        height: 150px;
    }
    
    .contact-info-item {
        padding: 0.75rem;
    }
    
    .contact-info-icon {
        width: 40px;
        height: 40px;
        font-size: 1.1rem;
    }
    
    .faq-section {
        padding: 3rem 0;
    }
    
    .faq-icon-wrapper {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }
    
    .faq-item-modern {
        margin-bottom: 1rem;
    }
    
    .faq-question-button {
        padding: 1.25rem 1.5rem;
    }
    
    .faq-question-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .faq-question-text {
        font-size: 1rem;
    }
    
    .faq-answer-wrapper {
        padding: 0 1.5rem 1.25rem 1.5rem;
    }
    
    .faq-answer-content {
        padding-left: 0;
        padding-top: 0.5rem;
    }
    
    .faq-question-arrow {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .footer-modern {
        padding: 2.5rem 0 1.5rem;
    }
    
    .footer-main {
        padding: 2rem 0 !important;
    }
    
    .footer-logo {
        height: 45px;
    }
    
    .footer-brand {
        text-align: center;
    }
    
    .footer-logo-link {
        display: flex;
        justify-content: center;
    }
    
    .footer-brand-name {
        font-size: 1.3rem;
        text-align: center;
    }
    
    .footer-description {
        font-size: 0.85rem;
        text-align: center;
    }
    
    .footer-title {
        font-size: 0.95rem;
        margin-bottom: 1rem;
    }
    
    .footer-contact-item {
        padding: 0.5rem;
        margin-bottom: 0.75rem;
    }
    
    .footer-contact-icon {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .social-link-modern {
        width: 38px;
        height: 38px;
        font-size: 1.1rem;
    }
    
    .footer-bottom {
        padding: 1.25rem 0 !important;
    }
    
    .footer-bottom::before {
        width: calc(100% - 1rem);
    }
    
    .footer-copyright,
    .footer-legal,
    .footer-region {
        font-size: 0.8rem;
    }
}

/* ============================================
   PAGE.HTML SPECIFIC STYLES
   ============================================ */

/* Header Top Bar */
.header-top-bar {
    background: linear-gradient(135deg, #f5f7fa 0%, #e8ecef 50%, #f0f2f5 100%);
    border-bottom: 1px solid rgba(74, 144, 164, 0.1);
    color: #495057;
    font-size: 0.875rem;
    padding: 0.75rem 0;
}

.header-top-bar .header-contact-item {
    color: #495057;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    transition: all 0.3s ease;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
}

.header-top-bar .header-contact-item:hover {
    background: rgba(74, 144, 164, 0.1);
    color: var(--primary-color);
    transform: translateY(-1px);
}

.header-top-bar .header-contact-item i {
    font-size: 1rem;
    margin-right: 0.5rem;
    color: var(--primary-color);
}

.header-top-bar .header-contact-item[href^="tel:"]:hover {
    color: var(--primary-color) !important;
}

.header-top-bar .header-contact-item[href^="tel:"]:hover span {
    color: var(--primary-color) !important;
}

/* Navbar Enhancements */
.navbar {
    padding: 1.25rem 0;
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-collapse {
    flex-grow: 1;
    display: flex;
    justify-content: center;
}

.navbar-brand-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    transition: transform 0.3s ease;
    margin: 0;
}

.navbar-brand:hover {
    transform: scale(1.05);
}

.navbar-nav .nav-link {
    font-size: 18px;
    padding: 0.6rem 1.2rem;
    margin: 0 0.15rem;
    border-radius: 8px;
    position: relative;
}

.navbar-nav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0.3rem;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 60%;
    height: 2px;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link.active::after {
    transform: translateX(-50%) scaleX(1);
}

.navbar-nav .nav-link:hover {
    background: rgba(74, 144, 164, 0.08);
}

.navbar-nav .nav-link.active {
    color: var(--primary-color);
}

.dropdown-menu {
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    border-radius: 12px;
    padding: 0.75rem 0;
    margin-top: 0.5rem;
    border-top: 3px solid var(--primary-color);
}

.dropdown-item {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(74, 144, 164, 0.1);
    color: var(--primary-color);
    padding-left: 2rem;
}

.navbar-toggler:focus {
    box-shadow: 0 0 0 3px rgba(74, 144, 164, 0.2);
}

/* Header Badges */
.header-badges {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.9rem;
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.1) 0%, rgba(125, 180, 184, 0.1) 100%);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--primary-dark);
    border: 1px solid rgba(74, 144, 164, 0.2);
    transition: all 0.3s ease;
}

.header-badge:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.2);
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.15) 0%, rgba(125, 180, 184, 0.15) 100%);
}

.header-badge i {
    font-size: 1rem;
    color: var(--primary-color);
}

.header-badge.guarantee-badge {
    background: linear-gradient(135deg, rgba(184, 92, 122, 0.12) 0%, rgba(155, 74, 107, 0.12) 100%);
    border: 1px solid rgba(184, 92, 122, 0.25);
    color: #9B4A6B;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.header-badge.guarantee-badge:hover {
    background: linear-gradient(135deg, rgba(184, 92, 122, 0.2) 0%, rgba(155, 74, 107, 0.2) 100%);
    border-color: rgba(184, 92, 122, 0.4);
    color: #B85C7A;
    box-shadow: 0 4px 12px rgba(184, 92, 122, 0.25);
    transform: translateY(-1px);
}

.header-badge.guarantee-badge i {
    color: #B85C7A;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin-right: 0.25rem;
    display: inline-flex;
    align-items: center;
}

.header-badge.highlight {
    background: #b691fd;
    color: white;
    border: none;
    box-shadow: 0 2px 8px rgba(182, 145, 253, 0.3);
    position: relative;
    font-weight: 100;
}

.header-badge.highlight:hover {
    background: #9d6ffd;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(182, 145, 253, 0.4);
}

.header-badge.highlight i {
    color: white;
    background: #c2185b;
    border-radius: 50%;
    width: 1.8em;
    height: 1.8em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -18px;
    top: 50%;
    transform: translateY(-50%);
    box-shadow: 0 2px 8px rgba(194, 24, 91, 0.3);
}

/* Header CTA Button */
.header-cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0;
    background: transparent;
    color: var(--primary-color);
    border-radius: 0;
    font-size: 0.875rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: none;
}

.header-cta-btn:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
    color: var(--primary-dark);
}

.header-cta-btn i {
    color: var(--primary-color);
    font-size: 1rem;
}

.header-cta-btn:hover i {
    color: var(--primary-dark);
}

.header-cta-telegram {
    color: #0088cc !important;
}

.header-cta-telegram i {
    color: #0088cc !important;
}

.header-cta-telegram:hover {
    color: #0066aa !important;
}

.header-cta-telegram:hover i {
    color: #0066aa !important;
}

.header-cta-whatsapp {
    color: #25D366 !important;
}

.header-cta-whatsapp i {
    color: #25D366 !important;
}

.header-cta-whatsapp:hover {
    color: #20BA5A !important;
}

.header-cta-whatsapp:hover i {
    color: #20BA5A !important;
}

/* Flat Design Buttons - Modern & Friendly */
.btn-primary {
    background: rgba(74, 144, 164, 0.91);
    border: none;
    border-radius: 24px;
    padding: 0.875rem 2rem;
    font-weight: 600;
    font-size: 1rem;
    color: white;
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.4);
    letter-spacing: 0.2px;
    position: relative;
}

.btn-primary:hover {
    background: rgba(125, 180, 184, 0.91);
    box-shadow: 0 10px 30px rgba(74, 144, 164, 0.5);
    color: white;
}

.btn-primary:active {
    box-shadow: 0 6px 20px rgba(74, 144, 164, 0.45);
}

.btn-primary.btn-lg i,
.btn-primary i {
    font-size: 1.4em;
    color: white;
    background: #79c8c3;
    border-radius: 50%;
    width: 2em;
    height: 2em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: absolute;
    left: -24px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

/* Mobile Breadcrumb Fixed */
.mobile-breadcrumb-fixed {
    position: sticky;
    top: var(--header-height, 0);
    background: #fff;
    border-bottom: 1px solid #e9ecef;
    padding: 0.75rem 0;
    z-index: 998;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

@media (max-width: 991.98px) {
    .mobile-breadcrumb-fixed {
        top: var(--header-height, 80px);
    }
}

@media (max-width: 560px) {
    .mobile-breadcrumb-fixed {
        top: var(--header-height, 70px);
    }
}

.mobile-breadcrumb-fixed .breadcrumb {
    margin-bottom: 0;
    padding: 0;
    background: transparent;
    font-size: 16px;
    gap: 5px;
}

.mobile-breadcrumb-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mobile-breadcrumb-back:hover {
    color: var(--primary-dark);
    transform: translateX(-2px);
}

.mobile-breadcrumb-back i {
    font-size: 1.2rem;
}

.mobile-breadcrumb-fixed .breadcrumb-item.active {
    color: #495057;
    font-weight: 500;
}

.mobile-breadcrumb-fixed .breadcrumb-item + .breadcrumb-item::before {
    content: "/";
    padding: 0 0.5rem;
    color: #6c757d;
}

/* Скрываем все элементы breadcrumb кроме предпоследнего в мобильной версии */
.mobile-breadcrumb-fixed .breadcrumb-item:nth-last-child(n+2) {
    display: none !important;
}

/* Скрываем активный элемент (текущую страницу) */
.mobile-breadcrumb-fixed .breadcrumb-item.active {
    display: none !important;
}

/* Скрываем разделители перед скрытыми элементами */
.mobile-breadcrumb-fixed .breadcrumb-item:nth-last-child(n+2)::before,
.mobile-breadcrumb-fixed .breadcrumb-item.active::before {
    display: none !important;
}

/* Скрываем разделитель после скрытых элементов */
.mobile-breadcrumb-fixed .breadcrumb-item:nth-last-child(n+2) + .breadcrumb-item::before,
.mobile-breadcrumb-fixed .breadcrumb-item.active + .breadcrumb-item::before {
    display: none !important;
}

/* Показываем только предпоследний элемент (предыдущий пункт) */
.mobile-breadcrumb-fixed .breadcrumb-item:nth-last-child(2) {
    display: list-item !important;
}

/* Добавляем стрелку к предпоследнему элементу, если у него нет класса mobile-breadcrumb-back */
.mobile-breadcrumb-fixed .breadcrumb-item:nth-last-child(2) a:not(.mobile-breadcrumb-back) {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.mobile-breadcrumb-fixed .breadcrumb-item:nth-last-child(2) a:not(.mobile-breadcrumb-back)::before {
    content: "\f12a";
    font-family: "bootstrap-icons";
    font-size: 1.2rem;
    display: inline-block;
}

/* Скрываем breadcrumb-section в мобильной версии */
@media (max-width: 991.98px) {
    .breadcrumb-section {
        display: none !important;
    }
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #E8F0F1 0%, #A8D5E2 30%, #ffffff 100%);
    padding: 120px 0 80px;
    color: #2c3e50;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    right: -10%;
    bottom: -10%;
    width: 120%;
    height: 120%;
    background: url('https://images.unsplash.com/photo-1581578731548-c64695cc6952?w=1920') center/cover;
    background-size: cover;
    background-position: center center;
    opacity: 0.15;
    z-index: 1;
    transform: translate3d(var(--parallax-x, 0), var(--parallax-y, 0), 0);
    will-change: transform;
    transition: transform 0.1s ease-out;
}

.page-header::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(232, 240, 241, 0.7) 0%, rgba(168, 213, 226, 0.5) 30%, rgba(255, 255, 255, 0.8) 100%);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 3;
    text-align: center;
}

.page-header h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #79c8c3;
    text-shadow: 0 2px 10px rgba(255, 255, 255, 0.8);
    letter-spacing: -0.5px;
}

.page-header .lead {
    font-size: 1.1rem;
    font-weight: 500;
    color: #495057;
    line-height: 1.6;
    text-shadow: 0 1px 3px rgba(255, 255, 255, 0.8);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.page-header .breadcrumb {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    border-radius: 50px;
    padding: 0.6rem 1.8rem;
    display: inline-flex;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    justify-content: center;
    border: 1px solid rgba(74, 144, 164, 0.2);
}

.page-header .breadcrumb-item a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s;
}

.page-header .breadcrumb-item a:hover {
    color: var(--primary-dark);
}

.page-header .breadcrumb-item.active {
    color: #6c757d;
}

/* Скрываем активный элемент breadcrumb */
.breadcrumb-item.active {
    display: none !important;
}

/* TOC Navigation */
.toc-navigation {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    border-radius: 16px;
    padding: 15px 25px;
    margin: 30px auto;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    position: sticky;
    top: 160px;
    z-index: 100;
    max-width: 1400px;
    overflow: visible;
    display: flex;
    align-items: center;
    gap: 8px;
}

.toc-nav-wrapper {
    display: flex;
    flex-wrap: nowrap;
    gap: 8px;
    align-items: center;
    justify-content: flex-start;
    overflow: visible;
    flex: 1;
    min-width: 0;
}

.toc-nav-item {
    display: inline-block;
    flex-shrink: 0;
}

.toc-nav-item.hidden {
    display: none;
}

.toc-nav-item a {
    display: block;
    padding: 10px 18px;
    color: #555;
    text-decoration: none;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.toc-nav-item a:hover {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.2);
}

.toc-nav-item a.active {
    background: var(--primary-color);
    color: white;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.4);
    transform: translateY(-2px);
}

.toc-nav-item.toc-h3 a {
    padding-left: 30px;
    font-size: 0.9rem;
}

.toc-nav-item.toc-h4 a {
    padding-left: 40px;
    font-size: 0.85rem;
}

.toc-more-btn {
    display: none;
    padding: 10px 18px;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    color: #555;
    font-weight: 500;
    cursor: pointer;
    flex-shrink: 0;
    transition: all 0.3s ease;
    align-items: center;
    gap: 6px;
    position: relative;
    z-index: 10;
}

.toc-more-btn.show {
    display: flex !important;
}

.toc-more-btn:hover {
    background: rgba(255, 255, 255, 0.95);
    color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.2);
}

.toc-more-btn i {
    font-size: 1.1rem;
}

.toc-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 10px;
    min-width: 250px;
    max-width: 400px;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 1001;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.toc-dropdown.show {
    display: block !important;
    opacity: 1;
    transform: translateY(0);
}

.toc-dropdown-item {
    display: block;
    padding: 10px 15px;
    color: #555;
    text-decoration: none;
    border-radius: 8px;
    margin-bottom: 4px;
    transition: all 0.2s;
    font-size: 0.95rem;
}

.toc-dropdown-item:hover,
.toc-dropdown-item.active {
    background: var(--primary-color);
    color: white;
}

.toc-dropdown-item.toc-h3 {
    padding: 10px 15px;
    font-size: 0.9rem;
}

.toc-dropdown-item.toc-h4 {
    padding: 10px 15px;
    font-size: 0.85rem;
}

/* Cleaning Pattern Background */
.bg-cleaning-pattern {
    background: linear-gradient(to bottom, #E8F0F1 0%, #A8D5E2 50%, #ffffff 100%);
    background-image: url("../images/cleaning-pattern.svg");
    background-repeat: repeat;
    position: relative;
}

.bg-cleaning-pattern::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(232, 240, 241, 0.3) 0%, rgba(168, 213, 226, 0.2) 50%, rgba(255, 255, 255, 0.4) 100%);
    z-index: 0;
}

.bg-cleaning-pattern > * {
    position: relative;
    z-index: 1;
}

/* Content Section */
.content-section {
    padding: 40px 0 60px;
    background: linear-gradient(to bottom, #fafbfc 0%, #ffffff 100%);
    min-height: 60vh;
    position: relative;
}

.content-section .container {
    position: relative;
    z-index: 1;
}

.content-wrapper {
    background: white;
    padding: 50px 60px;
    border-radius: 20px;
    box-shadow: 0 2px 30px rgba(0, 0, 0, 0.06);
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    line-height: 1.8;
    z-index: 1;
}


/* Content Typography */
.content-wrapper h2 {
    color: var(--primary-color);
    font-size: 2.2rem;
    font-weight: 100;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    padding-bottom: 0;
    border-bottom: none;
    scroll-margin-top: 100px;
    position: relative;
}

.content-wrapper h2:first-child {
    margin-top: 0;
}

.content-wrapper h2::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 30px;
    background: var(--primary-color);
    border-radius: 2px;
    opacity: 0;
    transition: opacity 0.3s;
}

.content-wrapper h2:hover::before {
    opacity: 0;
}

/* Убираем border у всех заголовков */
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5 {
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
}

/* Убираем hover эффекты для всех заголовков */
.content-wrapper h1:hover,
.content-wrapper h2:hover,
.content-wrapper h3:hover,
.content-wrapper h4:hover,
.content-wrapper h5:hover {
    color: inherit !important;
    border: none !important;
    border-bottom: none !important;
    border-top: none !important;
    border-left: none !important;
    border-right: none !important;
    font-weight: inherit !important;
}

/* Запрещаем цвет #000 и font-weight 100 */
.content-wrapper h1,
.content-wrapper h2,
.content-wrapper h3,
.content-wrapper h4,
.content-wrapper h5 {
    color: inherit;
}

.content-wrapper h1:hover,
.content-wrapper h2:hover,
.content-wrapper h3:hover,
.content-wrapper h4:hover,
.content-wrapper h5:hover {
    color: inherit !important;
}

.content-wrapper h1[style*="color: #000"],
.content-wrapper h2[style*="color: #000"],
.content-wrapper h3[style*="color: #000"],
.content-wrapper h4[style*="color: #000"],
.content-wrapper h5[style*="color: #000"] {
    color: inherit !important;
}

.content-wrapper h3 {
    color: var(--primary-dark);
    font-size: 1.65rem;
    font-weight: 100;
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    scroll-margin-top: 100px;
}

.content-wrapper h4 {
    color: var(--text-dark);
    font-size: 1.3rem;
    font-weight: 100;
    margin-top: 2rem;
    margin-bottom: 1rem;
    scroll-margin-top: 100px;
}

.content-wrapper p {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    text-align: justify;
}

.content-wrapper ul,
.content-wrapper ol {
    font-size: 1.1rem;
    line-height: 1.85;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-left: 2.2rem;
}

.content-wrapper li {
    margin-bottom: 0.8rem;
}

.content-wrapper ul li::marker {
    color: var(--primary-color);
}

.content-wrapper blockquote {
    border-left: 4px solid var(--primary-color);
    padding: 1.8rem 2rem;
    margin: 2.5rem 0;
    font-style: italic;
    color: var(--text-light);
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.08) 0%, rgba(125, 180, 184, 0.05) 100%);
    border-radius: 0 12px 12px 0;
    position: relative;
}

.content-wrapper blockquote::before {
    content: '"';
    position: absolute;
    top: -10px;
    left: 15px;
    font-size: 4rem;
    color: var(--primary-color);
    opacity: 0.2;
    font-family: Georgia, serif;
}

.content-wrapper img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    margin: 2.5rem 0;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-wrapper img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 40px rgba(74, 144, 164, 0.25);
}

.content-wrapper .img-left {
    float: left;
    width: 45%;
    margin: 1.5rem 2.5rem 1.5rem 0;
}

.content-wrapper .img-right {
    float: right;
    width: 45%;
    margin: 1.5rem 0 1.5rem 2.5rem;
}

.content-wrapper .img-full {
    width: 100%;
    display: block;
    margin: 2.5rem auto;
}

.content-wrapper::after {
    content: "";
    display: table;
    clear: both;
}

.content-wrapper img[loading="lazy"] {
    opacity: 0;
    animation: fadeIn 0.6s ease-in forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.content-wrapper figure {
    margin: 2.5rem 0;
}

.content-wrapper figure img {
    margin: 0;
}

.content-wrapper figcaption {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--text-light);
    text-align: center;
    font-style: italic;
    padding: 0 1rem;
}

.content-wrapper a {
    color: var(--primary-color);
    text-decoration: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 500;
}

.content-wrapper a:hover {
    color: var(--primary-dark);
    border-bottom-color: var(--primary-dark);
}

.content-wrapper .highlight-box {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.12) 0%, rgba(125, 180, 184, 0.08) 100%);
    border-left: 4px solid var(--primary-color);
    padding: 2rem;
    margin: 2.5rem 0;
    border-radius: 0 12px 12px 0;
    position: relative;
    box-shadow: 0 4px 15px rgba(74, 144, 164, 0.1);
}

.content-wrapper .highlight-box::before {
    content: '💡';
    position: absolute;
    top: 1.5rem;
    left: 1.5rem;
    font-size: 1.5rem;
}

.content-wrapper .highlight-box p {
    margin-left: 2.5rem;
    margin-bottom: 0;
}

.content-wrapper table {
    width: 100%;
    border-collapse: collapse;
    margin: 2.5rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    overflow: hidden;
}

.content-wrapper table th {
    background: var(--primary-color);
    color: white;
    padding: 1.2rem 1.5rem;
    text-align: left;
    font-weight: 600;
    font-size: 1.05rem;
}

.content-wrapper table td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    transition: background 0.2s;
}

.content-wrapper table tr:last-child td {
    border-bottom: none;
}

.content-wrapper table tr:hover {
    background: rgba(74, 144, 164, 0.05);
}

/* Services Preview */
.services-preview {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.05) 0%, rgba(125, 180, 184, 0.02) 100%);
    padding: 80px 0;
    margin-top: 0;
}

.services-preview h2 {
    text-align: center;
    color: var(--primary-color);
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
}

.service-card {
    background: white;
    border-radius: 16px;
    padding: 0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 6px 24px rgba(74, 144, 164, 0.15);
}

.service-card-icon {
    width: 60px;
    height: 60px;
    background: var(--primary-color);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: white;
    font-size: 1.8rem;
}

.service-card-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.service-card h3 {
    color: var(--text-dark);
    font-size: 1.2rem;
    font-weight: 600;
    margin: 20px 20px 10px 20px;
}

.service-card-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0 20px 15px 20px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    min-height: 2.7em;
}

.service-card-price {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0 20px 15px 20px;
}

.service-card-link {
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 20px 20px 20px;
    display: inline-block;
    transition: color 0.3s ease;
}

.service-card-link:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.show-all-services {
    text-align: center;
    margin-top: 50px;
}

/* Responsive for Page Styles */
@media (max-width: 1199.98px) {
    .header-badges {
        gap: 0.5rem;
    }
    
    .header-badge {
        font-size: 0.75rem;
        padding: 0.35rem 0.75rem;
    }
    
    .toc-navigation {
        padding: 12px 20px;
    }
    
    .toc-nav-item a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .content-wrapper {
        padding: 40px 50px;
    }
    
    .content-wrapper .img-left,
    .content-wrapper .img-right {
        width: 40%;
    }
}

@media (max-width: 991.98px) {
    .header-top-bar {
        display: none !important;
    }
    
    .header-badges {
        display: none;
    }
    
    .navbar-nav {
        padding-top: 1rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        font-size: 20px;
    }
    
    .toc-navigation {
        top: 160px;
        margin: 20px 15px;
        padding: 12px 20px;
    }
    
    .toc-nav-wrapper {
        gap: 6px;
    }
    
    .toc-nav-item a {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .toc-more-btn {
        padding: 8px 15px;
        font-size: 0.9rem;
    }
    
    .toc-dropdown {
        right: 0;
        left: 0;
        min-width: auto;
    }
    
    .content-wrapper {
        padding: 35px 30px;
        margin: 0 15px;
    }
    
    .content-wrapper .img-left,
    .content-wrapper .img-right {
        float: none;
        width: 100%;
        margin: 2rem 0;
    }
    
    .content-wrapper p {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .page-header {
        padding: 100px 0 60px;
    }
    
    .page-header h1 {
        font-size: 2.5rem;
    }
    
    .page-header .lead {
        font-size: 1.1rem;
    }
    
    .content-section {
        padding: 40px 0;
    }
    
    .toc-navigation {
        position: sticky;
        top: 160px;
        padding: 10px 15px;
        margin: 15px 10px;
    }
    
    .toc-nav-item a {
        padding: 8px 12px;
        font-size: 0.85rem;
    }
    
    .content-wrapper {
        padding: 25px 20px;
        border-radius: 16px;
        margin: 0 10px;
    }
    
    .content-wrapper p {
        font-size: 1rem;
    }
    
    .content-wrapper ul,
    .content-wrapper ol {
        font-size: 1rem;
        padding-left: 1.8rem;
    }
    
    .content-wrapper img {
        border-radius: 12px;
        margin: 2rem auto;
    }
    
    .content-wrapper .img-left,
    .content-wrapper .img-right {
        float: none;
        width: 100%;
        margin: 2rem 0;
    }
    
    .content-wrapper figure {
        margin: 2rem 0;
    }
    
    .content-wrapper figcaption {
        font-size: 0.9rem;
        padding: 0 0.5rem;
    }
    
    .services-preview h2 {
        font-size: 2rem;
    }
    
    .content-wrapper h2 {
        font-size: 1.85rem;
        margin-top: 2rem;
    }
    
    .content-wrapper h3 {
        font-size: 1.45rem;
    }
    
    .content-wrapper h4 {
        font-size: 1.2rem;
    }
    
    .content-wrapper p,
    .content-wrapper ul,
    .content-wrapper ol {
        font-size: 1rem;
    }
}

/* Price Page Styles */
.price-section {
    margin-bottom: 4rem;
}

.price-section-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.8rem;
    flex-shrink: 0;
}

.price-section h2 {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 2rem;
}

.price-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    margin-bottom: 2rem;
}

.price-table thead {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: white;
}

.price-table thead th {
    border: none;
    padding: 1rem 1.5rem;
    font-weight: 600;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.price-table tbody tr {
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.price-table tbody tr:hover {
    background-color: rgba(74, 144, 164, 0.05);
    transform: translateX(4px);
}

.price-table tbody tr:last-child {
    border-bottom: none;
}

.price-table tbody td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    border: none;
}

.price-table tbody td strong {
    color: var(--primary-color);
    font-weight: 600;
}

.price-table tbody td:first-child {
    color: var(--text-dark);
}

.price-table tbody td:last-child {
    color: var(--primary-color);
    font-weight: 600;
    font-size: 1.1rem;
}

.price-cta-section {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.05) 0%, rgba(125, 180, 184, 0.02) 100%);
    border-radius: 16px;
    padding: 3rem 2rem;
    margin-top: 3rem;
}

.price-cta-section h3 {
    color: var(--primary-color);
    font-weight: 700;
}

.price-table sup {
    font-size: 0.7em;
    vertical-align: super;
    line-height: 0;
    position: relative;
    top: -0.4em;
}

@media (max-width: 768px) {
    .price-section-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .price-section h2 {
        font-size: 1.5rem;
    }
    
    .price-table thead th,
    .price-table tbody td {
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .price-cta-section {
        padding: 2rem 1.5rem;
    }
    
    .price-cta-section .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

/* ============================================
   INLINE STYLES TO CLASSES
   ============================================ */

/* Header Contact Phone Link */
.header-contact-phone-link {
    display: inline-flex;
    align-items: flex-start;
    gap: 0.5rem;
    padding: 0;
    transition: all 0.3s ease;
    color: #495057;
}

.header-contact-phone-icon {
    font-size: 1rem;
    color: var(--primary-color);
    margin-top: 0.1rem;
}

.header-contact-phone-content {
    line-height: 1.3;
}

.header-contact-phone-number {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.2px;
    color: #495057;
}

.header-contact-phone-label {
    font-size: 0.7rem;
    color: var(--primary-color);
    font-weight: 400;
}

/* Mobile Navbar Contacts */
.navbar-mobile-phone {
    color: #495057;
    font-size: 0.85rem;
}

.navbar-mobile-phone-icon {
    color: var(--primary-color);
    font-size: 24px;
}

.navbar-mobile-phone-number {
    font-weight: 500;
}

.header-cta-btn-mobile {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
}

.header-cta-btn-mobile i {
    font-size: 24px;
}

.header-cta-btn-email {
    font-size: 0.75rem;
    padding: 0.4rem 0.75rem;
    background: transparent;
    color: var(--primary-color);
    border: none;
}

.header-cta-btn-email i {
    font-size: 24px;
    color: var(--primary-color);
}

.header-cta-btn-email:hover {
    color: var(--primary-dark);
}

.header-cta-btn-email:hover i {
    color: var(--primary-dark);
}

/* Mobile Menu Contacts */
.mobile-menu-contacts-title {
    font-weight: 600;
    color: #495057;
}

.mobile-menu-contact-icon {
    color: var(--primary-color);
    font-size: 1.1rem;
    margin-top: 0.2rem;
}

.mobile-menu-contact-label {
    color: #495057;
    font-size: 0.9rem;
}

.mobile-menu-contact-text {
    color: #6c757d;
    font-size: 0.9rem;
}

/* Mobile Menu Promotions */
.mobile-menu-promotions {
    width: 100%;
}

.mobile-menu-promotions-title {
    font-weight: 600;
    color: #495057;
    margin-bottom: 1rem;
}

.mobile-promotions-grid {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-promotion-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.08) 0%, rgba(125, 180, 184, 0.05) 100%);
    border-radius: 12px;
    border: 1.5px solid rgba(74, 144, 164, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    color: inherit;
}

.mobile-promotion-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.mobile-promotion-card:hover::before {
    left: 100%;
}

.mobile-promotion-card:hover {
    transform: translateX(4px);
    border-color: var(--primary-color);
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.15);
}

.mobile-promotion-card-secondary {
    background: linear-gradient(135deg, rgba(184, 92, 122, 0.08) 0%, rgba(155, 74, 107, 0.05) 100%);
    border-color: rgba(184, 92, 122, 0.15);
}

.mobile-promotion-card-secondary:hover {
    border-color: #B85C7A;
    box-shadow: 0 4px 12px rgba(184, 92, 122, 0.15);
}

.mobile-promotion-badge {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-gradient);
    background-size: 200% 200%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.5rem;
    box-shadow: 0 4px 12px rgba(74, 144, 164, 0.25);
}

.mobile-promotion-badge-secondary {
    background: linear-gradient(135deg, #B85C7A 0%, #9B4A6B 100%);
    box-shadow: 0 4px 12px rgba(184, 92, 122, 0.25);
}

.mobile-promotion-content {
    flex: 1;
    min-width: 0;
}

.mobile-promotion-title {
    font-size: 1rem;
    font-weight: 700;
    color: #2C5F7A;
    margin-bottom: 0.25rem;
    line-height: 1.2;
}

.mobile-promotion-card-secondary .mobile-promotion-title {
    color: #9B4A6B;
}

.mobile-promotion-text {
    font-size: 0.85rem;
    color: #6c757d;
    margin: 0;
    line-height: 1.3;
}

.mobile-promotion-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(74, 144, 164, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.mobile-promotion-card:hover .mobile-promotion-arrow {
    background: var(--primary-color);
    color: #fff;
    transform: translateX(4px);
}

.mobile-promotion-card-secondary .mobile-promotion-arrow {
    background: rgba(184, 92, 122, 0.1);
    color: #B85C7A;
}

.mobile-promotion-card-secondary:hover .mobile-promotion-arrow {
    background: #B85C7A;
    color: #fff;
}

/* Footer */
.footer-logo-link {
    text-decoration: none;
    color: inherit;
    border: none;
    outline: none;
}

.footer-contact-info-text {
    color: #fff;
    font-size: 0.9rem;
}

.footer-contacts-center-border {
    border-color: rgba(255, 255, 255, 0.1) !important;
}

.footer-contact-center-item {
    transition: all 0.3s ease;
}

.footer-contact-center-icon-whatsapp {
    font-size: 1.3rem;
    color: #25D366;
}

.footer-contact-center-icon-telegram {
    font-size: 1.3rem;
    color: #0088cc;
}

.footer-contact-center-icon-email {
    font-size: 1.3rem;
    color: var(--primary-light);
}

.footer-contact-center-text {
    font-weight: 500;
}

/* Cookie Consent */
.cookie-consent-hidden {
    display: none !important;
}

.cookie-consent-title {
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.cookie-consent-text {
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-text-last {
    margin-bottom: 0;
    font-size: 0.9rem;
    line-height: 1.5;
}

.cookie-consent-link {
    color: var(--primary-color);
    text-decoration: underline;
}

/* ============================================
   MOBILE MENU FULLSCREEN STYLES
   ============================================ */

@media (max-width: 991.98px) {
    .navbar-expand-lg .navbar-collapse {
        z-index: 999 !important;
    }
    
    .navbar-collapse {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100vw;
        height: 100vh;
        background: #fff;
        z-index: 999;
        padding: 2rem 1.5rem;
        overflow-y: auto;
        transform: translateX(-100%);
        transition: transform 0.3s ease-in-out;
        display: flex !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        justify-content: flex-start !important;
    }
    
    .navbar-collapse.show {
        transform: translateX(0);
    }
    
    .navbar-nav {
        width: 100%;
        align-items: flex-start !important;
        flex-direction: column !important;
        margin-bottom: 1.5rem !important;
    }
    
    .navbar-nav .nav-item {
        width: 100%;
        border-bottom: 1px solid #e9ecef;
    }
    
    .navbar-nav .nav-link {
        padding: 1rem 0;
        font-size: 20px;
        width: 100%;
    }
    
    .navbar-nav .dropdown-menu {
        position: static !important;
        float: none;
        width: 100%;
        margin-top: 0;
        background-color: #f8f9fa;
        border: none;
        box-shadow: none;
    }
    
    .navbar-collapse > * {
        width: 100%;
    }
    
    .navbar-collapse::before {
        content: '';
        display: block;
        height: 80px;
    }
    
    .mobile-menu-contacts {
        width: 100%;
    }
    
    .mobile-menu-contacts h6 {
        margin-bottom: 1rem;
    }
    
    /* Mobile Contacts in Navbar */
    .navbar {
        position: relative;
    }
    
    @media (max-width: 560px) {
        .navbar {
            padding: 0.5rem 0;
        }
    }
    
    .navbar-mobile-contacts {
        flex: 1;
        display: flex;
        justify-content: flex-end;
        align-items: center;
        margin-right: 0.75rem;
        order: 2;
        z-index: 1000;
    }
    
    .navbar-mobile-contacts .d-flex {
        flex-wrap: wrap;
        gap: 0.5rem;
        justify-content: flex-end;
    }
    
    .navbar-toggler {
        order: 3;
    }
    
    /* Hide phone on screens less than 768px */
    @media (max-width: 767.98px) {
        .navbar-mobile-phone {
            display: none !important;
        }
    }
    
    @media (max-width: 576px) {
        .navbar-mobile-contacts {
            margin-right: 0.5rem;
        }
        
        .navbar-mobile-contacts .d-flex {
            gap: 0.35rem;
        }
        
        .navbar-mobile-contacts a {
            font-size: 0.75rem !important;
        }
        
        .navbar-mobile-contacts .header-cta-btn {
            font-size: 0.7rem !important;
            padding: 0.35rem 0.65rem !important;
        }
        
        .navbar-mobile-contacts .header-cta-btn span {
            display: none;
        }
    }
}

/* Burger to X Animation */
.navbar-toggler {
    border: none;
    padding: 0.5rem;
    background: transparent;
    position: relative;
    z-index: 10000;
}

.navbar-toggler:focus {
    box-shadow: none;
}

@media (max-width: 991.98px) {
    .navbar-brand-wrapper {
        position: relative;
        z-index: 10000;
    }
}

.navbar-toggler-icon-custom {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 24px;
    height: 18px;
    position: relative;
}

.navbar-toggler-icon-custom .icon-bar {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    border-radius: 1px;
    transition: all 0.3s ease-in-out;
    position: absolute;
}

.navbar-toggler-icon-custom .icon-bar:nth-child(1) {
    top: 0;
}

.navbar-toggler-icon-custom .icon-bar:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
}

.navbar-toggler-icon-custom .icon-bar:nth-child(3) {
    bottom: 0;
}

/* Animation when menu is open (button doesn't have collapsed class) */
.navbar-toggler:not(.collapsed) .navbar-toggler-icon-custom .icon-bar:nth-child(1) {
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon-custom .icon-bar:nth-child(2) {
    opacity: 0;
    transform: translateY(-50%) scale(0);
}

.navbar-toggler:not(.collapsed) .navbar-toggler-icon-custom .icon-bar:nth-child(3) {
    bottom: 50%;
    transform: translateY(50%) rotate(-45deg);
}

/* Default state - burger icon (when collapsed) */
.navbar-toggler.collapsed .navbar-toggler-icon-custom .icon-bar:nth-child(1) {
    top: 0;
    transform: none;
}

.navbar-toggler.collapsed .navbar-toggler-icon-custom .icon-bar:nth-child(2) {
    opacity: 1;
    transform: translateY(-50%) scale(1);
}

.navbar-toggler.collapsed .navbar-toggler-icon-custom .icon-bar:nth-child(3) {
    bottom: 0;
    transform: none;
}

/* Cookie Consent Styles */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(44, 95, 122, 0.98);
    color: #fff;
    padding: 1.5rem;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    animation: slideUp 0.3s ease-out;
    display: block;
}

@keyframes slideUp {
    from {
        transform: translateY(100%);
    }
    to {
        transform: translateY(0);
    }
}

.cookie-consent-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.cookie-consent-text {
    flex: 1;
    min-width: 300px;
}

.cookie-consent-text h6 {
    color: #fff;
}

.cookie-consent-text p {
    color: rgba(255, 255, 255, 0.9);
}

.cookie-consent-text a {
    color: #A8D5E2;
}

.cookie-consent-text a:hover {
    color: #fff;
}

.cookie-consent-buttons {
    display: flex;
    gap: 0.75rem;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .cookie-consent-content {
        flex-direction: column;
    }
    
    .cookie-consent-buttons {
        width: 100%;
    }
    
    .cookie-consent-buttons button {
        flex: 1;
    }
}

/* Included Section */
.included-section {
    background: var(--bg-light);
}

.included-card {
    background: white;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.included-card:hover {
    box-shadow: 0 10px 30px rgba(74, 144, 164, 0.15);
    transform: translateY(-2px);
}

.included-icon {
    width: 50px;
    height: 50px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    flex-shrink: 0;
}

.included-icon-yes {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
}

.included-icon-no {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
}

.included-list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.95rem;
    line-height: 1.6;
}

.included-list i {
    flex-shrink: 0;
    margin-top: 0.2rem;
    font-size: 1.1rem;
}

.included-list span {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .included-card {
        margin-bottom: 1rem;
    }
    
    .included-icon {
        width: 45px;
        height: 45px;
        font-size: 1.5rem;
    }
    
    .included-list li {
        font-size: 0.9rem;
    }
}

/* Header Top Bar Styles */
.header-top-bar {
    display: flex;
    align-items: center;
}
.header-top-bar .container {
    display: flex;
    align-items: center;
}
.header-top-bar .container > div {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}
.header-contact-item {
    display: flex;
    align-items: center;
}

/* Custom styles for btn-light - white background */
.btn-light {
    background-color: white;
    border-color: #dee2e6;
    color: #212529;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}
.btn-light:hover {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #212529;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

/* Inset button style */
.btn-inset {
    background: #f0f0f0;
    border: 1px solid #d0d0d0;
    color: var(--primary-color);
    box-shadow: inset 2px 2px 5px rgba(0, 0, 0, 0.15), inset -2px -2px 5px rgba(255, 255, 255, 0.8);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: 8px;
    transition: all 0.2s ease;
}
.btn-inset:hover {
    background: #e8e8e8;
    color: var(--primary-dark);
    box-shadow: inset 3px 3px 6px rgba(0, 0, 0, 0.2), inset -3px -3px 6px rgba(255, 255, 255, 0.9);
}
.btn-inset:active {
    box-shadow: inset 4px 4px 8px rgba(0, 0, 0, 0.25), inset -4px -4px 8px rgba(255, 255, 255, 0.7);
}
.btn-light:focus {
    background-color: white;
    border-color: #dee2e6;
    color: #212529;
    box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
}
.btn-light:active {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #212529;
}
/* Line-height for button in header */
.header-top-bar .btn-light {
    line-height: 1;
}
/* Icon margin in ask question button */
.header-top-bar .btn-light i {
    margin-right: 16px;
}

/* Phone links styles in footer */
.footer-phone-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: white !important;
    font-size: 1.25rem;
    font-weight: normal;
}
.footer-phone-link i {
    color: white;
    font-size: 1.25rem;
}

/* Remove border and background from footer-contact-item */
.footer-contact-item {
    border: none !important;
    background: none !important;
    background-color: transparent !important;
    padding: 0 !important;
    margin-top: 12px;
}
.footer-contact-item:hover {
    background: none !important;
    background-color: transparent !important;
    border: none !important;
    border-color: transparent !important;
    transform: none !important;
}

/* Calculator dropdown styles */
#extraServicesDropdown,
#carpetsServicesDropdown {
    text-align: left;
    padding-right: 2.5rem;
    position: relative;
    border-color: #7DB4B8 !important;
    color: #4A90A4 !important;
    background-color: #f8f9fa;
}
#extraServicesDropdown:hover,
#carpetsServicesDropdown:hover {
    border-color: #4A90A4 !important;
    background-color: #e8f4f6 !important;
    color: #2d6a7a !important;
}
#extraServicesDropdown:focus,
#carpetsServicesDropdown:focus,
#extraServicesDropdown.show,
#carpetsServicesDropdown.show {
    border-color: #4A90A4 !important;
    background-color: #e8f4f6 !important;
    color: #2d6a7a !important;
    box-shadow: 0 0 0 0.25rem rgba(125, 180, 184, 0.25) !important;
}
#extraServicesDropdown i,
#carpetsServicesDropdown i {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    color: #4A90A4;
}
#extraServicesList {
    max-height: 300px;
    overflow-y: auto;
}
#extraServicesList .form-check {
    padding: 0.5rem 1rem;
    transition: background-color 0.2s;
}
#extraServicesList .form-check:hover {
    background-color: #f8f9fa;
}
#selectedServicesDisplay .badge,
#selectedCarpetsDisplay .badge {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
    background-color: #7DB4B8 !important;
    color: white;
}

/* Stats section styles */
.advantages-stats-section {
    background: linear-gradient(135deg, #E8F0F1 0%, #f8f9fa 50%, #E8F0F1 100%);
    padding: 4rem 0 !important;
}
.advantages-stats-section .row.text-center.mb-5 {
    margin-bottom: 0 !important;
}
.advantages-stats-section .container {
    position: relative;
}
.stats-item {
    padding: 2.5rem 1.5rem;
    position: relative;
}
.stats-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 20%;
    bottom: 20%;
    width: 2px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        #7DB4B8 10%,
        #7DB4B8 90%,
        transparent 100%
    );
}
.stats-number {
    font-size: 2.5rem;
    font-weight: 700;
    color: #4A90A4;
    line-height: 1.2;
    margin-bottom: 1rem;
    text-shadow: 0 2px 4px rgba(74, 144, 164, 0.1);
}
.stats-label {
    font-size: 1.1rem;
    color: #2C5F7A;
    font-weight: 500;
    line-height: 1.5;
}
@media (max-width: 768px) {
    .advantages-stats-section {
        padding: 3rem 0 !important;
    }
    .stats-item:not(:last-child)::after {
        display: none;
    }
    .stats-item:nth-child(2n)::after {
        display: block;
        right: auto;
        left: 50%;
        transform: translateX(-50%);
        top: auto;
        bottom: 0;
        width: 60%;
        height: 2px;
        background: linear-gradient(
            to right,
            transparent 0%,
            #7DB4B8 10%,
            #7DB4B8 90%,
            transparent 100%
        );
    }
    .stats-item {
        padding: 2rem 1rem;
    }
    .stats-item:last-child::after {
        display: none;
    }
    .stats-number {
        font-size: 2.2rem;
    }
    .stats-label {
        font-size: 1rem;
    }
}
@media (min-width: 769px) and (max-width: 991px) {
    .stats-number {
        font-size: 2.2rem;
    }
}

/* Service Hero Cards - Background Image Style */
.services-hero-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #E8F0F1 100%);
}
.service-hero-card {
    display: block;
    position: relative;
    height: 320px;
    border-radius: 16px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    text-decoration: none;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.service-hero-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 50px rgba(74, 144, 164, 0.3);
}
.service-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.85) 0%,
        rgba(0, 0, 0, 0.4) 50%,
        rgba(0, 0, 0, 0.1) 100%
    );
    transition: background 0.4s ease;
}
.service-hero-card:hover .service-hero-overlay {
    background: linear-gradient(
        to top,
        rgba(74, 144, 164, 0.9) 0%,
        rgba(74, 144, 164, 0.5) 50%,
        rgba(74, 144, 164, 0.2) 100%
    );
}
.service-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    color: white;
    z-index: 2;
}
.service-hero-content h3 {
    font-size: 1.6rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
    color: white;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}
.service-hero-content p {
    font-size: 0.9rem;
    margin-bottom: 0.75rem;
    opacity: 0.9;
    line-height: 1.4;
}
.service-hero-price {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    border: 1px solid rgba(255, 255, 255, 0.3);
}
.service-hero-card:hover .service-hero-price {
    background: rgba(255, 255, 255, 0.95);
    color: #4A90A4;
}
@media (max-width: 768px) {
    .service-hero-card {
        height: 280px;
    }
    .service-hero-content h3 {
        font-size: 1.2rem;
    }
}

/* Contacts Page Styles */
.contacts-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #E8F0F1 100%);
}
.contacts-info-card,
.contacts-form-card {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.contacts-info-card:hover,
.contacts-form-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 40px rgba(74, 144, 164, 0.15) !important;
}
.contact-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}
.contact-item-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #7DB4B8 0%, #4A90A4 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.contact-item-icon i {
    font-size: 1.25rem;
    color: white;
}
.contact-item-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2C5F7A;
    margin-bottom: 0.25rem;
}
.contact-item-link {
    color: #4A90A4;
    text-decoration: none;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}
.contact-item-link:hover {
    color: #2C5F7A;
}
.contacts-map-card {
    border-radius: 16px;
}
.map-container {
    background: #e9ecef;
}
.map-container iframe {
    display: block;
}

/* --- Страница «О компании»: aside-меню (sticky, скрыто на мобильной) --- */
.content-section-about {
    min-height: 60vh;
}
.about-aside-nav {
    position: sticky;
    top: 160px;
    z-index: 10;
    background: #fff;
    padding: 1rem 0;
    border-radius: 16px;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.06);
}
.about-aside-list {
    padding: 0.25rem 0;
}
.about-aside-list li {
    margin-bottom: 0.25rem;
}
.about-aside-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    color: #495057;
    text-decoration: none;
    font-weight: 500;
    border-radius: 10px;
    transition: background 0.2s, color 0.2s;
}
.about-aside-link i {
    font-size: 1.1rem;
    opacity: 0.85;
}
.about-aside-link:hover {
    background: rgba(74, 144, 164, 0.08);
    color: var(--primary-color);
}
.about-aside-link.active {
    background: rgba(74, 144, 164, 0.12);
    color: var(--primary-color);
}
.content-wrapper-about {
    padding: 2rem 2.5rem;
}
@media (max-width: 991.98px) {
    .content-wrapper-about {
        padding: 1.5rem 1.25rem;
    }
}

/* --- Таймлайн истории компании --- */
.company-timeline {
    position: relative;
    padding-left: 0;
    margin-top: 2rem;
}
.company-timeline::before {
    content: '';
    position: absolute;
    left: 1.125rem;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg,
        var(--primary-color) 0%,
        rgba(74, 144, 164, 0.5) 40%,
        rgba(74, 144, 164, 0.3) 70%,
        #4A90A4 100%);
    border-radius: 3px;
    z-index: 0;
}

.timeline-era {
    position: relative;
    z-index: 1;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary-color);
    margin: 2rem 0 1rem 2.5rem;
    padding: 0.35rem 0.75rem;
    background: rgba(74, 144, 164, 0.1);
    border-radius: 6px;
    display: inline-block;
    opacity: 0;
    transform: translateX(-12px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
@media (min-width: 768px) {
    .timeline-era {
        margin-left: 0;
        margin-top: 2.5rem;
    }
    .timeline-era:first-of-type {
        margin-top: 1rem;
    }
}
.timeline-era.timeline-era--visible {
    opacity: 1;
    transform: translateX(0);
}
.timeline-era--crisis {
    color: #856404;
    background: rgba(133, 100, 4, 0.1);
}
.timeline-era--future {
    color: #0d6e0d;
    background: rgba(13, 110, 13, 0.1);
}

.timeline-item {
    position: relative;
    z-index: 1;
    padding-left: 2.5rem;
    margin-bottom: 1.5rem;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}
.timeline-item--visible {
    opacity: 1;
    transform: translateY(0);
}
@media (min-width: 768px) {
    .company-timeline::before {
        left: 9.25rem;
    }
    .timeline-item {
        padding-left: 0;
        padding-right: 0;
        display: grid;
        grid-template-columns: 8.5rem 1fr;
        gap: 1.5rem;
        align-items: start;
        margin-bottom: 2rem;
    }
    .timeline-marker {
        left: 8.625rem;
        top: .75rem;
    }
}

.timeline-marker {
    position: absolute;
    left: 0.5rem;
    top: .75rem;
    width: 1.25rem;
    height: 1.25rem;
    background: #fff;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(255, 255, 255, 0.9);
    z-index: 2;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.timeline-item--visible .timeline-marker {
    box-shadow: 0 0 0 4px #fff, 0 0 0 8px rgba(74, 144, 164, 0.25);
}
.timeline-item:hover .timeline-marker {
    transform: scale(1.15);
    box-shadow: 0 0 0 4px #fff, 0 0 0 12px rgba(74, 144, 164, 0.2);
}
.timeline-item--crisis .timeline-marker {
    border-color: #856404;
}
.timeline-item--crisis.timeline-item--visible .timeline-marker {
    box-shadow: 0 0 0 4px #fff, 0 0 0 8px rgba(133, 100, 4, 0.2);
}
.timeline-item--future .timeline-marker {
    border-color: #0d6e0d;
}
.timeline-item--future.timeline-item--visible .timeline-marker {
    box-shadow: 0 0 0 4px #fff, 0 0 0 8px rgba(13, 110, 13, 0.2);
}

.timeline-year {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: inline-block;
}
@media (min-width: 768px) {
    .timeline-year {
        margin-bottom: 0;
        text-align: right;
        position: sticky;
        top: 140px;
    }
}
.timeline-item--crisis .timeline-year {
    color: #856404;
}
.timeline-item--future .timeline-year {
    color: #0d6e0d;
}

.timeline-content {
    background: #f8fafb;
    border-radius: 12px;
    padding: 1.25rem 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.timeline-item:hover .timeline-content {
    box-shadow: 0 6px 24px rgba(74, 144, 164, 0.12);
    border-color: rgba(74, 144, 164, 0.15);
}
.timeline-content--intro,
.timeline-content--outro {
    background: linear-gradient(135deg, rgba(74, 144, 164, 0.06) 0%, rgba(74, 144, 164, 0.02) 100%);
    border-color: rgba(74, 144, 164, 0.15);
}
.timeline-content--intro {
    font-size: 1.05rem;
}
.timeline-content--outro {
    border-left: 4px solid var(--primary-color);
}

.timeline-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}
.timeline-content p {
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
    line-height: 1.65;
}
.timeline-content p:last-child {
    margin-bottom: 0;
}

.timeline-closing .timeline-marker {
    top: .75rem;
}
.timeline-intro .timeline-marker {
    top: .75rem;
}
.timeline-intro .timeline-content,
.timeline-closing .timeline-content {
    grid-column: 1 / -1;
}
@media (min-width: 768px) {
    .timeline-intro .timeline-content,
    .timeline-closing .timeline-content {
        margin-left: 0;
        margin-right: 0;
    }
}
.timeline-intro.timeline-item,
.timeline-closing.timeline-item {
    display: block;
    padding-left: 2.5rem;
}
@media (min-width: 768px) {
    .timeline-intro.timeline-item,
    .timeline-closing.timeline-item {
        display: block;
        padding-left: 0;
    }
.timeline-intro .timeline-content,
.timeline-closing .timeline-content {
    margin-left: 10rem;
}

/* --- Страница «Сотрудничество» --- */
.cooperation-blocks {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.cooperation-block {
    padding: 1.5rem 1.75rem;
    background: #f8fafb;
    border-radius: 14px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease, border-color 0.3s ease;
}
.cooperation-block:hover {
    box-shadow: 0 6px 24px rgba(74, 144, 164, 0.1);
    border-color: rgba(74, 144, 164, 0.12);
}
.cooperation-block-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(74, 144, 164, 0.12);
    color: var(--primary-color);
    border-radius: 10px;
    font-size: 1.35rem;
    margin-bottom: 1rem;
}
.cooperation-block h2 {
    color: #1a1a1a;
}
.cooperation-block p {
    color: #495057;
    line-height: 1.7;
    margin-bottom: 0;
}
.cooperation-cta h2 {
    color: #1a1a1a;
}

/* --- Страница «Вакансии»: аккордеон --- */
.vacancies-accordion .accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 12px;
    margin-bottom: 0.75rem;
    overflow: hidden;
}
.vacancies-accordion .accordion-item:last-child {
    margin-bottom: 0;
}
.vacancies-accordion .accordion-button {
    font-weight: 600;
    color: #1a1a1a;
    background: #f8fafb;
    padding: 1rem 1.25rem;
    border: none;
    box-shadow: none;
}
.vacancies-accordion .accordion-button:not(.collapsed) {
    background: rgba(74, 144, 164, 0.08);
    color: var(--primary-color);
}
.vacancies-accordion .accordion-button::after {
    flex-shrink: 0;
}
.vacancies-accordion .accordion-body {
    padding: 1.25rem 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
    font-size: 0.95rem;
    line-height: 1.65;
}
.vacancies-accordion .accordion-body ul {
    padding-left: 1.25rem;
    margin-bottom: 0.5rem;
}
.vacancies-accordion .accordion-body li {
    margin-bottom: 0.35rem;
}
.vacancy-salary {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
    white-space: nowrap;
}
@media (max-width: 575.98px) {
    .vacancy-salary {
        display: block;
        margin-left: 0 !important;
        margin-top: 0.25rem;
    }
}

.cooperation-invite-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
}
.cooperation-invite-list li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 1rem;
    line-height: 1.65;
    color: #495057;
}
.cooperation-invite-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.55em;
    width: 6px;
    height: 6px;
    background: var(--primary-color);
    border-radius: 50%;
}
.cooperation-invite-list li:last-child {
    margin-bottom: 0;
}
.cooperation-invite-list strong {
    color: #1a1a1a;
}

/* --- Блок «Как мы работаем» (5 шагов) на странице Сотрудничество --- */
.cooperation-steps {
    margin-bottom: 3rem;
    padding: 2rem 0;
}
.cooperation-steps .h5 {
    color: #1a1a1a;
}
.steps-flow {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-template-rows: auto auto;
    gap: 0;
    max-width: 720px;
    margin: 0 auto;
    align-items: start;
    justify-items: center;
    position: relative;
}
.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    z-index: 2;
}
.step-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.step-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.step-item:nth-child(5) { grid-column: 5; grid-row: 1; }
.step-item:nth-child(7) { grid-column: 2; grid-row: 2; }
.step-item:nth-child(9) { grid-column: 4; grid-row: 2; }

.step-connector { grid-row: 1; position: relative; z-index: 1; align-self: center; }
.step-connector:nth-child(2) { grid-column: 2; grid-row: 1; }
.step-connector:nth-child(4) { grid-column: 4; grid-row: 1; }
.step-connector:nth-child(6) { grid-column: 1; grid-row: 1; position: absolute; left: 50%; top: 4rem; margin-left: 8%; width: 2px; height: 56px; z-index: 0; }
.step-connector:nth-child(8) { grid-column: 3; grid-row: 2; }

.step-num {
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    background: #e67e22;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.75rem;
    flex-shrink: 0;
}
.step-icon-wrap {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
}
.step-icon {
    font-size: 1.5rem;
    color: var(--primary-color);
}
.step-text {
    font-size: 0.9rem;
    font-weight: 500;
    color: #333;
    margin: 0;
    max-width: 120px;
    line-height: 1.3;
}

/* Горизонтальные пунктирные линии */
.step-connector--h {
    width: 100%;
    min-width: 24px;
    height: 0;
    border: none;
    border-top: 2px dashed #e67e22;
    margin-top: 1.5rem;
    position: relative;
}
.step-connector--h::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #e67e22;
    border-right: 0;
}
.step-connector--diag {
    width: 2px;
    min-height: 50px;
    margin: 0;
    border: none;
    top: 4.25rem;
    height: 52px;
}
.step-connector--diag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(to bottom, #e67e22 0, #e67e22 4px, transparent 4px, transparent 8px);
    transform: rotate(-38deg);
    transform-origin: top center;
}
.step-connector--diag::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: -2px;
    margin-left: -5px;
    border: 5px solid transparent;
    border-top-color: #e67e22;
    border-bottom: 0;
    transform: rotate(-38deg);
}

/* Мобильная версия: вертикальный поток */
@media (max-width: 767.98px) {
    .steps-flow {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        max-width: 200px;
        margin-left: auto;
        margin-right: auto;
    }
    .step-item,
    .step-connector {
        grid-column: 1 !important;
    }
    .step-item:nth-child(1) { grid-row: 1; }
    .step-connector:nth-child(2) { grid-row: 2; }
    .step-item:nth-child(3) { grid-row: 3; }
    .step-connector:nth-child(4) { grid-row: 4; }
    .step-item:nth-child(5) { grid-row: 5; }
    .step-connector:nth-child(6) { grid-row: 6; position: relative; left: auto; top: auto; margin-left: 0; width: 0; height: 24px; }
    .step-item:nth-child(7) { grid-row: 7; }
    .step-connector:nth-child(8) { grid-row: 8; }
    .step-item:nth-child(9) { grid-row: 9; }
    .step-connector--h {
        width: 0;
        height: 24px;
        margin: 0 auto;
        border-top: none;
        border-left: 2px dashed #e67e22;
        margin-top: 0;
        margin-bottom: 0;
    }
    .step-connector--h::after {
        right: auto;
        left: 50%;
        top: 100%;
        transform: translate(-50%, -50%) rotate(90deg);
        border-left-color: transparent;
        border-top-color: #e67e22;
        border-bottom: 5px solid transparent;
    }
    .step-connector--diag {
        height: 24px;
        margin: 0 auto;
    }
    .step-connector--diag::before {
        width: 2px;
        height: 100%;
        left: 50%;
        top: 0;
        transform: translateX(-50%);
    }
    .step-connector--diag::after {
        border-top-color: transparent;
        border-bottom-color: #e67e22;
        border-bottom: 5px solid #e67e22;
        border-top: 0;
        bottom: auto;
        top: 100%;
        transform: none;
    }
}
}

/* --- Слайдер «Избранные благодарности» на странице Благодарности --- */
.thanks-slider-section {
    background: linear-gradient(to bottom, #fff 0%, #f8fafb 100%);
}
.thanks-swiper-wrap {
    padding: 0 3rem;
}
.thanksSwiper {
    overflow: hidden;
    border-radius: 16px;
}
.thanks-slide-card {
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
    height: 100%;
    display: flex;
    flex-direction: column;
}
.thanksSwiper .swiper-slide:hover .thanks-slide-card {
    box-shadow: 0 12px 32px rgba(74, 144, 164, 0.15);
    transform: translateY(-4px);
}
.thanks-slide-img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    display: block;
    background: #f0f0f0;
}
.thanks-slide-caption {
    padding: 1rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #2C5F7A;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.06);
}
.thanks-swiper-next,
.thanks-swiper-prev {
    width: 44px;
    height: 44px;
    background: #fff;
    border-radius: 50%;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.12);
    color: var(--primary-color);
    transition: background 0.2s, color 0.2s;
}
.thanks-swiper-next::after,
.thanks-swiper-prev::after {
    font-size: 18px;
    font-weight: 700;
}
.thanks-swiper-next:hover,
.thanks-swiper-prev:hover {
    background: var(--primary-color);
    color: #fff;
}
.thanks-swiper-pagination {
    position: relative;
    margin-top: 1.25rem;
}
.thanks-swiper-pagination .swiper-pagination-bullet {
    background: rgba(74, 144, 164, 0.4);
    opacity: 1;
    width: 10px;
    height: 10px;
    transition: background 0.2s, transform 0.2s;
}
.thanks-swiper-pagination .swiper-pagination-bullet-active {
    background: var(--primary-color);
    transform: scale(1.2);
}
@media (max-width: 575.98px) {
    .thanks-swiper-wrap {
        padding: 0 2.5rem;
    }
    .thanks-slide-img {
        height: 220px;
    }
}



/*Доработки*/
.breadcrumb {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
}
.breadcrumb-item {
    padding: 0px !important;
    display: flex;
    align-items: center;
}
.breadcrumb-item+.breadcrumb-item::before {
    padding-right: 0px;
}
/*Доработки*/






/*Редизайн услуг*/
.navbar-nav .nav-link {
    /* font-size: 15px; */
}
.service-page {
  overflow-x: hidden;
  font-family: 'Inter';
}
.service-page .btn-primary{
    margin-left: 25px;
}

.service-page section {
 padding: 25px 0;
}

/* --- Hero --- */
.sp-hero {
  position: relative;
  min-height: 507px;
  color: #fff;
  padding: 0px;
}

.custom-btn {
    color: #138A9A;
    border: 2px solid #138A9A;
    position: relative;
    background-color: #fff;
}

.sp-hero-swiper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.sp-hero-swiper .swiper-slide,
.sp-hero-slide {
  min-height: 560px;
}

.sp-hero-slide {
  position: relative;
  background-size: cover;
  background-position: center;
  height: 100%;
}

/* .sp-hero-slide__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(10, 35, 45, 0.82) 0%, rgba(10, 35, 45, 0.45) 55%, rgba(10, 35, 45, 0.15) 100%);
} */

.sp-hero-slide__content {
  position: relative;
  z-index: 2;
  padding-top: 57px;
  max-width: 680px;
}

.sp-hero-slide__label {
    font-weight: 600;
    font-size: 13px;
    line-height: 100%;
    text-transform: uppercase;
    color: #138A9A;
    margin-bottom: 10px;
}

.sp-hero-slide__title {
    font-weight: 600;
    font-size: 48px;
    line-height: 100%;
    color: #212529;
    margin-bottom: 25px;
}

.sp-hero-slide__text {
    font-weight: 600;
    font-size: 16px;
    line-height: 100%;
    color: #495057;
    margin-bottom: 25px;
}

.sp-hero .swiper-pagination {
  bottom: 1.5rem !important;
}

.sp-hero .swiper-pagination-bullet {
  background: #fff;
  opacity: 0.45;
}

.sp-hero .swiper-pagination-bullet-active {
  opacity: 1;
}

.sp-hero-swiper .swiper-button-next,
.sp-hero-swiper .swiper-button-prev {
  color: var(--primary-color);
  background: rgba(255, 255, 255, 0.9);
  border: 2px solid rgba(74, 144, 164, 0.3);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  z-index: 4;
}

.sp-hero-swiper .swiper-button-next:hover,
.sp-hero-swiper .swiper-button-prev:hover {
  background: var(--primary-color);
  color: white;
  box-shadow: 0 6px 20px rgba(74, 144, 164, 0.3);
}

.sp-hero-swiper .swiper-button-next::after,
.sp-hero-swiper .swiper-button-prev::after {
  font-size: 20px;
  font-weight: bold;
}

.sp-hero__static {
  position: relative;
  z-index: 2;
  min-height: 560px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 1.25rem;
  padding: 6.5rem 0 2.5rem;
  pointer-events: none;
}

.sp-hero__static a,
.sp-hero__static button {
  pointer-events: auto;
}

.sp-hero__static .breadcrumb {
  --bs-breadcrumb-divider-color: rgba(255, 255, 255, 0.6);
  margin-bottom: 0;
}

.sp-hero__static .breadcrumb-item,
.sp-hero__static .breadcrumb-item a {
  color: rgba(255, 255, 255, 0.85);
}

.sp-hero__static .breadcrumb-item.active {
  color: #fff;
}

.sp-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 23px;
  padding-bottom: 30px;
  margin-bottom: 30px;
  border-bottom: 1px solid #49505736;
}

.sp-hero__stats {
  display: flex;
  align-items: center;
  gap: 23px;
}

.sp-hero__stats li {
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 16px;
  font-weight: 600;
  color: #212529;
}

.sp-hero__cards {
  position: absolute;
  right: 0;
  width: min(280px, 100%);
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
  background-color: #fff;
  border-radius: 20px;
  padding: 19px 25px;
}

.sp-hero__cards li {
  display: flex;
  align-items: center;
  gap: 16px;
  
}
.sp-hero__cards li div {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    color: #495057;
    font-size: 11px;
    font-weight: 600;
}
.sp-hero__cards li span {
    font-size: 13px;
    margin-bottom: 4px;
}
.sp-hero__cards li svg {
    min-width: 30px;
}

/* --- Includes --- */
.sp-includes {
  
}
.sp-includes__title {
  letter-spacing: 4%;
  font-size: 32px;
}
.sp-includes__subtitle {
  font-weight: 500;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 3%;
  margin-bottom: 15px;
  color: #495057;
}
.sp-includes__title span {
  color: #138A9A;
}

.sp-includes__grid {
  display: flex;
  gap: 20px;
}

.sp-includes__media {
  position: relative;
  max-width: 69%;
}

.sp-includes__media-img  {
  width: 100%;
  height: 100%;
  display: block;
  border-radius: 20px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.sp-includes__overlay {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  background: #FFFFFFE8;
  border-radius: 20px;
  padding: 22px 19px;
}

.sp-includes__overlay-row {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 0.75rem;
  align-items: center;
}
.sp-includes__overlay-item {
  display: flex;
  gap: 5px;
  align-self: start;
}
.sp-includes__overlay-item div {
    font-size: 12px;
  line-height: 100%;
  color: #495057;
  font-weight: 500;
}

.sp-includes__overlay-item span {
  font-size: 16px;
  font-weight: 600;
  display: block;
}
.sp-includes__list {
  list-style: none;
  margin: 0;
  padding: 28px 15px;
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  background-color: #fff;
  box-shadow: -4px 5px 30px 0px #00000040;
  max-width: 443px;
}
.sp-includes__list-title {
    display: none;
}
.sp-include-item {
  gap: 7px;
  display: flex;
  align-items: start;
  width: 100%;
}
.sp-include-item:not(:last-child) {
  border-bottom: 1px solid #49505736;
  padding-bottom: 23px;
  margin-bottom: 23px;
}
.sp-include-item img {
  width: 53px;
  height: 53px;
}
.sp-include-item__body {
  width: 100%;
}
.sp-include-item__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 7px;
}
.sp-include-item__header span {
  font-size: 14px;
}
.sp-include-item__title {
  font-size: 16px;
  font-weight: 600;
  color: #212529;
  margin-bottom: 0px;
}

.sp-include-item__text {
  font-size: 12px;
  color: #495057;
  line-height: 100%;
  margin-bottom: 0px;
}

.sp-include-item__chevron {
  color: #adb5bd;
  padding-top: 0.15rem;
}

/* --- Pricing --- */
.sp-pricing__title {
    text-align: center;
    margin-bottom: 15px;
}
.sp-pricing__grid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background: #fff;
  border-radius: 20px;
  padding: 25px 20px;
  box-shadow: -4px 5px 30px 0px #00000040;
}
.sp-pricing__left {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    gap: 20px;
    width: 100%;
}
.sp-pricing__text {
    font-weight: 600;
    font-size: 18px;
    line-height: 37px;
    letter-spacing: 4%;
    color: #495057;
}
.sp-pricing__factors {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.sp-pricing__factors li {
  display: flex;
  align-items: center;
  gap: 14px;
  font-weight: 600;
  font-size: 15px;
  line-height: 24px;
  letter-spacing: 4%;
  color: #212529;
}


.sp-pricing__cta {
   background: #F3F5F8;
   border-radius: 20px;
   padding: 16px 23px;
   width: 100%;
   height: 100%;
   max-width: 433px;
}
.sp-pricing__cta p {
    font-weight: 600;
    font-size: 15px;
    line-height: 37px;
    letter-spacing: 4%;
    color: #495057;
    margin-bottom: 14px;
}
/* --- choise --- */
.choise__items {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}
.choise__items-top {
    display: flex;
    gap: 10px;
    /*margin-bottom: 10px; */
}
.choise__items-bottom {
    display: flex;
    gap: 10px;
}
.choise__item {
    padding: 13px 20px;
    border: 1px solid #1698C154;
    box-shadow: 0px 0px 38px 0px #77EFFFD6;
    background: linear-gradient(15.74deg, #011726 58.14%, #093443 79.97%, #104D5B 90.53%, #176773 96.51%, #1F838F 104.2%);
    color: #FFFFFF;
    width: 100%;
    border-radius: 20px;
}
.choise__item-img {
    margin-left: -8px;
    margin-bottom: 3px;
}
.choise__item-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 19px;
    letter-spacing: 4%;
    display: flex;
    flex-direction: column;
    row-gap: 15px;
    margin-bottom: 15px;
}
.choise__item-title::after {
    content: '';
    width: 31px;
    height: 5px;
    display: block;
    background-color: #1698C1;
    border-radius: 5px;
}
.choise__item-text {
    font-weight: 500;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: 4%;
}
.choise__item-main {
    max-width: 487px;
    background-image: url(/assets/images/redesign/why-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 24px 33px;
}
.choise__items-body {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 10px;
}
.choise__item-main-subtitle {
    font-weight: 400;
    font-size: 10px;
    line-height: 19px;
    letter-spacing: 4%;
    padding: 6px 12px;
    background-color: #4A90A440;
    border-radius: 9999px;
    max-width: max-content;
    margin-bottom: 17px;
    box-shadow: 0px 0px 13px 0px #138A9AE5;
}
.choise__item-main-title {
    font-weight: 600;
    font-size: 32px;
    line-height: 37px;
    letter-spacing: 4%;
}
.choise__item-main-title span {
    color: #77EFFF;
}
.choise__item-main-text {
    font-weight: 500;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: 4%;
    max-width: 353px;
    margin-bottom: 15px;
}
.choise__item-main-stuffs {
    max-width: 194px;
    margin-left: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.choise__item-main-stuff-link {
    display: flex;
    gap: 6px;
    align-items: center;
    width: 100%;
    padding: 13px;
    box-shadow: 0px 4px 4px 0px #00000040;
    border: 2px solid #8BD8D4;
    background-color: #4A90A4E8;
    color: #fff;
    border-radius: 9999px;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    line-height: 100%;
    justify-content: center;
}
.choise__item-main-stuff {
    font-weight: 500;
    font-size: 10px;
    line-height: 19px;
    letter-spacing: 4%;
    display: flex;
    align-items: start;
    gap: 10px;
}

.choise__item-top {
    display: flex;
    gap: 14px;
    align-items: center;
    position: relative;
    padding-bottom: 18px;
}
.choise__item-top .choise__item-title {
    font-weight: 600;
    font-size: 15px;
    line-height: 19px;
    letter-spacing: 4%;
    margin-bottom: 0px;
    padding-bottom: 0px;
}
.choise__item-top .choise__item-title:after {
    /* display: none; */
    position: absolute;
    bottom: 8px;
    left: 0;
}
/* --- Works --- */
.sp-works__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(280px, 0.5fr);
  gap: 2rem;
  align-items: stretch;
}

.sp-works__slider-wrap {
  position: relative;
}

.sp-works-swiper {
  border-radius: 1rem;
  overflow: hidden;
  background: #f1f3f5;
  min-height: 320px;
  position: relative;
}

.sp-works__badge {
  position: absolute;
  top: 16px;
  z-index: 5;
  pointer-events: none;
  padding: 6px 14px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  color: #212529;
  font-weight: 600;
  font-size: 13px;
  line-height: 1;
  text-transform: lowercase;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.sp-works__badge--before {
  left: 16px;
}

.sp-works__badge--after {
  right: 16px;
}

.sp-works-swiper img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  display: block;
}

.sp-works-swiper .swiper-button-prev,
.sp-works-swiper .swiper-button-next {
  color: var(--primary-color);
  
    background: #fff;
    border-radius: 50%;
    width: 40px;
    height: 40px;
}
.sp-works-swiper .swiper-button-next:after, .sp-works-swiper .swiper-button-prev:after {
    font-size: 16px;
    font-weight: 800;
}

.sp-works__card {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #F3F5F8;
  /* border: 1px solid #e3e8ec; */
  border-radius: 20px;
  padding: 11px 23px;
}
.sp-works__case-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 37px;
    letter-spacing: 4%;

}

.sp-works__meta li {
  margin-bottom: 0.35rem;
  color: #6c757d;
}

/* --- FAQ --- */
.sp-faq__title {
    position: relative;
    margin-bottom: 30px;
}
.sp-faq__title:before {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 3px;
    background-color: #1698C1;
}

.sp-faq__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 760px;
  margin: 0 auto;
}

.sp-faq-item {
  border: 1px solid #dee2e6;
  border-radius: 0.85rem;
  overflow: hidden;
  background: #fff;
}

.sp-faq-item__btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  border: 0;
  background: transparent;
  text-align: left;
  font-weight: 500;
  box-shadow: 0px 0px 29px 0px #00000040;
  border-radius: 10px;
}

.sp-faq-item__icon {
  flex-shrink: 0;
  color: #2c5f7a;
  transition: transform 0.25s ease;
}

.sp-faq-item__btn[aria-expanded="true"] .sp-faq-item__icon {
  transform: rotate(180deg);
}

.sp-faq-item__body {
  padding: 0 1.25rem 1rem;
  padding-top: 15px;
  color: #495057;
}

/* --- CTA --- */
.sp-cta {
 color: #fff;
  border-radius: 1rem;
  padding: 3rem 2rem;
  text-align: center;
}
.sp-cta .btn {
    font-weight: 500;
    font-size: 15px;
    line-height: 100%;
    display: flex;
    align-items: center;
    margin: 0px;
    padding: 8px 10px;
}
.sp-cta .btn-outline-light:hover {
    color: #fff;
    color: #fff;
    background: unset;
    border-color: unset;
}
.sp-cta__body {
    border-radius: 20px;
    background-image: url(/assets/images/redesign/ready.png);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 32px;
}
.sp-cta__container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.sp-cta__text {
    text-align: left;
}
.sp-cta__title {
    font-weight: 700;
    font-size: 24px;
    line-height: 100%;
    letter-spacing: 5%;
    color: #fff;
    margin-bottom: 9px;
}
.sp-cta__subtitle{
    font-weight: 500;
    font-size: 16px;
    line-height: 27px;
    letter-spacing: 5%;
    color: #fff;
    max-width: 440px;
}
.sp-cta__actions {
  display: flex;
  justify-content: center;
  gap: 20px;
}
.btn-outline-light {
    border: 2px solid #fff;
}

.modal-body-call {
    height: 300px;
    max-width: 700px;
    display: block;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.modal-body-call a {
    font-size: 31px;
    color: #000;
    text-decoration: none;
}

.widgets {
    position: fixed;
    right: 6px;
    z-index: 99;
    display: flex;
    flex-direction: column;
    gap: 26px;
    bottom: 15%;
}

.reviews-section .rounded-circle {
    height: 64px;
    object-fit: cover;
}

@media (max-width: 991px) {
  .service-page .btn-primary {
    /* margin-left: 0; */
  }

  .service-page section {
    padding: 32px 0;
  }

  /* Hero */
  .sp-hero {
    min-height: auto;
    color: inherit;
  }

  .sp-hero-swiper {
    position: relative;
    inset: auto;
  }

  .sp-hero-swiper .swiper-slide,
  .sp-hero-slide {
    min-height: auto;
  }

  .sp-hero-slide {
    display: flex;
    flex-direction: column;
    background-size: cover;
    background-position: center bottom;
  }

  .sp-hero-slide__content {
    max-width: none;
    padding: 24px 0 16px;
    background: #fff;
  }

  .sp-hero-slide__label {
    font-size: 11px;
    margin-bottom: 8px;
  }

  .sp-hero-slide__title {
    font-size: 28px;
    line-height: 1.15;
    margin-bottom: 12px;
  }

  .sp-hero-slide__text {
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
    margin-bottom: 16px;
  }

  .sp-hero-slide::after {
    content: "";
    display: block;
    height: 220px;
  }

  .sp-hero .swiper-pagination {
    bottom: 0.75rem !important;
  }

  .sp-hero__static {
    min-height: auto;
    padding: 0 0 8px;
    margin-top: -72px;
    gap: 16px;
    justify-content: flex-start;
  }

  .sp-hero__cards {
    position: static;
    width: 100%;
    order: 1;
    padding: 14px 16px;
    gap: 12px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }

  .sp-hero__actions {
    order: 2;
    flex-direction: column;
    gap: 12px;
    padding-bottom: 0;
    margin-bottom: 0;
    border-bottom: 0;
  }

  .sp-hero__actions .btn {
    /* width: 100%; */
    justify-content: center;
    /* margin-left: 0; */
  }

  .sp-hero__stats {
    order: 3;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 12px;
    align-items: start;
  }

  .sp-hero__stats li {
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.25;
  }

  .sp-hero__stats li svg {
    flex-shrink: 0;
    width: auto;
    max-height: 36px;
  }

  /* Includes */
  .sp-includes__title {
    font-size: 32px;
    letter-spacing: 0;
    line-height: 100%;
  }

  .sp-includes__subtitle {
    font-size: 20px;
    line-height: 100%;
    margin-bottom: 20px;
  }

  .sp-includes__grid {
    flex-direction: column;
    gap: 16px;
  }

  .sp-includes__media-img {
    aspect-ratio: 16 / 11;
    border-radius: 16px;
  }

  .sp-includes__overlay {
    left: 12px;
    right: 12px;
    bottom: 12px;
    padding: 14px;
    border-radius: 14px;
  }

  .sp-includes__overlay-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .sp-includes__overlay-item {
    gap: 12px;
  }

  .sp-includes__overlay-row .btn {
    width: 100%;
    justify-content: center;
  }

  .sp-includes__list {
    max-width: none;
    width: 100%;
    padding: 18px 14px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
  }

  .sp-include-item {
    gap: 10px;
  }

  .sp-include-item:not(:last-child) {
    padding-bottom: 16px;
    margin-bottom: 16px;
  }

  .sp-include-item img {
    width: 44px;
    height: 44px;
  }

  .sp-include-item__title {
    font-size: 15px;
  }

  .sp-include-item__text {
    font-size: 13px;
    line-height: 1.3;
  }

  /* Pricing */
  .sp-pricing__title {
    font-size: 24px;
    line-height: 1.2;
    margin-bottom: 16px;
  }

  .sp-pricing__grid {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 18px 14px;
    box-shadow: none;
  }

  .sp-pricing__left {
    gap: 14px;
  }

  .sp-pricing__text {
    font-size: 15px;
    line-height: 1.4;
  }

  .sp-pricing__factors {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 10px;
    justify-content: initial;
  }

  .sp-pricing__factors li {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    font-size: 13px;
    line-height: 1.25;
    box-shadow: -4px 5px 30px 0px #00000040;
    padding: 17px 10px;
    border-radius: 10px;
  }

  .sp-pricing__factors li img {
    width: 52px;
    height: 52px;
  }

  .sp-pricing__cta {
    max-width: none;
    padding: 6px;
    text-align: center;
    background: unset;
  }

  .sp-pricing__cta p {
    font-size: 14px;
    line-height: 1.4;
    margin-bottom: 12px;
  }

  .sp-pricing__cta .btn {
    width: 100%;
    justify-content: center;
    margin-left: 0;
  }

  /* Why choose / choise */
  .choise__items {
    flex-direction: column;
    gap: 12px;
  }

  .choise__item-main {
    max-width: none;
    padding: 20px 16px;
    background-size: cover;
    background-position: center;
  }

  .choise__item-main-title {
    font-size: 24px;
    line-height: 1.2;
  }

  .choise__item-main-text {
    max-width: none;
    font-size: 14px;
    line-height: 1.35;
    margin-bottom: 16px;
  }

  .choise__item-main-stuffs {
    max-width: 199px;
    /* margin-left: 0; */
    
  }

  .choise__item-main-stuff-link {
    width: 100%;
  }

  .choise__items-body {
    gap: 10px;
  }

  .choise__items-top,
  .choise__items-bottom {
    /* display: grid;
    grid-template-columns: 1fr 1fr; */
    gap: 10px;
  }

  .choise__item {
    padding: 12px 12px 14px;
  }

  .choise__item-img {
    margin-left: 0;
    width: 44px;
    height: 44px;
  }

  .choise__item-title {
    font-size: 14px;
    line-height: 1.25;
    row-gap: 10px;
    margin-bottom: 10px;
  }

  .choise__item-title::after {
    width: 24px;
    height: 4px;
  }

  .choise__item-text {
    font-size: 12px;
    line-height: 1.3;
  }

  .choise__item-top {
    gap: 10px;
    padding-bottom: 14px;
  }

  .choise__item-top .choise__item-title {
    font-size: 14px;
  }

  /* Works */
  .sp-works .sp-pricing__title {
    font-size: 24px;
    margin-bottom: 16px;
  }

  .sp-works__grid {
    display: flex;
    flex-direction: column;
    gap: 26px
  }

  .sp-works-swiper {
    min-height: 220px;
    border-radius: 16px;
  }

  .sp-works-swiper img {
    height: 220px;
  }

  .sp-works-swiper .swiper-button-prev,
  .sp-works-swiper .swiper-button-next {
    width: 36px;
    height: 36px;
  }

  .sp-works-swiper .swiper-button-prev::after,
  .sp-works-swiper .swiper-button-next::after {
    font-size: 14px;
  }

  .sp-works__card {
    padding: 16px;
    border-radius: 16px;
    box-shadow: -4px 5px 30px 0px #00000040;
  }

  .sp-works__card .btn {
    width: 100%;
    justify-content: center;
  }

  /* FAQ */
  .sp-faq__list {
    max-width: none;
    gap: 10px;
  }

  .sp-faq-item__btn {
    padding: 14px 16px;
    font-size: 14px;
    gap: 12px;
  }

  .sp-faq-item__body {
    padding: 0 16px 14px;
    font-size: 13px;
    line-height: 1.4;
  }

  /* CTA */
  .sp-cta {
    padding: 24px 0;
  }

  .sp-cta__body {
    padding: 33px 28px;
  }

  .sp-cta__container {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
  }

  .sp-cta__text {
    text-align: center;
  }

  .sp-cta__title {
    font-size: 22px;
  }

  .sp-cta__subtitle {
    font-size: 14px;
    line-height: 1.4;
  }

  .sp-cta__actions {
    flex-direction: column;
    gap: 12px;
  }

  .sp-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
  
  .sp-includes__media {
      max-width: 100%;
  }
}

@media (max-width: 575.98px) {
  .sp-hero-slide__title {
    font-size: 24px;
  }

  .sp-hero-slide::after {
    height: 190px;
  }

  .sp-hero__static {
    margin-top: -56px;
  }
  
  .sp-includes__overlay-item {
      border-bottom: 1px solid #49505736;
      padding-bottom: 18px;
      margin-bottom: 18px;
  }
  
  .btn-primary.btn-lg i, .btn-primary i {
      left: -10px;
  }

  .choise__items-top,
  .choise__items-bottom {
    /* grid-template-columns: 1fr 1fr; */
    flex-direction: column;
  }

  .sp-includes__overlay {
    position: static;
    margin-top: 12px;
    padding: 19px 26px;
    box-shadow: -4px 5px 30px 0px #00000040;
    background: #FFFFFFE8;
  }
  .sp-includes__list {
    box-shadow: -4px 5px 30px 0px #00000040;
    background: #FFFFFFE8;

  }
  .sp-pricing__cta .btn {
      max-width: 290px;
  }
  .sp-includes__list-title {
    display: block;
    font-weight: 600;
    font-size: 20px;
    line-height: 100%;
    letter-spacing: 4%;
    margin-bottom: 32px;
  }
  .sp-includes__overlay-row {
      display: flex;
      flex-direction: column;
  }
  .sp-includes__overlay-row .btn {
    font-size: 15px;
    max-width: 230px;
    padding: 16px 15px;
  }
  .sp-cta__text {
    text-align: left;
  }

  .sp-cta__actions {
    flex-direction: column;
    gap: 12px;
  }

  .sp-cta__actions .btn {
    width: 100%;
    justify-content: center;
  }
}



@media (max-width: 991px) {
  .sp-hero-slide {
    background-color: #fff;
    background-size: 0 0 !important;
  }

  .sp-hero-slide::after {
    content: "";
    display: block;
    width: 100%;
    height: 400px;
    background-image: inherit;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
  }

  .sp-hero-slide > .container {
    max-width: none;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
    margin: 0;
    background: #fff;
  }

  .sp-hero-slide__overlay {
    display: none;
  }

  .sp-hero-slide__content {
    max-width: none;
    width: 100%;
    padding: 20px 16px 18px;
    background: #fff;
  }

  .sp-hero-slide__label {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 9999px;
    background: rgba(19, 138, 154, 0.12);
    font-size: 10px;
    letter-spacing: 0.04em;
    margin-bottom: 12px;
  }

  .sp-hero-slide__title {
    font-size: 32px;
    line-height: 100%;
    margin-bottom: 23px;
  }

  .sp-hero-slide__text {
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    margin-bottom: 0;
  }

  .sp-hero-swiper .swiper-button-next,
  .sp-hero-swiper .swiper-button-prev,
  .sp-hero .swiper-pagination {
    /* display: none !important; */
    top: 63%;
  }
  .sp-hero .swiper-pagination {
    display: none !important;
  }

  .sp-hero__static {
    margin-top: -96px;
    padding: 0 0 24px;
    gap: 18px;
    z-index: 3;
  }

  .sp-hero__cards {
    position: relative;
    z-index: 4;
    width: calc(100% - 8px);
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 18px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.14);
    gap: 14px;
  }

  .sp-hero__cards li {
    gap: 12px;
  }

  .sp-hero__cards li span {
    font-size: 14px;
    color: #212529;
    margin-bottom: 2px;
  }

  .sp-hero__cards li div {
    font-size: 12px;
    color: #6c757d;
    font-weight: 500;
  }

  .sp-hero__actions {
    gap: 12px;
    width: 100%;
  }

  .sp-hero__actions .btn,
  .sp-hero__actions .btn-primary,
  .sp-hero__actions .custom-btn {
    width: 100%;
    margin-left: 0 !important;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 10px 18px 10px 12px !important;
    border-radius: 9999px !important;
    font-weight: 600;
    font-size: 15px;
    box-shadow: none !important;
    overflow: hidden;
  }

  .sp-hero__actions .btn-primary.btn-lg i,
  .sp-hero__actions .btn-primary i,
  .sp-hero__actions .btn i,
  .sp-hero__actions .btn .bi {
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    width: 34px !important;
    height: 34px !important;
    border-radius: 50%;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin: 0 !important;
    font-size: 15px !important;
    line-height: 1;
    box-shadow: none !important;
  }

  .sp-hero__actions .btn-primary {
    background: #138A9A !important;
    border: none !important;
    color: #fff !important;
  }

  .sp-hero__actions .btn-primary i,
  .sp-hero__actions .btn-primary .bi {
    background: rgba(255, 255, 255, 0.28) !important;
    color: #fff !important;
  }

  .sp-hero__actions .custom-btn {
    background: #fff !important;
    color: #138A9A !important;
    border: 2px solid #138A9A !important;
  }

  .sp-hero__actions .custom-btn i,
  .sp-hero__actions .custom-btn .bi {
    background: #138A9A !important;
    color: #fff !important;
  }

  .sp-hero__stats {
    gap: 16px 12px;
    padding: 0 15px;
  }

  .sp-hero__stats li {
    align-items: center;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.25;
  }
}

@media (max-width: 575.98px) {
  .sp-hero-slide::after {
    height: 310px;
  }

  .sp-hero__static {
    margin-top: -88px;
  }
  .sp-hero__actions {
    max-width: 295px;
    margin: 0 auto;
  }

  .sp-hero__cards {
    width: 100%;
    max-width: 272px;
  }
  
  .widgets {
      gap: 10px;
      bottom: 5%;
  }
}



@media (max-width: 991.98px) {
  .choise__items-body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    /* высота правой колонки: 194 + 10 + 164 + 10 + 194 */
    height: 572px;
    gap: 10px;
    align-content: center;
    justify-content: center;
  }

  .choise__items-top,
  .choise__items-bottom {
    display: contents;
  }

  .choise__items-body > .choise__items-top > .choise__item,
  .choise__items-body > .choise__items-bottom > .choise__item {
    width: calc(50% - 5px);
    max-width: none;
    box-sizing: border-box;
    overflow: hidden;
    padding: 10px 12px 12px;
    flex-shrink: 0;
  }

  /* заполнение сверху вниз: сначала левая колонка, потом правая */
  .choise__items-top > .choise__item:nth-child(1) {
    order: 1;
    height: 164px;
  } /* срок — L S */
  .choise__items-bottom > .choise__item:nth-child(2) {
    order: 2;
    height: 194px;
  } /* выезд — L L */
  .choise__items-bottom > .choise__item:nth-child(3) {
    order: 3;
    height: 164px;
  } /* стоимость — L S */
  .choise__items-top > .choise__item:nth-child(2) {
    order: 4;
    height: 194px;
  } /* договор — R L */
  .choise__items-top > .choise__item:nth-child(3) {
    order: 5;
    height: 164px;
  } /* сотрудники — R S */
  .choise__items-bottom > .choise__item:nth-child(1) {
    order: 6;
    height: 194px;
  } /* химия — R L */

  .choise__items-body .choise__item-img {
    width: 40px;
    height: 40px;
    margin-left: 0;
    margin-bottom: 4px;
  }

  .choise__items-body .choise__item-title {
    font-size: 13px;
    line-height: 1.2;
    row-gap: 8px;
    margin-bottom: 8px;
  }

  .choise__items-body .choise__item-title::after {
    width: 22px;
    height: 3px;
    display: none;
  }

  .choise__items-body .choise__item-text {
    font-size: 11px;
    line-height: 1.25;
  }

  .choise__items-body .choise__item-top {
    gap: 8px;
    padding-bottom: 10px;
    align-items: flex-start;
  }

  .choise__items-body .choise__item-top .choise__item-title {
    font-size: 13px;
    margin-bottom: 0;
  }

  .choise__items-body .choise__item-top .choise__item-img {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
  }
}

/*Редизайн услуг*/
