:root {
    --fh-orange: #f4511e;
    --fh-orange-dark: #d83c0c;
    --fh-black: #17191b;
    --fh-graphite: #25282b;
    --fh-text: #25282b;
    --fh-muted: #6f7479;
    --fh-line: #dfe2e4;
    --fh-soft: #f3f4f4;
    --fh-white: #ffffff;
}

.home-hero,
.fh-hero,
.fh-section,
.fh-stats,
.fh-cta {
    font-family: Arial, Helvetica, sans-serif;
}

.fh-hero {
    position: relative;
    overflow: hidden;
    background: #f2f3f3;
}

.fh-hero::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(23, 25, 27, 0.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23, 25, 27, 0.035) 1px, transparent 1px);
    background-size: 46px 46px;
    content: "";
}

.fh-hero__grid {
    position: relative;
    z-index: 1;
    min-height: 610px;
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
    align-items: stretch;
}

.fh-hero__copy {
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 84px 70px 84px 0;
}

.fh-kicker {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 18px;
    color: var(--fh-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.fh-kicker::before {
    width: 34px;
    height: 3px;
    background: var(--fh-orange);
    content: "";
}

.fh-hero h1 {
    max-width: 690px;
    margin: 0;
    color: var(--fh-black);
    font-size: clamp(52px, 5.3vw, 78px);
    font-weight: 800;
    letter-spacing: -0.055em;
    line-height: 0.98;
    text-transform: uppercase;
}

.fh-hero h1 span {
    color: var(--fh-orange);
}

.fh-hero__text {
    max-width: 620px;
    margin: 26px 0 0;
    color: #555b60;
    font-size: 17px;
    line-height: 1.75;
}

.fh-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 34px;
}

.fh-btn {
    min-height: 50px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 24px;
    border: 1px solid var(--fh-orange);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.025em;
    text-decoration: none;
    text-transform: uppercase;
    transition: 0.2s ease;
}

.fh-btn--primary {
    background: var(--fh-orange);
    color: var(--fh-white);
}

.fh-btn--primary:hover {
    border-color: var(--fh-orange-dark);
    background: var(--fh-orange-dark);
    color: var(--fh-white);
    transform: translateY(-2px);
}

.fh-btn--outline {
    background: transparent;
    color: var(--fh-orange);
}

.fh-btn--outline:hover {
    background: var(--fh-orange);
    color: var(--fh-white);
}

.fh-hero__visual {
    min-height: 610px;
}

.fh-drawing-placeholder {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 610px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    overflow: hidden;
    background:
        linear-gradient(135deg, rgba(255,255,255,.8), rgba(226,228,229,.92)),
        repeating-linear-gradient(0deg, transparent 0 31px, rgba(58,63,67,.07) 32px),
        repeating-linear-gradient(90deg, transparent 0 31px, rgba(58,63,67,.07) 32px);
    color: #777d82;
    text-transform: uppercase;
}

.fh-drawing-placeholder::before,
.fh-drawing-placeholder::after {
    position: absolute;
    border: 2px solid rgba(65, 70, 74, 0.22);
    content: "";
}

.fh-drawing-placeholder::before {
    width: 55%;
    height: 45%;
    transform: skewY(-12deg) rotate(-5deg);
}

.fh-drawing-placeholder::after {
    width: 34%;
    height: 28%;
    transform: translate(70px, 35px) skewY(-12deg) rotate(-5deg);
}

.fh-drawing-placeholder strong,
.fh-drawing-placeholder small {
    position: relative;
    z-index: 2;
    padding: 5px 10px;
    background: rgba(242, 243, 243, 0.88);
}

.fh-drawing-placeholder strong {
    font-size: 14px;
    letter-spacing: 0.08em;
}

.fh-drawing-placeholder small {
    font-size: 10px;
    letter-spacing: 0.05em;
}

.fh-stats {
    border-top: 1px solid var(--fh-line);
    border-bottom: 1px solid var(--fh-line);
    background: var(--fh-white);
}

.fh-stats__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fh-stats article {
    min-height: 145px;
    display: flex;
    justify-content: center;
    flex-direction: column;
    padding: 26px 32px;
    border-right: 1px solid var(--fh-line);
}

.fh-stats article:last-child {
    border-right: 0;
}

.fh-stats strong {
    color: var(--fh-orange);
    font-size: 38px;
    font-weight: 800;
    line-height: 1;
}

.fh-stats span {
    max-width: 210px;
    margin-top: 10px;
    color: var(--fh-black);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.45;
    text-transform: uppercase;
}

.fh-section {
    padding: 92px 0;
}

.fh-heading {
    margin-bottom: 44px;
}

.fh-heading--center {
    max-width: 780px;
    margin-right: auto;
    margin-left: auto;
    text-align: center;
}

.fh-heading--center .fh-kicker {
    justify-content: center;
}

.fh-heading h2,
.fh-cta h2 {
    margin: 0;
    color: var(--fh-black);
    font-size: clamp(36px, 4vw, 56px);
    font-weight: 800;
    letter-spacing: -0.045em;
    line-height: 1.05;
    text-transform: uppercase;
}

.fh-heading > p:not(.fh-kicker) {
    max-width: 650px;
    margin: 18px auto 0;
    color: var(--fh-muted);
    font-size: 16px;
    line-height: 1.7;
}

.fh-services {
    background: var(--fh-white);
}

.fh-services__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border-top: 1px solid var(--fh-line);
    border-left: 1px solid var(--fh-line);
}

.fh-service-card {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    padding: 28px;
    border-right: 1px solid var(--fh-line);
    border-bottom: 1px solid var(--fh-line);
    background: var(--fh-white);
    color: var(--fh-text);
    text-decoration: none;
    transition: 0.23s ease;
}

.fh-service-card:hover {
    position: relative;
    z-index: 2;
    box-shadow: 0 18px 42px rgba(16, 18, 20, 0.1);
    transform: translateY(-4px);
}

.fh-service-card__number {
    color: var(--fh-orange);
    font-size: 12px;
    font-weight: 800;
}

.fh-service-card__icon {
    width: 52px;
    height: 52px;
    margin: 42px 0 24px;
    border: 2px solid var(--fh-orange);
    background:
        linear-gradient(90deg, transparent 46%, var(--fh-orange) 47% 53%, transparent 54%),
        linear-gradient(transparent 46%, var(--fh-orange) 47% 53%, transparent 54%);
    opacity: 0.8;
}

.fh-service-card h3 {
    margin: 0 0 14px;
    color: var(--fh-black);
    font-size: 21px;
    line-height: 1.2;
    text-transform: uppercase;
}

