/* ==========================================================================
   Contact Page — Обратная связь
   ========================================================================== */

/* Hero
   ========================================================================== */
.contact-hero {
    padding: 80px 0 50px;
    position: relative;
    box-sizing: border-box;
}
.contact-hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #005DAC;
    opacity: 0.04;
    z-index: -1;
}
.contact-hero__inner {
    display: flex;
    align-items: center;
    gap: 48px;
    max-width: 900px;
    margin: 0 auto;
}
.contact-hero__photo-wrap {
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}
.contact-hero__photo {
    width: 300px;
    height: 300px;
    border-radius: 16px;
    object-fit: cover;
    object-position: top center;
    border: none;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}
.contact-hero__badges {
    display: flex;
    gap: 10px;
}
.contact-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    color: #11172D;
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    white-space: nowrap;
}
.contact-hero__text {
    flex: 1;
}
.contact-hero__title {
    text-align: left;
    margin-bottom: 16px;
}
.contact-hero__title::after {
    content: none !important;
}
.contact-hero__subtitle {
    text-align: left;
    font-size: 18px;
    line-height: 28px;
    color: #5D6584;
    margin: 0 0 20px;
}
.contact-hero__response {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 15px;
    font-weight: 500;
    color: #005DAC;
    background: rgba(0, 93, 172, 0.06);
    padding: 10px 18px;
    border-radius: 10px;
}

/* Contact Cards Grid
   ========================================================================== */
