/* ========================================
   Contacts Page — Гостевой дом «Валерия»
   ======================================== */

/* === BREADCRUMBS === */
.vc-breadcrumbs {
    padding: 20px 0 10px;
    font-size: 14px;
    color: #8B8B8B;
}
.vc-breadcrumbs a {
    color: #8B8B8B;
    text-decoration: none;
    transition: color 0.3s;
}
.vc-breadcrumbs a:hover {
    color: #6B1D2A;
}
.vc-breadcrumbs span {
    color: #2C2C2C;
}

/* === PAGE TITLE === */
.vc-page-title {
    text-align: center;
    padding: 30px 0 50px;
}
.vc-page-title h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 42px;
    font-weight: 400;
    color: #2C2C2C;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.vc-divider {
    width: 80px;
    height: 2px;
    background: #B09E6B;
    margin: 0 auto;
}

/* === CONTACTS + MAP GRID === */
.vc-contacts-map {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 40px;
    padding-bottom: 60px;
    align-items: start;
}

.vc-contact-info {
    display: flex;
    flex-direction: column;
    gap: 28px;
}

.vc-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
}

.vc-ci-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    margin-top: 2px;
    color: #6B1D2A;
}
.vc-ci-icon svg {
    width: 24px;
    height: 24px;
    fill: none;
    stroke: #6B1D2A;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.vc-ci-label {
    font-size: 13px;
    color: #8B8B8B;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 4px;
    font-weight: 500;
}
.vc-ci-value {
    font-size: 16px;
    color: #2C2C2C;
}
.vc-ci-phone {
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.vc-ci-value a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}
.vc-ci-value a:hover {
    color: #6B1D2A;
}

/* === MESSENGERS === */
.vc-messengers {
    display: flex;
    gap: 16px;
    margin-top: 4px;
}
.vc-messenger-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 2px;
    border: 1px solid #E0DCD8;
    background: #FFFFFF;
    transition: all 0.3s;
    color: #515151;
}
.vc-messenger-link:hover {
    border-color: #6B1D2A;
    background: #6B1D2A;
    color: #fff;
}
.vc-messenger-link svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

/* === MAP === */
.vc-map-wrapper {
    border-radius: 2px;
    overflow: hidden;
    height: 400px;
    background: #F0EBE7;
    position: relative;
}
.vc-map-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 12px;
    color: #8B8B8B;
}
.vc-map-placeholder svg {
    width: 48px;
    height: 48px;
    stroke: #B09E6B;
    fill: none;
    stroke-width: 1.5;
}
.vc-map-placeholder span {
    font-size: 14px;
}
.vc-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* === HOW TO GET === */
.vc-how-to-get {
    background: #F0EBE7;
    padding: 60px 0;
}
.vc-section-title {
    text-align: center;
    margin-bottom: 40px;
}
.vc-section-title h2 {
    font-family: 'Playfair Display', serif;
    font-size: 30px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 12px;
}
.vc-section-title .vc-divider {
    width: 60px;
}

.vc-directions-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.vc-direction-card {
    background: #FFFFFF;
    border-radius: 2px;
    padding: 32px 24px;
    text-align: center;
    transition: box-shadow 0.3s;
}
.vc-direction-card:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.08);
}
.vc-card-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 18px;
    color: #6B1D2A;
}
.vc-card-icon svg {
    width: 48px;
    height: 48px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.vc-direction-card h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2C2C2C;
    margin-bottom: 10px;
}
.vc-direction-card p {
    font-size: 14px;
    color: #515151;
    line-height: 1.6;
}

/* === CONTACT FORM === */
.vc-contact-form-section {
    background: #F9F6F1;
    padding: 60px 0;
}

