﻿.berth-contact-section {
    min-height: calc(100vh - 110px);
    padding: 84px 16px 86px;
    background: #59b2d4;
    scroll-margin-top: 130px;
}

.berth-contact-section__inner {
    position: relative;
    width: min(1080px, 100%);
    margin: 0 auto;
    text-align: center;
}

.berth-contact-section__inner::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 190px;
    width: min(620px, 92vw);
    height: 360px;
    transform: translateX(-50%);
    background-image: url("../../../images/logo.png");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: contain;
    opacity: .08;
    mix-blend-mode: multiply;
    pointer-events: none;
}

.berth-contact-section h2 {
    position: relative;
    margin: 0 0 30px;
    color: #fff;
    font-size: 54px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0;
}

.berth-contact-section__lead {
    position: relative;
    margin: 0 0 36px;
    color: #fff;
    font-size: 15px;
    line-height: 1.6;
    letter-spacing: .06em;
}

.berth-contact-layout {
    position: relative;
    display: grid;
    grid-template-columns: minmax(280px, 360px) minmax(360px, 480px);
    justify-content: center;
    gap: 26px;
    align-items: center;
    text-align: left;
}

.berth-contact-section__info {
    position: relative;
    display: grid;
    gap: 46px;
    justify-items: start;
    margin-bottom: 0;
}

.berth-contact-info-item h3 {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    color: #fff;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 600;
    letter-spacing: 0;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.berth-contact-icon {
    display: inline-flex;
    flex: 0 0 25px;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
}

.berth-contact-icon svg {
    display: block;
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.berth-contact-info-item p {
    margin: 0 0 10px 37px;
    color: rgba(255, 255, 255, .92);
    font-size: 14px;
    line-height: 1.45;
    font-weight: 500;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.berth-contact-info-item p strong {
    font-weight: 600;
}

.berth-contact-section__info a {
    display: block;
    margin-left: 37px;
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    line-height: 1.45;
    text-decoration: none !important;
    -webkit-font-smoothing: antialiased;
    text-rendering: geometricPrecision;
}

.berth-contact-section__info a:hover,
.berth-contact-section__info a:focus,
.berth-contact-card__legal a:hover,
.berth-contact-card__legal a:focus {
    color: #203b66 !important;
}

.berth-contact-card {
    position: relative;
    width: 100%;
    margin: 0;
    border-radius: 28px;
    background: #fff;
    padding: 52px 58px 56px;
    box-shadow: 0 20px 45px rgba(18, 50, 75, .22);
    text-align: left;
    backdrop-filter: none;
}

.berth-contact-card h3 {
    margin: 0 0 42px;
    color: #203b66;
    font-size: 30px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: 0;
}

.berth-contact-card__row,
.berth-contact-card__legal,
.berth-contact-card__error,
.berth-contact-card__button {
    max-width: none;
    margin-left: auto;
    margin-right: auto;
}

.berth-contact-card__row {
    margin-bottom: 13px;
    padding: 0;
}

.berth-contact-card label {
    display: block;
    margin-bottom: 4px;
    color: #203b66;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0 !important;
    text-transform: none;
}

.berth-contact-card .form-control {
    min-height: 32px;
    height: 32px;
    border: 0;
    border-bottom: 2px solid #d4dde5;
    border-radius: 0;
    background: transparent;
    color: #12324b;
    font-size: 14px;
    box-shadow: none;
    padding: 2px 0 4px;
}

.berth-contact-card textarea.form-control {
    min-height: 76px;
    height: 76px;
    border-radius: 0;
    resize: vertical;
}

.berth-contact-card .form-control:focus {
    background: transparent;
    border-bottom-color: #203b66;
    box-shadow: none;
}

.berth-contact-card .form-control.berth-contact-card__input-error {
    border-bottom-color: #c72626;
}

.berth-contact-card__legal {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    margin-top: 28px;
    margin-bottom: 12px;
    padding: 0;
    border-radius: 0;
    background: transparent;
}

.berth-contact-card__legal input {
    margin-top: 3px;
}

.berth-contact-card__legal label {
    margin: 0;
    color: #516071;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.4;
}

.berth-contact-card__legal a {
    color: #203b66 !important;
    font-weight: 800;
    text-decoration: none !important;
}

.berth-contact-card__error {
    min-height: 20px;
    color: #c72626;
    font-size: 13px;
    font-weight: 700;
}

.berth-contact-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
    border: 0;
    border-radius: 999px;
    background: #203b66;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none !important;
    box-shadow: 0 14px 26px rgba(32, 59, 102, .18);
    outline: none !important;
    transition: background-color .2s ease, border-color .2s ease;
}

.berth-contact-card__button:hover,
.berth-contact-card__button:focus {
    background: #142744;
    border-color: #142744;
    color: #fff !important;
    outline: none !important;
}

.berth-contact-card__button:active {
    outline: none !important;
    box-shadow: none;
}

.ps-contactar-error {
    display: block;
    margin-top: 2px;
    color: #c72626;
    font-weight: 700;
    font-size: 13px;
}

@media (max-width: 1400px) {
    .berth-contact-section h2 {
        font-size: 38px;
    }

    .berth-contact-section__inner::before {
        top: 250px;
        opacity: .06;
    }

    .berth-contact-section__lead {
        margin-bottom: 58px;
    }

    .berth-contact-layout {
        grid-template-columns: 1fr;
        gap: 86px;
    }

    .berth-contact-section__info {
        justify-items: center;
        gap: 68px;
        margin-bottom: 0;
        text-align: center;
    }

    .berth-contact-info-item {
        width: 100%;
        text-align: center;
    }

    .berth-contact-info-item h3 {
        justify-content: center;
    }

    .berth-contact-info-item p,
    .berth-contact-section__info a {
        margin-left: 0;
    }

    .berth-contact-info-item p,
    .berth-contact-section__info a {
        font-size: 14px;
        line-height: 1.45;
    }

    .berth-contact-card {
        width: min(520px, 100%);
        margin: 0 auto;
    }
}

@media (max-width: 700px) {
    .berth-contact-section {
        padding: 46px 12px 58px;
    }

    .berth-contact-section h2 {
        font-size: 32px;
    }

    .berth-contact-section__info a {
        font-size: 14px;
        overflow-wrap: anywhere;
    }

    .berth-contact-card {
        padding: 46px 42px 48px;
        border-radius: 24px;
    }

    .berth-contact-card h3 {
        font-size: 26px;
        margin-bottom: 44px;
    }
}
