/**
 * Target IT frontend styles.
 *
 * Design tokens and component styles will be implemented
 * after the Figma design audit.
 */
/* =========================================
   TARGET IT — GLOBAL FOUNDATION
   ========================================= */


/* =========================================
   TYPOGRAPHY — SYNE
   ========================================= */

@font-face {
    font-family: "Syne";
    src: url("../fonts/syne-greek-wght-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0370-03FF, U+1F00-1FFF;
}

@font-face {
    font-family: "Syne";
    src: url("../fonts/syne-latin-wght-normal.woff2") format("woff2");
    font-style: normal;
    font-weight: 400 800;
    font-display: swap;
    unicode-range: U+0000-036F, U+2000-206F, U+20AC, U+2122;
}

:root {
    --target-charcoal: #2e2e2e;
    --target-white: #ffffff;
    --target-green: #9ec857;
    --target-border: rgba(255, 255, 255, 0.55);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Syne", Arial, Helvetica, sans-serif;
}

.wp-site-blocks>* {
    margin-block-start: 0;
}


/* =========================================
   HEADER — DESKTOP
   ========================================= */

.target-header {
    position: relative;
    z-index: 100;

    display: flex;
    align-items: stretch;

    width: 100%;
    min-height: 106px;
    padding: 0;
    gap: 0;

    background: var(--target-charcoal);
    color: var(--target-white);

    border-bottom: 1px solid var(--target-border);
}

/* Logo area */

.target-header .target-header__brand {
    display: flex;
    align-items: center;
    justify-content: center;

    flex: 0 0 27.7%;
    min-width: 0;
    margin: 0;
}

.target-header__brand a {
    display: block;

    width: 190px;
    max-width: 80%;
    height: 40px;

    background-image: url("../design/svgs/logo.svg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;

    font-size: 0;
    text-indent: -9999px;
    white-space: nowrap;
    overflow: hidden;
}

/* Navigation area */

.target-header .target-header__nav {
    display: flex;
    flex: 1;
    min-width: 0;
    margin: 0;
}

.target-header__nav .wp-block-navigation__responsive-container {
    width: 100%;
}

.target-header__nav .wp-block-navigation__container {
    display: flex;
    align-items: stretch;
    flex-wrap: nowrap;
    gap: 0;

    width: 100%;
}

.target-header__nav .wp-block-navigation-item {
    display: flex;
    align-items: stretch;
    justify-content: center;

    flex: 1 1 0;
    min-width: 0;

    border-left: 1px solid var(--target-border);
}

.target-header__nav .wp-block-navigation-item__content {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 105px;
    padding: 12px 8px;

    color: var(--target-white);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-align: center;
    text-decoration: none;
    text-transform: uppercase;
}

.target-header__nav .wp-block-navigation-item__content:hover {
    color: var(--target-green);
}

/* Distinctive Contact navigation cell */

.target-header__nav .wp-block-navigation-item:last-child {
    border-top: 1px solid var(--target-border);
    border-right: 1px solid var(--target-border);
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    overflow: hidden;
}


/* =========================================
   HEADER — MOBILE
   ========================================= */

@media (max-width: 600px) {

    .target-header {
        min-height: 114px;
        padding: 0 36px 28px;

        align-items: center;
        justify-content: space-between;
    }

    .target-header::after {
        content: "";

        position: absolute;
        bottom: 28px;
        left: 36px;
        right: 36px;

        height: 1px;
        background: var(--target-border);
    }

    .target-header .target-header__brand {
        flex: 0 0 auto;
        justify-content: flex-start;
    }

    .target-header__brand a {
        width: 140px;
        height: 30px;
        max-width: none;
    }

    .target-header .target-header__nav {
        flex: 0 0 auto;
    }

    .target-header__nav .wp-block-navigation__responsive-container-open {
        width: 24px;
        height: 24px;
        padding: 0;

        background: url("../design/svgs/menu.svg") center / contain no-repeat;
        color: var(--target-white);
    }

    .target-header__nav .wp-block-navigation__responsive-container-open svg {
        opacity: 0;
    }

    /* Native WordPress mobile navigation overlay */

    .target-header__nav .wp-block-navigation__responsive-container.is-menu-open {
        background: var(--target-charcoal);
        color: var(--target-white);
    }

    .target-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item {
        border: 0;
        border-radius: 0;
    }

    .target-header__nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation-item__content {
        min-height: auto;
        justify-content: flex-start;

        font-size: 15px;
        padding: 12px 0;
    }
}

/* =========================================
   HOMEPAGE HERO — DESKTOP
   ========================================= */

.target-home {
    margin: 0;
}

.target-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 498px;
    padding: 108px 0 90px;

    background-color: #2e2e2e;
    background-image: url("../design/Desktop/1.Homepage/bg_dark.webp");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;

    color: #fff;
    font-family: "Syne", Arial, Helvetica, sans-serif;
}

.target-hero__inner {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 56.9% 43.1%;

    width: min(944px, calc(100% - 64px));
    margin: 0 auto;
}

.target-hero__body,
.target-hero__visual {
    min-width: 0;
    margin: 0;
}

.target-hero__title {
    max-width: 430px;
    margin: 0;

    color: #fff;
    font-size: 31px;
    font-weight: 600;
    line-height: 1.14;
    letter-spacing: -0.035em;
}

.target-hero__description {
    max-width: 390px;
    margin: 24px 0 0;

    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.2;
}

.target-hero__actions {
    margin: 43px 0 0;
    padding: 0;
}

.target-hero__cta {
    margin: 0;
}

.target-hero__cta .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    min-width: 212px;
    min-height: 29px;
    padding: 7px 8px;

    border: 1px solid rgba(255, 255, 255, 0.75);
    border-radius: 9px 0 9px 0;

    background: transparent;
    color: #fff;

    font-family: inherit;
    font-size: 9px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0.01em;
    text-decoration: none;

    transition: background-color 180ms ease,
        color 180ms ease,
        border-color 180ms ease;
}

.target-hero__cta .wp-block-button__link::after {
    content: "+";
    font-size: 11px;
    font-weight: 400;
}

.target-hero__cta .wp-block-button__link:hover,
.target-hero__cta .wp-block-button__link:focus-visible {
    background: #9ec857;
    border-color: #9ec857;
    color: #2e2e2e;
}

/* Layered hero artwork */

.target-hero__visual {
    position: relative;
    height: 290px;
}

