:root {
    --bs-body-font-family: "KyivTypeSans"
}

@font-face {
    font-family: 'KyivTypeSans';
    src: url("../static/fonts/KyivTypeSans-VarGX-536d9355210d95ae5334b9125b70e981.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'MotserratRegular';
    src: url("../static/fonts/montserrat/Montserrat-Regular-171430c21afeff39fd79ad134176c86c.ttf") format('truetype');
    font-weight: normal;
    font-style: normal;
}

.main-page .section {
    background: transparent;
    color: #fff;
}

.navbar-a .navbar-nav .nav-link {
    font-family: MotserratRegular, sans-serif;
}

.dark-body .navbar-a .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.dark-body .navbar-a .navbar-nav .nav-link:hover,
.dark-body .navbar-a .navbar-nav .nav-item.active a,
.dark-body .navbar-a .navbar-nav .nav-item.active .nav-item {
    color: #fff;
}

.main-page .navbar-a .navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.7);
}

.main-page .navbar-a .navbar-nav .nav-item.active a,
.main-page .navbar-a .navbar-nav .nav-item.active .nav-item {
    color: #fff;
}

main .section-contact {
    color: #fff;
}

.hero-content .btn {
    margin-top: 30px;
}

@media (max-width: 767px) {
    .hero-content .btn {
        margin-top: 20px;
    }
}

/*.main-page .slider-simple-a .slider-btn {*/
/*    color: #000;*/
/*}*/

/*.main-page .slider-simple-a .slider-btn:before, .main .slider-simple-a .slider-btn:after {*/
/*    border: 2px solid #000;*/
/*}*/

/*.main-page .slider-simple-a .swiper-button-next:before, .main .slider-simple-a .slider-next:before {*/
/*    border-right-color: transparent;*/
/*    border-bottom-color: transparent;*/
/*    opacity: 0;*/
/*}*/

/*.main-page .slider-simple-a .swiper-button-next:hover:before, .main .slider-simple-a .slider-next:hover:before {*/
/*    opacity: 1;*/
/*    transform: rotate(-225deg);*/
/*}*/
/*.main-page .slider-simple-a .swiper-button-next:before, .main .slider-simple-a .slider-next:before {*/
/*    border-right-color: transparent;*/
/*    border-bottom-color: transparent;*/
/*    opacity: 0;*/
/*}*/

.dark-body {
    background: rgba(36, 36, 36, 1);
    color: #ffffff;
}

.dark-body section {
    background: transparent;
}

.black {
    background: #000;
}

@media (min-width: 992px) {
    .navbar-toggler {
        display: none !important;
    }
}

.display-4 {
    font-weight: bold;
    line-height: 1; }
@media screen and (min-width: 992px) {
    .display-4 {
        font-size: 2.5rem !important; } }

.about-line {
    width: 100px;
    border-bottom: 2px solid #000;
    margin-bottom: 10px;
}

.page-loader, .page-loader.visible {
    opacity: 1;
    visibility: visible;
    transition: .5s ease-in;
}

.section-contact__inner {
    color: #fff;
    padding: 30px;
}

.email-main {
    display: flex;
}

.item-image-e img.fit {
    min-height: 400px;
}

.item-image-e .item-body h4 {
    font-size: 2rem;
}

.item-image-e .item-body p {
    font-size: 1rem;
}

.portfolio-description__icon img {
    max-height: 48px;
    width: auto;
    color: #fff;
}

.page-loader {
    background: #000;
}

@media screen and (max-width: 767px) {
    .hero-a .section-body {
        top: -110px;
    }

    .section-contact__inner {
        margin-bottom: 20px;
    }
}

body.load {
    overflow: hidden
}

.header-image-mobile,
.header-image {
    display: none;
}

.slide-item-a .item-content {
    color: #fff;
}

.about-number,
.about-item {
    font-size: 42px !important;
}

.about-text {
    font-size: 24px !important;
}

@media screen and (max-width: 767px) {
    .about-number,
    .about-item {
        font-size: calc(1.475rem + 2.7vw) !important;
    }

    .about-text {
        font-size: 16px !important;
    }
}

.about-text,
.navbar-a.content-white .navbar-nav .nav-link,
.section.content-white .title-desc p {
    font-family: 'MotserratRegular', sans-serif;
}

@media screen and (min-width: 992px) {
    .hero-a .hero-title {
        font-size: 5rem;
    }
}

.about-number {
    font-family: 'MotserratRegular', sans-serif;
    font-weight: 900;
}

