/* ============ Contacts page (contacts-v2) ============ */
.contacts-v2 h1 {
    font-size: 32px;
    font-weight: 700;
    color: #171a20;
    margin: 8px 0 10px;
}
.ctv-sec {
    margin: 0 0 34px;
}
.ctv-sec h2 {
    font-size: 22px;
    font-weight: 700;
    color: #171a20;
    margin: 0 0 8px;
}
.ctv-sub {
    font-size: 14.5px;
    line-height: 1.6;
    color: #6b7280;
    margin: 0 0 16px;
}

.ctv-cards {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.ctv-cards--grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.ctv-card {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    padding: 20px 22px;
    box-shadow: 0 6px 24px rgba(17, 26, 32, 0.05);
}
.ctv-card__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 14px;
}
.ctv-card__name {
    font-size: 18px;
    font-weight: 700;
    color: #171a20;
}
.ctv-card__role {
    font-size: 13px;
    color: #9099a3;
    margin-top: 2px;
}
.ctv-card__msgs {
    display: flex;
    gap: 8px;
}
.ctv-card__msgs a {
    display: flex;
}
.ctv-card__msgs img {
    width: 26px;
    height: 26px;
}
.ctv-card__rows {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.ctv-line {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: #1f2937;
    font-size: 15.5px;
}
.ctv-line b {
    font-weight: 700;
}
.ctv-line:hover span:last-child {
    color: var(--main-blue, #3076d5);
}
.ctv-ico {
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--main-blue, #3076d5);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
}
.ctv-ico svg {
    width: 20px;
    height: 20px;
}
.ctv-card__region {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid #eef0f3;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.45;
}
.ctv-card__region svg {
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    color: #9099a3;
    margin-top: 1px;
}

.ctv-schedule {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    padding: 6px 22px;
    box-shadow: 0 6px 24px rgba(17, 26, 32, 0.05);
}
.ctv-sched__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
    border-bottom: 1px solid #eef0f3;
}
.ctv-sched__item:last-child {
    border-bottom: none;
}
.ctv-sched__k {
    color: #6b7280;
    font-size: 15px;
}
.ctv-sched__v {
    color: #171a20;
    font-weight: 600;
    font-size: 15px;
    white-space: nowrap;
}

.ctv-pickup {
    display: grid;
    gap: 18px;
    align-items: start;
}
.ctv-pickup__info {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    box-shadow: 0 6px 24px rgba(17, 26, 32, 0.05);
}
.ctv-line--static {
    cursor: default;
}
.ctv-map {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e6e8ec;
}
.ctv-map iframe {
    width: 100%;
    height: 320px;
    border: 0;
    display: block;
}

.ctv-form {
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 16px;
    padding: 24px 26px;
    box-shadow: 0 6px 24px rgba(17, 26, 32, 0.05);
    max-width: 860px;
    margin: 50px auto 0 auto;
}

.ctv-sec--form h2,
.ctv-sec--form .ctv-sub {
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
}

.ctv-sec--form h2, 
.ctv-sec--form > p {
    text-align: center;
}

.ctv-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ctv-field {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.ctv-field--full {
    grid-column: 1 / -1;
}
.ctv-field > span {
    font-size: 14px;
    font-weight: 500;
    color: #374151;
}
.ctv-field input,
.ctv-field select,
.ctv-field textarea {
    width: 100%;
    background: #f1f2f4;
    border: 1px solid transparent;
    border-radius: 12px;
    padding: 13px 15px;
    font-size: 15px;
    color: #171a20;
    outline: none;
    transition:
        border-color 0.2s,
        box-shadow 0.2s;
    box-sizing: border-box;
}
.ctv-field input:focus,
.ctv-field select:focus,
.ctv-field textarea:focus {
    border-color: var(--main-blue, #3076d5);
    box-shadow: 0 0 0 3px rgba(48, 118, 213, 0.12);
}
.ctv-field textarea {
    resize: vertical;
    min-height: 120px;
}
.ctv-field .error {
    color: #e03939;
    font-size: 13px;
}
.ctv-alert {
    margin-top: 16px;
    padding: 12px 16px;
    background: #eaf7ee;
    border: 1px solid #b6e0c4;
    border-radius: 10px;
    color: #1f7a3d;
    font-size: 14.5px;
}
.ctv-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 18px;
    background: var(--main-blue, #3076d5);
    color: #fff;
    border: none;
    cursor: pointer;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 16px;
    font-weight: 600;
    transition: background 0.2s;
}
.ctv-submit:hover {
    background: #2a69bf;
}
.ctv-submit svg {
    width: 20px;
    height: 20px;
}

@media (max-width: 1024px) {
    .ctv-cards--grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 900px) {
    .ctv-pickup {
        grid-template-columns: 1fr;
    }
    .ctv-pickup__info {
        max-width: none;
    }
}
@media (max-width: 600px) {
    .contacts-v2 h1 {
        font-size: 26px;
    }
    .ctv-sec h2 {
        font-size: 19px;
    }
    .ctv-form {
        padding: 20px 16px;
    }
    .ctv-form__grid {
        grid-template-columns: 1fr;
    }
    .ctv-submit {
        width: 100%;
    }
    .ctv-map iframe {
        height: 260px;
    }
}