.target-hero__image {
    position: absolute;
    display: block;

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.target-hero__image--photo {
    z-index: 1;
    top: 0;
    left: 0;

    width: 213px;
    height: 242px;

    background-image: url("../design/Desktop/1.Homepage/hero2.webp");
}

.target-hero__image--globe {
    z-index: 2;
    top: 46px;
    left: 213px;

    width: 195px;
    height: 94px;

    background-image: url("../design/Desktop/1.Homepage/hero3.webp");
}

.target-hero__image--ring {
    z-index: 3;
    top: 179px;
    left: 91px;

    width: 222px;
    height: 107px;

    background-image: url("../design/Desktop/1.Homepage/hero1.webp");
}

/* Next homepage section — to be built later */

.target-home__below {
    min-height: 240px;
    margin: 0;
    background: #fff;
    color: #2e2e2e;
}


/* =========================================
   HOMEPAGE HERO — TABLET
   ========================================= */

@media (min-width: 601px) and (max-width: 900px) {

    .target-hero {
        padding: 72px 0;
    }

    .target-hero__inner {
        display: flex;
        flex-direction: column;
        width: min(520px, calc(100% - 64px));
    }

    .target-hero__visual {
        width: 408px;
        max-width: 100%;
        margin-top: 75px;
    }
}


/* =========================================
   HOMEPAGE HERO — MOBILE
   ========================================= */

@media (max-width: 600px) {

    .target-hero {
        min-height: 680px;
        padding: 54px 0 24px;

        background-image: url("../design/Mobile/1.Homepage/hero_bg.webp");
        background-position: center bottom;
        background-size: 100% auto;
    }

    .target-hero__inner {
        display: flex;
        flex-direction: column;

        width: calc(100% - 72px);
        max-width: 402px;
        margin: 0 auto;
    }

    .target-hero__title {
        max-width: 100%;

        font-size: clamp(23px, 7.3vw, 28px);
        font-weight: 600;
        line-height: 1.15;
        letter-spacing: -0.035em;
    }

    .target-hero__description {
        max-width: 300px;
        margin-top: 24px;

        font-size: 13px;
        line-height: 1.28;
    }

    .target-hero__actions {
        margin-top: 30px;
    }

    .target-hero__cta .wp-block-button__link {
        min-width: 254px;
        max-width: 100%;
        min-height: 34px;
        padding: 9px 10px;

        font-size: 10px;
    }

    .target-hero__visual {
        width: 100%;
        height: 215px;
        margin-top: 105px;
    }

    .target-hero__image--photo {
        top: 0;
        left: 0;

        width: 159px;
        height: 180px;

        background-image: url("../design/Mobile/1.Homepage/hero2.webp");
    }

    .target-hero__image--globe {
        top: 34px;
        left: 159px;

        width: 145px;
        height: 70px;

        background-image: url("../design/Mobile/1.Homepage/hero3.webp");
    }

    .target-hero__image--ring {
        top: 132px;
        left: 67px;

        width: 165px;
        height: 80px;

        background-image: url("../design/Mobile/1.Homepage/hero1.webp");
    }
}

@media (max-width: 359px) {

    .target-hero__inner {
        width: calc(100% - 40px);
    }

    .target-hero__title {
        font-size: 23px;
    }

    .target-hero__visual {
        transform: scale(0.9);
        transform-origin: top left;
    }
}

@media (prefers-reduced-motion: reduce) {

    html {
        scroll-behavior: auto;
    }

    .target-hero__cta .wp-block-button__link {
        transition: none;
    }
}

/* =========================================
   CONTACT NAVIGATION INDICATOR
   ========================================= */

@media (min-width: 601px) {

    .target-header__nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content {
        position: relative;
        padding-right: 30px;
        padding-left: 15px;
    }

    .target-header__nav .wp-block-navigation-item:last-child .wp-block-navigation-item__content::after {
        content: "+";
        position: absolute;
        right: 24px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 12px;
        font-weight: 400;
    }
}

/* =========================================
   HOMEPAGE — COMPANY INTRODUCTION
   ========================================= */

.target-home__below {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    min-height: 640px;
    margin: 0;
    padding: 98px 0 100px;

    background-color: #fff;
    background-image: url("../design/Desktop/1.Homepage/bg_light.webp");
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: 100% auto;

    color: #2e2e2e;
}

.target-intro__layout {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: 570px minmax(0, 1fr);
    gap: 0;

    width: min(995px, calc(100% - 64px));
    margin: 0 auto;
}

/* =========================================
   OVERLAPPING CARDS
   ========================================= */

.target-intro__cards {
    position: relative;
    width: 100%;
    height: 430px;
}

.target-intro__card {
    position: absolute;
    width: 237px;
    height: 296px;

    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.target-intro__card--rear {
    z-index: 1;
    top: 0;
    left: 0;

    background-image:
        url("../design/Desktop/1.Homepage/card2.webp");
}

.target-intro__card--front {
    z-index: 2;
    top: 130px;
    left: 119px;

    background-image:
        url("../design/Desktop/1.Homepage/card1.webp");
}

/* =========================================
   CONTENT
   ========================================= */

.target-intro__content {
    min-width: 0;
    margin: 0;
    padding-top: 30px;

    font-family: "Syne", Arial, Helvetica, sans-serif;
}

.target-intro__mobile-copy {
    display: none;
}

.target-intro__title {
    max-width: 535px;
    margin: 0;

    color: #2e2e2e;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.16;
    letter-spacing: -0.035em;
}

.target-intro__description {
    max-width: 535px;
    margin: 24px 0 0;

    font-size: 12px;
    line-height: 1.3;
    font-weight: 400;
}

/* =========================================
   COMPANY STATISTICS
   ========================================= */

.target-intro__stats {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 38px;

    margin-top: 56px;
}

.target-intro__stat {
    display: flex;
    align-items: center;
    gap: 20px;
}

.target-intro__stat-value {
    display: block;

    color: transparent;
    -webkit-text-stroke: 1px #2e2e2e;

    font-size: 54px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: -0.06em;
}

.target-intro__stat-line {
    display: block;
    flex-shrink: 0;

    width: 110px;
    height: 1px;

    background: #999;
}

.target-intro__stat:nth-child(2) .target-intro__stat-line {
    width: 19px;
}

.target-intro__stat-label {
    color: #2e2e2e;

    font-size: 16px;
    font-weight: 800;
    letter-spacing: 0.01em;
    white-space: nowrap;
}

/* =========================================
   COMPANY INTRO — TABLET
   ========================================= */

@media (min-width: 601px) and (max-width: 1100px) {

    .target-intro__layout {
        grid-template-columns: 45% 55%;
        gap: 0;
    }

    .target-intro__card {
        width: 200px;
        height: 250px;
    }

    .target-intro__card--front {
        top: 105px;
        left: 75px;
    }

    .target-intro__title {
        font-size: clamp(23px, 2.8vw, 30px);
    }

    .target-intro__stat-value {
        font-size: 44px;
    }

    .target-intro__stat-line {
        width: 40px;
    }

    .target-intro__stat-label {
        font-size: 12px;
    }
}

/* =========================================
   COMPANY INTRO — MOBILE
   ========================================= */

@media (max-width: 600px) {

    .target-home__below {
        min-height: 0;
        padding: 53px 0 110px;

        background-image:
            url("../design/Mobile/1.Homepage/bg_light.webp");

        background-position: center bottom;
        background-size: 100% auto;
    }

    .target-intro__layout {
        display: flex;
        flex-direction: column;

        width: calc(100% - 56px);
        max-width: 402px;
    }

    /* Cards */

    .target-intro__cards {
        --card-width: min(202px, 56vw);

        width: 100%;
        height: 420px;
    }

    .target-intro__card {
        width: var(--card-width);
        height: calc(var(--card-width) * 1.25);
    }

    .target-intro__card--rear {
        top: 0;
        left: 0;

        background-image:
            url("../design/Mobile/1.Homepage/card1.webp");
    }

    .target-intro__card--front {
        top: 110px;
        left: calc(var(--card-width) * 0.5);

        background-image:
            url("../design/Mobile/1.Homepage/card2.webp");
    }

    /* Text */

    .target-intro__content {
        padding: 0;
    }

    .target-intro__desktop-copy {
        display: none;
    }

    .target-intro__mobile-copy {
        display: block;
    }

    .target-intro__title {
        max-width: 310px;
        margin: 0;

        font-size: 24px;
        font-weight: 600;
        line-height: 1.16;
        letter-spacing: -0.035em;
    }

    .target-intro__description {
        max-width: 310px;
        margin-top: 30px;

        font-size: 13px;
        line-height: 1.28;
    }

    /* Statistics */

    .target-intro__stats {
        align-items: center;
        gap: 38px;
        margin-top: 70px;
    }

    .target-intro__stat {
        flex-direction: column;
        gap: 17px;

        width: 100%;
        text-align: center;
    }

    .target-intro__stat-value {
        font-size: 64px;
        line-height: 1;
    }

    .target-intro__stat-line,
    .target-intro__stat:nth-child(2) .target-intro__stat-line {
        width: 1px;
        height: 28px;
    }

    .target-intro__stat-label {
        font-size: 18px;
        font-weight: 800;
        white-space: normal;
    }
}

@media (max-width: 359px) {

    .target-intro__cards {
        height: 380px;
    }

    .target-intro__card--front {
        top: 100px;
    }

    .target-intro__title {
        font-size: 22px;
    }

    .target-intro__stat-label {
        font-size: 16px;
    }
}

/* =========================================
   HOMEPAGE — ACTIVITY AREAS
   ========================================= */

.target-activities {
    --activity-bg: #2e2e2e;
    --activity-line: rgba(255, 255, 255, 0.58);

    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: 80px 0 82px;
    background: var(--activity-bg);
    color: #fff;
}

/* Decorative mesh behind the heading */

.target-activities::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;
    width: 100%;
    height: 350px;
    background: url("../design/Desktop/1.Homepage/bg_dark.webp") center top / cover no-repeat;
    transform: scaleY(-1);
    opacity: 0.65;
    pointer-events: none;
}

.target-activities__container {
    width: min(1182px, calc(100% - 48px));
    margin: 0 auto;
}

.target-activities__heading {
    margin: 0 0 64px;
    color: #fff;
    font-family: "Syne", Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

/* Three columns with thin shared borders */

.target-activities__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    margin: 0;
    background: var(--activity-line);
}

.target-activities__grid>* {
    min-width: 0;
    margin: 0;
}

/* Individual service cards */

.target-activities__item {
    min-height: 210px;
    padding: 37px 44px 22px;
    background: var(--activity-bg);
    color: #fff;
}

.target-activities__item>* {
    margin-block-start: 0;
}

.target-activities__icon {
    width: 52px;
    height: 52px;
    margin: 0 0 11px;
}

.target-activities__icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.target-activities__name {
    margin: 0 0 10px;
    color: #fff;
    font-family: "Syne", Arial, Helvetica, sans-serif;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 700;
}

.target-activities__item p {
    margin: 0;
    color: #fff;
    font-family: "Syne", Arial, Helvetica, sans-serif;
    font-size: 11.5px;
    line-height: 1.2;
    font-weight: 400;
}

/* =========================================
   PHOTOGRAPHS AND HOVER GLOW
   ========================================= */

.target-activities__photo {
    position: relative;
    isolation: isolate;
    display: block;
    min-height: 210px;
    overflow: hidden;
    background-color: #252525;
}

.target-activities__photo::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 350ms ease;
}

.target-activities__photo--1::before {
    background-image: url("../design/Desktop/1.Homepage/tomeis1.webp");
}

.target-activities__photo--2::before {
    background-image: url("../design/Desktop/1.Homepage/tomeis2.webp");
}

.target-activities__photo--3::before {
    background-image: url("../design/Desktop/1.Homepage/tomeis3.webp");
}

/* The soft lime-green glow visible in the Figma hover state */

.target-activities__photo::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: radial-gradient(ellipse at 100% 100%,
            rgba(158, 200, 87, 0.68) 0%,
            rgba(158, 200, 87, 0.25) 19%,
            transparent 57%);
    opacity: 0;
    transition: opacity 300ms ease;
    pointer-events: none;
}

@media (hover: hover) {
    .target-activities__photo:hover::before {
        transform: scale(1.045);
    }

    .target-activities__photo:hover::after {
        opacity: 1;
    }
}

/* The third picture appears separately on mobile */

.target-activities__mobile-feature {
    display: none;
}

/* =========================================
   TABLET
   ========================================= */

@media (min-width: 768px) and (max-width: 1100px) {
    .target-activities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .target-activities__item {
        padding: 30px;
        min-height: 230px;
    }

    .target-activities__photo {
        min-height: 230px;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {
    .target-activities {
        padding: 0 0 45px;
    }

    .target-activities::before {
        top: 185px;
        right: 0;
        height: 135px;
        background-image:
            url("../design/Mobile/1.Homepage/bg_dark.webp");
        background-size: 100% auto;
        background-position: center top;
        transform: none;
        opacity: 0.75;
    }

    .target-activities__mobile-feature {
        display: block;
        width: 100%;
        min-height: 0;
        aspect-ratio: 531 / 284;
    }

    .target-activities__mobile-feature::after {
        opacity: 0.35;
    }

    .target-activities__desktop-feature {
        display: none;
    }

    .target-activities__container {
        width: 100%;
        margin: 0;
    }

    .target-activities__heading {
        max-width: 380px;
        margin: 0;
        padding: 50px 28px 30px;
        font-size: 23px;
        line-height: 1.17;
        letter-spacing: -0.025em;
    }

    .target-activities__grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        gap: 1px;
        padding: 1px;
    }

    .target-activities__item {
        min-height: 220px;
        padding: 35px 28px 30px;
    }

    .target-activities__icon {
        width: 46px;
        height: 46px;
        margin-bottom: 14px;
    }

    .target-activities__name {
        margin-bottom: 15px;
        font-size: 15px;
        line-height: 1.25;
    }

    .target-activities__item p {
        font-size: 14px;
        line-height: 1.23;
    }

    .target-activities__grid .target-activities__photo {
        min-height: 0;
        aspect-ratio: 531 / 284;
    }
}

@media (max-width: 359px) {
    .target-activities__item {
        padding-inline: 22px;
    }

    .target-activities__heading {
        padding-inline: 22px;
        font-size: 21px;
    }

    .target-activities__item p {
        font-size: 13px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .target-activities__photo::before,
    .target-activities__photo::after {
        transition: none;
    }
}


/* =========================================
   HOMEPAGE — IT AS A SERVICE
   ========================================= */

.target-itas {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 0;
    margin: 0;
    overflow: hidden;
    background: #fff;
    color: #2e2e2e;
}

/* Green decorative glow */

.target-itas::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -150px;
    right: -230px;
    width: 625px;
    height: 625px;
    background: url("../design/Desktop/1.Homepage/ellipse.webp") center / contain no-repeat;
    pointer-events: none;
}

/* Original Figma photograph */

.target-itas__media {
    position: relative;
    z-index: 1;
    min-width: 0;
    margin: 0;
    overflow: hidden;
    border-radius: 0 88px 88px 0;
}

.target-itas__media picture,
.target-itas__media img {
    display: block;
    width: 100%;
    height: 100%;
}

.target-itas__media img {
    aspect-ratio: 960 / 900;
    object-fit: cover;
}

/* Text content */

.target-itas__content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    margin: 0;
    padding: 55px clamp(35px, 6.2vw, 95px);
    font-family: "Syne", Arial, Helvetica, sans-serif;
}