.fh-service-card p {
    margin: 0;
    color: var(--fh-muted);
    font-size: 14px;
    line-height: 1.68;
}

.fh-service-card__link {
    margin-top: auto;
    padding-top: 24px;
    color: var(--fh-orange);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

.fh-projects {
    background: var(--fh-soft);
}

.fh-heading--split {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 40px;
}

.fh-text-link {
    flex: 0 0 auto;
    padding-bottom: 7px;
    color: var(--fh-orange);
    font-size: 12px;
    font-weight: 800;
    text-decoration: none;
    text-transform: uppercase;
}

.fh-projects__grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.fh-project-card {
    overflow: hidden;
    border: 1px solid var(--fh-line);
    background: var(--fh-white);
    color: var(--fh-black);
    text-decoration: none;
    transition: 0.23s ease;
}

.fh-project-card:hover {
    box-shadow: 0 18px 40px rgba(17, 19, 21, 0.1);
    transform: translateY(-4px);
}

.fh-project-card__media {
    height: 300px;
    overflow: hidden;
}

.fh-project-card__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.45s ease;
}

.fh-project-card:hover .fh-project-card__media img {
    transform: scale(1.04);
}

.fh-photo-placeholder {
    width: 100%;
    height: 100%;
    display: grid;
    place-items: center;
    background:
        linear-gradient(135deg, #e8eaeb, #d5d8da);
    color: #81878c;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fh-project-card__body {
    padding: 24px 26px 26px;
}

.fh-project-card__category {
    display: block;
    margin-bottom: 10px;
    color: var(--fh-orange);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.fh-project-card h3 {
    margin: 0;
    font-size: 25px;
    line-height: 1.15;
    text-transform: uppercase;
}

.fh-project-card p {
    margin: 12px 0 0;
    color: var(--fh-muted);
    font-size: 13px;
}

.fh-workflow {
    background: var(--fh-white);
}

.fh-workflow__grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    border-top: 1px solid var(--fh-line);
    border-left: 1px solid var(--fh-line);
}

.fh-workflow__grid article {
    min-height: 250px;
    padding: 28px 24px;
    border-right: 1px solid var(--fh-line);
    border-bottom: 1px solid var(--fh-line);
}

.fh-workflow__grid span {
    display: block;
    margin-bottom: 48px;
    color: var(--fh-orange);
    font-size: 12px;
    font-weight: 800;
}

.fh-workflow__grid h3 {
    margin: 0 0 13px;
    color: var(--fh-black);
    font-size: 18px;
    line-height: 1.25;
    text-transform: uppercase;
}

.fh-workflow__grid p {
    margin: 0;
    color: var(--fh-muted);
    font-size: 13px;
    line-height: 1.65;
}

.fh-cta {
    background: var(--fh-black);
    color: var(--fh-white);
}

.fh-cta__grid {
    min-height: 200px;
    display: grid;
    grid-template-columns: 1.25fr 1fr auto;
    gap: 48px;
    align-items: center;
}

.fh-cta h2 {
    color: var(--fh-white);
    font-size: clamp(30px, 3vw, 44px);
}

.fh-cta__grid > p {
    margin: 0;
    color: #c7cbce;
    font-size: 15px;
    line-height: 1.7;
}

@media (max-width: 1050px) {
    .fh-hero__grid {
        grid-template-columns: minmax(0, 1fr) minmax(350px, 0.8fr);
    }

    .fh-hero__copy {
        padding-right: 40px;
    }

    .fh-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fh-workflow__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .fh-hero__grid {
        grid-template-columns: 1fr;
    }

    .fh-hero__copy {
        padding: 68px 0;
    }

    .fh-hero__visual,
    .fh-drawing-placeholder {
        min-height: 390px;
    }

    .fh-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .fh-stats article:nth-child(2) {
        border-right: 0;
    }

    .fh-stats article:nth-child(-n + 2) {
        border-bottom: 1px solid var(--fh-line);
    }

    .fh-heading--split {
        align-items: flex-start;
        flex-direction: column;
    }

    .fh-projects__grid {
        grid-template-columns: 1fr;
    }

    .fh-cta__grid {
        grid-template-columns: 1fr;
        gap: 22px;
        padding: 44px 0;
    }

    .fh-cta .fh-btn {
        justify-self: start;
    }
}

@media (max-width: 560px) {
    .fh-hero h1 {
        font-size: 42px;
    }

    .fh-actions {
        flex-direction: column;
    }

    .fh-btn {
        width: 100%;
    }

    .fh-stats__grid,
    .fh-services__grid,
    .fh-workflow__grid {
        grid-template-columns: 1fr;
    }

    .fh-stats article {
        border-right: 0;
        border-bottom: 1px solid var(--fh-line);
    }

    .fh-section {
        padding: 68px 0;
    }

    .fh-project-card__media {
        height: 240px;
    }
}

/* Фінальне оформлення головного заголовка */
.fh-hero__copy {
    padding-right: 30px !important;
}

.fh-hero__copy h1 {
    width: 100% !important;
    max-width: 720px !important;
    margin: 0 !important;
    font-size: 45px !important;
    font-weight: 800 !important;
    line-height: 1.02 !important;
    letter-spacing: -0.035em !important;
}

.fh-hero-title-line {
    display: block;
    white-space: nowrap;
}

.fh-hero-title-line--orange {
    margin-top: 4px;
    color: #f4511e !important;
}

@media (max-width: 1150px) {
    .fh-hero__copy h1 {
        font-size: 39px !important;
    }
}

@media (max-width: 800px) {
    .fh-hero-title-line {
        white-space: normal;
    }

    .fh-hero__copy h1 {
        font-size: 38px !important;
    }
}

@media (max-width: 480px) {
    .fh-hero__copy h1 {
        font-size: 32px !important;
    }
}

/* Точне оформлення заголовка головного екрана */
.fh-hero__copy {
    justify-content: flex-start !important;
    padding-top: 52px !important;
}

.fh-hero__copy h1 {
    margin: 0 !important;
    color: #17191b !important;
    font-size: 45px !important;
    font-weight: 800 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.035em !important;
}

.fh-hero__copy h1 .fh-hero-title-line {
    display: block !important;
    color: #17191b !important;
    white-space: nowrap !important;
}

.fh-hero__copy h1 .fh-hero-title-line--orange {
    margin-top: 8px !important;
    color: #f4511e !important;
}

@media (max-width: 1150px) {
    .fh-hero__copy h1 {
        font-size: 40px !important;
    }
}

@media (max-width: 800px) {
    .fh-hero__copy {
        padding-top: 38px !important;
    }

    .fh-hero__copy h1 {
        font-size: 36px !important;
        line-height: 1.15 !important;
    }

    .fh-hero__copy h1 .fh-hero-title-line {
        white-space: normal !important;
    }
}

/* Зменшення Hero-блоку */
.fh-hero__copy{
    max-width: 520px !important;
    padding-top: 35px !important;
    transform: scale(.92);
    transform-origin: left top;
}


/* Компактніший перший екран */
.fh-hero__grid {
    min-height: 500px !important;
}

.fh-hero__copy {
    max-width: 560px !important;
    padding-top: 38px !important;
    padding-bottom: 38px !important;
    transform: none !important;
}

.fh-hero__visual,
.fh-drawing-placeholder {
    min-height: 500px !important;
    height: 500px !important;
}

.fh-hero__copy h1 {
    font-size: 40px !important;
    line-height: 1.12 !important;
}

.fh-hero__text {
    margin-top: 20px !important;
    font-size: 15px !important;
    line-height: 1.65 !important;
}

.fh-actions {
    margin-top: 26px !important;
}


/* Збільшити відстань між рядками заголовка */
.fh-hero__copy h1{
    line-height: 1.28 !important;
}

.fh-hero-title-line{
    display:block;
    margin-bottom:12px !important;
}

.fh-hero-title-line:last-child{
    margin-bottom:0 !important;
}




/* Збільшити відстань між рядками заголовка */

.fh-hero__copy h1{

    line-height: 1.28 !important;

}



.fh-hero-title-line{

    display:block;

    margin-bottom:16px !important; 

}



.fh-hero-title-line:last-child{

    margin-bottom:0 !important;

}




/* Заголовок Hero - як у макеті */
.fh-hero__copy h1{
    font-size: 48px !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
    letter-spacing: -0.02em !important;
    color:#17191b !important;
}

.fh-hero-title-line{
    display:block;
    margin-bottom:10px !important;
}

.fh-hero-title-line:last-child{
    margin-top:8px !important;
    margin-bottom:0 !important;
    color:#f4511e !important;
}




/* Заголовок Hero - як у макеті */

.fh-hero__copy h1{

    font-size: 60px !important; 

    font-weight: 700 !important;

    line-height: 1.22 !important;

    letter-spacing: -0.02em !important;

    color:#17191b !important;

}



.fh-hero-title-line{

    display:block;

    margin-bottom:10px !important;

}



.fh-hero-title-line:last-child{

    margin-top:8px !important;

    margin-bottom:0 !important;

    color:#f4511e !important;

}




/* Збільшений заголовок Hero */
.fh-hero__copy h1{
    font-size:56px !important;
    font-weight:700 !important;
    line-height:1.18 !important;
    letter-spacing:-0.025em !important;
}


/* Hero title — остаточний розмір */
.fh-hero .fh-hero__copy h1 {
    font-size: 56px !important;
    font-weight: 700 !important;
    line-height: 1.18 !important;
    letter-spacing: -0.025em !important;
}

.fh-hero .fh-hero__copy h1 .fh-hero-title-line {
    font-size: inherit !important;
}


/* Перші два рядки трохи менші */
.fh-hero .fh-hero__copy h1 .fh-hero-title-line:not(.fh-hero-title-line--orange) {
    font-size: 50px !important;
}

/* «ПІД КЛЮЧ» залишається більшим */
.fh-hero .fh-hero__copy h1 .fh-hero-title-line--orange {
    font-size: 56px !important;
}


/* Hero image */
.fh-hero__visual{
    display:flex;
    justify-content:center;
    align-items:center;
}

.fh-hero-image{
    width:100%;
    max-width:760px;
    height:auto;
    object-fit:contain;
    display:block;
}


/* Hero: велике зображення та текст поверх нього */
.fh-hero {
    position: relative !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.fh-hero::before {
    display: none !important;
}

.fh-hero__grid {
    position: relative !important;
    min-height: 500px !important;
    display: block !important;
}

/* Зображення займає весь блок */
.fh-hero__visual {
    position: absolute !important;
    z-index: 1 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    display: block !important;
}

.fh-hero-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: right center !important;
}

/* Текст поверх зображення */
.fh-hero__copy {
    position: relative !important;
    z-index: 2 !important;
    width: 62% !important;
    max-width: 780px !important;
    min-height: 500px !important;
    display: flex !important;
    justify-content: center !important;
    flex-direction: column !important;
    padding: 45px 110px 45px 0 !important;
    transform: none !important;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 68%,
        rgba(255, 255, 255, 0.96) 82%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
}

/* Забезпечуємо читабельність тексту */
.fh-hero__copy h1,
.fh-hero__text {
    position: relative !important;
    z-index: 3 !important;
}

/* Мобільна версія */
@media (max-width: 800px) {
    .fh-hero__grid {
        min-height: auto !important;
    }

    .fh-hero__visual {
        position: relative !important;
        height: 320px !important;
        min-height: 320px !important;
    }

    .fh-hero__copy {
        width: 100% !important;
        max-width: none !important;
        min-height: auto !important;
        padding: 45px 0 !important;
        background: #ffffff !important;
    }

    .fh-hero-image {
        object-position: center !important;
    }
}


/* Hero: велике зображення та текст поверх нього */
.fh-hero {
    position: relative !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.fh-hero::before {
    display: none !important;
}

.fh-hero__grid {
    position: relative !important;
    min-height: 500px !important;
    display: block !important;
}

/* Зображення займає весь блок */
.fh-hero__visual {
    position: absolute !important;
    z-index: 1 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    display: block !important;
}

.fh-hero-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: right center !important;
}

/* Текст поверх зображення */
.fh-hero__copy {
    position: relative !important;
    z-index: 2 !important;
    width: 62% !important;
    max-width: 780px !important;
    min-height: 500px !important;
    display: flex !important;
    justify-content: center !important;
    flex-direction: column !important;
    padding: 45px 110px 45px 0 !important;
    transform: none !important;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 68%,
        rgba(255, 255, 255, 0.96) 82%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
}

/* Забезпечуємо читабельність тексту */
.fh-hero__copy h1,
.fh-hero__text {
    position: relative !important;
    z-index: 3 !important;
}

/* Мобільна версія */
@media (max-width: 800px) {
    .fh-hero__grid {
        min-height: auto !important;
    }

    .fh-hero__visual {
        position: relative !important;
        height: 320px !important;
        min-height: 320px !important;
    }

    .fh-hero__copy {
        width: 100% !important;
        max-width: none !important;
        min-height: auto !important;
        padding: 45px 0 !important;
        background: #ffffff !important;
    }

    .fh-hero-image {
        object-position: center !important;
    }
}


/* Трохи зменшити Hero-зображення */
.fh-hero-image{
    width:88% !important;
    height:88% !important;
    max-width:none !important;
    object-fit:contain !important;
    object-position:right center !important;
    margin-left:auto !important;
    display:block !important;
}


/* Hero: велике зображення та текст поверх нього */
.fh-hero {
    position: relative !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

.fh-hero::before {
    display: none !important;
}

.fh-hero__grid {
    position: relative !important;
    min-height: 500px !important;
    display: block !important;
}

/* Зображення займає весь блок */
.fh-hero__visual {
    position: absolute !important;
    z-index: 1 !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 500px !important;
    display: block !important;
}

.fh-hero-image {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    display: block !important;
    object-fit: cover !important;
    object-position: right center !important;
}

/* Текст поверх зображення */
.fh-hero__copy {
    position: relative !important;
    z-index: 2 !important;
    width: 62% !important;
    max-width: 780px !important;
    min-height: 500px !important;
    display: flex !important;
    justify-content: center !important;
    flex-direction: column !important;
    padding: 45px 110px 45px 0 !important;
    transform: none !important;

    background: linear-gradient(
        90deg,
        #ffffff 0%,
        #ffffff 68%,
        rgba(255, 255, 255, 0.96) 82%,
        rgba(255, 255, 255, 0) 100%
    ) !important;
}

/* Забезпечуємо читабельність тексту */
.fh-hero__copy h1,
.fh-hero__text {
    position: relative !important;
    z-index: 3 !important;
}

/* Мобільна версія */
@media (max-width: 800px) {
    .fh-hero__grid {
        min-height: auto !important;
    }

    .fh-hero__visual {
        position: relative !important;
        height: 320px !important;
        min-height: 320px !important;
    }

    .fh-hero__copy {
        width: 100% !important;
        max-width: none !important;
        min-height: auto !important;
        padding: 45px 0 !important;
        background: #ffffff !important;
    }

    .fh-hero-image {
        object-position: center !important;
    }
}


/* ===== Фінальний блок статистики ===== */

.fh-stats {
    background: #ffffff !important;
    border-top: 1px solid #e6e8ea !important;
    border-bottom: 1px solid #e6e8ea !important;
}

.fh-stats__grid {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
}

.fh-stat-card {
    min-height: 112px !important;
    display: flex !important;
    align-items: center !important;
    gap: 18px !important;
    padding: 22px 28px !important;
    border-right: 1px solid #e6e8ea !important;
}

.fh-stat-card:last-child {
    border-right: 0 !important;
}

.fh-stat-card::before {
    display: none !important;
    content: none !important;
}

.fh-stat-card__icon {
    width: 46px !important;
    height: 46px !important;
    flex: 0 0 46px !important;
    display: block !important;
    object-fit: contain !important;
}

.fh-stat-card__content {
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.fh-stat-card__content strong {
    display: block !important;
    width: auto !important;
    margin: 0 0 7px !important;
    color: #17191b !important;
    font-size: 28px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
}

.fh-stat-card__content span {
    display: block !important;
    width: auto !important;
    margin: 0 !important;
    color: #34383b !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    line-height: 1.35 !important;
    text-transform: uppercase !important;
}

@media (max-width: 900px) {
    .fh-stats__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .fh-stat-card:nth-child(2) {
        border-right: 0 !important;
    }

    .fh-stat-card:nth-child(-n + 2) {
        border-bottom: 1px solid #e6e8ea !important;
    }
}

@media (max-width: 560px) {
    .fh-stats__grid {
        grid-template-columns: 1fr !important;
    }

    .fh-stat-card {
        border-right: 0 !important;
        border-bottom: 1px solid #e6e8ea !important;
    }

    .fh-stat-card:last-child {
        border-bottom: 0 !important;
    }
}


/* Іконки зліва перед цифрами */
.fh-stat-card {
    display: grid !important;
    grid-template-columns: 54px 1fr !important;
    align-items: center !important;
    column-gap: 18px !important;
    padding: 22px 28px !important;
}

.fh-stat-card__icon {
    grid-column: 1 !important;
    grid-row: 1 !important;
    width: 48px !important;
    height: 48px !important;
    margin: 0 !important;
    align-self: center !important;
    justify-self: start !important;
}

.fh-stat-card__content {
    grid-column: 2 !important;
    grid-row: 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    justify-content: center !important;
}

.fh-stat-card__content strong {
    margin: 0 0 7px !important;
    font-size: 28px !important;
    line-height: 1 !important;
}

.fh-stat-card__content span {
    margin: 0 !important;
    line-height: 1.35 !important;
}


/* Іконки послуг із адмінпанелі */
.fh-service-card__icon {
    width: 58px !important;
    height: 58px !important;
    margin: 38px 0 24px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border: 0 !important;
    background: transparent !important;
}

.fh-service-card__icon-image {
    width: 58px !important;
    height: 58px !important;
    max-width: 58px !important;
    display: block !important;
    object-fit: contain !important;
}

.fh-service-card__icon-placeholder {
    width: 52px;
    height: 52px;
    display: block;
    border: 2px solid #f4511e;
}


/* Збільшити іконки послуг */
.fh-service-card__icon{
    width:80px !important;
    height:80px !important;
    margin:32px 0 22px !important;
}

.fh-service-card__icon-image{
    width:80px !important;
    height:80px !important;
    max-width:80px !important;
    max-height:80px !important;
}




/* Збільшити іконки послуг */

.fh-service-card__icon{

    width:96px !important; 

    height:96px !important; 

    margin:32px 0 22px !important;

}



.fh-service-card__icon-image{

    width:96px !important; 

    height:96px !important; 

    max-width:80px !important;

    max-height:80px !important;

}




/* Дуже великі іконки послуг */
.fh-service-card__icon{
    width:110px !important;
    height:110px !important;
    margin:24px 0 18px !important;
}

.fh-service-card__icon-image{
    width:110px !important;
    height:110px !important;
    max-width:110px !important;
    max-height:110px !important;
    object-fit:contain !important;
}


/* Центрування іконки в картці послуги */
.fh-service-card__icon{
    width:110px !important;
    height:110px !important;

    display:flex !important;
    justify-content:center !important;
    align-items:center !important;

    margin:24px auto 22px !important;
}

.fh-service-card__icon-image{
    width:110px !important;
    height:110px !important;
    max-width:110px !important;
    max-height:110px !important;
    display:block !important;
    object-fit:contain !important;
    margin:0 auto !important;
}


/* Повернути стандартне вирівнювання іконки */
.fh-service-card__icon{
    width:110px !important;
    height:110px !important;

    display:flex !important;
    justify-content:flex-start !important;
    align-items:center !important;

    margin:24px 0 22px !important;
}

.fh-service-card__icon-image{
    width:110px !important;
    height:110px !important;
    max-width:110px !important;
    max-height:110px !important;
    object-fit:contain !important;
    margin:0 !important;
}


/* =========================================
   Оновлений блок послуг
   ========================================= */

.fh-services {
    background: #f6f7f7 !important;
}

.fh-services__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 22px !important;
    border: 0 !important;
}

.fh-service-card {
    position: relative !important;
    min-height: 390px !important;
    overflow: hidden !important;

    display: flex !important;
    flex-direction: column !important;

    padding: 30px 30px 28px !important;

    border: 1px solid #e2e5e7 !important;
    background: #ffffff !important;
    color: #17191b !important;

    box-shadow: 0 6px 20px rgba(20, 24, 28, 0.04) !important;
    transition:
        transform 0.28s ease,
        box-shadow 0.28s ease,
        border-color 0.28s ease !important;
}

/* Помаранчева смуга зліва */
.fh-service-card::before {
    position: absolute !important;
    top: 0 !important;
    bottom: 0 !important;
    left: 0 !important;

    width: 4px !important;

    background: #f4511e !important;
    transform: scaleY(0) !important;
    transform-origin: bottom !important;
    transition: transform 0.28s ease !important;

    content: "" !important;
}

/* Декоративний номер */
.fh-service-card__number {
    position: absolute !important;
    top: 22px !important;
    right: 24px !important;

    color: #eceeef !important;
    font-size: 58px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    letter-spacing: -0.06em !important;

    transition: color 0.28s ease !important;
}

/* Іконка */
.fh-service-card__icon {
    width: 110px !important;
    height: 110px !important;

    margin: 22px 0 28px !important;

    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    border: 0 !important;
    background: transparent !important;

    transition: transform 0.28s ease !important;
}

.fh-service-card__icon-image {
    width: 110px !important;
    height: 110px !important;
    max-width: 110px !important;
    max-height: 110px !important;

    display: block !important;
    object-fit: contain !important;
}

/* Заголовок */
.fh-service-card h3 {
    position: relative !important;
    z-index: 2 !important;

    margin: 0 0 16px !important;

    color: #17191b !important;
    font-size: 23px !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    letter-spacing: -0.02em !important;
    text-transform: uppercase !important;
}

/* Опис */
.fh-service-card p {
    position: relative !important;
    z-index: 2 !important;

    margin: 0 !important;

    color: #6a7075 !important;
    font-size: 14px !important;
    line-height: 1.7 !important;
}

/* Посилання внизу */
.fh-service-card__link {
    position: relative !important;
    z-index: 2 !important;

    margin-top: auto !important;
    padding-top: 28px !important;

    color: #f4511e !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: 0.04em !important;
    text-transform: uppercase !important;
}

/* Hover */
.fh-service-card:hover {
    z-index: 3 !important;

    border-color: transparent !important;
    box-shadow: 0 22px 45px rgba(20, 24, 28, 0.14) !important;
    transform: translateY(-8px) !important;
}

.fh-service-card:hover::before {
    transform: scaleY(1) !important;
}

.fh-service-card:hover .fh-service-card__icon {
    transform: scale(1.07) translateX(4px) !important;
}

.fh-service-card:hover .fh-service-card__number {
    color: rgba(244, 81, 30, 0.14) !important;
}

/* Планшет */
@media (max-width: 1000px) {
    .fh-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Телефон */
@media (max-width: 620px) {
    .fh-services__grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .fh-service-card {
        min-height: 350px !important;
        padding: 26px 24px !important;
    }

    .fh-service-card__number {
        font-size: 48px !important;
    }

    .fh-service-card__icon,
    .fh-service-card__icon-image {
        width: 92px !important;
        height: 92px !important;
        max-width: 92px !important;
        max-height: 92px !important;
    }
}


/* Збільшити текст у картках послуг */

.fh-service-card h3{
    font-size:28px !important;
    line-height:1.18 !important;
    font-weight:700 !important;
}

.fh-service-card p{
    font-size:17px !important;
    line-height:1.65 !important;
}

.fh-service-card__link{
    font-size:15px !important;
    letter-spacing:.03em !important;
}


/* =========================================
   Акцентний блок статистики
   ========================================= */

.fh-stats {
    position: relative !important;
    overflow: hidden !important;
    background:
        linear-gradient(
            135deg,
            #202326 0%,
            #17191b 100%
        ) !important;
    border-top: 0 !important;
    border-bottom: 0 !important;
}

/* Легка декоративна сітка */
.fh-stats::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 38px 38px;
    content: "";
}

.fh-stats__grid {
    position: relative !important;
    z-index: 1 !important;
}

/* Окремий елемент статистики */
.fh-stat-card {
    position: relative !important;
    min-height: 126px !important;
    border-right: 1px solid rgba(255,255,255,.13) !important;
    background: transparent !important;
    transition:
        background-color .25s ease,
        transform .25s ease !important;
}

.fh-stat-card:last-child {
    border-right: 0 !important;
}

/* Помаранчева лінія знизу */
.fh-stat-card::after {
    position: absolute;
    right: 28px;
    bottom: 0;
    left: 28px;
    height: 3px;
    background: #f4511e;
    transform: scaleX(0);
    transform-origin: center;
    transition: transform .25s ease;
    content: "";
}

.fh-stat-card:hover {
    z-index: 2 !important;
    background: rgba(255,255,255,.055) !important;
    transform: translateY(-4px) !important;
}

.fh-stat-card:hover::after {
    transform: scaleX(1);
}

/* Іконки */
.fh-stat-card__icon {
    width: 52px !important;
    height: 52px !important;
    filter: brightness(0) invert(1);
    opacity: .95;
    transition:
        transform .25s ease,
        filter .25s ease !important;
}

.fh-stat-card:hover .fh-stat-card__icon {
    filter: none;
    transform: scale(1.08);
}

/* Цифри */
.fh-stat-card__content strong {
    color: #ffffff !important;
    font-size: 31px !important;
}

/* Підписи */
.fh-stat-card__content span {
    color: #d4d7d9 !important;
    font-size: 12px !important;
}

/* Мобільна адаптація */
@media (max-width: 900px) {
    .fh-stat-card {
        border-bottom: 1px solid rgba(255,255,255,.13) !important;
    }
}


/* =========================================
   Оновлений блок "Як ми працюємо"
   ========================================= */

.fh-workflow {
    position: relative !important;
    overflow: hidden !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%) !important;
}

/* декоративна сітка */
.fh-workflow::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(23,25,27,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,25,27,.025) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
}