.item-feature-c .icon {
    opacity: .7;
}

.about-number {
    font-family: 'MotserratRegular', sans-serif;
    font-weight: 900;
    position: absolute;
    top: -49px;
    left: -15px;
    font-size: 96px !important;
    color: #14c9ed;
    opacity: 1;
}

.section-contact__form {
    padding: 30px;
}

.section-contact__form input::placeholder {
    color: #f1f1f1;
}

.form-control:focus {
    background: transparent;
    color: #fff;
}

.main-page .section .title-desc p,
.main-page .section-contact .contact-main,
.main-page .section-contact .email-main {
    color: #fff;
}

.swiper-slide-active {
    z-index: 99;
}

.video__container {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video__container.hide,
.video__container.hide button,
.video__container.hide video {
    display: none;
    height: 0;
}

.btn-fs {
    position: absolute;
    top: 10px;
    left: calc(50% - 52px);
    height: 64px;
    width: 64px;
    margin-left: 24px;
    padding: 0;
    border-radius: 999px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    z-index: 100;
    background: rgba(0, 0, 0, .5);
    border: none;
}

@media (max-width: 767px) {
    .btn-fs {
        display: none;
    }
}

:-webkit-full-screen video {
    width: 100%;
    height: 100%;
}

.hide {
    display: none;
}

.icon-close {
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background: transparent;
    border-radius: 2px;
    opacity: 1;
}

.icon-close .bars {
    width: 47px;
    display: flex;
    flex-direction: column;
    position: relative;
    transform: translateY(-1px);
}

.icon-close .bar1, .icon-close .bar2 {
    display: flex;
    height: 4px;
    background: currentColor;
    width: 100%;
    transition: 0.3s;
    position: absolute;
    top: calc(50% - 1px);
    left: -9px;
}

.icon-close .bar1 {
    width: 100%;
    transform: rotate(45deg) scaleX(0.8);
    transform-origin: center;
}

.icon-close .bar2 {
    width: 100%;
    transform: rotate(-45deg) scaleX(0.8);
    transform-origin: center;
}

@media screen and (max-width: 576px) {
    body .navbar-a:before {
        opacity: 1;
    }
}

.btn-solid.btn-white {
    color: #fff;
    background: #14c9ed;
}

.form-control-a {
    border-bottom: 2px solid #fff;
    color: #fff;
}

.form-control:focus {
    box-shadow: none;
}

.form-a:focus-within .form-control:required:invalid {
    border-bottom: 2px solid #14c9ed;
}

.cover-page .cover-bg {
    transition: 1s;
}

.contacts-page .navbar-a .navbar-brand .light-logo,
.clients-page .navbar-a .navbar-brand .light-logo,
.portfolio-page .navbar-a .navbar-brand .light-logo,
.main-page .navbar-a .navbar-brand .light-logo {
    display: block;
}

.contacts-page .navbar-a .navbar-brand .dark-logo,
.clients-page .navbar-a .navbar-brand .dark-logo,
.portfolio-page .navbar-a .navbar-brand .dark-logo,
.main-page .navbar-a .navbar-brand .dark-logo {
    display: none;
}

.header__video {
    position: relative;
    margin-top: 40px;
    text-decoration: none;
    color: #fff;
    display: inline-block;
}

.header__video:hover {
    text-decoration: none;
    color: #fff;
}

.header__video .text {
    position: absolute;
    top: 60px;
    left: 40px;
}

.main-page .fslightbox-toolbar {
    right: calc(50% - 30px);
}

.main-page .fslightbox-toolbar-button:first-child {
    display: none;
}

.contact__text a,
.contact__text a:hover {
    color: #1d1d1d;
}

.main-page .section-contact .contact__text a,
.main-page .section-contact .contact__text a:hover {
    color: #fff;
}

.item-image-b img {
    min-height: 347px;
}

.back-button {
    display: flex;
    align-items: center;
}

.back-button,
.back-button:hover {
    text-decoration: none;
    color: #fff;
}

.back-button svg {
    margin-right: 5px;
}

.slide-item-a a.item-wrapper,
.slide-item-a a.item-wrapper:hover {
    text-decoration: none;
}

/* Portfolio project access modal */
.portfolio-appeal-overlay {
    position: fixed;
    inset: 0;
    z-index: 1080;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.78);
    animation: portfolio-appeal-fade-in 0.4s ease-out both;
}