.contact-cards {
    padding: 30px 0 60px;
}
.contact-cards__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 36px 24px 32px;
    background: #fff;
    border: none;
    border-radius: 16px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
    position: relative;
    overflow: hidden;
    border-top: 3px solid #005DAC;
}
.contact-card:hover {
    box-shadow: 0 12px 40px rgba(0, 93, 172, 0.18);
    transform: translateY(-6px);
    color: inherit;
}
/* Color accents per channel */
.contact-card--whatsapp { border-top-color: #25D366; }
.contact-card--telegram { border-top-color: #2AABEE; }
.contact-card--email    { border-top-color: #EA4335; }
.contact-card--vk       { border-top-color: #4680C2; }
.contact-card--tiktok   { border-top-color: #111; }
.contact-card--imo      { border-top-color: #7B68EE; }

.contact-card__icon {
    width: 68px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0,93,172,0.1) 0%, rgba(0,93,172,0.05) 100%);
    border-radius: 50%;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}
.contact-card:hover .contact-card__icon {
    background: linear-gradient(135deg, rgba(0,93,172,0.18) 0%, rgba(0,93,172,0.08) 100%);
    transform: scale(1.08);
}
/* Colored icons per channel */
.contact-card--whatsapp .contact-card__icon { background: linear-gradient(135deg, rgba(37,211,102,0.12) 0%, rgba(37,211,102,0.04) 100%); }
.contact-card--whatsapp .contact-card__icon svg path { fill: #25D366; stroke: none; }
.contact-card--whatsapp:hover .contact-card__icon { background: linear-gradient(135deg, rgba(37,211,102,0.22) 0%, rgba(37,211,102,0.08) 100%); }

.contact-card--telegram .contact-card__icon { background: linear-gradient(135deg, rgba(42,171,238,0.12) 0%, rgba(42,171,238,0.04) 100%); }
.contact-card--telegram .contact-card__icon svg path { stroke: #2AABEE; }
.contact-card--telegram:hover .contact-card__icon { background: linear-gradient(135deg, rgba(42,171,238,0.22) 0%, rgba(42,171,238,0.08) 100%); }

.contact-card--email .contact-card__icon { background: linear-gradient(135deg, rgba(234,67,53,0.1) 0%, rgba(234,67,53,0.03) 100%); }
.contact-card--email .contact-card__icon svg path { stroke: #EA4335; }
.contact-card--email:hover .contact-card__icon { background: linear-gradient(135deg, rgba(234,67,53,0.18) 0%, rgba(234,67,53,0.06) 100%); }

.contact-card--vk .contact-card__icon { background: linear-gradient(135deg, rgba(70,128,194,0.12) 0%, rgba(70,128,194,0.04) 100%); }
.contact-card--vk .contact-card__icon svg path { fill: #4680C2; }
.contact-card--vk:hover .contact-card__icon { background: linear-gradient(135deg, rgba(70,128,194,0.22) 0%, rgba(70,128,194,0.08) 100%); }

.contact-card--tiktok .contact-card__icon { background: linear-gradient(135deg, rgba(0,0,0,0.08) 0%, rgba(0,0,0,0.03) 100%); }
.contact-card--tiktok .contact-card__icon svg path { fill: #111; }
.contact-card--tiktok:hover .contact-card__icon { background: linear-gradient(135deg, rgba(0,0,0,0.14) 0%, rgba(0,0,0,0.05) 100%); }

.contact-card--imo .contact-card__icon { background: linear-gradient(135deg, rgba(123,104,238,0.12) 0%, rgba(123,104,238,0.04) 100%); }
.contact-card--imo .contact-card__icon svg rect:first-child { fill: #7B68EE; }
.contact-card--imo:hover .contact-card__icon { background: linear-gradient(135deg, rgba(123,104,238,0.22) 0%, rgba(123,104,238,0.08) 100%); }

.contact-card__label {
    font-weight: 700;
    font-size: 13px;
    line-height: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #8892A8;
    margin-bottom: 6px;
    white-space: nowrap;
}
.contact-card__value {
    font-weight: 700;
    font-size: 18px;
    line-height: 26px;
    color: #11172D;
    margin-bottom: 20px;
    word-break: normal;
    white-space: nowrap;
}
.contact-card__action {
    display: inline-block;
    padding: 10px 28px;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 14px;
    color: #fff;
    background: #005DAC;
    transition: all 0.3s ease;
    margin-top: auto;
}
.contact-card:hover .contact-card__action {
    background: #004a8a;
    color: #fff;
}
/* Colored action buttons per channel */
.contact-card--whatsapp .contact-card__action { background: #25D366; }
.contact-card--whatsapp:hover .contact-card__action { background: #1fb855; }
.contact-card--telegram .contact-card__action { background: #2AABEE; }
.contact-card--telegram:hover .contact-card__action { background: #1a96d4; }
.contact-card--email .contact-card__action { background: #EA4335; }
.contact-card--email:hover .contact-card__action { background: #d33426; }
.contact-card--vk .contact-card__action { background: #4680C2; }
.contact-card--vk:hover .contact-card__action { background: #3870ad; }
.contact-card--tiktok .contact-card__action { background: #111; }
.contact-card--tiktok:hover .contact-card__action { background: #333; }
.contact-card--imo .contact-card__action { background: #7B68EE; }
.contact-card--imo:hover .contact-card__action { background: #6A5ACD; }

/* Steps — How it works
   ========================================================================== */
.contact-steps {
    padding: 60px 0 70px;
    position: relative;
}
.contact-steps::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #F7F8FC;
    z-index: -1;
}
.contact-steps__title {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: #11172D;
    text-align: center;
    margin-bottom: 12px;
}
.contact-steps__title::after {
    content: none !important;
}
.contact-steps__subtitle {
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    color: #5D6584;
    margin-bottom: 48px;
}
.contact-steps__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
}
.contact-step {
    flex: 1;
    max-width: 260px;
    text-align: center;
    padding: 0 12px;
}
.contact-step__number {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: #005DAC;
    color: #fff;
    font-weight: 700;
    font-size: 24px;
    line-height: 56px;
    text-align: center;
    margin: 0 auto 20px;
}
.contact-step__name {
    font-weight: 700;
    font-size: 18px;
    line-height: 24px;
    color: #11172D;
    margin-bottom: 10px;
}
.contact-step__text {
    font-size: 15px;
    line-height: 23px;
    color: #5D6584;
}
.contact-steps__arrow {
    display: flex;
    align-items: center;
    padding-top: 16px;
    flex-shrink: 0;
}
.contact-steps__arrow svg {
    opacity: 0.3;
}

/* Offices
   ========================================================================== */
.contact-offices {
    padding: 60px 0;
}
.contact-offices__title {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: #11172D;
    text-align: center;
    margin-bottom: 40px;
}
.contact-offices__title::after {
    content: none !important;
}
.contact-offices__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 800px;
    margin: 0 auto;
}
.contact-office {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 32px;
    background: #fff;
    border: 1px solid #E8ECF4;
    border-radius: 16px;
    transition: box-shadow 0.3s ease;
}
.contact-office:hover {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}
.contact-office__icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 93, 172, 0.08);
    border-radius: 50%;
    margin-bottom: 16px;
}
.contact-office__city {
    font-weight: 700;
    font-size: 22px;
    line-height: 30px;
    color: #11172D;
    margin-bottom: 8px;
}
.contact-office__address {
    font-size: 16px;
    line-height: 24px;
    color: #5D6584;
}

/* Geography
   ========================================================================== */
.contact-geography {
    padding: 60px 0 70px;
    position: relative;
}
.contact-geography::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: #F7F8FC;
    z-index: -1;
}
.contact-geography__title {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: #11172D;
    text-align: center;
    margin-bottom: 12px;
}
.contact-geography__title::after {
    content: none !important;
}
.contact-geography__subtitle {
    text-align: center;
    font-size: 16px;
    line-height: 24px;
    color: #5D6584;
    margin-bottom: 40px;
}
.contact-geography__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}
.contact-geography__grid ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.contact-geography__grid li {
    margin-bottom: 14px;
}
.contact-geography__grid a {
    font-size: 16px;
    line-height: 24px;
    color: #11172D;
    text-decoration: none;
    transition: color 0.2s ease;
    position: relative;
    padding-left: 18px;
}
.contact-geography__grid a::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #005DAC;
    opacity: 0.4;
    transition: opacity 0.2s ease;
}
.contact-geography__grid a:hover {
    color: #005DAC;
}
.contact-geography__grid a:hover::before {
    opacity: 1;
}

/* CTA
   ========================================================================== */
.contact-cta {
    padding: 0 0 80px;
}
.contact-cta__box {
    background: linear-gradient(135deg, #005DAC 0%, #003d73 100%);
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
}
.contact-cta__title {
    font-weight: 700;
    font-size: 36px;
    line-height: 44px;
    color: #fff;
    margin-bottom: 16px;
}
.contact-cta__title::after {
    content: none !important;
}
.contact-cta__text {
    font-size: 18px;
    line-height: 28px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.contact-cta__buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}
.contact-cta__btn {
    height: 56px;
    min-width: 200px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 28px;
    text-decoration: none;
    transition: all 0.3s ease;
}
.contact-cta__btn.btnTwo {
    background: #fff;
    color: #005DAC !important;
}
.contact-cta__btn.btnTwo svg path {
    stroke: #005DAC;
}
.contact-cta__btn.btnTwo:hover {
    background: #E8ECF4 !important;
}
.contact-cta__btn.btn {
    border-color: rgba(255, 255, 255, 0.5);
    color: #fff;
    background: transparent;
}
.contact-cta__btn.btn svg path[fill] {
    fill: #fff;
}
.contact-cta__btn.btn svg path[stroke] {
    stroke: #fff;
}
.contact-cta__btn.btn:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    border-color: #fff;
    color: #fff !important;
}

/* Responsive
   ========================================================================== */

@media (max-width: 991.98px) {
    .contact-hero {
        padding: 140px 0 40px;
    }
    .contact-hero__inner {
        flex-direction: column;
        text-align: center;
        gap: 28px;
    }
    .contact-hero__title {
        text-align: center;
    }
    .contact-hero__subtitle {
        text-align: center;
    }
    .contact-hero__photo {
        width: 240px;
        height: 240px;
    }
    .contact-hero__response {
        justify-content: center;
    }
    .contact-cards__grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .contact-offices__title,
    .contact-geography__title {
        font-size: 30px;
        line-height: 38px;
    }
    .contact-cta__title {
        font-size: 30px;
        line-height: 38px;
    }
    .contact-steps__title {
        font-size: 30px;
        line-height: 38px;
    }
}

@media (max-width: 767px) {
    .contact-hero {
        padding: 140px 0 30px;
    }
    .contact-hero__photo {
        width: 200px;
        height: 200px;
    }
    .contact-hero__badges {
        flex-direction: column;
        align-items: center;
        gap: 8px;
    }
    .contact-hero__badge {
        font-size: 12px;
        padding: 5px 12px;
    }
    .contact-hero__title {
        font-size: 28px;
        line-height: 36px;
        text-align: center;
    }
    .contact-hero__subtitle {
        font-size: 15px;
        line-height: 24px;
        text-align: center;
    }
    .contact-hero__response {
        font-size: 13px;
        padding: 8px 14px;
    }
    .contact-cards {
        padding: 20px 0 40px;
    }
    .contact-cards__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-card {
        flex-direction: row;
        text-align: left;
        padding: 20px 24px;
        gap: 16px;
        align-items: center;
    }
    .contact-card {
        border-top: none;
        border-left: 3px solid #005DAC;
    }
    .contact-card--whatsapp { border-left-color: #25D366; }
    .contact-card--telegram { border-left-color: #2AABEE; }
    .contact-card--email    { border-left-color: #EA4335; }
    .contact-card--vk       { border-left-color: #4680C2; }
    .contact-card--tiktok   { border-left-color: #111; }
    .contact-card--imo      { border-left-color: #7B68EE; }
    .contact-card__icon {
        width: 48px;
        height: 48px;
        min-width: 48px;
        border-radius: 50%;
        margin-bottom: 0;
    }
    .contact-card__icon svg {
        width: 24px;
        height: 24px;
    }
    .contact-card__label {
        font-size: 12px;
        margin-bottom: 2px;
        white-space: nowrap;
    }
    .contact-card__value {
        font-size: 15px;
        margin-bottom: 0;
        word-break: normal;
        white-space: nowrap;
    }
    .contact-card__action {
        display: none;
    }
    .contact-offices {
        padding: 40px 0;
    }
    .contact-offices__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .contact-offices__title,
    .contact-geography__title {
        font-size: 26px;
        line-height: 34px;
    }
    .contact-office {
        padding: 28px 24px;
    }
    .contact-geography {
        padding: 40px 0 50px;
    }
    .contact-geography__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
    .contact-cta {
        padding: 0 0 50px;
    }
    .contact-cta__box {
        padding: 40px 24px;
        border-radius: 16px;
    }
    .contact-cta__title {
        font-size: 26px;
        line-height: 34px;
    }
    .contact-cta__text {
        font-size: 16px;
    }
    .contact-cta__btn {
        min-width: 160px;
        height: 48px;
        font-size: 15px;
    }
    .contact-steps {
        padding: 40px 0 50px;
    }
    .contact-steps__title {
        font-size: 26px;
        line-height: 34px;
    }
    .contact-steps__grid {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }
    .contact-step {
        max-width: 100%;
        padding: 0;
        display: flex;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
        margin-bottom: 8px;
    }
    .contact-step__number {
        width: 44px;
        height: 44px;
        min-width: 44px;
        font-size: 20px;
        line-height: 44px;
        margin: 0;
    }
    .contact-step__name {
        font-size: 16px;
        margin-bottom: 4px;
    }
    .contact-step__text {
        font-size: 14px;
        line-height: 21px;
    }
    .contact-steps__arrow {
        transform: rotate(90deg);
        padding: 0;
        margin: 4px 0 4px 10px;
    }
    .contact-steps__arrow svg {
        width: 20px;
        height: 20px;
    }
}

@media (max-width: 480px) {
    .contact-hero__photo {
        width: 170px;
        height: 170px;
    }
    .contact-hero__title {
        font-size: 24px;
        line-height: 32px;
    }
    .contact-geography__grid {
        grid-template-columns: 1fr;
    }
    .contact-cta__buttons {
        flex-direction: column;
        align-items: center;
    }
    .contact-cta__btn {
        width: 100%;
    }
}