.target-itas__heading {
    margin: 0;
    color: #2e2e2e;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.target-itas__lede,
.target-itas__closing {
    margin: 22px 0 0;
    color: #2e2e2e;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

.target-itas__benefits {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: 38px 0 0;
}

.target-itas__benefit {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0;
    color: #2e2e2e;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.25;
}

.target-itas__benefit::before {
    content: "";
    display: block;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    background-image: url("../design/svgs/logo.svg");
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 100px 20px;
}

.target-itas__closing {
    margin-top: 30px;
}

/* CTA — same language as the homepage hero */

.target-itas__actions {
    margin: 28px 0 0;
}

.target-itas__cta .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 230px;
    min-height: 29px;
    padding: 7px 9px;
    border: 1px solid #555;
    border-radius: 10px 0 10px 0;
    background: transparent;
    color: #2e2e2e;
    font-family: inherit;
    font-size: 10px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 180ms ease,
        border-color 180ms ease;
}

.target-itas__cta .wp-block-button__link::after {
    content: "+";
    font-size: 12px;
    font-weight: 400;
}

.target-itas__cta .wp-block-button__link:hover,
.target-itas__cta .wp-block-button__link:focus-visible {
    background: #9ec857;
    border-color: #9ec857;
}


/* =========================================
   CERTIFICATIONS STRIP
   ========================================= */

.target-itas__certifications {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 4fr);
    min-height: 110px;
    margin: 0;
    background: #2e2e2e;
    color: #fff;
}

.target-itas__cert-title,
.target-itas__cert-cell {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 110px;
}

.target-itas__cert-title {
    background: #9ec857;
    color: #2e2e2e;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.025em;
}

.target-itas__cert-cell {
    border-left: 1px solid rgba(255, 255, 255, 0.55);
}

/* Scrolling certification logos — title stays fixed */

.target-itas__certifications {
    overflow: hidden;
}

.target-itas__cert-track {
    display: flex;
    align-items: stretch;

    min-width: 0;
    min-height: 110px;
    overflow-x: auto;
    overflow-y: hidden;

    scrollbar-width: none;
    scroll-behavior: auto;
    scroll-snap-type: none;
    overscroll-behavior-x: contain;

    cursor: grab;
}

.target-itas__cert-track::-webkit-scrollbar {
    display: none;
}

.target-itas__cert-track.is-dragging {
    cursor: grabbing;
    user-select: none;
}

.target-itas__cert-track:focus-visible {
    outline: 2px solid #9ec857;
    outline-offset: -3px;
}

.target-itas__cert-track .target-itas__cert-cell {
    flex: 0 0 25%;
    box-sizing: border-box;
}

.target-itas__cert-track .target-itas__cert-logo {
    pointer-events: none;
}

/* Decorative certification seals */

.target-itas__seal {
    --seal-shape: polygon(50% 0%, 58% 7%, 69% 2%, 73% 13%,
            85% 12%, 85% 27%, 97% 33%, 90% 44%,
            100% 50%, 90% 56%, 97% 67%, 85% 73%,
            85% 88%, 73% 87%, 69% 98%, 58% 93%,
            50% 100%, 42% 93%, 31% 98%, 27% 87%,
            15% 88%, 15% 73%, 3% 67%, 10% 56%,
            0% 50%, 10% 44%, 3% 33%, 15% 27%,
            15% 12%, 27% 13%, 31% 2%, 42% 7%);

    position: relative;
    display: block;
    width: 62px;
    height: 62px;
    background: #fff;
    clip-path: var(--seal-shape);
}

.target-itas__seal--outline::after {
    content: "";
    position: absolute;
    inset: 2px;
    background: #2e2e2e;
    clip-path: var(--seal-shape);
}


/* =========================================
   IT AS A SERVICE — TABLET
   ========================================= */

@media (min-width: 768px) and (max-width: 1100px) {

    .target-itas__media {
        border-radius: 0 65px 65px 0;
    }

    .target-itas__content {
        padding: 36px;
    }

    .target-itas__heading {
        font-size: 27px;
    }

    .target-itas__benefits {
        gap: 15px;
        margin-top: 25px;
    }

    .target-itas__benefit {
        font-size: 13px;
    }
}

/* =========================================
   IT AS A SERVICE — MOBILE
   ========================================= */

@media (max-width: 767px) {

    .target-itas {
        grid-template-columns: minmax(0, 1fr);
    }

    .target-itas::before {
        top: 165px;
        right: -160px;
        width: 402px;
        height: 402px;
        background-image:
            url("../design/Mobile/1.Homepage/ellipse.webp");
    }

    .target-itas__media {
        width: 100%;
        border-radius: 0 85px 85px 0;
    }

    .target-itas__media img {
        aspect-ratio: 402 / 376;
    }

    .target-itas__content {
        padding: 52px 28px 82px;
    }

    .target-itas__heading {
        font-size: 24px;
        line-height: 1.2;
    }

    .target-itas__lede {
        margin-top: 28px;
        font-size: 14px;
        line-height: 1.25;
    }

    .target-itas__benefits {
        gap: 28px;
        margin-top: 30px;
    }

    .target-itas__benefit {
        gap: 14px;
        font-size: 17px;
        font-weight: 600;
        line-height: 1.2;
    }

    .target-itas__benefit::before {
        flex-basis: 18px;
    }

    .target-itas__closing {
        margin-top: 32px;
        font-size: 14px;
        line-height: 1.25;
    }

    .target-itas__actions {
        margin-top: 50px;
    }

    .target-itas__cta .wp-block-button__link {
        min-width: 275px;
        max-width: 100%;
        min-height: 35px;
        padding: 9px;
        font-size: 11px;
    }


    /* Mobile: fixed green title, scrollable logos */

    .target-itas__certifications {
        display: grid;
        grid-template-columns: 132px minmax(0, 1fr);
        min-height: 120px;
        overflow: hidden;
    }

    .target-itas__cert-title {
        min-height: 120px;
        padding: 0 8px;
        font-size: 11px;
        text-align: center;
    }

    .target-itas__cert-track {
        min-height: 120px;
    }

    .target-itas__cert-track .target-itas__cert-cell {
        flex: 0 0 200px;
        min-height: 120px;
    }


    .target-itas__certifications {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x proximity;
        scrollbar-width: none;
        min-height: 120px;
    }

    .target-itas__certifications::-webkit-scrollbar {
        display: none;
    }

    .target-itas__cert-title,
    .target-itas__cert-cell {
        flex: 0 0 56%;
        min-height: 120px;
        scroll-snap-align: start;
    }
}

@media (max-width: 359px) {

    .target-itas__content {
        padding-inline: 22px;
    }

    .target-itas__benefit {
        font-size: 15px;
    }

    .target-itas__cta .wp-block-button__link {
        min-width: 0;
    }
}

@media (prefers-reduced-motion: reduce) {

    .target-itas__cta .wp-block-button__link {
        transition: none;
    }
}


/* =========================================
   HOMEPAGE — CLIENT PORTFOLIO
   ========================================= */

.target-clients {
    --clients-gutter: max(24px, calc((100vw - 1200px) / 2));

    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: 88px 0 96px;
    background: #fff;
    color: #2e2e2e;
}

/* Decorative wireframe background */

.target-clients::before {
    content: "";
    position: absolute;
    z-index: -1;
    right: 0;
    bottom: 0;
    width: 76%;
    height: 315px;

    background-image:
        url("../design/Desktop/1.Homepage/bg_light.webp");
    background-repeat: no-repeat;
    background-position: right bottom;
    background-size: cover;

    pointer-events: none;
}

/* Heading and description */

.target-clients__intro {
    width: min(1200px, calc(100% - 48px));
    margin: 0 auto;
}

.target-clients__heading {
    margin: 0;
    color: #2e2e2e;
    font-family: "Syne", Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.025em;
}

.target-clients__description {
    max-width: 610px;
    margin: 19px 0 0;
    font-family: "Syne", Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.3;
}

/* =========================================
   HORIZONTAL CAROUSEL
   ========================================= */

.target-clients__carousel {
    position: relative;
    z-index: 1;

    width: calc(100% - var(--clients-gutter));
    margin: 65px 0 0 var(--clients-gutter);
}

.target-clients__track {
    display: flex;
    align-items: stretch;
    gap: 22px;

    width: 100%;
    padding: 0 24px 2px 0;
    margin: 0;

    overflow-x: auto;
    overflow-y: hidden;

    scroll-snap-type: x proximity;
    scroll-padding-inline-start: 0;
    overscroll-behavior-x: contain;

    scrollbar-width: none;
    cursor: grab;
    touch-action: pan-x;
}

.target-clients__track::-webkit-scrollbar {
    display: none;
}

.target-clients__track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.target-clients__track:focus-visible {
    outline: 2px solid #9ec857;
    outline-offset: -3px;
}

/* Client logo tiles */