.portfolio-appeal-dialog {
    position: relative;
    width: 100%;
    max-width: 440px;
    background: linear-gradient(155deg, #2a2727 0%, #1b1919 55%, #161414 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.6);
    animation: portfolio-appeal-pop-in 0.5s cubic-bezier(0.22, 1, 0.36, 1) both;
    color: #fff;
}

.portfolio-appeal-inner {
    padding: 2.25rem 2rem 2rem;
}

.portfolio-appeal-inner .display-4 {
    font-size: 1.85rem;
    line-height: 1.2;
}

.portfolio-appeal-lead {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    line-height: 1.55;
}

.portfolio-appeal-close {
    position: absolute;
    top: 0.85rem;
    right: 0.85rem;
    z-index: 1;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.2s ease, transform 0.2s ease;
    line-height: 1;
    padding: 0;
}

.portfolio-appeal-close:hover {
    background: rgba(255, 255, 255, 0.14);
    transform: scale(1.05);
}

.portfolio-appeal-close-icon {
    font-size: 1.75rem;
    font-weight: 300;
    margin-top: -0.1em;
}

.dark-body .form-portfolio-appeal .form-label {
    color: rgba(255, 255, 255, 0.88);
}

.form-portfolio-appeal.form-error .form-control-a {
    border-color: #e85d5d;
}

.form-portfolio-appeal [data-portfolio-appeal-error]:not([hidden]) {
    color: #ff9a9a;
    font-size: 0.9rem;
}

@keyframes portfolio-appeal-fade-in {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes portfolio-appeal-pop-in {
    from {
        opacity: 0;
        transform: translateY(22px) scale(0.94);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Portfolio: топ-проекты (перекрывающиеся карточки) + счётчики */
.portfolio-top-head__lead {
    color: rgba(255, 255, 255, 0.68);
    font-size: 1rem;
    line-height: 1.5;
}

/* Счётчики и стопка карточек — одна строка, выравнивание по низу */
.portfolio-top-inline {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: flex-end;
    gap: clamp(0.75rem, 2.5vw, 1.75rem);
}

.portfolio-top-inline .portfolio-stats--inline {
    flex: 0 0 auto;
    align-self: flex-end;
}

.portfolio-top-inline .portfolio-top-stack {
    flex: 1 1 auto;
    min-width: 0;
}

.portfolio-top-body {
    align-items: flex-end;
}

@media (min-width: 1200px) {
    .portfolio-top-body {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(200px, min(32%, 300px));
        gap: 1.5rem 2rem;
        align-items: end;
    }

    .portfolio-top-body .portfolio-top-stack {
        grid-column: 1;
        min-width: 0;
    }

    .portfolio-top-body .portfolio-stats-container {
        grid-column: 2;
        grid-row: 1;
        justify-self: stretch;
        max-width: 320px;
        width: 100%;
        margin-left: auto;
    }
}

.portfolio-top-stack {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: flex-start;
    flex-wrap: nowrap;
    padding: 0.5rem 0 2.75rem;
    margin: 0 -0.25rem;
}

.portfolio-top-card {
    position: relative;
    flex: 0 0 auto;
    width: min(42vw, 210px);
    margin-left: clamp(-3.25rem, -11vw, -2.5rem);
    flex-shrink: 0;
    z-index: var(--stack-index, 1);
    text-decoration: none;
    color: inherit;
    border-radius: 12px;
    outline: none;
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.45s ease,
        filter 0.35s ease,
        margin-left 0.45s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0px 5px 5px 0px rgba(255, 255, 255, 0.5);
}

.portfolio-top-card:first-child {
    margin-left: 0.25rem;
}

.portfolio-top-card__inner {
    overflow: hidden;
    background: #121010;
    border:none;
}

.portfolio-top-card__img {
    position: relative;
    overflow: hidden;
    aspect-ratio: 280 / 400;
    width: 100%;
}

.portfolio-top-card__img .fit {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.02);
    transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.portfolio-top-card:hover .portfolio-top-card__img .fit,
.portfolio-top-card:focus-visible .portfolio-top-card__img .fit {
    transform: scale(1.08);
}

.portfolio-top-card__num {
    position: absolute;
    top: 0.55rem;
    right: 0.55rem;
    z-index: 2;
    font-family: KyivTypeSans, sans-serif;
    font-size: 2.5rem;
    font-weight: 500;
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.04em;
    color: #fff;
    line-height: 1;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.45);
    pointer-events: none;
}

.portfolio-top-card__caption {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    max-width: 65%;
    padding: 2.35rem 2.95rem 1rem 0.95rem;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    background: transparent;
    isolation: isolate;
}

/* Градиент шире за счёт width > 100%: мягкий уход в фото */
.portfolio-top-card__caption::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 155%;
    z-index: 0;
    pointer-events: none;
    border-radius: inherit;
    backdrop-filter: blur(28px) saturate(1.05);
    -webkit-backdrop-filter: blur(28px) saturate(1.05);
    background: linear-gradient(
        to right,
        rgba(12, 10, 10, 0.58) 0%,
        rgba(12, 10, 10, 0.38) 28%,
        rgba(12, 10, 10, 0.22) 52%,
        rgba(12, 10, 10, 0.08) 78%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 26%,
        rgba(0, 0, 0, 0.95) 48%,
        rgba(0, 0, 0, 0.55) 72%,
        rgba(0, 0, 0, 0.18) 90%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        #000 0%,
        #000 26%,
        rgba(0, 0, 0, 0.95) 48%,
        rgba(0, 0, 0, 0.55) 72%,
        rgba(0, 0, 0, 0.18) 90%,
        transparent 100%
    );
}

.portfolio-top-card__text-col {
    position: relative;
    z-index: 1;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    gap: 0.65rem;
    max-height: 100%;
    transform: rotate(180deg);
    transform-origin: center center;
}

.portfolio-top-card__title {
    font-family: KyivTypeSans, sans-serif;
    font-size: 0.88rem;
    font-weight: 400;
    line-height: 1.35;
    color: #fff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.35);
}

.portfolio-top-card__sub {
    font-size: 0.68rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.78);
    max-height: 12em;
    overflow: hidden;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

.portfolio-top-card:hover,
.portfolio-top-card:focus-visible {
    z-index: 12;
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0px 10px 10px 0px rgba(255, 255, 255, 0.45);
}

/* При наведении сдвигается только ближайшая справа карточка */
.portfolio-top-card:hover + .portfolio-top-card,
.portfolio-top-card:focus-visible + .portfolio-top-card {
    margin-left: clamp(-1.25rem, -4vw, -0.5rem);
}

@media (min-width: 1200px) {
    .portfolio-top-card {
        width: 200px;
        margin-left: -7.5rem;
    }

    .portfolio-top-card:first-child {
        margin-left: 0;
    }

    .portfolio-top-card:hover + .portfolio-top-card,
    .portfolio-top-card:focus-visible + .portfolio-top-card {
        margin-left: -2.5rem;
    }
}

@media (max-width: 1199.98px) {
    .portfolio-top-body .portfolio-top-card:hover + .portfolio-top-card,
    .portfolio-top-body .portfolio-top-card:focus-visible + .portfolio-top-card {
        margin-left: clamp(-2rem, -10vw, -1.25rem);
    }
}

@media (max-width: 767.98px) {
    .portfolio-top-body .portfolio-top-card:hover + .portfolio-top-card,
    .portfolio-top-body .portfolio-top-card:focus-visible + .portfolio-top-card {
        margin-left: clamp(-2.5rem, -13vw, -1.5rem);
    }
}

@media (max-width: 575.98px) {
    .portfolio-top-body .portfolio-top-card:hover + .portfolio-top-card,
    .portfolio-top-body .portfolio-top-card:focus-visible + .portfolio-top-card {
        margin-left: clamp(-3rem, -16vw, -2rem);
    }
}

/* Адаптив: один скролл — карточки + счётчики справа */
@media (max-width: 1199.98px) {
    .portfolio-top-body {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        align-items: flex-end;
        gap: clamp(0.75rem, 3vw, 1.5rem);
        overflow-x: auto;
        overflow-y: visible;
        -webkit-overflow-scrolling: touch;
        scroll-snap-type: x proximity;
        scroll-padding-inline: max(1rem, env(safe-area-inset-left, 0px));
        padding: 1.25rem calc(0.75rem + env(safe-area-inset-right, 0px)) 2.75rem calc(0.75rem + env(safe-area-inset-left, 0px));
        margin-left: -0.5rem;
        margin-right: -0.5rem;
        overscroll-behavior-x: contain;
        scrollbar-width: thin;
        scrollbar-color: rgba(187, 36, 100, 0.55) rgba(255, 255, 255, 0.06);
    }

    .portfolio-top-body::-webkit-scrollbar {
        height: 7px;
    }

    .portfolio-top-body::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, 0.06);
        border-radius: 99px;
    }

    .portfolio-top-body::-webkit-scrollbar-thumb {
        background: rgba(187, 36, 100, 0.55);
        border-radius: 99px;
    }

    .portfolio-top-body .portfolio-top-stack {
        flex: 0 1 auto;
        min-width: min-content;
        overflow: visible;
        margin: 0;
    }

    .portfolio-top-body .portfolio-stats-container {
        flex: 0 0 auto;
        align-self: flex-end;
        scroll-snap-align: end;
        margin-top: 0;
        padding: 0.5rem 0 2.75rem;
        max-width: min(46vw, 220px);
    }

    .portfolio-top-card {
        scroll-snap-align: center;
        width: min(50vw, 232px);
        margin-left: clamp(-5.75rem, -26vw, -3.5rem);
    }

    .portfolio-top-card:first-child {
        margin-left: max(0.35rem, env(safe-area-inset-left, 0px));
    }

    .portfolio-top-card:last-child {
        margin-right: 0;
    }
}

