.npc-v2-pagehero {
    position: relative;
    overflow: hidden;
    padding: 28px 0 118px;
    background: #e7f3fb;
}

.npc-v2-pagehero__photo {
    position: absolute;
    top: 0;
    right: 0;
    width: min(56%, 860px);
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.npc-v2-pagehero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(90deg, #eef6fc 0%, rgba(238, 246, 252, 0.94) 30%, rgba(238, 246, 252, 0.45) 48%, rgba(238, 246, 252, 0) 64%);
}

.npc-v2-pagehero .container {
    position: relative;
    z-index: 2;
}

.npc-v2-contacts .npc-v2-crumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-bottom: 18px;
    color: var(--npc-muted);
    font-size: 13px;
}

.npc-v2 a.npc-v2-crumbs,
.npc-v2 .npc-v2-crumbs a {
    color: var(--npc-muted);
    text-decoration: none;
}

.npc-v2 .npc-v2-crumbs a:hover {
    color: var(--npc-accent);
}

.npc-v2-pagehero h1 {
    margin: 0 0 12px;
    color: var(--npc-ink);
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
}

.npc-v2-pagehero__intro {
    max-width: 560px;
    color: var(--npc-muted);
    font-size: 16px;
    line-height: 1.6;
}

.npc-v2-pagehero__intro p:last-child {
    margin-bottom: 0;
}

.npc-v2-contacts-info,
.npc-v2-contacts-text {
    background: #f4f7fb;
}

.npc-v2-contacts-info {
    position: relative;
    z-index: 3;
    margin-top: -74px;
    padding: 0 0 8px;
    background: transparent;
}

.npc-v2-contacts-main {
    padding: 16px 0 64px;
    background: transparent;
}

.npc-v2-contacts-text {
    padding: 0 0 48px;
}

.npc-v2-contacts-info h2,
.npc-v2-contacts-panel h2 {
    margin: 0 0 16px;
    color: var(--npc-ink);
    font-size: 22px;
    font-weight: 700;
}

.npc-v2-contacts-info__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.npc-v2-contacts-panel {
    display: flex;
    flex-direction: column;
    height: 100%;
    border: 1px solid #e6edf5;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 10px 28px rgba(16, 42, 67, 0.05);
}

.npc-v2-contacts-card {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 14px;
    padding: 18px 16px 16px;
    border: 1px solid #b9d4ea;
    border-radius: 16px;
    background: #cfe4f6;
    box-shadow: 0 10px 24px rgba(16, 42, 67, 0.06);
}

.npc-v2-contacts-card__body {
    min-width: 0;
}

.npc-v2-contacts-card__icon {
    display: inline-flex;
    flex: 0 0 68px;
    align-items: center;
    justify-content: center;
    width: 68px;
    height: 68px;
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.72);
    color: var(--npc-accent);
    font-size: 30px;
}

.npc-v2-contacts-card h3 {
    margin: 0 0 6px;
    font-size: 16px;
    font-weight: 700;
}

.npc-v2-contacts-card p {
    margin: 0 0 4px;
    color: var(--npc-ink);
    font-size: 14px;
    line-height: 1.45;
}

.npc-v2 a.npc-v2-contacts-card__link {
    color: var(--npc-ink);
    text-decoration: none;
}

.npc-v2 a.npc-v2-contacts-card__link:hover {
    color: var(--npc-accent);
}

.npc-v2-contacts-card__note {
    color: var(--npc-muted);
    font-size: 13px;
    line-height: 1.5;
}

.npc-v2-contacts-card__note p {
    margin: 0;
    color: var(--npc-muted);
    font-size: 13px;
}

.npc-v2 a.npc-v2-contacts-card__more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 6px;
    color: var(--npc-accent);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.npc-v2-contacts-main__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 20px;
    align-items: stretch;
}

.npc-v2-contacts-main__grid.is-single {
    grid-template-columns: minmax(0, 1fr);
}

.npc-v2-contacts-panel {
    padding: 22px 22px 18px;
}

.npc-v2-contacts-panel__intro {
    margin: -6px 0 16px;
    color: var(--npc-muted);
    font-size: 14px;
    line-height: 1.55;
}

.npc-v2-contacts-panel__intro p:last-child {
    margin-bottom: 0;
}

