/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: #333333;
    background-color: #FFFFFF;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
}

h3 {
    font-size: clamp(1.5rem, 3vw, 2rem);
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 200px;
    text-align: center;
}

.btn--primary {
    background-color: #D90023;
    color: #FFFFFF;
}

.btn--primary:hover {
    background-color: #B8001F;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(217, 0, 35, 0.3);
}

.btn--secondary {
    background-color: transparent;
    color: #D90023;
    border: 2px solid #D90023;
}

.btn--secondary:hover {
    background-color: #D90023;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header--light {
    background-color: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.header--dark {
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header--light .header__logo {
    color: #333333;
}

.header--light .nav__link {
    color: #333333;
}

.header--light .nav__link:hover {
    color: #D90023;
}

.header--light .nav__link.active {
    color: #D90023;
}

.header--light .header__phone {
    color: #D90023;
}

.header--light .nav__toggle-line {
    background-color: #333333;
}

.header--dark .header__logo {
    color: #FFFFFF;
}

.header--dark .nav__link {
    color: #FFFFFF;
}

.header--dark .nav__link:hover {
    color: #D90023;
}

.header--dark .nav__link.active {
    color: #D90023;
}

.header--dark .header__phone {
    color: #D90023;
}

.header--dark .nav__toggle-line {
    background-color: #FFFFFF;
}

.nav__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Default header styles (light theme) */
.header__logo {
    color: #333333;
}

.nav__link {
    color: #333333;
}

.nav__link:hover {
    color: #D90023;
}

.nav__link.active {
    color: #D90023;
}

.header__phone {
    color: #D90023;
}

.nav__toggle-line {
    background-color: #333333;
}

.nav__logo-img {
    height: 40px;
    width: auto;
}

.nav__menu {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav__link {
    text-decoration: none;
    color: #333333;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav__link:hover,
.nav__link--active {
    color: #D90023;
}

.nav__link--active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #D90023;
}

.nav__phone {
    display: flex;
    align-items: center;
}

.nav__phone-link {
    color: #D90023;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: color 0.3s ease;
}

.nav__phone-link:hover {
    color: #B8001F;
}

.nav__toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav__toggle-line {
    width: 25px;
    height: 3px;
    background-color: #333333;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background-color: #000000;
}

.hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
    background-image: url('images/hero-car-wash-bg.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.hero__background.loaded {
    opacity: 1;
}

.hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.hero__container {
    position: relative;
    z-index: 3;
    max-width: 1200px;
    margin: 0 auto;
    padding: 120px 1rem 80px;
    text-align: center;
}

.hero__content {
    margin: 0 auto;
}

.hero__title {
    margin-bottom: 1.5rem;
    color: #FFFFFF;
    animation: fadeInUp 1s ease-out;
}

.hero__title-accent {
    color: #D90023;
}

.hero__subtitle {
    font-size: 1.3rem;
    color: #FFFFFF;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    animation: fadeInUp 1s ease-out 0.2s both;
    font-weight: 300;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero__buttons .btn {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.hero__buttons .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
}


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

/* Features Section */
.features {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.features__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.features__title {
    text-align: center;
    margin-bottom: 4rem;
    color: #333333;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    border-radius: 12px;
    transition: transform 0.3s ease;
}

.feature:hover {
    transform: translateY(-5px);
}

.feature__icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.feature__title {
    margin-bottom: 1rem;
    color: #333333;
}

.feature__description {
    color: #666666;
    font-size: 1rem;
}

/* Equipment Selector Section */
.equipment-selector {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.selector-form {
    max-width: 1200px;
    margin: 0 auto;
}

.selector-form__content {
    display: grid;
    grid-template-columns: 1fr 450px;
    gap: 2rem;
    align-items: start;
    min-height: 100vh; /* Обеспечиваем достаточную высоту для sticky */
}

.selector-form__left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.selector-form__right {
    position: sticky;
    top: calc(80px + 2rem); /* Высота хедера + отступ */
    height: calc(100vh - 4rem) !important; /* Полная высота экрана минус отступы */
    display: flex;
    flex-direction: column;
    align-self: flex-start; /* Важно для правильного sticky поведения */
}

.equipment-selector .section-title {
    max-width: 800px;
    margin: 0 0 1rem 0; /* Убрали auto, выравниваем по левому краю */
}

.equipment-selector .section-subtitle {
    max-width: 800px;
    margin: 0 0 3rem 0; /* Убрали auto, выравниваем по левому краю */
}

.selector-step {
    margin-bottom: 0.75rem; /* Уменьшили в два раза с 1.5rem до 0.75rem */
    padding: 2rem;
    background-color: #F8F9FA;
    border-radius: 12px;
    border: 1px solid #E9ECEF;
}

.selector-step h3 {
    color: #333333;
    margin-bottom: 1.5rem;
    font-size: 1.3rem;
    font-weight: 600;
}

.counter-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.counter-btn {
    width: 40px;
    height: 40px;
    border: 2px solid #D90023;
    background-color: #FFFFFF;
    color: #D90023;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
}

.counter-btn:hover {
    background-color: #D90023;
    color: #FFFFFF;
}

.counter-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: #333333;
    min-width: 60px;
    text-align: center;
}

.equipment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.equipment-option {
    position: relative;
}

.equipment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.equipment-option label {
    display: flex;
    flex-direction: column;
    padding: 1.5rem;
    background-color: #FFFFFF;
    border: 2px solid #E9ECEF;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.equipment-option label:hover {
    border-color: #D90023;
    box-shadow: 0 4px 12px rgba(217, 0, 35, 0.1);
}

.equipment-option input[type="radio"]:checked + label {
    border-color: #D90023;
    background-color: #FFF5F5;
    box-shadow: 0 4px 12px rgba(217, 0, 35, 0.15);
}

.option-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.option-name {
    font-size: 1.2rem;
    font-weight: 600;
    color: #333333;
}

.option-price {
    font-size: 1.1rem;
    font-weight: bold;
    color: #D90023;
}

.option-description {
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.4;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.option-details-btn {
    width: 100%;
    padding: 0.75rem;
    background-color: transparent;
    border: 1px solid #D90023;
    color: #D90023;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: auto;
}

.option-details-btn:hover {
    background-color: #D90023;
    color: #FFFFFF;
}

.addon-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.addon-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #FFFFFF;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.addon-option:hover {
    border-color: #D90023;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.1);
}

.addon-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.addon-option input[type="checkbox"]:checked + label {
    color: #D90023;
}

.addon-option input[type="checkbox"]:checked {
    background-color: #FFF5F5;
    border-color: #D90023;
}

.addon-option label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    cursor: pointer;
    margin: 0;
}

.addon-option label::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 3px solid #E9ECEF;
    border-radius: 4px;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.addon-name {
    font-weight: 400;
    color: #333333;
    margin-left: 0;
}

.addon-option input[type="checkbox"]:checked + label::before {
    background-color: #D90023;
    border: 3px solid #D90023;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z' stroke='white' stroke-width='1.5' fill='none'/%3e%3c/svg%3e");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}


/* Functions Selector */
.functions-selector {
    margin-top: 1rem;
}

.functions-dropdown {
    position: relative;
    margin-bottom: 1rem;
}

.functions-dropdown__toggle {
    width: 100%;
    padding: 1rem;
    background-color: #FFFFFF;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.functions-dropdown__toggle:hover {
    border-color: #D90023;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.1);
}

.functions-dropdown__toggle.active {
    border-color: #D90023;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.15);
}

.functions-dropdown__text {
    font-weight: 500;
    color: #333333;
}

.functions-dropdown__count {
    font-size: 0.9rem;
    color: #D90023;
    font-weight: 600;
}

.functions-dropdown__arrow {
    color: #666666;
    transition: transform 0.3s ease;
}

.functions-dropdown__toggle.active .functions-dropdown__arrow {
    transform: rotate(180deg);
}

.functions-dropdown__menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    border: 2px solid #D90023;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(217, 0, 35, 0.15);
    z-index: 1000;
    max-height: 400px;
    overflow: hidden;
    display: none;
}

.functions-dropdown__menu.active {
    display: block;
}

.functions-dropdown__search {
    padding: 1rem;
    border-bottom: 1px solid #E9ECEF;
}

.functions-dropdown__search input {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #E9ECEF;
    border-radius: 6px;
    font-size: 0.9rem;
    transition: border-color 0.3s ease;
}

.functions-dropdown__search input:focus {
    outline: none;
    border-color: #D90023;
    box-shadow: 0 0 0 3px rgba(217, 0, 35, 0.1);
}

.functions-dropdown__options {
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.function-option {
    display: flex;
    align-items: center;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: background-color 0.2s ease;
}

.function-option:hover {
    background-color: #FFF5F5;
}

.function-option input[type="checkbox"] {
    margin-right: 0.75rem;
    width: 16px;
    height: 16px;
    accent-color: #D90023;
}

.function-option label {
    cursor: pointer;
    font-size: 0.9rem;
    color: #333333;
    flex: 1;
}

.function-option input[type="checkbox"]:checked + label {
    font-weight: 500;
    color: #D90023;
}

.function-option.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.function-option.disabled:hover {
    background-color: transparent;
}

.functions-dropdown__footer {
    padding: 0.75rem 1rem;
    border-top: 1px solid #E9ECEF;
    background-color: #F8F9FA;
}

.functions-dropdown__limit {
    font-size: 0.8rem;
    color: #666666;
    font-weight: 500;
}

.functions-dropdown__limit.warning {
    color: #D90023;
    font-weight: 600;
}

.functions-info {
    background-color: #F8F9FA;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #E9ECEF;
}

.functions-note {
    margin: 0;
    font-size: 0.9rem;
    color: #666666;
    line-height: 1.5;
}

/* AVD Options */
.avd-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.avd-option {
    position: relative;
}

.avd-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.avd-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #FFFFFF;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avd-option label:hover {
    border-color: #D90023;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.1);
}

.avd-option input[type="radio"]:checked + label {
    border-color: #D90023;
    background-color: #FFF5F5;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.15);
}

.avd-name {
    font-weight: 500;
    color: #333333;
}

.avd-price {
    font-weight: 600;
    color: #D90023;
}

/* Hose Lengths */
.hose-lengths {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.hose-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.hose-input label {
    font-weight: 500;
    color: #333333;
    font-size: 0.9rem;
}

.hose-input input[type="number"] {
    padding: 0.75rem;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.hose-input input[type="number"]:focus {
    outline: none;
    border-color: #D90023;
    box-shadow: 0 0 0 3px rgba(217, 0, 35, 0.1);
}

.hose-price {
    font-size: 0.8rem;
    color: #666666;
}

/* Wiring Options */
.wiring-options {
    margin-top: 1rem;
}

.wiring-option {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem;
    background-color: #FFFFFF;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    margin-bottom: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.wiring-option:hover {
    border-color: #D90023;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.1);
}

.wiring-option input[type="checkbox"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.wiring-option input[type="checkbox"]:checked + label {
    color: #D90023;
}

.wiring-option input[type="checkbox"]:checked {
    background-color: #FFF5F5;
    border-color: #D90023;
}

.wiring-option label {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex: 1;
    cursor: pointer;
    margin: 0;
}

.wiring-option label::before {
    content: '';
    width: 18px;
    height: 18px;
    border: 3px solid #E9ECEF;
    border-radius: 4px;
    margin-right: 0.75rem;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.wiring-name {
    font-weight: 400;
    color: #333333;
    margin-left: 0;
}

.wiring-option input[type="checkbox"]:checked + label::before {
    background-color: #D90023;
    border: 3px solid #D90023;
    background-image: url("data:image/svg+xml,%3csvg viewBox='0 0 16 16' fill='white' xmlns='http://www.w3.org/2000/svg'%3e%3cpath d='m13.854 3.646-7.5 7.5a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6 10.293l7.146-7.147a.5.5 0 0 1 .708.708z' stroke='white' stroke-width='1.5' fill='none'/%3e%3c/svg%3e");
    background-size: 14px;
    background-position: center;
    background-repeat: no-repeat;
}


.wiring-price {
    font-weight: 600;
    color: #D90023;
}

.wiring-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.wiring-input label {
    font-weight: 500;
    color: #333333;
    font-size: 0.9rem;
}

.wiring-input input[type="number"] {
    padding: 0.75rem;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.wiring-input input[type="number"]:focus {
    outline: none;
    border-color: #D90023;
    box-shadow: 0 0 0 3px rgba(217, 0, 35, 0.1);
}

/* Sink input uses same styling as wiring input */
.sink-input {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.sink-input label {
    display: block !important;
    font-weight: 500;
    color: #333333;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.sink-input input[type="number"] {
    display: block !important;
    width: 100% !important;
    padding: 0.75rem;
    border: 1px solid #E9ECEF;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.sink-input input[type="number"]:focus {
    outline: none;
    border-color: #D90023;
    box-shadow: 0 0 0 3px rgba(217, 0, 35, 0.1);
}

/* Installation Options */
.installation-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.installation-option {
    flex: 1;
    position: relative;
}

.installation-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.installation-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #FFFFFF;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.installation-option label:hover {
    border-color: #D90023;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.1);
}

.installation-option input[type="radio"]:checked + label {
    border-color: #D90023;
    background-color: #FFF5F5;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.15);
}

.installation-name {
    font-weight: 500;
    color: #333333;
}

.installation-price {
    font-weight: 600;
    color: #D90023;
}

/* Sink Options */
.sink-options {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.sink-option {
    flex: 1;
    position: relative;
}

.sink-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.sink-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #FFFFFF;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    height: 100%;
}

.sink-option label:hover {
    border-color: #D90023;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.1);
}

.sink-option input[type="radio"]:checked + label {
    border-color: #D90023;
    background-color: #FFF5F5;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.15);
}

.sink-name {
    font-weight: 500;
    color: #333333;
}

.sink-price {
    font-weight: 600;
    color: #D90023;
}

.sink-quantity {
    margin-top: 1rem;
    padding: 1rem;
    background-color: #F8F9FA;
    border-radius: 8px;
    border: 1px solid #E9ECEF;
}

.sink-quantity label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 500;
    color: #333333;
}

.sink-quantity input {
    width: 100px;
    padding: 0.5rem;
    border: 1px solid #E9ECEF;
    border-radius: 4px;
    font-size: 1rem;
    text-align: center;
}

/* Traffic Lights Options */
.traffic-lights-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
}

.traffic-lights-option {
    position: relative;
}

.traffic-lights-option input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.traffic-lights-option label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background-color: #FFFFFF;
    border: 2px solid #E9ECEF;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.traffic-lights-option label:hover {
    border-color: #D90023;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.1);
}

.traffic-lights-option input[type="radio"]:checked + label {
    border-color: #D90023;
    background-color: #FFF5F5;
    box-shadow: 0 2px 8px rgba(217, 0, 35, 0.15);
}

.traffic-lights-name {
    font-weight: 500;
    color: #333333;
}

.traffic-lights-price {
    font-weight: 600;
    color: #D90023;
}

.addon-price {
    font-weight: 600;
    color: #D90023;
    margin-left: auto;
}

.price-summary {
    background-color: #F8F9FA;
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid #D90023;
    margin-top: 2rem;
}

.price-summary--sticky {
    margin-top: 0;
    background-color: #FFFFFF;
    border: 2px solid #D90023;
    box-shadow: 0 8px 32px rgba(217, 0, 35, 0.1);
}

.price-summary__header {
    margin-bottom: 1.5rem;
    text-align: center;
}

.price-summary__header h3 {
    color: #D90023;
    font-size: 1.4rem;
    font-weight: 700;
    margin: 0;
}

.price-breakdown {
    margin-bottom: 0;
    overflow-y: auto;
    flex: 1;
    max-height: calc(100vh - 500px); /* Ограничиваем высоту для прокрутки */
    /* Кастомный скролл-бар */
    scrollbar-width: thin;
    scrollbar-color: #D90023 #F5F5F5;
}

/* Стилизация скролл-бара для WebKit браузеров (Chrome, Safari, Edge) */
.price-breakdown::-webkit-scrollbar {
    width: 6px;
}

.price-breakdown::-webkit-scrollbar-track {
    background: #F5F5F5;
    border-radius: 3px;
}

.price-breakdown::-webkit-scrollbar-thumb {
    background: #D90023;
    border-radius: 3px;
    transition: background 0.3s ease;
}

.price-breakdown::-webkit-scrollbar-thumb:hover {
    background: #B8001F;
}

.price-summary-footer {
    flex-shrink: 0;
    border-top: 1px solid #E9ECEF;
    padding-top: 1rem;
}

.price-item {
    padding: 0.75rem 0;
    border-bottom: 1px solid #E9ECEF;
}

.price-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-right: 10px; /* Отступ для скролл-бара */
}

.calculation-text {
    font-size: 0.85rem;
    color: #666;
    margin-top: 0.25rem;
    font-style: italic;
    padding-right: 10px; /* Отступ для скролл-бара */
}

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

.price-item.total {
    font-size: 1.2rem;
    font-weight: bold;
    color: #333333;
    padding-top: 1rem;
    border-top: 2px solid #D90023;
    margin-top: 1rem;
    margin-bottom: 0;
}

.price-item.total .price-item-header span:last-child {
    color: #D90023;
    font-size: 1.5rem;
}

.price-with-calculation {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.calculation-text {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.selector-actions {
    display: flex;
    justify-content: center;
    flex-direction: column;
}

.selector-actions .btn {
    width: 100%;
    max-width: 400px;
    font-size: 1.1rem;
    padding: 1rem 2rem;
}

.price-disclaimer {
    font-size: 0.75rem;
    color: #666;
    text-align: center;
    margin-top: 0.5rem;
    line-height: 1.3;
    font-style: italic;
}

/* Company History Section */
.company-history {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.company-history__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.company-history__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.company-history__text-content {
    text-align: left;
}

.company-history__image {
    text-align: center;
    position: relative;
}

.company-history__img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.company-history__title {
    color: #333333;
    margin-bottom: 2rem;
}

.company-history__text {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 3rem;
}

.company-history__stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
    text-align: center;
}

.company-history__stat {
    text-align: center;
}

.company-history__stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: bold;
    color: #D90023;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.company-history__stat-text {
    display: block;
    font-size: 1rem;
    color: #666666;
}

.company-history__btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) !important;
    bottom: -25px;
    z-index: 10;
    background-color: #FFFFFF !important;
    color: #D90023 !important;
    border: 2px solid #D90023 !important;
    min-width: 280px;
    white-space: nowrap;
    transition: all 0.3s ease !important;
}

.company-history__btn:hover {
    background-color: #D90023 !important;
    color: #FFFFFF !important;
    transform: translateX(-50%) translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(217, 0, 35, 0.3) !important;
}

/* PAK Preview Section */
.pak-preview {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.pak-preview__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-bottom: 2rem;
}

.pak-preview__title {
    color: #333333;
    margin-bottom: 1rem;
}

.pak-preview__subtitle {
    font-size: 1.2rem;
    color: #666666;
    margin-bottom: 2rem;
}

.pak-preview__features {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
}

.pak-preview__feature {
    text-align: center;
}

.pak-preview__feature-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #D90023;
    line-height: 1;
}

.pak-preview__feature-text {
    display: block;
    font-size: 0.9rem;
    color: #666666;
    margin-top: 0.5rem;
}

.pak-preview__status {
    background: linear-gradient(135deg, #FFF3CD 0%, #FFEAA7 100%);
    border: 2px solid #FFC107;
    border-radius: 8px;
    padding: 1rem 2rem;
    margin: 2rem 0;
    text-align: center;
}

.pak-preview__status-text {
    font-size: 1.2rem;
    font-weight: bold;
    color: #856404;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.pak-preview__image {
    position: relative;
}

.pak-preview__img {
    width: 90%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    object-fit: cover;
    object-position: center 15%;
}

.pak-preview__btn {
    position: absolute;
    left: 50%;
    transform: translateX(-50%) !important;
    bottom: -25px;
    z-index: 10;
    min-width: 280px;
    white-space: nowrap;
    transition: all 0.3s ease !important;
}

.pak-preview__btn:hover {
    transform: translateX(-50%) translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(217, 0, 35, 0.3) !important;
}

/* CTA Section */
.cta {
    padding: 80px 0;
    background: linear-gradient(135deg, #D90023 0%, #B8001F 100%);
    color: #FFFFFF;
    text-align: center;
}

.cta__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.cta__title {
    color: #FFFFFF;
    margin-bottom: 1rem;
}

.cta__subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta__buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta .btn--primary {
    background-color: #FFFFFF;
    color: #D90023;
}

.cta .btn--primary:hover {
    background-color: #F5F5F5;
    transform: translateY(-2px);
}

.cta .btn--secondary {
    background-color: transparent;
    color: #FFFFFF;
    border-color: #FFFFFF;
}

.cta .btn--secondary:hover {
    background-color: #FFFFFF;
    color: #D90023;
}

/* Footer */
.footer {
    background-color: #333333;
    color: #FFFFFF;
    padding: 60px 0 20px;
}

/* Contacts Section */
.contacts {
    padding: 120px 0 80px; /* Добавляем отступ сверху на высоту хедера */
    background: #f8f9fa;
}

.contacts__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contacts__header {
    text-align: center;
    margin-bottom: 4rem;
}

.contacts__title {
    font-size: 3rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 1rem 0;
}

.contacts__subtitle {
    font-size: 1.25rem;
    color: #666;
    margin: 0;
    max-width: 600px;
    margin: 0 auto;
}

.contacts__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: stretch; /* Равная высота колонок */
}

.contacts__left-column {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Отступ между контактами и реквизитами */
}

.contacts__right-column {
    display: flex;
    flex-direction: column;
    gap: 2rem; /* Отступ между картой и формой */
}

.contacts__info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contacts__info-item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.contacts__info-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.contacts__info-link {
    font-size: 1.125rem;
    color: #007bff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.contacts__info-link:hover {
    color: #0056b3;
}

.contacts__info-text {
    font-size: 1.125rem;
    color: #666;
    margin: 0;
}

.contacts__map {
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    flex: 1; /* Карта занимает половину высоты правой колонки */
}

.contacts__map-container {
    width: 100%;
    height: 100%; /* Карта будет занимать всю высоту контейнера */
}

/* Company Info Cards */
.company-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.company-info__item {
    background: #fff;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.company-info__title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.company-info__text {
    font-size: 1.125rem;
    color: #666;
    margin: 0;
}

/* Consultation Form Card */
.consultation-form-card {
    background: #fff;
    padding: 2rem 2rem 0 2rem; /* Убираем отступ снизу */
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start; /* Выравниваем контент по верху */
}

.consultation-form-card__header {
    margin-bottom: 2rem;
}

.consultation-form-card__title {
    font-size: 2rem;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0 0 0.5rem 0;
}

.consultation-form-card__subtitle {
    font-size: 1rem;
    color: #666;
    margin: 0;
}

.consultation-form-card__fields {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-bottom: 2rem; /* Добавляем отступ только снизу для полей */
}

.consultation-form-card__field {
    display: flex;
    flex-direction: column;
}

.consultation-form-card__field input {
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.consultation-form-card__field input:focus {
    outline: none;
    border-color: #007bff;
}

.consultation-form-card__field input::placeholder {
    color: #999;
}

/* Responsive */
@media (max-width: 768px) {
    .contacts__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .contacts__left-column,
    .contacts__right-column {
        gap: 1.5rem;
    }
    
    .contacts__title {
        font-size: 2rem;
    }
    
    .contacts__subtitle {
        font-size: 1rem;
    }
    
    .consultation-form-card__title {
        font-size: 1.5rem;
    }
    
    .consultation-form-card__subtitle {
        font-size: 0.9rem;
    }
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.footer__content {
    margin-bottom: 2rem;
}

.footer__header {
    text-align: center;
    margin-bottom: 3rem;
}

.footer__title {
    color: #FFFFFF;
    font-size: 2rem;
    margin: 0;
}

.footer__info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.footer__contact {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer__contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer__contact-label {
    color: #CCCCCC;
    font-size: 0.9rem;
}

.footer__contact-link {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.footer__contact-link:hover {
    color: #D90023;
}

.footer__contact-text {
    color: #FFFFFF;
    font-size: 1.1rem;
}

.footer__form {
    background-color: #444444;
    padding: 2rem;
    border-radius: 12px;
}

.footer__form-element {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer__form-field input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #666666;
    border-radius: 8px;
    background-color: #555555;
    color: #FFFFFF;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.footer__form-field input::placeholder {
    color: #CCCCCC;
}

.footer__form-field input:focus {
    outline: none;
    border-color: #D90023;
}

.footer__bottom {
    border-top: 1px solid #555555;
    padding-top: 2rem;
    text-align: center;
}

.footer__copyright {
    color: #CCCCCC;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .company-history__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .company-history__text-content {
        text-align: center;
    }
    
    .nav__menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: flex-start;
        padding: 2rem;
        transition: left 0.3s ease, background-color 0.3s ease;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    }

    .nav__menu.active {
        left: 0;
    }

    /* Dark theme for mobile menu */
    .header--dark .nav__menu {
        background-color: rgba(0, 0, 0, 0.8);
        backdrop-filter: blur(10px);
        border-top: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav__toggle {
        display: flex;
    }

    .nav__toggle.active .nav__toggle-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .nav__toggle.active .nav__toggle-line:nth-child(2) {
        opacity: 0;
    }

    .nav__toggle.active .nav__toggle-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero__container {
        padding: 100px 1rem 60px;
        text-align: left;
    }

    .hero__content {
        text-align: left;
    }

    .hero__title {
        font-size: 2.5rem;
        text-align: left;
    }

    .hero__subtitle {
        font-size: 1.1rem;
        text-align: left;
        margin-left: 0;
        margin-right: 0;
    }

    .hero__buttons {
        justify-content: flex-start;
    }

    .pak-preview__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .pak-preview__features {
        justify-content: center;
    }

    .footer__info {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .hero__buttons {
        flex-direction: column;
        align-items: flex-start;
    }

    .btn {
        width: 100%;
        max-width: 300px;
    }

    .cta__buttons {
        flex-direction: column;
        align-items: center;
    }

    .pak-preview__features {
        flex-direction: column;
        gap: 1rem;
    }
}

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

.hero__content,
.hero__image,
.feature {
    animation: fadeInUp 0.8s ease-out;
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.btn:focus,
.nav__link:focus {
    outline: 2px solid #D90023;
    outline-offset: 2px;
}

/* Loading states */
.btn:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

/* Image optimization */
img {
    max-width: 100%;
    height: auto;
}

/* Page Header */
.page-header {
    padding: 120px 0 60px;
    background: linear-gradient(135deg, #F5F5F5 0%, #FFFFFF 100%);
    text-align: center;
}

.page-header__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.page-header__title {
    color: #333333;
    margin-bottom: 1rem;
}

.page-header__subtitle {
    font-size: 1.2rem;
    color: #666666;
}

/* History Main */
.history-main {
    background-color: #FFFFFF;
}

/* Hero Stats */
.hero-stats {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.hero-stats__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-stats__title {
    color: #D90023;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.hero-stats__description {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
}

.hero-stats__img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Key Advantage */
.key-advantage {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.key-advantage__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.key-advantage__title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333333;
}

.key-advantage__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.key-advantage__text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
}

.key-advantage__img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Business Model */
.business-model {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.business-model__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
    text-align: center;
}

.business-model__title {
    margin-bottom: 2rem;
    color: #333333;
}

.business-model__content p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

/* Our Washes */
.our-washes {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.our-washes__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.our-washes__title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333333;
}

.our-washes__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.our-washes__img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.our-washes__text p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.our-washes__list {
    list-style: none;
    margin: 1.5rem 0;
}

.our-washes__list li {
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    color: #666666;
}

.our-washes__status {
    font-weight: 600;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.our-washes__status--active {
    background-color: #4CAF50;
    color: #FFFFFF;
}

.our-washes__status--opening {
    background-color: #FFC107;
    color: #333333;
}

.our-washes__status--negotiation {
    background-color: #F44336;
    color: #FFFFFF;
}

/* Car Wash List */
.car-wash-list {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.car-wash-list__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.car-wash-list__title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333333;
    font-size: 1.5rem;
}

.car-wash-list__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.car-wash-item {
    background-color: #F5F5F5;
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
}

.car-wash-item:hover {
    transform: translateY(-5px);
}

.car-wash-item__name {
    color: #333333;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.car-wash-item__period {
    color: #666666;
    font-size: 1rem;
}

/* First Success Section */
.first-success {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.first-success__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.first-success__title {
    color: #333333;
    margin-bottom: 3rem;
    text-align: center;
}

.first-success__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.first-success__text {
    padding: 1rem;
}

.first-success__text p {
    color: #666666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.first-success__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.first-success__image {
    text-align: center;
}

.first-success__img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

/* Moscow City Success Section */
.moscow-city-success {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.moscow-city-success__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.moscow-city-success__title {
    color: #333333;
    margin-bottom: 3rem;
    text-align: center;
}

.moscow-city-success__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.moscow-city-success__text {
    padding: 1rem;
}

.moscow-city-success__text p {
    color: #666666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.moscow-city-success__images {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.moscow-city-success__image:first-child {
    grid-column: 1 / -1;
}

.moscow-city-success__image {
    text-align: center;
}

.moscow-city-success__img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}


/* Additional Services */
.additional-services {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.additional-services__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.additional-services__title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333333;
}

.additional-services__content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.additional-services__text p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
}

.additional-services__images {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.additional-services__img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.additional-services__img:first-child {
    grid-column: 1 / -1;
}

/* Experience */
.experience {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.experience__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.experience__title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333333;
}

.experience__content p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.experience__list {
    list-style: none;
    padding: 0;
}

.experience__list li {
    position: relative;
    padding-left: 2rem;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
}

.experience__list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0;
    color: #D90023;
    font-weight: bold;
    font-size: 1.2rem;
}

/* Transition */
.transition {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.transition__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.transition__title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333333;
}

.transition__content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: center;
}

.transition__text {
    max-width: 800px;
    text-align: left;
}

.transition__text p {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.transition__text--top {
    margin-bottom: 1rem;
}

.transition__text--bottom {
    margin-top: 1rem;
}

.transition__options {
    margin: 1.5rem 0;
    padding-left: 2rem;
}

.transition__options li {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 1rem;
}

.transition__image {
    display: flex;
    justify-content: center;
    margin: 2rem 0;
}

.transition__img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Development Notice */
.development-notice {
    padding: 40px 0;
    background: linear-gradient(135deg, #FFF3CD 0%, #FFEAA7 100%);
    border-bottom: 3px solid #FFC107;
}

.development-notice__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.development-notice__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.development-notice__icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.development-notice__title {
    color: #856404;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.development-notice__description {
    color: #856404;
    font-size: 1.1rem;
    line-height: 1.6;
}

/* PAK Main */
.pak-main {
    background-color: #FFFFFF;
}

/* PAK Hero */
.pak-hero {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.pak-hero__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.pak-hero__title {
    color: #333333;
    margin-bottom: 1.5rem;
    font-size: 2.5rem;
}

.pak-hero__description {
    font-size: 1.1rem;
    color: #666666;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.pak-hero__stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.pak-hero__stat {
    text-align: center;
}

.pak-hero__stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: #D90023;
    line-height: 1;
}

.pak-hero__stat-text {
    display: block;
    font-size: 0.9rem;
    color: #666666;
    margin-top: 0.5rem;
}

.pak-hero__img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* Modules */
.modules {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.modules__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.modules__title {
    text-align: center;
    margin-bottom: 4rem;
    color: #333333;
}

.modules__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
}

.module {
    background-color: #F5F5F5;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #E0E0E0;
}

.module:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
}

.module__image {
    height: 200px;
    overflow: hidden;
    display: none; /* Временно скрыть контейнер изображения */
}

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

/* Временно скрыть изображения модулей */
.module__img {
    display: none;
}

.module:hover .module__img {
    transform: scale(1.05);
}

.module__content {
    padding: 2rem;
}

.module__title {
    color: #333333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
    line-height: 1.3;
}

.module__description {
    color: #666666;
    line-height: 1.6;
    font-size: 1rem;
}

/* Responsive Design for History Page */
@media (max-width: 768px) {
    .hero-stats__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .key-advantage__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .our-washes__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .additional-services__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .transition__content {
        gap: 1.5rem;
    }
    
    .transition__text {
        max-width: 100%;
    }
    
    .first-success__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .first-success__images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .moscow-city-success__content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .moscow-city-success__images {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .moscow-city-success__image:first-child {
        grid-column: 1;
    }
    
    .additional-services__images {
        grid-template-columns: 1fr;
    }
    
    .car-wash-list__grid {
        grid-template-columns: 1fr;
    }
}

/* Contact Info */
.contact-info {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.contact-info__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-info__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.contact-card {
    background-color: #FFFFFF;
    padding: 3rem 2rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card__icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.contact-card__title {
    color: #333333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-card__description {
    color: #666666;
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.contact-card__link {
    color: #D90023;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.contact-card__link:hover {
    color: #B8001F;
}

/* Contact Form Section */
.contact-form-section {
    padding: 80px 0;
    background-color: #FFFFFF;
}

.contact-form-section__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1rem;
}

.contact-form-section__content {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-form-section__title {
    color: #333333;
    margin-bottom: 1rem;
}

.contact-form-section__description {
    color: #666666;
    font-size: 1.1rem;
    line-height: 1.6;
}

.contact-form {
    background-color: #F5F5F5;
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.contact-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-form__field {
    margin-bottom: 1.5rem;
}

.contact-form__label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333333;
    font-weight: 500;
}

.contact-form__input,
.contact-form__textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.contact-form__input:focus,
.contact-form__textarea:focus {
    outline: none;
    border-color: #D90023;
}

.contact-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form__submit {
    width: 100%;
    margin-top: 1rem;
}

/* Map Section */
.map-section {
    padding: 80px 0;
    background-color: #F5F5F5;
}

.map-section__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

.map-section__title {
    text-align: center;
    margin-bottom: 3rem;
    color: #333333;
}

.map-section__map {
    height: 400px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder {
    height: 100%;
    background-color: #E0E0E0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666666;
    font-size: 1.1rem;
}

.map-placeholder p {
    margin: 0.5rem 0;
}

/* Responsive Design for PAK Page */
@media (max-width: 768px) {
    .pak-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .pak-hero__stats {
        justify-content: center;
    }
    
    .modules__grid {
        grid-template-columns: 1fr;
    }
    
    .development-notice__title {
        font-size: 1.2rem;
    }
    
    .development-notice__description {
        font-size: 1rem;
    }
}

/* Modal Styles */
.modal__overlay {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.modal__content {
    background-color: #FFFFFF;
    border-radius: 12px;
    max-width: 500px;
    width: 100%;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease-out;
}

.modal__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2rem 2rem 1rem;
    border-bottom: 1px solid #E0E0E0;
    background-color: #FFFFFF;
    position: sticky;
    top: 0;
    z-index: 10;
    border-radius: 12px 12px 0 0;
}

.modal__header h3 {
    margin: 0;
    color: #333333;
}

.modal__close {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: #666666;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal__close:hover {
    color: #D90023;
}

.modal__form {
    padding: 2rem;
}

.modal__field {
    margin-bottom: 1.5rem;
}

.modal__field label {
    display: block;
    margin-bottom: 0.5rem;
    color: #333333;
    font-weight: 500;
}

.modal__field input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #E0E0E0;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    transition: border-color 0.3s ease;
}

.modal__field input:focus {
    outline: none;
    border-color: #D90023;
}

.modal__content--wide {
    max-width: 700px;
    width: 90%;
    margin: 1rem;
    display: flex;
    flex-direction: column;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal__body {
    padding: 1.5rem 2rem;
    overflow-y: auto;
    flex: 1;
}

.modal__header-left {
    flex-grow: 1;
}

.modal__price {
    color: #D90023;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0.5rem 0 0 0;
}

.modal__body h4 {
    color: #333333;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
}

.equipment-list {
    list-style: none;
    padding: 1rem;
    margin: 0;
    background-color: #F8F9FA;
    border-radius: 8px;
}

.equipment-list li {
    padding: 0.5rem 0;
    border-bottom: 1px solid #E9ECEF;
    color: #333333;
    line-height: 1.5;
    font-size: 0.9rem;
}

.equipment-list li:last-child {
    border-bottom: none;
}

.equipment-list li:before {
    content: "✓";
    color: #D90023;
    font-weight: bold;
    margin-right: 0.75rem;
    font-size: 1rem;
}

.equipment-list li.sub-item {
    padding-left: 2rem;
    font-size: 0.85rem;
    color: #666666;
}

.equipment-list li.sub-item:before {
    content: "•";
    color: #999999;
    font-size: 0.8rem;
}

/* Responsive Design for Equipment Selector */
@media (max-width: 1024px) {
    .selector-form__content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .selector-form__right {
        position: static;
        order: -1;
    }
    
    .price-summary--sticky {
        margin-bottom: 2rem;
    }
    
    /* Mobile sticky panel at bottom */
    .selector-form__right {
        position: static;
        order: 1;
    }
    
    .price-summary--sticky {
        margin-bottom: 2rem;
    }
    
    /* Mobile floating price panel - hidden on desktop */
.mobile-price-panel {
    display: none !important; /* Скрываем на десктопе по умолчанию */
}

@media (max-width: 768px) {
    /* Mobile floating price panel */
    .mobile-price-panel {
        display: block !important; /* Показываем на мобильных */
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        z-index: 100;
        background: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        padding-bottom: 1.5rem;
        transform: translateY(100vh);
        transition: transform 0.3s ease;
    }
    
    .mobile-price-panel.visible {
        transform: translateY(0);
    }
    
    .mobile-price-panel.embedded {
        position: static;
        transform: none;
        box-shadow: none;
        border: none;
        background: transparent;
        padding: 0;
    }
    
    .mobile-price-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        gap: 1rem;
    }
    
    .mobile-price-info {
        flex: 1;
    }
    
    .mobile-price-total {
        font-size: 1.5rem;
        font-weight: 700;
        color: #D90023;
        margin-bottom: 0.25rem;
    }
    
    .mobile-price-posts {
        font-size: 0.9rem;
        color: #666;
    }
    
    .mobile-price-button {
        background: #D90023;
        color: white;
        border: none;
        padding: 0.75rem 1.5rem;
        border-radius: 8px;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.2s;
        white-space: nowrap;
    }
    
    .mobile-price-button:hover {
        background: #B8001F;
    }
}

@media (max-width: 768px) {
    .equipment-options {
        grid-template-columns: 1fr;
    }
    
    .functions-dropdown__menu {
        max-height: 300px;
    }
    
    .avd-options {
        grid-template-columns: 1fr;
    }
    
    .hose-lengths {
        grid-template-columns: 1fr;
    }
    
    .installation-options {
        flex-direction: column;
    }
    
    .sink-options {
        flex-direction: column;
    }
    
    .selector-actions {
        flex-direction: column;
    }
    
    .selector-actions .btn {
        max-width: none;
    }
    
    .selector-step {
        padding: 1.5rem;
    }
    
    .price-summary {
        padding: 1.5rem;
    }
    
    .selector-form__content {
        gap: 1rem;
    }
    
    .modal__content--wide {
        max-height: 90vh;
        overflow-y: auto;
    }
    
    .modal__price {
        margin: 0.5rem 0 0 0;
        font-size: 1.1rem;
    }
    
    .modal__body {
        padding: 1rem;
    }
    
    .equipment-list {
        padding: 0.75rem;
    }
    
    .equipment-list li {
        padding: 0.4rem 0;
        font-size: 0.85rem;
    }
}

/* Responsive Design for Contacts Page */
@media (max-width: 768px) {
    .contact-info__grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form__row {
        grid-template-columns: 1fr;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .map-section__map {
        height: 300px;
    }
}

/* Print styles */
@media print {
    .header,
    .footer,
    .cta {
        display: none;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
}