@media (max-width: 767.98px) {
    .portfolio-top-card {
        width: min(58vw, 260px);
        margin-left: clamp(-6.75rem, -34vw, -4.25rem);
    }
}

@media (max-width: 575.98px) {
    .portfolio-top-card {
        width: min(68vw, 288px);
        margin-left: clamp(-8rem, -42vw, -5rem);
    }

    .portfolio-top-body {
        scroll-padding-inline: 0.65rem;
    }
}

.portfolio-stats-container {
    margin-top: auto;
    padding: 0.5rem 0 2.75rem;
}

.portfolio-stats {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0.5rem 0;
}

.portfolio-stat__value {
    display: block;
    font-variant-numeric: tabular-nums;
    font-size: clamp(2.75rem, 6vw, 3.85rem);
    font-weight: 700;
    line-height: 1;
    color: #000;
    letter-spacing: -0.02em;
    font-family: KyivTypeSans, sans-serif;
}

.portfolio-stat__label {
    font-family: KyivTypeSans, sans-serif;
    display: block;
    margin-top: 0.5rem;
    font-size: 0.95rem;
    line-height: 12px;
    color: #000;
    padding-left: 0.5rem;
    border-left: 12px solid #000;
    max-width: 16rem;
    margin-left: 15px;
}

.portfolio-stats.portfolio-stats--animated .portfolio-stat__value {
    animation: portfolio-stat-pulse 0.35s ease-out;
}