.vc-contact-form {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.vc-form-group {
    display: flex;
    flex-direction: column;
}
.vc-form-group.vc-full-width {
    grid-column: 1 / -1;
}
.vc-contact-form label {
    font-size: 13px;
    font-weight: 500;
    color: #2C2C2C;
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.vc-optional {
    color: #8B8B8B;
    font-weight: 400;
    text-transform: none;
    font-size: 12px;
}
.vc-contact-form input,
.vc-contact-form textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    padding: 14px 16px;
    border: 1px solid #DDD8D3;
    border-radius: 2px;
    background: #FFFFFF;
    color: #2C2C2C;
    transition: border-color 0.3s;
    outline: none;
}
.vc-contact-form input:focus,
.vc-contact-form textarea:focus {
    border-color: #6B1D2A;
}
.vc-contact-form input::placeholder,
.vc-contact-form textarea::placeholder {
    color: #C0BABA;
}
.vc-contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

.vc-form-submit {
    grid-column: 1 / -1;
    text-align: center;
    margin-top: 10px;
}
.vc-btn-submit {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    background: #6B1D2A;
    border: 2px solid #6B1D2A;
    border-radius: 2px;
    padding: 16px 48px;
    cursor: pointer;
    transition: all 0.3s;
}
.vc-btn-submit:hover {
    background: #8B2D3A;
    border-color: #8B2D3A;
}
.vc-form-privacy {
    font-size: 12px;
    color: #8B8B8B;
    margin-top: 14px;
}
.vc-form-privacy a {
    color: #8B8B8B;
    text-decoration: underline;
    transition: color 0.3s;
}
.vc-form-privacy a:hover {
    color: #6B1D2A;
}

/* CF7 form styling within contacts page */
.vc-contact-form-section .wpcf7 {
    max-width: 800px;
    margin: 0 auto;
}
.vc-contact-form-section .wpcf7-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
.vc-contact-form-section .wpcf7-form p {
    margin: 0;
}
.vc-contact-form-section .wpcf7-form p br {
    display: none;
}
.vc-contact-form-section .wpcf7-form .form-group {
    margin-bottom: 0;
}
.vc-contact-form-section .wpcf7-form .form-grid {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.vc-contact-form-section .wpcf7-form label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    color: #8B8B8B;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 4px;
    margin-top: 0;
}
.vc-contact-form-section .wpcf7-form .form-group p {
    margin: 0;
    line-height: 1;
}
.vc-contact-form-section .wpcf7-form .form-group {
    margin-bottom: 16px;
}
.vc-contact-form-section .wpcf7-form input[type="text"],
.vc-contact-form-section .wpcf7-form input[type="email"],
.vc-contact-form-section .wpcf7-form input[type="tel"],
.vc-contact-form-section .wpcf7-form textarea {
    font-family: 'Montserrat', sans-serif;
    font-size: 15px;
    padding: 14px 16px;
    border: 1px solid #DDD8D3;
    border-radius: 2px;
    background: #FFFFFF;
    color: #2C2C2C;
    transition: border-color 0.3s;
    outline: none;
    width: 100%;
    box-sizing: border-box;
}
.vc-contact-form-section .wpcf7-form input:focus,
.vc-contact-form-section .wpcf7-form textarea:focus {
    border-color: #6B1D2A;
}
.vc-contact-form-section .wpcf7-form textarea {
    resize: vertical;
    min-height: 120px;
}
.vc-contact-form-section .wpcf7-form .wpcf7-submit {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #fff;
    background: #6B1D2A;
    border: 2px solid #6B1D2A;
    border-radius: 2px;
    padding: 16px 48px;
    cursor: pointer;
    transition: all 0.3s;
}
.vc-contact-form-section .wpcf7-form .wpcf7-submit:hover {
    background: #8B2D3A;
    border-color: #8B2D3A;
}

/* === PROMO SECTION === */
.vc-promo-section {
    background: #6B1D2A;
    padding: 50px 0;
    text-align: center;
}
.vc-promo-label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #B09E6B;
    margin-bottom: 14px;
}
.vc-promo-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    margin-bottom: 8px;
}
.vc-promo-desc {
    font-size: 15px;
    color: rgba(255,255,255,0.75);
    margin-bottom: 24px;
}
.vc-promo-code-box {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.1);
    border: 1px dashed rgba(255,255,255,0.35);
    border-radius: 2px;
    padding: 14px 32px;
}
.vc-promo-code {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 4px;
    color: #fff;
}
.vc-copy-btn {
    background: transparent;
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 2px;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    padding: 6px 14px;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
}
.vc-copy-btn:hover {
    background: rgba(255,255,255,0.15);
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
    .vc-contacts-map {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .vc-map-wrapper {
        height: 350px;
    }
    .vc-directions-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .vc-page-title h1 {
        font-size: 30px;
    }
    .vc-page-title {
        padding: 20px 0 35px;
    }
    .vc-ci-phone {
        font-size: 20px;
    }
    .vc-directions-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .vc-direction-card {
        padding: 24px 20px;
    }
    .vc-contact-form {
        grid-template-columns: 1fr;
    }
    .vc-contact-form-section .wpcf7-form {
        grid-template-columns: 1fr;
    }
    .vc-section-title h2 {
        font-size: 24px;
    }
    .vc-promo-section h2 {
        font-size: 22px;
    }
    .vc-promo-code-box {
        flex-direction: column;
        gap: 10px;
        padding: 14px 24px;
    }
    .vc-how-to-get,
    .vc-contact-form-section {
        padding: 40px 0;
    }
    .vc-promo-section {
        padding: 35px 0;
    }
}

@media (max-width: 480px) {
    .vc-page-title h1 {
        font-size: 24px;
        letter-spacing: 1px;
    }
    .vc-messengers {
        gap: 12px;
    }
    .vc-map-wrapper {
        height: 280px;
    }
}


/* === FIXES v3 === */
/* Space between booking-bar and contacts content */
.vc-section:first-of-type { margin-top: 48px; }

/* Reduce label-to-input gap in form */
.vc-form-group { gap: 2px !important; margin-bottom: 8px !important; }
.vc-form-group label { font-size: 11px; margin-bottom: 0; }