.fh-workflow .mpf-container {
    position: relative !important;
    z-index: 1 !important;
}

/* сам ряд етапів */
.fh-workflow__grid {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin-top: 46px !important;
}

/* горизонтальна лінія */
.fh-workflow__grid::before {
    position: absolute;
    top: 42px;
    right: 8%;
    left: 8%;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            #f4511e 0%,
            #f4511e 100%
        );
    opacity: .28;
    content: "";
}

/* картка етапу */
.fh-workflow__grid article {
    position: relative !important;
    min-height: 270px !important;
    padding: 78px 24px 28px !important;
    overflow: hidden !important;

    border: 1px solid #e1e4e6 !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 8px 24px rgba(20,24,28,.05) !important;

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease !important;
}

/* круглий маркер зверху */
.fh-workflow__grid article::before {
    position: absolute;
    top: 22px;
    left: 24px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #f4511e;
    border-radius: 50%;
    background: #ffffff;
    color: #f4511e;

    font-size: 12px;
    font-weight: 800;
    line-height: 1;

    content: counter(workflow-step, decimal-leading-zero);
    counter-increment: workflow-step;
    z-index: 2;
}

/* великий декоративний номер */
.fh-workflow__grid article::after {
    position: absolute;
    top: 6px;
    right: 14px;

    color: rgba(23,25,27,.045);
    font-size: 92px;
    font-weight: 900;
    line-height: 1;

    content: counter(workflow-step, decimal-leading-zero);
    pointer-events: none;
}