@keyframes portfolio-stat-pulse {
    0% {
        transform: scale(0.98);
        opacity: 0.85;
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* —— Страница «Клиенты» (сетка логотипов) —— */
.page-clients .clients-page {
    padding-top: 4.5rem;
}

.main-page .clients-page {
    padding-top: 0;
}

.page-clients .clients-page__title,
.main-page .clients-page__title {
    color: #fff;
    letter-spacing: -0.02em;
    font-weight: 400;
}

.page-clients .clients-page__intro,
.main-page .clients-page__intro {
    color: rgba(255, 255, 255, 0.78);
    font-family: MotserratRegular, sans-serif;
    font-size: 1.125rem;
    line-height: 1.55;
    max-width: 42rem;
}

.page-clients .clients-page__logos .section-body,
.main-page .clients-page__logos .section-body {
    padding-top: 0;
}

.clients-logo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(168px, 1fr));
    gap: 1rem 1.25rem;
}

.clients-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 112px;
    padding: 1.25rem 1.5rem;
    background: none;
    border: none;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
}

a.clients-logo-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(20, 201, 237, 0.45);
    transform: translateY(-2px);
    color: #fff;
}

.clients-logo-card img {
    max-width: 100%;
    max-height: 52px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(1);
    opacity: 0.88;
    transition: filter 0.25s ease, opacity 0.25s ease;
}

a.clients-logo-card:hover img {
    filter: grayscale(0);
    opacity: 1;
}

.clients-logo-card__fallback {
    font-family: MotserratRegular, sans-serif;
    font-size: 0.95rem;
    text-align: center;
    line-height: 1.3;
}

/* —— Страница «Контакты»: тот же блок, что на главной; отличия — только стили —— */
.page-contacts .contacts-page {
    padding-top: 4.5rem;
    padding-bottom: 4rem;
}

.main-page .contacts-page {
    padding-top: 0;
    padding-bottom: 2rem;
}

.page-contacts .contacts-page-hero {
    padding-bottom: 2rem;
}

.main-page .contacts-page__hero .section-body {
    padding-bottom: 1rem;
}