.target-clients__tile {
    flex: 0 0 184px;
    width: 184px;
    height: 184px;

    border: 1px solid #888;
    scroll-snap-align: start;

    background-color: #fff;
    background-image:
        linear-gradient(45deg,
            #ededed 25%,
            transparent 25%,
            transparent 75%,
            #ededed 75%),
        linear-gradient(45deg,
            #ededed 25%,
            transparent 25%,
            transparent 75%,
            #ededed 75%);

    background-size: 24px 24px;
    background-position: 0 0, 12px 12px;
}

/* Real client logos */

.target-clients__track .target-clients__tile {
    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    padding: 16px;

    background: #fff;
    overflow: hidden;
}

.target-clients__tile img {
    display: block;

    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;

    object-fit: contain;
    object-position: center;

    user-select: none;
    pointer-events: none;
    -webkit-user-drag: none;
}

/* =========================================
   SCROLL PROGRESS INDICATOR
   ========================================= */

.target-clients__progress {
    position: relative;
    width: 132px;
    height: 8px;
    margin: 44px auto 0;

    background: #ededf0;
    overflow: hidden;
}

.target-clients__progress-thumb {
    position: absolute;
    top: 0;
    left: 0;

    display: block;
    width: 34%;
    height: 100%;

    background: #2e2e2e;
    will-change: transform;
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .target-clients {
        --clients-gutter: 24px;

        padding: 48px 0 88px;
    }

    .target-clients::before {
        width: 100%;
        height: 260px;

        background-image:
            url("../design/Mobile/1.Homepage/bg_light.webp");
        background-size: 100% auto;
        background-position: center bottom;
    }

    .target-clients__intro {
        width: calc(100% - 48px);
    }

    .target-clients__heading {
        font-size: 22px;
        line-height: 1.2;
    }

    .target-clients__description {
        max-width: 330px;
        margin-top: 25px;

        font-size: 14px;
        line-height: 1.23;
    }

    .target-clients__carousel {
        margin-top: 52px;
    }

    .target-clients__track {
        gap: 26px;
        padding-right: 24px;
    }

    .target-clients__tile {
        flex-basis: 220px;
        width: 220px;
        height: 220px;
    }

    .target-clients__progress {
        width: 80px;
        height: 8px;
        margin-top: 22px;
    }
}

@media (max-width: 359px) {

    .target-clients {
        --clients-gutter: 20px;
    }

    .target-clients__intro {
        width: calc(100% - 40px);
    }

    .target-clients__tile {
        flex-basis: 200px;
        width: 200px;
        height: 200px;
    }
}


/* =========================================
   HOMEPAGE — FAQ
   ========================================= */

.target-faq {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    margin: 0;
    padding: 130px 0 108px;

    background: #f0eff2;
    color: #2e2e2e;
}

.target-faq__container {
    display: grid;
    grid-template-columns: minmax(0, 600px) minmax(0, 410px);
    gap: clamp(48px, 13vw, 190px);
    align-items: start;

    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
}

/* FAQ text and accordion */

.target-faq__content {
    min-width: 0;
    padding-top: 63px;
    margin: 0;
}

.target-faq__heading {
    margin: 0 0 37px;
    font-family: "Syne", Arial, Helvetica, sans-serif;
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
    color: #2e2e2e;
}

.target-faq__list {
    display: grid;
    gap: 15px;
    margin: 0;
}

.target-faq__item {
    margin: 0;
    padding: 0;
    border: 0;
    color: #2e2e2e;
    font-family: "Syne", Arial, Helvetica, sans-serif;
}

.target-faq__item summary {
    position: relative;
    display: block;
    box-sizing: border-box;

    width: calc(100% - 88px);
    min-height: 36px;
    padding: 9px 0 8px;
    margin: 0;

    border-bottom: 1px solid #a2a2a2;
    color: #2e2e2e;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
    cursor: pointer;
    list-style: none;
}

.target-faq__item summary::-webkit-details-marker {
    display: none;
}

.target-faq__item summary::marker {
    content: "";
}

/* Custom plus control */

.target-faq__item summary::after {
    content: "+";

    position: absolute;
    right: -88px;
    bottom: -1px;

    display: grid;
    place-items: center;

    width: 28px;
    height: 28px;

    border: 1px solid #888;
    border-radius: 10px 0 0 0;

    background: transparent;
    color: #2e2e2e;

    font-size: 12px;
    font-weight: 400;
    line-height: 1;
}

.target-faq__item[open] summary::after {
    background: #2e2e2e;
    border-color: #2e2e2e;
    color: #fff;
}

.target-faq__item summary:focus-visible {
    outline: 2px solid #83aa43;
    outline-offset: 3px;
}

.target-faq__item>p {
    max-width: 540px;
    margin: 11px 88px 0 0;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

/* =========================================
   FAQ — OVERLAPPING ORIGINAL ARTWORK
   ========================================= */

.target-faq__artwork {
    position: relative;
    isolation: isolate;

    width: 100%;
    height: 425px;
    margin: 0;
}

.target-faq__artwork::before {
    content: "";
    position: absolute;
    z-index: -1;

    top: 30px;
    left: -85px;
    width: 520px;
    height: 520px;

    background:
        url("../design/Desktop/1.Homepage/ellipse.webp") center / contain no-repeat;

    pointer-events: none;
}

.target-faq__card {
    position: absolute;

    display: block;
    width: 238px;
    height: 298px;

    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.target-faq__card--rear {
    z-index: 1;
    top: 0;
    left: 0;

    background-image:
        url("../design/Desktop/1.Homepage/card3.webp");
}

.target-faq__card--front {
    z-index: 2;
    top: 129px;
    left: 119px;

    background-image:
        url("../design/Desktop/1.Homepage/card4.webp");
}

/* =========================================
   FAQ — TABLET
   ========================================= */

@media (min-width: 768px) and (max-width: 1100px) {

    .target-faq__container {
        grid-template-columns: minmax(0, 1fr) 340px;
        gap: 35px;
    }

    .target-faq__card {
        width: 205px;
        height: 256px;
    }

    .target-faq__card--front {
        top: 110px;
        left: 95px;
    }

    .target-faq__artwork {
        height: 370px;
    }
}

/* =========================================
   FAQ — MOBILE
   ========================================= */

@media (max-width: 767px) {

    .target-faq {
        padding: 50px 0 48px;
    }

    .target-faq__container {
        display: flex;
        flex-direction: column;
        gap: 52px;

        width: calc(100% - 42px);
        max-width: 410px;
    }

    .target-faq__content {
        width: 100%;
        padding: 0;
    }

    .target-faq__heading {
        margin-bottom: 25px;
        font-size: 23px;
    }

    .target-faq__list {
        gap: 20px;
    }

    .target-faq__item summary {
        width: 100%;
        min-height: 40px;
        padding: 10px 46px 10px 0;

        font-size: 16px;
        line-height: 1.2;
    }

    .target-faq__item summary::after {
        right: 0;
        width: 33px;
        height: 33px;
    }

    .target-faq__item>p {
        max-width: 100%;
        margin: 11px 0 0;

        font-size: 14px;
        line-height: 1.25;
    }

    .target-faq__artwork {
        width: 100%;
        height: 415px;
    }

    .target-faq__artwork::before {
        top: 30px;
        left: -60px;
        width: 402px;
        height: 402px;

        background-image:
            url("../design/Mobile/1.Homepage/ellipse.webp");
    }

    .target-faq__card {
        width: 228px;
        height: 285px;
    }

    .target-faq__card--rear {
        top: 0;
        left: 0;

        background-image:
            url("../design/Mobile/1.Homepage/card3.webp");
    }

    .target-faq__card--front {
        top: 125px;
        left: min(102px, 27vw);

        background-image:
            url("../design/Mobile/1.Homepage/card4.webp");
    }
}

@media (max-width: 359px) {

    .target-faq__container {
        width: calc(100% - 36px);
    }

    .target-faq__item summary {
        font-size: 15px;
    }

    .target-faq__card {
        width: 205px;
        height: 256px;
    }

    .target-faq__card--front {
        top: 113px;
        left: 82px;
    }

    .target-faq__artwork {
        height: 375px;
    }
}


/* =========================================
   FAQ — INTERACTIVE ANIMATIONS
   ========================================= */

/* Smooth plus-button transitions */

.target-faq__item summary::after {
    transition:
        background-color 220ms ease,
        border-color 220ms ease,
        color 220ms ease,
        transform 220ms ease,
        box-shadow 220ms ease;
}

/* Mouse hover */

@media (hover: hover) {
    .target-faq__item summary:hover::after {
        background: #2e2e2e;
        border-color: #2e2e2e;
        color: #ffffff;

        transform: translateY(-2px);
        box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
    }
}

/* Keyboard focus */

.target-faq__item summary:focus-visible::after {
    background: #9ec857;
    border-color: #9ec857;
    color: #2e2e2e;
}

/* Respect reduced-motion accessibility preferences */

@media (prefers-reduced-motion: reduce) {
    .target-faq__item summary::after {
        transition: none;
        transform: none;
    }
}


/* =========================================
   CONTACT PRE-FOOTER
   ========================================= */

.target-contact-cta {
    position: relative;
    isolation: isolate;
    display: flex;
    align-items: center;

    width: 100%;
    min-height: 284px;
    margin: 0;
    padding: 54px 0;

    background-color: #191919;
    background-image:
        url("../design/Desktop/1.Homepage/cta.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    color: #fff;
}

.target-contact-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;

    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
}

.target-contact-cta__text {
    max-width: 730px;
    margin: 0;
}

.target-contact-cta__heading {
    margin: 0;
    color: #fff;

    font-family: "Syne", Arial, Helvetica, sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.15;
}

.target-contact-cta__description {
    margin: 24px 0 0;
    color: #fff;

    font-family: "Syne", Arial, Helvetica, sans-serif;
    font-size: 12px;
    line-height: 1.4;
}

.target-contact-cta__actions {
    flex-shrink: 0;
    margin: 0;
}

.target-contact-cta__button {
    margin: 0;
}

.target-contact-cta__button .wp-block-button__link {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 22px;

    min-height: 30px;
    padding: 8px 10px;

    border: 1px solid rgba(255, 255, 255, 0.85);
    border-radius: 10px 0 10px 0;

    background: transparent;
    color: #fff;

    font-family: "Syne", Arial, Helvetica, sans-serif;
    font-size: 10px;
    font-weight: 600;
    line-height: 1;
    text-decoration: none;

    transition:
        background-color 200ms ease,
        color 200ms ease,
        transform 200ms ease;
}

.target-contact-cta__button .wp-block-button__link::after {
    content: "+";
    font-size: 12px;
    font-weight: 400;
}

.target-contact-cta__button .wp-block-button__link:hover,
.target-contact-cta__button .wp-block-button__link:focus-visible {
    background: #fff;
    color: #2e2e2e;
    transform: translateY(-2px);
}

/* =========================================
   CONTACT PRE-FOOTER — MOBILE
   ========================================= */

@media (max-width: 767px) {

    .target-contact-cta {
        min-height: 310px;
        padding: 42px 0;

        background-image:
            url("../design/Mobile/1.Homepage/cta.webp");
        background-position: center;
    }

    .target-contact-cta__inner {
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
        gap: 38px;

        width: calc(100% - 44px);
    }

    .target-contact-cta__heading {
        font-size: 26px;
    }

    .target-contact-cta__description {
        max-width: 340px;
        margin-top: 25px;

        font-size: 14px;
        line-height: 1.25;
    }

    .target-contact-cta__button .wp-block-button__link {
        min-height: 34px;
        padding: 9px 10px;
        font-size: 11px;
    }
}

/* =========================================
   MAIN FOOTER — DESKTOP
   ========================================= */

.target-footer {
    width: 100%;
    margin: 0;
    padding: 88px 0 100px;

    background: #2e2e2e;
    color: #fff;

    font-family: "Syne", Arial, Helvetica, sans-serif;
}

.target-footer__inner {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) 180px 185px;

    grid-template-areas: "brand links contact";
    align-items: start;
    column-gap: 70px;

    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
}

/* Brand */

.target-footer__brand {
    grid-area: brand;
    padding-top: 20px;
}

.target-footer__logo {
    display: block;

    width: 253px;
    max-width: 100%;
    height: 62px;

    background:
        url("../design/svgs/logo.svg") left center / contain no-repeat;
}

.target-footer__tagline {
    max-width: 280px;
    margin: 10px 0 0;

    color: #fff;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.25;
}

/* Social icons */

.target-footer__socials {
    display: flex;
    gap: 12px;
    margin-top: 45px;
}

.target-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border: 1px solid #aaa;
    border-radius: 12px 0 12px 0;
}

.target-footer__social::before {
    content: "";
    display: block;

    width: 25px;
    height: 25px;

    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}

.target-footer__social--facebook::before {
    background-image:
        url("../design/svgs/fb.svg");
}

.target-footer__social--linkedin::before {
    background-image:
        url("../design/svgs/linkedin.svg");
}

/* Shared column headings */

.target-footer__title {
    margin: 0 0 20px;

    color: #fff;
    font-size: 15px;
    font-weight: 600;
    line-height: 1.2;
}

/* Quick links */

.target-footer__links {
    grid-area: links;
}

.target-footer__links ul {
    display: flex;
    flex-direction: column;
    gap: 13px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.target-footer__links li {
    margin: 0;
    padding: 0;
}

.target-footer__links a,
.target-footer__links li span {
    display: inline-block;

    color: #fff;
    font-size: 11px;
    line-height: 1.3;
    text-decoration: none;
}

.target-footer__links a {
    transition: color 180ms ease;
}

.target-footer__links a:hover,
.target-footer__links a:focus-visible {
    color: #9ec857;
}

/* Contact details */

.target-footer__contact {
    grid-area: contact;
}

.target-footer__contact address {
    font-style: normal;
}

.target-footer__contact-group {
    margin-bottom: 19px;
}

.target-footer__contact-group h3 {
    margin: 0 0 12px;

    color: #fff;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.3;
}

.target-footer__contact-group p {
    margin: 0 0 9px 10px;

    color: #b7b7b7;
    font-size: 11px;
    line-height: 1.4;
}

.target-footer__contact-group a {
    color: inherit;
    text-decoration: none;
    transition: color 180ms ease;
}

.target-footer__contact-group a:hover,
.target-footer__contact-group a:focus-visible {
    color: #9ec857;
}


/* =========================================
   MAIN FOOTER — TABLET
   ========================================= */

@media (min-width: 768px) and (max-width: 1100px) {

    .target-footer__inner {
        grid-template-columns:
            minmax(0, 1fr) 160px 180px;

        column-gap: 35px;
    }

    .target-footer__logo {
        width: 210px;
    }

    .target-footer__tagline {
        font-size: 12px;
    }
}

/* =========================================
   MAIN FOOTER — MOBILE
   ========================================= */

@media (max-width: 767px) {

    .target-footer {
        padding: 52px 0 78px;
    }

    .target-footer__inner {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        grid-template-areas:
            "links"
            "contact"
            "brand";

        gap: 0;

        width: calc(100% - 96px);
        max-width: 410px;
        margin: 0 auto;
    }

    /* Quick links */

    .target-footer__title {
        margin-bottom: 27px;
        font-size: 16px;
    }

    .target-footer__links ul {
        gap: 17px;
    }

    .target-footer__links a,
    .target-footer__links li span {
        font-size: 13px;
        line-height: 1.3;
    }

    /* Contact information */

    .target-footer__contact {
        margin-top: 53px;
    }

    .target-footer__contact-group {
        margin-bottom: 25px;
    }

    .target-footer__contact-group h3 {
        margin-bottom: 15px;
        font-size: 13px;
    }

    .target-footer__contact-group p {
        margin-left: 12px;
        font-size: 13px;
        line-height: 1.35;
    }

    /* Branding at the bottom */

    .target-footer__brand {
        display: flex;
        flex-direction: column;
        align-items: center;

        margin-top: 48px;
        padding: 0;
        text-align: center;
    }

    .target-footer__logo {
        width: 235px;
        height: 65px;
        background-position: center;
    }

    .target-footer__tagline {
        max-width: 320px;
        margin-top: 30px;

        font-size: 15px;
        line-height: 1.25;
        text-align: center;
    }

    .target-footer__socials {
        justify-content: center;
        gap: 50px;
        margin-top: 40px;
    }

    .target-footer__social {
        width: 53px;
        height: 53px;
    }

    .target-footer__social::before {
        width: 30px;
        height: 30px;
    }
}

@media (max-width: 359px) {

    .target-footer__inner {
        width: calc(100% - 64px);
    }

    .target-footer__logo {
        width: 210px;
    }

    .target-footer__tagline {
        font-size: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {

    .target-contact-cta__button .wp-block-button__link,
    .target-footer__links a,
    .target-footer__contact-group a {
        transition: none;
    }
}


/* =========================================
   FOOTER — SOCIAL HOVER EFFECTS
   ========================================= */

.target-footer__social {
    text-decoration: none;
    cursor: pointer;

    transition:
        border-color 220ms ease,
        background-color 220ms ease,
        transform 220ms ease,
        box-shadow 220ms ease;
}

.target-footer__social::before {
    transition: filter 220ms ease;
}

.target-footer__social:hover,
.target-footer__social:focus-visible {
    border-color: #9ec857;
    background-color: rgba(158, 200, 87, 0.08);

    transform: translateY(-3px);

    box-shadow: 0 4px 15px rgba(158, 200, 87, 0.15);
}

.target-footer__social:hover::before,
.target-footer__social:focus-visible::before {
    filter: brightness(0) saturate(100%) invert(80%) sepia(26%) saturate(700%) hue-rotate(36deg) brightness(92%);
}

.target-footer__social:focus-visible {
    outline: 2px solid #9ec857;
    outline-offset: 4px;
}

@media (prefers-reduced-motion: reduce) {

    .target-footer__social,
    .target-footer__social::before {
        transition: none;
    }

    .target-footer__social:hover,
    .target-footer__social:focus-visible {
        transform: none;
    }
}

/* TYPOGRAPHY — WEIGHT REFINEMENTS */

.target-hero h1 {
    font-weight: 600;
}

.target-hero p {
    font-weight: 400;
}

.target-home__below h2 {
    font-weight: 600;
}


/* =========================================
   COMPANY PAGE — INTRODUCTION
   ========================================= */

.target-company {
    width: 100%;
    margin: 0;
    color: #2e2e2e;
    font-family: "Syne", Arial, Helvetica, sans-serif;
}

.target-company h1,
.target-company h2,
.target-company h3,
.target-company p {
    margin: 0;
}

/* Dark introductory banner */

.target-company__hero {
    display: flex;
    align-items: center;
    justify-content: center;

    box-sizing: border-box;
    width: 100%;
    min-height: 282px;
    padding: 55px 24px;

    background: #2e2e2e;
    color: #fff;
}

.target-company__hero-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;

    width: min(720px, 100%);
    text-align: center;
}

.target-company__hero-title {
    color: #fff;
    font-family: "Syne", Arial, sans-serif;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.15;
    letter-spacing: -0.025em;
}

.target-company__hero-description {
    max-width: 580px;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

/* =========================================
   COMPANY PAGE — STORY SECTION
   ========================================= */

.target-company__intro {
    width: 100%;
    padding: 88px 0 110px;
    background: #fff;
}

.target-company__intro-inner {
    display: grid;
    grid-template-columns: minmax(0, 636px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(45px, 6.2vw, 90px);

    width: min(1200px, calc(100% - 64px));
    margin: 0 auto;
}

/* Original designer artwork */

.target-company__intro-image {
    width: 100%;
    aspect-ratio: 860 / 600;

    border-radius: 19px;

    background-image:
        url("../design/Desktop/2.Etairia/img1.webp");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

/* Company description */

.target-company__intro-content {
    display: flex;
    flex-direction: column;
    gap: 0;
    min-width: 0;
}

.target-company__intro-title {
    margin-bottom: 24px !important;

    font-size: 27px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.target-company__intro-block {
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.target-company__intro-block+.target-company__intro-block {
    margin-top: 43px;
}

.target-company__intro-subtitle {
    font-size: 15px;
    font-weight: 600;
    line-height: 1.3;
}

.target-company__intro-paragraph {
    color: #2e2e2e;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

/* =========================================
   COMPANY PAGE — TABLET
   ========================================= */

@media (min-width: 768px) and (max-width: 1100px) {

    .target-company__intro-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 40px;
    }

    .target-company__intro-title {
        font-size: 25px;
    }

    .target-company__intro-block+.target-company__intro-block {
        margin-top: 30px;
    }
}

/* =========================================
   COMPANY PAGE — MOBILE
   ========================================= */

@media (max-width: 767px) {

    .target-company__hero {
        min-height: 232px;
        padding: 48px 27px;
    }

    .target-company__hero-inner {
        gap: 28px;
    }

    .target-company__hero-title {
        font-size: 25px;
        line-height: 1.2;
        letter-spacing: -0.015em;
    }

    .target-company__hero-description {
        max-width: 315px;
        font-size: 14px;
        line-height: 1.2;
    }

    /* Image first, text underneath */

    .target-company__intro {
        padding: 53px 0 75px;
    }

    .target-company__intro-inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 0;

        width: calc(100% - 56px);
        max-width: 420px;
    }

    .target-company__intro-image {
        flex: none;
        width: 100%;
        aspect-ratio: 342 / 239;
        border-radius: 19px;

        background-image:
            url("../design/Mobile/2.Etairia/img1.webp");
    }

    .target-company__intro-content {
        margin-top: 52px;
    }

    .target-company__intro-title {
        margin-bottom: 30px !important;

        font-size: 22px;
        line-height: 1.2;
    }

    .target-company__intro-block {
        gap: 27px;
    }

    .target-company__intro-block+.target-company__intro-block {
        margin-top: 32px;
    }

    .target-company__intro-subtitle {
        font-size: 16px;
        line-height: 1.3;
    }

    .target-company__intro-paragraph {
        font-size: 14px;
        line-height: 1.25;
    }
}

@media (max-width: 359px) {

    .target-company__intro-inner {
        width: calc(100% - 44px);
    }

    .target-company__hero-description {
        font-size: 13px;
    }

    .target-company__intro-subtitle {
        font-size: 15px;
    }
}

/* =========================================
   COMPANY — HISTORY CAROUSEL
   ========================================= */

.target-company>.target-company-history {
    margin-block-start: 0;
}

.target-company-history {
    --history-bg: #f0eff2;

    position: relative;
    overflow: hidden;
    isolation: isolate;

    width: 100%;
    margin: 0;
    padding: 84px 0 92px;
    box-sizing: border-box;

    background: var(--history-bg);
    color: #2e2e2e;
    font-family: "Syne", Arial, Helvetica, sans-serif;
}

.target-company-history__title {
    margin: 0;
    text-align: center;

    font-size: 29px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

/* Three-image panorama */

.target-company-history__gallery {
    position: relative;
    display: grid;

    grid-template-columns:
        minmax(0, 1fr) minmax(0, 1.6fr) minmax(0, 1fr);

    gap: 44px;

    width: 100%;
    height: 267px;
    margin-top: 70px;
    overflow: hidden;
}

.target-company-history__photo {
    width: 100%;
    height: 100%;
    min-width: 0;

    background-color: #d5d5d5;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

/* Original desktop artwork */

.target-company-history__photo[data-history-photo="1"] {
    background-image:
        url("../design/Desktop/2.Etairia/carousel1.webp");
}

.target-company-history__photo[data-history-photo="2"] {
    background-image:
        url("../design/Desktop/2.Etairia/carousel2.webp");
}

.target-company-history__photo[data-history-photo="3"] {
    background-image:
        url("../design/Desktop/2.Etairia/carousel3.webp");
}

/* Curved upper and lower gallery edges */

.target-company-history__gallery::before,
.target-company-history__gallery::after {
    content: "";
    position: absolute;
    z-index: 2;

    left: -7.5%;
    width: 115%;
    height: 45px;

    background: var(--history-bg);
    pointer-events: none;
}

.target-company-history__gallery::before {
    top: -23px;
    border-radius: 0 0 50% 50%;
}

.target-company-history__gallery::after {
    bottom: -23px;
    border-radius: 50% 50% 0 0;
}

/* Milestone caption and navigation */

.target-company-history__navigation {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 100px;

    width: min(680px, calc(100% - 50px));
    margin: 47px auto 0;
}

.target-company-history__milestone {
    min-width: 0;
    text-align: center;
}

.target-company-history__milestone h3 {
    margin: 0;

    font-size: 18px;
    font-weight: 600;
    line-height: 1.3;
}

.target-company-history__milestone p {
    max-width: 410px;
    margin: 19px auto 0;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

/* Circular arrow buttons */

.target-company-history__arrow {
    display: grid;
    place-items: center;

    width: 44px;
    height: 44px;
    padding: 0;

    border: 1px solid #555;
    border-radius: 50%;

    background: transparent;
    color: #2e2e2e;

    cursor: pointer;

    transition:
        background-color 220ms ease,
        border-color 220ms ease,
        color 220ms ease,
        transform 220ms ease;
}

.target-company-history__arrow span {
    display: block;
    width: 8px;
    height: 8px;

    border-top: 1px solid currentColor;
    border-right: 1px solid currentColor;
}

.target-company-history__arrow--prev span {
    transform: translateX(2px) rotate(-135deg);
}

.target-company-history__arrow--next span {
    transform: translateX(-2px) rotate(45deg);
}

.target-company-history__arrow:hover {
    background: #2e2e2e;
    border-color: #2e2e2e;
    color: #fff;
    transform: scale(1.07);
}

.target-company-history__arrow:focus-visible {
    outline: 2px solid #2e2e2e;
    outline-offset: 4px;
}

/* =========================================
   COMPANY HISTORY — DIRECTIONAL SLIDING
   ========================================= */

.target-company-history__gallery.is-sliding .target-company-history__photo {
    position: absolute;
    top: 0;
    height: 100%;
    margin: 0;
    will-change: left, width;
}

/* =========================================
   COMPANY HISTORY — MOBILE
   ========================================= */

@media (max-width: 767px) {

    .target-company-history {
        padding: 53px 0 58px;
    }

    .target-company-history__title {
        padding: 0 15px;
        font-size: 23px;
    }

    .target-company-history__gallery {
        grid-template-columns:
            minmax(0, 1fr) minmax(0, 3.4fr) minmax(0, 1fr);

        gap: 15px;

        height: 154px;
        margin-top: 37px;
    }

    /* Mobile-specific image assets */

    .target-company-history__photo[data-history-photo="1"] {
        background-image:
            url("../design/Mobile/2.Etairia/carousel1.webp");
    }

    .target-company-history__photo[data-history-photo="2"] {
        background-image:
            url("../design/Mobile/2.Etairia/carousel2.webp");
    }

    .target-company-history__photo[data-history-photo="3"] {
        background-image:
            url("../design/Mobile/2.Etairia/carousel3.webp");
    }

    .target-company-history__gallery::before,
    .target-company-history__gallery::after {
        height: 32px;
    }

    .target-company-history__gallery::before {
        top: -17px;
    }

    .target-company-history__gallery::after {
        bottom: -17px;
    }

    .target-company-history__navigation {
        grid-template-columns: 36px minmax(0, 1fr) 36px;
        gap: 16px;

        width: calc(100% - 50px);
        max-width: 360px;
        margin-top: 27px;
    }

    .target-company-history__arrow {
        width: 36px;
        height: 36px;
    }

    .target-company-history__milestone h3 {
        font-size: 15px;
        line-height: 1.25;
    }

    .target-company-history__milestone p {
        margin-top: 17px;
        font-size: 14px;
        line-height: 1.23;
    }
}

@media (prefers-reduced-motion: reduce) {
    .target-company-history__arrow {
        transition: none;
    }
}

/* =========================================
   COMPANY — TEAM & TECHNICAL EXPERTISE
   ========================================= */

.target-company .target-company-team {
    position: relative;
    isolation: isolate;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: stretch;

    width: 100%;
    max-width: none;
    min-height: 0;
    margin: 0;

    background: #fff;
    color: #2e2e2e;
    overflow: hidden;
}

/* Subtle lime-green glow behind the text */

.target-company-team::before {
    content: "";
    position: absolute;
    z-index: 0;
    top: -130px;
    right: -170px;

    width: 700px;
    height: 480px;

    background: radial-gradient(ellipse at center,
            rgba(158, 200, 87, 0.26) 0%,
            rgba(158, 200, 87, 0.08) 38%,
            transparent 72%);

    pointer-events: none;
}

/* Original designer photograph */

.target-company-team__image {
    position: relative;
    z-index: 1;

    width: 100%;
    min-height: clamp(520px, 47vw, 668px);

    border-radius: 0 78px 78px 0;

    background-image:
        url("../design/Desktop/2.Etairia/img2.webp");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Content column */

.target-company .target-company-team__content {
    position: relative;
    z-index: 1;

    display: flex;
    flex-direction: column;
    justify-content: center;

    box-sizing: border-box;
    width: min(480px, calc(100% - 92px));
    min-width: 0;
    margin: 0 auto;
    padding: 65px 0;

    font-family: "Syne", Arial, Helvetica, sans-serif;
}

.target-company .target-company-team__title {
    margin: 0 0 24px;

    font-size: 29px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

.target-company .target-company-team__block {
    margin: 0;
}

.target-company .target-company-team__block+.target-company-team__block {
    margin-top: 42px;
}

.target-company .target-company-team__subtitle {
    margin: 0 0 11px;

    font-size: 14px;
    font-weight: 600;
    line-height: 1.3;
}

.target-company .target-company-team__description {
    margin: 0;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

/* =========================================
   COMPANY — PARTNERS & CERTIFICATIONS
   ========================================= */

.target-company .target-company-partners {
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0;

    background: #2e2e2e;
    overflow: hidden;
}

.target-company-partners__track {
    display: flex;
    width: 100%;
    min-height: 147px;
}

/* Lime-green label */

.target-company-partners__heading {
    box-sizing: border-box;
    display: flex;
    align-items: center;

    flex: 0 0 18.5%;
    min-width: 0;
    padding: 20px clamp(25px, 3.2vw, 46px);

    background: #9ec857;
    color: #2e2e2e;
}

.target-company .target-company-partners__heading h2 {
    margin: 0;

    font-family: "Syne", Arial, Helvetica, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 1.2;
}

/* Dark certification cells */

.target-company-partners__cell {
    display: grid;
    place-items: center;

    flex: 1 1 0;
    min-width: 0;

    border-left: 1px solid rgba(255, 255, 255, 0.55);
    background: #2e2e2e;
}

/* Temporary jagged seal graphic */

.target-company-partners__seal {
    position: relative;
    display: block;

    width: 64px;
    height: 64px;

    background: #fff;

    clip-path: polygon(50% 0%, 56% 5%, 64% 2%, 68% 8%,
            76% 7%, 79% 15%, 86% 16%, 88% 24%,
            95% 28%, 94% 36%, 100% 43%, 97% 50%,
            100% 57%, 94% 64%, 95% 72%, 88% 76%,
            86% 84%, 79% 85%, 76% 93%, 68% 92%,
            64% 98%, 56% 95%, 50% 100%, 44% 95%,
            36% 98%, 32% 92%, 24% 93%, 21% 85%,
            14% 84%, 12% 76%, 5% 72%, 6% 64%,
            0% 57%, 3% 50%, 0% 43%, 6% 36%,
            5% 28%, 12% 24%, 14% 16%, 21% 15%,
            24% 7%, 32% 8%, 36% 2%, 44% 5%);
}

/* Outlined variation */

.target-company-partners__seal--outline::after {
    content: "";
    position: absolute;
    inset: 2px;

    background: #2e2e2e;
    clip-path: inherit;
}

/* =========================================
   COMPANY TEAM — TABLET
   ========================================= */

@media (min-width: 768px) and (max-width: 1100px) {

    .target-company .target-company-team__content {
        width: calc(100% - 68px);
    }

    .target-company .target-company-team__title {
        font-size: 25px;
    }

    .target-company .target-company-team__block+.target-company-team__block {
        margin-top: 30px;
    }

    .target-company-partners__heading {
        padding-inline: 22px;
    }

    .target-company .target-company-partners__heading h2 {
        font-size: 12px;
    }
}

/* =========================================
   COMPANY TEAM — MOBILE
   ========================================= */

@media (max-width: 767px) {

    .target-company .target-company-team {
        display: flex;
        flex-direction: column;
    }

    .target-company-team::before {
        top: 250px;
        right: -135px;

        width: 400px;
        height: 390px;
    }

    /* Full-width image above the text */

    .target-company-team__image {
        flex: none;
        width: 100%;
        min-height: 0;
        aspect-ratio: 403 / 377;

        border-radius: 0 75px 75px 0;

        background-image:
            url("../design/Mobile/2.Etairia/img2.webp");
        background-position: center;
    }

    .target-company .target-company-team__content {
        align-self: stretch;
        width: 100%;
        margin: 0;
        padding: 53px 28px 63px;
    }

    .target-company .target-company-team__title {
        margin-bottom: 28px;

        font-size: 22px;
        line-height: 1.2;
    }

    .target-company .target-company-team__subtitle {
        margin-bottom: 25px;

        font-size: 16px;
        line-height: 1.3;
    }

    .target-company .target-company-team__description {
        font-size: 14px;
        line-height: 1.2;
    }

    .target-company .target-company-team__block+.target-company-team__block {
        margin-top: 30px;
    }

    /* Horizontally swipeable certification strip */

    .target-company-partners__track {
        min-height: 150px;

        overflow-x: auto;
        overflow-y: hidden;

        scroll-snap-type: x proximity;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .target-company-partners__track::-webkit-scrollbar {
        display: none;
    }

    .target-company-partners__heading {
        flex: 0 0 208px;
        padding: 20px 22px;
        scroll-snap-align: start;
    }

    .target-company .target-company-partners__heading h2 {
        font-size: 15px;
        line-height: 1.25;
    }

    .target-company-partners__cell {
        flex: 0 0 145px;
        scroll-snap-align: start;
    }

    .target-company-partners__seal {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 359px) {

    .target-company .target-company-team__content {
        padding-inline: 24px;
    }

    .target-company .target-company-team__title {
        font-size: 21px;
    }
}

/* =========================================
   SERVICES PAGE — INTRODUCTION
   ========================================= */

.target-services-page {
    width: 100%;
    max-width: none;
    margin: 0;
    color: #fff;
    background: #2e2e2e;
    font-family: "Syne", Arial, Helvetica, sans-serif;
}

.target-services-page .target-services-page__hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 25px;

    box-sizing: border-box;
    width: 100%;
    min-height: 180px;
    margin: 0;
    padding: 100px 24px 75px;

    background: #2e2e2e;
    text-align: center;
}

.target-services-page__title {
    margin: 0;
    color: #fff;
    font-size: 42px;
    font-weight: 600;
    line-height: 1.15;
}

.target-services-page__description {
    max-width: 580px;
    margin: 0;
    color: #fff;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.35;
}

/* =========================================
   SERVICES PAGE — CATALOG
   ========================================= */

.target-services-page .target-services-catalog {
    position: relative;
    isolation: isolate;
    width: 100%;
    max-width: none;
    margin: 0;
    padding: 0 0 88px;
    background: #2e2e2e;
}

.target-services-catalog__first {
    position: relative;
    isolation: isolate;
    padding: 90px 0 0;
    overflow: hidden;
}

.target-services-catalog__first::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0 0 auto;
    height: 350px;

    background-image:
        url("../design/Desktop/1.Homepage/bg_dark.webp");
    background-size: 100% 350px;
    background-position: center top;
    background-repeat: no-repeat;

    opacity: 0.28;
    pointer-events: none;
}

/* Three-column service grid */

.target-services-catalog__grid {
    position: relative;
    z-index: 2;

    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;

    width: min(1600px, calc(100% - 48px));
    margin: 0 auto;
}

.target-services-catalog__grid--overlap {
    margin-top: -160px;
}

/* Desktop/tablet: different overlap for each photo */

@media (min-width: 768px) {

    /* First photo: the second card row covers most of it */
    .target-services-catalog__photo--one+.target-services-catalog__grid--overlap {
        margin-top: -325px;
    }

    /* Second photo: fully visible before the third row */
    .target-services-catalog__photo--two+.target-services-catalog__grid--overlap {
        margin-top: 0;
    }
}

/* =========================================
   SERVICES PAGE — CARDS
   ========================================= */

.target-services-card {
    position: relative;
    box-sizing: border-box;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    min-width: 0;
    min-height: 340px;
    margin: 0;
    padding: 42px 43px 26px;

    border: 1px solid rgba(255, 255, 255, 0.55);
    background: #2e2e2e;
    color: #fff;

    transition:
        background-color 220ms ease,
        border-color 220ms ease;
}

.target-services-card+.target-services-card {
    border-left: 0;
}

.target-services-card:hover {
    background-color: #343434;
    border-color: #9ec857;
    z-index: 1;
}

/* Reused Lottie icon containers */

.target-services-card__icon {
    flex: 0 0 auto;
    width: 60px;
    height: 60px;
    margin: 0 0 15px;
    overflow: hidden;
}

.target-services-card__icon svg {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

/* Service name */

.target-services-card h2 {
    margin: 0 0 13px;
    color: #fff;

    font-family: "Syne", Arial, Helvetica, sans-serif;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.35;
}

/* Description */

.target-services-card p {
    margin: 0 0 16px;
    color: #fff;

    font-size: 12px;
    font-weight: 400;
    line-height: 1.3;
}

/* Service details */

.target-services-card ul {
    display: flex;
    flex-direction: column;
    gap: 10px;

    margin: 0;
    padding: 0;
    list-style: none;
}

.target-services-card li {
    position: relative;
    padding-left: 10px;

    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
}

.target-services-card li::before {
    content: "+";
    position: absolute;
    top: 0;
    left: 0;
}

/* =========================================
   SERVICES — PHOTOGRAPHIC SEPARATORS
   ========================================= */

.target-services-catalog__photo {
    position: relative;
    z-index: 0;

    width: min(1600px, calc(100% - 48px));
    height: 450px;
    margin: 0 auto;

    background-color: #2e2e2e;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.target-services-catalog__photo--one {
    background-image:
        url("../design/Desktop/3.Yphresies/img1.webp");
}

.target-services-catalog__photo--two {
    background-image:
        url("../design/Desktop/3.Yphresies/img2.webp");
}

/* =========================================
   SERVICES — TABLET
   ========================================= */

@media (min-width: 768px) and (max-width: 1100px) {

    .target-services-catalog__grid {
        width: calc(100% - 48px);
    }

    .target-services-card {
        padding: 35px 25px;
        min-height: 360px;
    }

    .target-services-card h2 {
        font-size: 12px;
    }

    .target-services-card p,
    .target-services-card li {
        font-size: 11px;
    }
}

/* =========================================
   SERVICES — MOBILE
   ========================================= */

@media (max-width: 767px) {

    .target-services-page .target-services-page__hero {
        min-height: 230px;
        gap: 28px;
        padding: 50px 25px;
    }

    .target-services-page__title {
        font-size: 28px;
    }

    .target-services-page__description {
        max-width: 340px;
        font-size: 14px;
        line-height: 1.25;
    }

    .target-services-catalog__first {
        padding-top: 55px;
    }

    .target-services-catalog__first::before {
        background-size: auto 300px;
    }

    .target-services-catalog__grid {
        grid-template-columns: minmax(0, 1fr);
        width: 100%;
        max-width: none;
    }

    .target-services-catalog__grid--overlap {
        margin-top: 0;
    }

    .target-services-card {
        min-height: 0;
        padding: 37px 27px 40px;

        border: 1px solid rgba(255, 255, 255, 0.55);
    }

    .target-services-card+.target-services-card {
        border-left: 1px solid rgba(255, 255, 255, 0.55);
        border-top: 0;
    }

    .target-services-card__icon {
        width: 66px;
        height: 66px;
        margin-bottom: 18px;
    }

    .target-services-card h2 {
        font-size: 16px;
        line-height: 1.3;
    }

    .target-services-card p {
        font-size: 14px;
        line-height: 1.3;
    }

    .target-services-card ul {
        gap: 12px;
    }

    .target-services-card li {
        font-size: 14px;
        line-height: 1.3;
    }

    .target-services-catalog__photo {
        width: 100%;
        height: 350px;
    }

    .target-services-catalog__photo--one {
        background-image:
            url("../design/Mobile/3.Yphresies/img1.webp");
    }

    .target-services-catalog__photo--two {
        background-image:
            url("../design/Mobile/3.Yphresies/img2.webp");
    }

    .target-services-page .target-services-catalog {
        padding-bottom: 60px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .target-services-card {
        transition: none;
    }
}

/* Smooth continuous movement for the client carousel */

.target-clients__track {
    scroll-snap-type: none;
    scroll-behavior: auto;
}

/* =========================================
   REAL CERTIFICATION LOGOS
   Homepage and Company
   ========================================= */

.target-itas__cert-logo,
.target-company-partners__logo {
    display: block;

    width: auto;
    height: auto;

    max-width: calc(100% - 28px);
    max-height: 82px;

    object-fit: contain;
    object-position: center;

    flex-shrink: 0;
    user-select: none;
    -webkit-user-drag: none;
}

/* Preserve spacing around certification artwork */

.target-itas__cert-cell,
.target-company-partners__cell {
    padding: 12px;
    box-sizing: border-box;
}

/* Mobile certification sizing */

@media (max-width: 767px) {
    .target-itas__cert-logo {
        max-height: 85px;
    }

    .target-company-partners__logo {
        max-height: 75px;
    }
}

/* =========================================
   STICKY SITE HEADER
   ========================================= */

.wp-block-template-part:has(.target-header),
.wp-site-blocks>.target-header {
    position: sticky;
    top: var(--wp-admin--admin-bar--height, 0px);
    z-index: 1000;
    background: #2e2e2e;
}

/* Keep anchor destinations visible below the header */

html {
    scroll-padding-top: 120px;
}

@media (max-width: 600px) {
    html {
        scroll-padding-top: 130px;
    }
}

/* =========================================
   MOBILE NAVIGATION — FIGMA DESIGN
   ========================================= */

@media (max-width: 600px) {

    .target-header .target-header__nav .wp-block-navigation__responsive-container.is-menu-open {
        position: fixed;
        inset: 0;
        z-index: 100001;

        display: flex;
        flex-direction: column;

        width: 100%;
        height: 100vh;
        height: 100dvh;

        box-sizing: border-box;
        padding: 96px 44px max(36px, env(safe-area-inset-bottom)) !important;

        background-color: #2e2e2e !important;
        color: #ffffff !important;

        overflow-x: hidden;
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    /* Make the navigation fill the available height */

    .target-header__nav .is-menu-open .wp-block-navigation__responsive-close,
    .target-header__nav .is-menu-open .wp-block-navigation__responsive-dialog,
    .target-header__nav .is-menu-open .wp-block-navigation__responsive-container-content {
        display: flex;
        flex-direction: column;
        flex: 1 0 auto;

        width: 100%;
        max-width: none !important;
        min-height: 0;
        box-sizing: border-box;
    }

    /* Divider below the close button */

    .target-header__nav .is-menu-open .wp-block-navigation__responsive-container-content {
        align-items: stretch !important;
        justify-content: flex-start !important;
        flex-wrap: nowrap !important;

        padding: 34px 0 0 !important;
        border-top: 1px solid rgba(255, 255, 255, 0.85);

        gap: 0 !important;
    }

    /* Close icon */

    .target-header__nav .is-menu-open .wp-block-navigation__responsive-container-close {
        position: absolute;
        top: -65px;
        right: 0;

        width: 26px;
        height: 26px;
        padding: 0;

        color: #ffffff !important;
        background: transparent;
    }

    .target-header__nav .is-menu-open .wp-block-navigation__responsive-container-close svg {
        width: 24px;
        height: 24px;
        fill: currentColor;
    }

    /* Vertical link list */

    .target-header__nav .is-menu-open .wp-block-navigation__container {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
        justify-content: flex-start !important;

        width: 100%;
        gap: 0 !important;
        margin: 0;
        padding: 0;
    }

    /* Remove desktop borders and special Contact treatment */

    .target-header__nav .is-menu-open .wp-block-navigation-item,
    .target-header__nav .is-menu-open .wp-block-navigation-item:last-child {
        display: block;
        flex: none;

        width: 100%;
        min-width: 0;

        border: 0 !important;
        border-radius: 0 !important;
        background: transparent;
        overflow: visible;
    }

    /* Figma typography */

    .target-header__nav .is-menu-open .wp-block-navigation-item__content {
        display: block;
        width: 100%;
        min-height: 0;

        padding: 12px 0 !important;

        color: #ffffff !important;
        font-family: "Syne", Arial, sans-serif;
        font-size: 23px !important;
        font-weight: 400 !important;
        line-height: 1.15;
        text-align: left;
        text-decoration: none;
        text-transform: uppercase;
    }

    .target-header__nav .is-menu-open .wp-block-navigation-item__content:hover,
    .target-header__nav .is-menu-open .wp-block-navigation-item__content:focus-visible {
        color: #9ec857 !important;
    }

    .target-header__nav .is-menu-open .wp-block-navigation-item__content:focus-visible,
    .target-header__nav .is-menu-open .wp-block-navigation__responsive-container-close:focus-visible {
        outline: 2px solid #9ec857;
        outline-offset: 4px;
    }

    /* Short screens must remain usable */

    @media (max-height: 650px) {
        .target-header .target-header__nav .wp-block-navigation__responsive-container.is-menu-open {
            padding-top: 74px !important;
        }

        .target-header__nav .is-menu-open .wp-block-navigation__responsive-container-close {
            top: -49px;
        }

        .target-header__nav .is-menu-open .wp-block-navigation-item__content {
            padding: 8px 0 !important;
            font-size: 19px !important;
        }
    }
}

/* =========================================
   MOBILE MENU SOCIAL SECTION
   ========================================= */

@media (max-width: 600px) {

    .target-header__nav .is-menu-open .target-mobile-menu__social {
        margin-top: auto;
        padding-top: 64px;
        padding-bottom: 0;
        color: #fff;
    }

    .target-mobile-menu__social-title {
        margin: 0 0 25px;
        color: #fff;

        font-family: "Syne", Arial, sans-serif;
        font-size: 24px;
        font-weight: 600;
        line-height: 1.2;
    }

    .target-mobile-menu__social-icons {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .target-mobile-menu__social-icon {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 60px;
        height: 60px;
        box-sizing: border-box;

        border: 1px solid rgba(255, 255, 255, 0.9);
        border-radius: 16px 0 16px 0;

        color: #fff;
        font-family: Arial, sans-serif;
        font-size: 29px;
        font-weight: 300;
        line-height: 1;

        text-decoration: none;
        transition:
            color 180ms ease,
            background-color 180ms ease;
    }

    a.target-mobile-menu__social-icon:hover,
    a.target-mobile-menu__social-icon:focus-visible {
        color: #2e2e2e;
        background: #9ec857;
    }

    a.target-mobile-menu__social-icon:focus-visible {
        outline: 2px solid #fff;
        outline-offset: 3px;
    }

    @media (max-height: 650px) {
        .target-header__nav .is-menu-open .target-mobile-menu__social {
            padding-top: 32px;
        }
    }
}

@media (prefers-reduced-motion: reduce) {
    .target-mobile-menu__social-icon {
        transition: none;
    }
}

/* =========================================
   MOBILE SOCIAL — PREVENT DESKTOP LEAKAGE
   ========================================= */

/* Never display mobile social links in desktop navigation */
.target-header__nav .target-mobile-menu__social {
    display: none !important;
}

/* Show only when the mobile overlay is open */
@media (max-width: 600px) {
    .target-header__nav .wp-block-navigation__responsive-container.is-menu-open .target-mobile-menu__social {
        display: block !important;
    }
}

/* =========================================
   HOMEPAGE — DESKTOP FIGMA REFINEMENTS
   ========================================= */

@media (min-width: 1101px) {

    /* Move client portfolio closer to the left edge */

    .target-clients {
        --clients-gutter: max(24px,
                calc((100vw - 1440px) / 2));
    }

    .target-clients__intro {
        width: min(1440px, calc(100% - 48px));
    }


    /* Figma-style outlined statistics */

    .target-intro__stat-value {
        position: relative;
        display: inline-block;
        width: max-content;

        /* Mask the wireframe image behind the numbers */
        background-color: #fff;
        padding-inline: 3px;

        /* Shorter, wider and heavier typography */
        font-family: "Syne", Arial, Helvetica, sans-serif;
        font-size: 60px;
        font-weight: 700;
        line-height: 0.95;
        letter-spacing: 0.02em;
        white-space: nowrap;

        /* Hollow numerals with white visible inside */
        color: transparent;
        -webkit-text-fill-color: transparent;
        -webkit-text-stroke: 1px #2e2e2e;

        /* Slight horizontal expansion */
        transform: scaleX(1.1);
        transform-origin: left center;
    }

}

/* =========================================
   TARGET IT — LANGUAGE SWITCHER
   ========================================= */

.target-header__nav .target-header__language {
    display: flex;
    flex: 0 0 155px;
    align-items: center;
    justify-content: center;
    gap: 7px;

    min-width: 155px;
    margin: 0;
    padding: 12px;

    border-left: 1px solid rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

.target-header__language a {
    color: #fff;
    font-family: "Syne", Arial, sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none;
}

.target-header__language a[aria-current="page"] {
    color: #9ec857;
}

.target-header__language a:hover {
    color: #9ec857;
}

.target-header__language a:focus-visible {
    outline: 2px solid #9ec857;
    outline-offset: 4px;
}

.target-header__language-separator {
    color: #aaa;
    font-size: 12px;
}

/* Mobile: switcher at the end of the opened menu */

@media (max-width: 767px) {
    .target-header__nav .target-header__language {
        flex: none;
        width: 100%;
        min-width: 0;
        min-height: 56px;

        justify-content: center;
        order: 99;

        border-left: 0;
        border-top: 1px solid rgba(255, 255, 255, 0.3);
    }

    .target-header__nav .target-header__language a {
        font-size: 17px;
    }

    .target-header__nav .target-header__language-separator {
        font-size: 17px;
    }
}

/* Target IT — Active navigation item */

.target-header__nav a.wp-block-navigation-item__content.target-nav-link--active,
.target-header__nav a.wp-block-navigation-item__content.target-nav-link--active .wp-block-navigation-item__label {
    color: #9ec857;
}
