

/* Start:/local/components/custom/contacts.page/templates/.default/style.css?17649296225650*/
.contacts-header { font-size: 16px; }
.contacts-title { font-size: 48px; font-weight: 700; margin: 0 0 16px 0; line-height: 1.2; }
.contacts-description { font-size: 18px; margin: 0 0 40px 0; opacity: 0.95; line-height: 1.6; }

.contacts-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
    border-top: 1px solid #e0e0e0;
    margin: 20px 0;
    padding-top: 30px;
}

.contact-content { flex: 1; }
.contact-label { font-size: 14px; opacity: .85; margin-bottom: 4px; font-weight: 500; }
a.contact-value {
    font-size: 18px;
    text-decoration: none;
    font-weight: 500;
}

/* --- Social & Messengers Section --- */
.social-connect-block {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    padding: 30px 0 20px;
    border-top: 1px solid #e0e0e0;
}

.social-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.social-label {
    font-size: 14px;
    opacity: .85;
    font-weight: 500;
}

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

.social-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background-color: #f5f5f5;
    color: #333;
    transition: all 0.3s ease;
}

.social-btn svg {
    width: 20px;
    height: 20px;
}

.social-btn:hover {
    color: #fff;
    transform: translateY(-2px);
}

.social-btn.vk:hover { background-color: #0077FF; }
.social-btn.tg:hover { background-color: #24A1DE; }
.social-btn.yt:hover { background-color: #FF0000; }
.social-btn.x:hover { background-color: #000000; }

.messenger-links {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.messenger-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background-color: #f5f5f5;
    border-radius: 8px;
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 15px;
    transition: all 0.3s ease;
}

.messenger-btn svg {
    width: 20px;
    height: 20px;
}

.messenger-btn:hover {
    transform: translateY(-2px);
}

.messenger-btn.wa:hover {
    background-color: #25D366;
    color: #fff;
}

.messenger-btn.tg:hover {
    background-color: #24A1DE;
    color: #fff;
}

/* --- Map & Showrooms --- */

.contacts-map-section { height: 500px; position: relative; overflow: hidden; }
.yandex-map { width: 100%; height: 100%; }

.yandex-map .ymaps-2-1-79-tiles-pane { filter: grayscale(1) contrast(1.05); }
.yandex-map .ymaps-2-1-79-overlay-pane,
.yandex-map .ymaps-2-1-79-controls-pane,
.yandex-map .ymaps-2-1-79-events-pane { filter: none !important; }

.map-balloon { max-width: 320px; }
.map-balloon__title { margin: 0 0 8px 0; font-weight: 600; font-size: 15px; }
.map-balloon__text { margin: 0 0 10px 0; font-size: 14px; line-height: 1.5; }
.map-balloon__addr { margin: 0 0 12px 0; font-size: 13px; color: #666; }
.route-btn {
    display: inline-block; padding: 10px 14px; border-radius: 8px;
    background: #a18c17; color: #fff; text-decoration: none; font-weight: 600;
    font-size: 14px; line-height: 1; transition: opacity .2s ease;
}
.route-btn:hover { opacity: .9; }

.showrooms-section { padding: 80px 0; }
.showrooms-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 32px; }

.showroom-card {
    background: #fff; border-radius: 20px; overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.08); transition: all .3s ease;
}
.showroom-header { padding: 24px; }
.showroom-name { font-size: 18px; font-weight: 500; }

.showroom-address { display: flex; align-items: flex-start; gap: 8px; font-size: 15px; color: #666; line-height: 1.3; height: 2em; }
.showroom-address svg { flex-shrink: 0; margin-top: 2px; color: #a18c17; }

.showroom-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: #f0f0f0; }
.gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; cursor: pointer; display: block; }
.gallery-item.main { grid-column: 1 / -1; aspect-ratio: 16 / 9; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.gallery-item:hover img { transform: scale(1.05); }
.gallery-counter {
    position: absolute; top: 12px; right: 12px; background: rgba(0,0,0,.7);
    backdrop-filter: blur(10px); color: #fff; padding: 8px 14px; border-radius: 8px;
    font-size: 14px; font-weight: 600; display: flex; align-items: center; gap: 6px;
}

@media (max-width: 1024px){
    .contacts-title{ font-size: 40px; }
    .showrooms-grid{ grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
    .contacts-map-section{ height: 400px; }
}
@media (max-width: 768px){
    .contacts-title{ font-size: 32px; }
    .contacts-description{ font-size: 16px; }
    .contacts-info-grid{ grid-template-columns: 1fr; gap: 16px; padding-top: 20px; }
    .contact-value{ font-size: 18px; }
    .showrooms-section{ padding: 60px 0; }
    .showrooms-grid{ grid-template-columns: 1fr; gap: 20px; }
    .showroom-header{ padding: 20px; }
    .showroom-name{ font-size: 20px; }
    .showroom-address{ font-size: 14px; }
    .contacts-map-section{ height: 350px; }
    .container{ padding: 0 16px; }

    .social-connect-block { gap: 24px; }
    .messenger-btn { width: 100%; justify-content: center; }
}
@media (max-width: 480px){
    .contacts-title{ font-size: 28px; }
    .showroom-gallery{ grid-template-columns: repeat(2, 1fr); }
    .gallery-item.main{ grid-column: 1 / -1; }
    .contacts-map-section{ height: 300px; }
}

.lg-backdrop{ background-color: rgba(0,0,0,.95); }
.lg-outer .lg-thumb-outer{ background-color: rgba(0,0,0,.85); }
/* End */


/* Start:/local/components/custom/universal.form/templates/contact/style.css?17641785355469*/

.universal-form--contact {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
}

.universal-form__title {
    font-size: 32px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0 0 16px;
    color: #1a1a1a;
}

.universal-form__description {
    font-size: 16px;
    line-height: 1.5;
    margin: 0 0 32px;
    color: #666;
}

.universal-form__fields {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 24px;
}

.universal-form__field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.universal-form__field.has-error .universal-form__input,
.universal-form__field.has-error .universal-form__textarea {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

.universal-form__label {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    display: flex;
    align-items: center;
    gap: 4px;
}

.universal-form__required {
    color: #e74c3c;
    font-size: 14px;
}

.universal-form__input,
.universal-form__textarea {
    width: 100%;
    padding: 12px 16px;
    font-size: 16px;
    font-family: inherit;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s ease;
    outline: none;
}

.universal-form__input:focus,
.universal-form__textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.1);
}

.universal-form__input::placeholder,
.universal-form__textarea::placeholder {
    color: #999;
}

.universal-form__input.error,
.universal-form__textarea.error {
    border-color: #e74c3c;
    background-color: #fff5f5;
}

.universal-form__textarea {
    resize: vertical;
    min-height: 120px;
}

.universal-form__error {
    font-size: 13px;
    color: #e74c3c;
    min-height: 18px;
    display: block;
    margin-top: 4px;
}

.universal-form__agreement {
    margin-bottom: 24px;
}

.universal-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.universal-form__checkbox input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin: 2px 0 0 0;
    cursor: pointer;
    flex-shrink: 0;
}

.universal-form__checkbox-text {
    font-size: 14px;
    line-height: 1.5;
    color: #666;
}

.universal-form__checkbox-text a {
    color: var(--primary);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.universal-form__checkbox-text a:hover {
    color: #2980b9;
}

.universal-form__checkbox.error-highlight {
    animation: shake 0.4s ease;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.universal-form__button {
    width: 100%;
    padding: 16px 32px;
    font-size: 16px;
    font-weight: 600;
    font-family: inherit;
    color: #fff;
    background-color: var(--primary);
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.universal-form__button:hover:not(.is-disabled):not(.loading) {
    background-color: #2980b9;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(52, 152, 219, 0.3);
}

.universal-form__button:active:not(.is-disabled):not(.loading) {
    transform: translateY(0);
}

.universal-form__button.is-disabled {
    background-color: #bdc3c7;
    cursor: not-allowed;
    opacity: 0.6;
}

.universal-form__button.loading {
    pointer-events: none;
    color: transparent;
}

.universal-form__button.loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-left: -10px;
    margin-top: -10px;
    border: 2px solid #fff;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 0.6s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Сообщения */
.universal-form__message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
    display: none;
}

.universal-form__message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.universal-form__message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .universal-form--contact {
        padding: 30px 16px;
    }

    .universal-form__title {
        font-size: 28px;
    }

    .universal-form__description {
        font-size: 15px;
        margin-bottom: 24px;
    }

    .universal-form__fields {
        gap: 20px;
    }

    .universal-form__input,
    .universal-form__textarea {
        font-size: 16px;
    }

    .universal-form__button {
        padding: 14px 24px;
    }
}

@media (max-width: 480px) {
    .universal-form--contact {
        padding: 20px 12px;
    }

    .universal-form__title {
        font-size: 24px;
    }
}
.showroom-gallery .gallery-item:nth-child(n+5) {
    display: none;
}

@media (max-width: 480px) {
    .showroom-gallery .gallery-item:nth-child(n+4) {
        display: none;
    }
}
/* End */
/* /local/components/custom/contacts.page/templates/.default/style.css?17649296225650 */
/* /local/components/custom/universal.form/templates/contact/style.css?17641785355469 */