.fh-workflow__grid {
    counter-reset: workflow-step;
}

.fh-workflow__grid article h3 {
    position: relative !important;
    z-index: 2 !important;

    margin: 0 0 15px !important;

    color: #17191b !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
    text-transform: uppercase !important;
}

.fh-workflow__grid article p {
    position: relative !important;
    z-index: 2 !important;

    margin: 0 !important;

    color: #666d72 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

/* hover */
.fh-workflow__grid article:hover {
    z-index: 3 !important;
    transform: translateY(-8px) !important;
    border-color: rgba(244,81,30,.35) !important;
    box-shadow: 0 22px 44px rgba(20,24,28,.13) !important;
}

.fh-workflow__grid article:hover::before {
    background: #f4511e;
    color: #ffffff;
}

.fh-workflow__grid article:hover::after {
    color: rgba(244,81,30,.09);
}

/* планшет */
@media (max-width: 1000px) {
    .fh-workflow__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .fh-workflow__grid::before {
        display: none;
    }

    .fh-workflow__grid article:last-child {
        grid-column: 1 / -1;
    }
}

/* мобільний */
@media (max-width: 620px) {
    .fh-workflow__grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .fh-workflow__grid article,
    .fh-workflow__grid article:last-child {
        grid-column: auto;
        min-height: 230px !important;
    }
}


/* =========================================
   Оновлений блок "Як ми працюємо"
   ========================================= */

.fh-workflow {
    position: relative !important;
    overflow: hidden !important;
    background:
        linear-gradient(180deg, #ffffff 0%, #f7f8f8 100%) !important;
}

/* декоративна сітка */
.fh-workflow::before {
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(23,25,27,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(23,25,27,.025) 1px, transparent 1px);
    background-size: 42px 42px;
    content: "";
}

.fh-workflow .mpf-container {
    position: relative !important;
    z-index: 1 !important;
}

/* сам ряд етапів */
.fh-workflow__grid {
    position: relative !important;
    display: grid !important;
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
    gap: 18px !important;
    margin-top: 46px !important;
}

/* горизонтальна лінія */
.fh-workflow__grid::before {
    position: absolute;
    top: 42px;
    right: 8%;
    left: 8%;
    height: 2px;
    background:
        linear-gradient(
            90deg,
            #f4511e 0%,
            #f4511e 100%
        );
    opacity: .28;
    content: "";
}

/* картка етапу */
.fh-workflow__grid article {
    position: relative !important;
    min-height: 270px !important;
    padding: 78px 24px 28px !important;
    overflow: hidden !important;

    border: 1px solid #e1e4e6 !important;
    background: rgba(255,255,255,.96) !important;
    box-shadow: 0 8px 24px rgba(20,24,28,.05) !important;

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease !important;
}

/* круглий маркер зверху */
.fh-workflow__grid article::before {
    position: absolute;
    top: 22px;
    left: 24px;

    width: 38px;
    height: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 2px solid #f4511e;
    border-radius: 50%;
    background: #ffffff;
    color: #f4511e;

    font-size: 12px;
    font-weight: 800;
    line-height: 1;

    content: counter(workflow-step, decimal-leading-zero);
    counter-increment: workflow-step;
    z-index: 2;
}

/* великий декоративний номер */
.fh-workflow__grid article::after {
    position: absolute;
    top: 6px;
    right: 14px;

    color: rgba(23,25,27,.045);
    font-size: 92px;
    font-weight: 900;
    line-height: 1;

    content: counter(workflow-step, decimal-leading-zero);
    pointer-events: none;
}

.fh-workflow__grid {
    counter-reset: workflow-step;
}

.fh-workflow__grid article h3 {
    position: relative !important;
    z-index: 2 !important;

    margin: 0 0 15px !important;

    color: #17191b !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.22 !important;
    text-transform: uppercase !important;
}

.fh-workflow__grid article p {
    position: relative !important;
    z-index: 2 !important;

    margin: 0 !important;

    color: #666d72 !important;
    font-size: 14px !important;
    line-height: 1.65 !important;
}

/* hover */
.fh-workflow__grid article:hover {
    z-index: 3 !important;
    transform: translateY(-8px) !important;
    border-color: rgba(244,81,30,.35) !important;
    box-shadow: 0 22px 44px rgba(20,24,28,.13) !important;
}

.fh-workflow__grid article:hover::before {
    background: #f4511e;
    color: #ffffff;
}

.fh-workflow__grid article:hover::after {
    color: rgba(244,81,30,.09);
}

/* планшет */
@media (max-width: 1000px) {
    .fh-workflow__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .fh-workflow__grid::before {
        display: none;
    }

    .fh-workflow__grid article:last-child {
        grid-column: 1 / -1;
    }
}

/* мобільний */
@media (max-width: 620px) {
    .fh-workflow__grid {
        grid-template-columns: 1fr !important;
        gap: 16px !important;
    }

    .fh-workflow__grid article,
    .fh-workflow__grid article:last-child {
        grid-column: auto;
        min-height: 230px !important;
    }
}


/* Прибрати дубльований старий номер етапу */
.fh-workflow__grid article > span:first-child {
    display: none !important;
}


/* Прибрати номер в кружечку */
.fh-workflow__grid article::before{
    display:none !important;
}

/* Великий номер без ведучого нуля */
.fh-workflow__grid{
    counter-reset:workflow-step;
}

.fh-workflow__grid article::after{
    counter-increment:workflow-step;
    content:counter(workflow-step) !important;

    position:absolute;
    top:14px;
    right:18px;

    font-size:78px !important;
    font-weight:800 !important;
    color:rgba(23,25,27,.06) !important;
    line-height:1;
}


/* Анімація великого номера при наведенні */
.fh-service-card__number{
    transition:
        color .3s ease,
        transform .3s ease,
        opacity .3s ease !important;
}

.fh-service-card:hover .fh-service-card__number{
    color: rgba(244,81,30,.18) !important;
    transform: scale(1.08);
    opacity: 1 !important;
}


.fh-service-card:hover .fh-service-card__number{
    color:#f4511e !important;
    opacity:.25 !important;
    transform:scale(1.08) !important;
}


/* Підсвічування великого номера */
.fh-workflow__grid article::after{
    transition:
        color .30s ease,
        opacity .30s ease,
        transform .30s ease !important;
}

.fh-workflow__grid article:hover::after{
    color:#f4511e !important;
    opacity:.18 !important;
    transform:scale(1.08) !important;
}


/* =========================================
   Розмежування CTA та Footer
   ========================================= */

/* Верхній CTA-блок */
.fh-cta,
.mpf-cta {
    position: relative !important;
    background:
        linear-gradient(135deg, #202326 0%, #181b1e 100%) !important;
    border-bottom: 4px solid #f4511e !important;
}

/* Легка декоративна сітка у CTA */
.fh-cta::before,
.mpf-cta::before {
    position: absolute !important;
    inset: 0 !important;
    pointer-events: none !important;
    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);
    background-size: 36px 36px;
    content: "" !important;
}

.fh-cta > *,
.mpf-cta > * {
    position: relative !important;
    z-index: 1 !important;
}

/* Footer */
.mpf-footer {
    position: relative !important;
    padding-top: 54px !important;
    background: #101214 !important;
    border-top: 0 !important;
}

/* Тонка світла лінія всередині футера */
.mpf-footer::before {
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    left: 0 !important;
    height: 1px !important;
    background: rgba(255,255,255,.08) !important;
    content: "" !important;
}

/* Більше повітря між колонками */
.mpf-footer .mpf-footer-grid,
.mpf-footer .mpf-container {
    column-gap: 56px !important;
}

/* Заголовки колонок */
.mpf-footer h3,
.mpf-footer h4 {
    margin-bottom: 18px !important;
    color: #ffffff !important;
}

/* Посилання */
.mpf-footer a {
    transition:
        color .22s ease,
        transform .22s ease !important;
}

.mpf-footer a:hover {
    color: #f4511e !important;
    transform: translateX(3px);
}

/* Мобільна версія */
@media (max-width: 700px) {
    .mpf-footer {
        padding-top: 40px !important;
    }
}


/* =========================================
   Акцентний блок проєктів
   ========================================= */

.fh-projects {
    position: relative !important;
    overflow: hidden !important;
    padding: 96px 0 110px !important;

    background:
        linear-gradient(135deg, #202326 0%, #151719 100%) !important;
}

/* Декоративна сітка */
.fh-projects::before {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background-image:
        linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px);

    background-size: 48px 48px;
    content: "";
}

.fh-projects .mpf-container {
    position: relative !important;
    z-index: 1 !important;
}

/* Підпис секції */
.fh-projects .fh-kicker {
    color: #f4511e !important;
}

/* Заголовок */
.fh-projects .fh-heading h2 {
    color: #ffffff !important;
}

/* Посилання "Усі проєкти" */
.fh-projects .fh-text-link {
    color: #f4511e !important;
    font-weight: 800 !important;
    transition:
        color .22s ease,
        transform .22s ease !important;
}

.fh-projects .fh-text-link:hover {
    color: #ffffff !important;
    transform: translateX(5px);
}

/* Сітка карток */
.fh-projects__grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 24px !important;
    margin-top: 42px !important;
}

/* Картка */
.fh-project-card {
    position: relative !important;
    overflow: hidden !important;

    display: flex !important;
    flex-direction: column !important;

    min-height: 430px !important;

    border: 1px solid rgba(255,255,255,.10) !important;
    background: #ffffff !important;
    color: #17191b !important;

    box-shadow: 0 12px 30px rgba(0,0,0,.18) !important;

    transition:
        transform .28s ease,
        box-shadow .28s ease,
        border-color .28s ease !important;
}

/* Помаранчева лінія зверху */
.fh-project-card::before {
    position: absolute;
    z-index: 3;
    top: 0;
    right: 0;
    left: 0;

    height: 4px;

    background: #f4511e;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .28s ease;

    content: "";
}

/* Фото */
.fh-project-card__media {
    position: relative !important;
    overflow: hidden !important;
    height: 270px !important;
    background: #2a2d30 !important;
}

.fh-project-card__media img {
    width: 100% !important;
    height: 100% !important;
    display: block !important;

    object-fit: cover !important;
    object-position: center !important;

    transition:
        transform .45s ease,
        filter .45s ease !important;
}

/* Легкий градієнт на фото */
.fh-project-card__media::after {
    position: absolute;
    inset: 0;
    pointer-events: none;

    background:
        linear-gradient(
            180deg,
            transparent 55%,
            rgba(0,0,0,.18) 100%
        );

    content: "";
}

/* Контент */
.fh-project-card__body {
    flex: 1 !important;
    padding: 26px 28px 30px !important;
}

/* Категорія */
.fh-project-card__category {
    display: block !important;
    margin-bottom: 12px !important;

    color: #f4511e !important;
    font-size: 12px !important;
    font-weight: 800 !important;
    letter-spacing: .06em !important;
    text-transform: uppercase !important;
}

/* Назва */
.fh-project-card h3 {
    margin: 0 0 16px !important;

    color: #17191b !important;
    font-size: 25px !important;
    font-weight: 750 !important;
    line-height: 1.2 !important;
    letter-spacing: -.02em !important;
}

/* Метадані */
.fh-project-card__body p {
    margin: 0 !important;

    color: #687076 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
}

/* Hover */
.fh-project-card:hover {
    z-index: 3 !important;

    border-color: rgba(244,81,30,.45) !important;
    box-shadow: 0 26px 55px rgba(0,0,0,.30) !important;
    transform: translateY(-9px) !important;
}

.fh-project-card:hover::before {
    transform: scaleX(1);
}

.fh-project-card:hover .fh-project-card__media img {
    transform: scale(1.06);
    filter: saturate(1.08) contrast(1.03);
}

/* Якщо показується лише один проєкт */
.fh-projects__grid > :only-child {
    max-width: 620px !important;
}

/* Планшет */
@media (max-width: 1000px) {
    .fh-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* Мобільний */
@media (max-width: 650px) {
    .fh-projects {
        padding: 68px 0 78px !important;
    }

    .fh-projects__grid {
        grid-template-columns: 1fr !important;
        gap: 18px !important;
    }

    .fh-project-card {
        min-height: 390px !important;
    }

    .fh-project-card__media {
        height: 230px !important;
    }
}


/* =========================================
   Типографіка сторінки послуги
   ========================================= */

.mpf-service-detail-content{
    max-width:820px;
    color:#4d5661;
    font-size:18px;
    line-height:1.95;
    font-weight:400;
}

.mpf-service-detail-content h2{
    margin:60px 0 24px;
    color:#17191b;
    font-size:42px;
    font-weight:800;
    line-height:1.15;
    letter-spacing:-0.03em;
}

.mpf-service-detail-content h3{
    margin:42px 0 18px;
    color:#17191b;
    font-size:28px;
    font-weight:700;
}

.mpf-service-detail-content p{
    margin:0 0 28px;
}

.mpf-service-detail-content p:first-of-type{
    font-size:22px;
    line-height:1.8;
    color:#23272b;
}

.mpf-service-detail-content strong{
    color:#17191b;
    font-weight:700;
}

.mpf-service-detail-content ul{
    margin:28px 0 42px;
    padding:0;
    list-style:none;
}

.mpf-service-detail-content li{
    position:relative;
    margin-bottom:18px;
    padding-left:34px;
    font-size:18px;
    line-height:1.8;
}

.mpf-service-detail-content li::before{
    content:"";
    position:absolute;
    left:0;
    top:11px;
    width:10px;
    height:10px;
    border-radius:50%;
    background:#f4511e;
}

.mpf-service-detail-content p:last-child{
    margin-top:50px;
    padding:28px 34px;
    border-left:5px solid #f4511e;
    background:#fafafa;
    color:#17191b;
    font-weight:600;
    border-radius:0 8px 8px 0;
}

.mpf-service-detail-content h2{
    position:relative;
    padding-left:22px;
}

.mpf-service-detail-content h2::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:6px;
    height:34px;
    border-radius:6px;
    background:#f4511e;
}

/* =========================================
   Типографіка сторінки послуги
   ========================================= */

.mpf-service-detail-content{
    max-width:820px;
    color:#4d5661;
    font-size:18px;
    line-height:1.95;
    font-weight:400;
}

.mpf-service-detail-content h2{
    margin:60px 0 24px;
    color:#17191b;
    font-size:42px;
    font-weight:800;
    line-height:1.15;
    letter-spacing:-0.03em;
}

.mpf-service-detail-content h3{
    margin:42px 0 18px;
    color:#17191b;
    font-size:28px;
    font-weight:700;
}

.mpf-service-detail-content p{
    margin:0 0 28px;
}

.mpf-service-detail-content p:first-of-type{
    font-size:22px;
    line-height:1.8;
    color:#23272b;
}

.mpf-service-detail-content strong{
    color:#17191b;
    font-weight:700;
}

.mpf-service-detail-content ul{
    margin:28px 0 42px;
    padding:0;
    list-style:none;
}

.mpf-service-detail-content li{
    position:relative;
    margin-bottom:18px;
    padding-left:34px;
    font-size:18px;
    line-height:1.8;
}

.mpf-service-detail-content li::before{
    content:"";
    position:absolute;
    left:0;
    top:11px;
    width:10px;
    height:10px;
    border-radius:50%;
    background:#f4511e;
}

.mpf-service-detail-content p:last-child{
    margin-top:50px;
    padding:28px 34px;
    border-left:5px solid #f4511e;
    background:#fafafa;
    color:#17191b;
    font-weight:600;
    border-radius:0 8px 8px 0;
}

.mpf-service-detail-content h2{
    position:relative;
    padding-left:22px;
}

.mpf-service-detail-content h2::before{
    content:"";
    position:absolute;
    left:0;
    top:50%;
    transform:translateY(-50%);
    width:6px;
    height:34px;
    border-radius:6px;
    background:#f4511e;
}


/* ==========================================
   CTA на сторінках послуг
   ========================================== */

.mpf-cta{
    padding:70px 0 !important;
}

.mpf-cta-inner{
    min-height:220px !important;
    align-items:center !important;
}

.mpf-cta h2{
    margin-bottom:18px;
    font-size:64px;
    line-height:1;
}

.mpf-cta p{
    max-width:640px;
    margin:0;
    font-size:22px;
    line-height:1.7;
    opacity:.95;
}

/* Велика кнопка */

.mpf-cta .mpf-button{

    display:inline-flex;
    align-items:center;
    justify-content:center;

    min-width:340px;
    height:78px;

    padding:0 54px;

    font-size:20px;
    font-weight:700;

    border-radius:6px;

    transition:.3s;
}

.mpf-cta .mpf-button:hover{

    transform:translateY(-3px);

    box-shadow:0 18px 35px rgba(0,0,0,.18);

}


/* =====================================
   PREMIUM CTA
   ===================================== */

.mpf-cta{
    padding:55px 0 !important;
}

.mpf-cta-inner{
    min-height:180px !important;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:80px;
}

.mpf-cta h2{
    margin:0 0 18px;
    font-size:68px;
    line-height:.95;
    letter-spacing:-.04em;
}

.mpf-cta p{
    max-width:700px;
    margin:0;
    font-size:22px;
    line-height:1.7;
    opacity:.96;
}

/* ---------- КНОПКА ---------- */

.mpf-cta .mpf-button{

    display:flex;
    align-items:center;
    justify-content:center;

    min-width:420px !important;
    height:96px !important;

    padding:0 70px !important;

    font-size:24px !important;
    font-weight:700;

    border-radius:8px;

    background:#fff !important;
    color:#f4511e !important;

    box-shadow:
        0 15px 35px rgba(0,0,0,.18);

    transition:.35s;
}

.mpf-cta .mpf-button:hover{

    transform:translateY(-5px) scale(1.03);

    box-shadow:
        0 25px 50px rgba(0,0,0,.25);

}

/* Мобільна версія */

@media(max-width:992px){

    .mpf-cta-inner{
        flex-direction:column;
        text-align:center;
    }

    .mpf-cta .mpf-button{
        min-width:320px !important;
        width:100%;
        max-width:420px;
    }

}