.npc-v2-contacts-form {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.npc-v2-contacts-form label {
    display: block;
    margin-bottom: 14px;
}

.npc-v2-contacts-form label > span {
    display: block;
    margin-bottom: 6px;
    color: var(--npc-ink);
    font-size: 13px;
    font-weight: 700;
}

.npc-v2-contacts-form label em {
    color: #e23b3b;
    font-style: normal;
}

.npc-v2-contacts-form label small {
    color: var(--npc-muted);
    font-weight: 400;
}

.npc-v2-contacts-form input,
.npc-v2-contacts-form textarea,
.npc-v2-contacts-form select {
    width: 100%;
    border: 1px solid #d7e0ea;
    border-radius: 10px;
    background: #fff;
    color: var(--npc-ink);
    font: inherit;
    font-size: 14px;
}

.npc-v2-contacts-form input,
.npc-v2-contacts-form select {
    height: 44px;
    padding: 0 12px;
}

.npc-v2-contacts-form__message {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.npc-v2-contacts-form__message textarea {
    flex: 1;
    min-height: 120px;
    padding: 10px 12px;
}

.npc-v2-contacts-form input.is-error,
.npc-v2-contacts-form textarea.is-error {
    border-color: #e23b3b;
}

.npc-v2-contacts-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}

.npc-v2-contacts-form__select {
    position: relative;
    display: block;
}

.npc-v2-contacts-form__select select {
    appearance: none;
    padding-right: 36px;
}

.npc-v2-contacts-form__select i {
    position: absolute;
    top: 50%;
    right: 12px;
    color: var(--npc-muted);
    font-size: 12px;
    pointer-events: none;
    transform: translateY(-50%);
}

.npc-v2-contacts-form__alert {
    margin-bottom: 12px;
    color: #157347;
    font-size: 14px;
}

.npc-v2-contacts-form__alert.is-error {
    color: #c62828;
}

.npc-v2-contacts-form label.npc-v2-contacts-form__legal {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
    margin: 0 0 12px;
    color: var(--npc-muted);
    font-size: 13px;
    font-weight: 400;
    line-height: 1.45;
}

.npc-v2-contacts-form label.npc-v2-contacts-form__legal > span {
    display: inline;
    margin: 0;
    color: var(--npc-muted);
    font-size: 13px;
    font-weight: 400;
}

.npc-v2-contacts-form .npc-v2-contacts-form__legal input {
    width: 18px;
    height: 18px;
    margin: 1px 0 0;
    flex: 0 0 18px;
    padding: 0;
}

.npc-v2-contacts-form__legal > span {
    display: inline;
    margin: 0;
    font-weight: 400;
}

.npc-v2-contacts-form__legal.is-error span {
    color: #c62828;
}

.npc-v2 .npc-v2-contacts-form__legal a {
    color: var(--npc-accent);
}

.npc-v2-contacts-form__actions {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: auto;
}

.npc-v2-contacts-form__actions button {
    display: inline-flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 46px;
    margin-left: auto;
    padding: 0 18px;
    border: 0;
    border-radius: 10px;
    background: var(--npc-btn);
    color: #fff;
    font-weight: 700;
}

.npc-v2-contacts-form__actions button:hover {
    background: #025ec0;
}

.npc-v2-contacts__frame {
    flex: 0 0 auto;
    height: 220px;
    min-height: 0;
}

.npc-v2-contacts__frame iframe {
    display: block;
    width: 100% !important;
    height: 220px;
    min-height: 0;
    border: 0;
    border-radius: 12px;
}

.npc-v2-contacts-aside {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    margin-top: 18px;
}

.npc-v2-contacts-aside h3 {
    margin: 0 0 10px;
    font-size: 15px;
    font-weight: 700;
}

.npc-v2-contacts-point {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--npc-ink);
    font-size: 13px;
    line-height: 1.45;
}

.npc-v2-contacts-point i {
    width: 16px;
    margin-top: 2px;
    color: var(--npc-accent);
}

.npc-v2-contacts-point strong {
    display: block;
    margin-bottom: 2px;
}

.npc-v2-contacts-point p {
    margin: 0;
    color: var(--npc-muted);
}

.npc-v2 a.npc-v2-contacts-link {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    color: var(--npc-ink);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.npc-v2 a.npc-v2-contacts-link > i:first-child {
    width: 18px;
    margin-top: 2px;
    color: var(--npc-accent);
}

.npc-v2 a.npc-v2-contacts-link span {
    flex: 1;
}

.npc-v2 a.npc-v2-contacts-link .fa-arrow-right {
    margin-top: 3px;
    color: var(--npc-accent);
    font-size: 12px;
}

@media (max-width: 991px) {
    .npc-v2-contacts-main__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 767px) {
    .npc-v2-pagehero h1 {
        font-size: 32px;
    }

    .npc-v2-contacts-main__grid,
    .npc-v2-contacts-form__row,
    .npc-v2-contacts-aside {
        grid-template-columns: 1fr;
    }

    .npc-v2-contacts-form__actions {
        flex-direction: column;
        align-items: stretch;
    }

    .npc-v2-contacts-form__actions button {
        margin-left: 0;
    }
}