.page-contacts .contacts-page-hero__title {
    font-family: KyivTypeSans, sans-serif;
    font-size: clamp(2rem, 4.5vw, 3.25rem);
    font-weight: 700;
    line-height: 1.08;
    color: #fff;
    letter-spacing: -0.03em;
    margin: 0 0 1rem;
}

.page-contacts .contacts-page-hero__lead {
    font-family: MotserratRegular, sans-serif;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.75);
    max-width: 40rem;
    margin: 0;
}

.page-contacts .contacts-page-hero__lead a {
    color: #14c9ed;
}

.page-contacts .contacts-page__title,
.main-page .contacts-page__title {
    font-weight: 400;
    color: #fff;
}

.main-page .contacts-page__intro {
    color: rgba(255, 255, 255, 0.78);
    font-family: MotserratRegular, sans-serif;
    font-size: 1.125rem;
    line-height: 1.55;
    max-width: 42rem;
}

.main-page .contacts-page__intro a {
    color: #14c9ed;
}

/* Светлая плита: контраст к тёмному фону страницы (частый приём во внутренних макетах) */
.page-contacts .section-contact--page {
    color: #fff;
    margin-left: auto;
    margin-right: auto;
    max-width: 1180px;
    padding: 2.5rem 1.25rem 3rem;
    border-radius: 4px;
}

.section-body.section-contact {
    padding-top: 0;
}

.section-contact-block__social {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.contacts-page__contact-info .contact-main,
.contacts-page__contact-info .email-main {
    color: #fff;
    font-size: 1rem;
    text-align: left;
    padding-bottom: 10px;
}

@media (min-width: 768px) {
    .page-contacts .section-contact--page {
        padding: 3rem 2.5rem 3.5rem;
    }
}

@media (min-width: 1200px) {
    .page-contacts .section-contact--page {
        padding: 3.25rem 3.5rem 4rem;
    }
}

.page-contacts .section-contact--page .section-contact__inner,
.page-contacts .section-contact--page .section-contact-block__title,
.page-contacts .section-contact--page .title-desc {
    color: #111 !important;
}

.page-contacts .section-contact--page .section-contact-block__lead,
.page-contacts .section-contact--page .contact__text {
    color: #333 !important;
}

.page-contacts .section-contact--page .contact-main,
.page-contacts .section-contact--page .email-main {
    color: #111 !important;
}

.page-contacts .section-contact--page .contact-main:hover,
.page-contacts .section-contact--page .email-main:hover {
    color: #0aa6c7 !important;
}

.page-contacts .section-contact--page .email-button.btn-fab.btn-white {
    background: #fff !important;
    border: 1px solid #c8c8c8 !important;
}

.page-contacts .section-contact--page .email-button .icon,
.page-contacts .section-contact--page .email-button i {
    color: #222 !important;
}

.page-contacts .section-contact--page .form-label {
    color: #333 !important;
}

.contacts-page .form-control-a,
.page-contacts .form-control-a {
    border-bottom: 2px solid #fff;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 1);
    box-shadow: 0px 4px 10px 0px rgba(0, 0, 0, 0.15);
    border-radius: 15px;
}

.contacts-page .form-control-a:focus,
.page-contacts .section-contact--page .form-control-a:focus {
    border-color: #14c9ed !important;
    box-shadow: 0 0 0 2px rgba(20, 201, 237, 0.2);
}

.page-contacts .section-contact--page .form-control-a::placeholder {
    color: #888 !important;
}

.contacts-page .form-subscribe--page .btn-solid.btn-white,
.page-contacts .section-contact--page .form-subscribe--page .btn-solid.btn-white {
    background: #14c9ed !important;
    border-color: #14c9ed !important;
    color: #0d0d0d !important;
}

.contacts-page .form-subscribe--page .btn-solid.btn-white:hover,
.page-contacts .section-contact--page .form-subscribe--page .btn-solid.btn-white:hover {
    background: #3fd6f3 !important;
    border-color: #3fd6f3 !important;
    color: #000 !important;
}

.contacts-page .info .success-show,
.page-contacts .section-contact--page .info .success-show {
    color: #0d6e4a;
}

.contacts-page .info .error,
.page-contacts .section-contact--page .info .error {
    color: #b91c1c;
}

@media (min-width: 992px) {
    .contacts-page .section-contact__inner,
    .page-contacts .section-contact--page .section-contact__inner {
        padding-right: 1.5rem;
        border-right: 1px solid rgba(0, 0, 0, 0.1);
    }

    .contacts-page .section-contact-block__form-col,
    .page-contacts .section-contact--page .section-contact-block__form-col {
        padding-left: 1.5rem;
    }
}