/* =========================================
   TARGET IT — HOW WE WORK
   ========================================= */

.target-hww {
    width: 100%;
    max-width: none;
    margin: 0;
    overflow: hidden;
    font-family: "Syne", Arial, Helvetica, sans-serif;
    color: #2e2e2e;
}

.target-hww * {
    box-sizing: border-box;
}

.target-hww h1,
.target-hww h2,
.target-hww h3,
.target-hww p {
    margin: 0;
}

.target-hww-dark {
    background: #2e2e2e;
    color: #fff;
}

/* =========================================
   HERO
   ========================================= */

.target-hww-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 33px;

    min-height: 355px;
    padding: 100px 24px 75px;
    text-align: center;
}

.target-hww-hero h1 {
    color: #fff;
    font-size: clamp(36px, 3.2vw, 58px);
    font-weight: 600;
    line-height: 1.15;
}

.target-hww-hero p {
    max-width: 800px;
    color: #fff;
    font-size: 15px;
    line-height: 1.4;
}

/* =========================================
   SUPPORT PROCESS
   ========================================= */

.target-hww-process {
    position: relative;
    isolation: isolate;
    padding: 95px 0 115px;
}

/* Original wireframe behind the process grid */

.target-hww-process::before {
    content: "";
    position: absolute;
    z-index: -1;
    top: 0;
    right: 0;

    width: 70%;
    height: 460px;

    background:
        url("../design/Desktop/1.Homepage/bg_dark.webp") right top / 100% auto no-repeat;

    opacity: 0.65;
    pointer-events: none;
}

.target-hww-process__inner {
    width: min(1600px, calc(100% - 48px));
    margin: 0 auto;
}

.target-hww-process__inner>h2 {
    margin: 0 0 90px;
    color: #fff;
    font-size: 37px;
    font-weight: 600;
    line-height: 1.2;
}

.target-hww-process__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    width: 100%;
    border-top: 1px solid #c8c8c8;
    border-left: 1px solid #c8c8c8;
}

/* The numbered cards */

.target-hww-step {
    position: relative;
    isolation: isolate;
    overflow: hidden;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;

    min-width: 0;
    min-height: 286px;
    padding: 65px 60px;

    border-right: 1px solid #c8c8c8;
    border-bottom: 1px solid #c8c8c8;

    background: #2e2e2e;
    color: #fff;
}

.target-hww-step__number,
.target-hww-step h3 {
    position: relative;
    z-index: 2;
    color: #fff;
}

.target-hww-step__number {
    font-size: 17px;
    font-weight: 650;
    line-height: 1.2;
}

.target-hww-step h3 {
    font-size: 30px;
    font-weight: 600;
    line-height: 1.2;
}

/* =========================================
   BOTTOM-TO-TOP IMAGE REVEAL
   ========================================= */

/*
 * Five original images, one per numbered card.
 * The image is initially clipped completely away.
 * Hover reveals it upward from the bottom edge.
 */

.target-hww-step--1 {
    --hww-step-image:
        url("../design/Desktop/5.Pos_Synergazomaste/img1.webp");
}

.target-hww-step--2 {
    --hww-step-image:
        url("../design/Desktop/5.Pos_Synergazomaste/img2.webp");
}

.target-hww-step--3 {
    --hww-step-image:
        url("../design/Desktop/5.Pos_Synergazomaste/img3.webp");
}

.target-hww-step--4 {
    --hww-step-image:
        url("../design/Desktop/5.Pos_Synergazomaste/img4.webp");
}

.target-hww-step--5 {
    --hww-step-image:
        url("../design/Desktop/5.Pos_Synergazomaste/img5.webp");
}

.target-hww-step:not(.target-hww-step--photo)::before {
    content: "";
    position: absolute;
    z-index: 0;
    inset: 0;

    background-image:
        linear-gradient(to bottom,
            rgba(0, 0, 0, 0.30),
            rgba(0, 0, 0, 0.60)),
        var(--hww-step-image);

    background-size: cover;
    background-position: center;

    clip-path: inset(100% 0 0 0);

    transition:
        clip-path 650ms cubic-bezier(0.22, 1, 0.36, 1);

    pointer-events: none;
}

@media (hover: hover) {
    .target-hww-step:not(.target-hww-step--photo):hover::before {
        clip-path: inset(0 0 0 0);
    }
}

/* Keyboard-accessible image reveal */

.target-hww-step:not(.target-hww-step--photo):focus-visible::before {
    clip-path: inset(0 0 0 0);
}

.target-hww-step:focus-visible {
    outline: 2px solid #9ec857;
    outline-offset: -4px;
}

/* Sixth card is permanently photographic */

.target-hww-step--photo {
    padding: 0;
    background:
        url("../design/Desktop/2.Etairia/carousel3.webp") center / cover no-repeat;
}

/* =========================================
   CRM SECTION
   ========================================= */

.target-hww-crm {
    position: relative;
    overflow: hidden;
    background: #fff;
}

.target-hww-crm__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 90px;

    width: min(1450px, calc(100% - 64px));
    min-height: 780px;
    margin: 0 auto;
    padding: 95px 0;
}

.target-hww-crm__art {
    position: relative;
    isolation: isolate;

    width: 100%;
    max-width: 600px;
    height: 610px;
}

.target-hww-crm__art::before {
    content: "";
    position: absolute;
    z-index: -1;
    inset: 0;

    background: radial-gradient(ellipse,
            rgba(158, 200, 87, 0.24),
            transparent 67%);
}

.target-hww-crm__card {
    position: absolute;
    width: 320px;
    height: 400px;

    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.target-hww-crm__card--rear {
    top: 5px;
    left: 0;
    background-image:
        url("../design/Desktop/5.Pos_Synergazomaste/card1.webp");
}

.target-hww-crm__card--front {
    z-index: 1;
    top: 230px;
    left: 170px;
    background-image:
        url("../design/Desktop/5.Pos_Synergazomaste/card2.webp");
}

.target-hww-crm__content h2 {
    max-width: 620px;
    font-size: 38px;
    font-weight: 600;
    line-height: 1.2;
}

.target-hww-crm__content p {
    max-width: 625px;
    margin-top: 30px;
    font-size: 15px;
    line-height: 1.4;
}

/* =========================================
   REMOTE AND ON-SITE SUPPORT
   ========================================= */

.target-hww-methods {
    background: #fff;
    padding: 90px 0 125px;
}

.target-hww-methods__inner {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr) minmax(270px, 486px) minmax(0, 1fr);
    align-items: center;
    gap: clamp(35px, 5vw, 110px);

    width: min(1650px, calc(100% - 64px));
    margin: 0 auto;
}

.target-hww-methods__column {
    min-width: 0;
}

.target-hww-methods__column h2 {
    margin-bottom: 34px;
    font-size: 35px;
    font-weight: 600;
    line-height: 1.15;
}

.target-hww-methods__column h3 {
    margin-bottom: 15px;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.3;
}

.target-hww-methods__column p {
    font-size: 15px;
    line-height: 1.4;
}

.target-hww-methods__column--remote {
    text-align: right;
}

.target-hww-methods__image,
.target-hww-methods__image img {
    display: block;
    width: 100%;
}

.target-hww-methods__image img {
    aspect-ratio: 486 / 588;
    height: auto;
    object-fit: cover;
}

/* Benefits with small green Target IT symbol */

.target-hww-benefits {
    display: flex;
    flex-direction: column;
    gap: 27px;

    margin: 47px 0 0;
    padding: 0;
    list-style: none;
}

.target-hww-benefits li {
    display: flex;
    align-items: flex-start;
    gap: 15px;

    font-size: 17px;
    font-weight: 600;
    line-height: 1.3;
}

.target-hww-benefits li::before {
    content: "";
    flex: 0 0 22px;
    width: 22px;
    height: 22px;

    background:
        url("../design/svgs/logo.svg") left center / auto 22px no-repeat;
}

.target-hww-methods__column--remote .target-hww-benefits li {
    flex-direction: row-reverse;
}

/* =========================================
   MONTHLY REPORTS
   ========================================= */

.target-hww-reports {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;

    width: 100%;
    min-height: 790px;
    background: #f0eff2;
}

.target-hww-reports__image {
    display: block;
    overflow: hidden;
    height: 100%;
    min-height: 790px;

    border: 1px solid #777;
    border-left: 0;
    border-radius: 0 70px 70px 0;
}

.target-hww-reports__image img {
    display: block;
    width: 100%;
    height: 100%;
    min-height: 790px;

    object-fit: cover;
    object-position: center;
}

.target-hww-reports__content {
    display: flex;
    flex-direction: column;
    justify-content: center;

    padding: 90px clamp(45px, 8vw, 160px);
}

.target-hww-reports__content h2 {
    margin-bottom: 47px;
    font-size: 36px;
    font-weight: 600;
    line-height: 1.2;
}

.target-hww-reports__topic+.target-hww-reports__topic {
    margin-top: 58px;
}

.target-hww-reports__topic h3 {
    margin-bottom: 16px;
    font-size: 17px;
    font-weight: 650;
    line-height: 1.3;
}

.target-hww-reports__topic p {
    font-size: 15px;
    line-height: 1.4;
}

/* =========================================
   COLLABORATION MODELS
   ========================================= */

.target-hww-plans {
    background: #2e2e2e;
    color: #fff;
    padding: 105px 0 120px;
}

.target-hww-plans__inner {
    width: min(1600px, calc(100% - 48px));
    margin: 0 auto;
}

.target-hww-plans__inner>h2 {
    margin-bottom: 85px;
    color: #fff;
    font-size: 37px;
    font-weight: 600;
    line-height: 1.2;
}

.target-hww-plans__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));

    border-top: 1px solid #bcbcbc;
    border-left: 1px solid #bcbcbc;
}

.target-hww-plan {
    min-width: 0;
    padding: 29px 30px 32px;

    border-right: 1px solid #bcbcbc;
    border-bottom: 1px solid #bcbcbc;
}

.target-hww-plan video {
    display: block;
    width: 100%;
    aspect-ratio: 478 / 160;

    margin-bottom: 28px;
    object-fit: cover;
    background: #050505;
}

.target-hww-plan h3 {
    margin-bottom: 16px;
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
}

.target-hww-plan p {
    color: #fff;
    font-size: 15px;
    line-height: 1.35;
}

/* =========================================
   TABLET
   ========================================= */

@media (min-width: 768px) and (max-width: 1100px) {
    .target-hww-step {
        padding: 45px 32px;
        min-height: 245px;
    }

    .target-hww-step h3 {
        font-size: 25px;
    }

    .target-hww-crm__inner {
        gap: 35px;
    }

    .target-hww-crm__card {
        width: 260px;
        height: 325px;
    }

    .target-hww-crm__card--front {
        left: 110px;
        top: 210px;
    }

    .target-hww-methods__inner {
        gap: 25px;
    }

    .target-hww-methods__column h2 {
        font-size: 25px;
    }

    .target-hww-methods__column h3,
    .target-hww-benefits li {
        font-size: 13px;
    }

    .target-hww-methods__column p {
        font-size: 12px;
    }

    .target-hww-reports__content {
        padding-inline: 50px;
    }

    .target-hww-plan {
        padding: 23px;
    }

    .target-hww-plan h3 {
        font-size: 14px;
    }

    .target-hww-plan p {
        font-size: 12px;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 767px) {

    .target-hww-hero {
        min-height: 270px;
        gap: 24px;
        padding: 58px 25px;
    }

    .target-hww-hero h1 {
        font-size: 31px;
    }

    .target-hww-hero p {
        max-width: 350px;
        font-size: 14px;
        line-height: 1.35;
    }

    /* Process cards */

    .target-hww-process {
        padding: 35px 0 0;
    }

    .target-hww-process::before {
        width: 100%;
        height: 230px;
        background-image:
            url("../design/Mobile/1.Homepage/bg_dark.webp");
        background-size: cover;
    }

    .target-hww-process__inner {
        width: 100%;
    }

    .target-hww-process__inner>h2 {
        margin: 0 20px 43px;
        font-size: 25px;
        text-align: center;
    }

    .target-hww-process__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .target-hww-step {
        min-height: 188px;
        gap: 16px;
        padding: 26px 20px;
    }

    .target-hww-step__number {
        font-size: 14px;
    }

    .target-hww-step h3 {
        font-size: 18px;
        overflow-wrap: anywhere;
    }

    .target-hww-step--photo {
        background-image:
            url("../design/Mobile/5.Pos_Synergazomaste/img1.webp");
    }

    /* CRM cards and text */

    .target-hww-crm__inner {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 45px;

        width: calc(100% - 48px);
        min-height: 0;
        padding: 65px 0 75px;
    }

    .target-hww-crm__content {
        order: -1;
    }

    .target-hww-crm__art {
        width: min(360px, 100%);
        height: 425px;
        margin: 0 auto;
    }

    .target-hww-crm__card {
        width: 219px;
        height: 274px;
    }

    .target-hww-crm__card--rear {
        top: 0;
        left: 0;
        background-image:
            url("../design/Mobile/5.Pos_Synergazomaste/card1.webp");
    }

    .target-hww-crm__card--front {
        top: 140px;
        left: min(112px, 27vw);
        background-image:
            url("../design/Mobile/5.Pos_Synergazomaste/card2.webp");
    }

    .target-hww-crm__content h2 {
        font-size: 27px;
    }

    .target-hww-crm__content p {
        margin-top: 23px;
        font-size: 14px;
    }

    /* Support methods: stack around the photograph */

    .target-hww-methods {
        padding: 40px 0 75px;
    }

    .target-hww-methods__inner {
        display: flex;
        flex-direction: column;
        gap: 50px;

        width: calc(100% - 48px);
    }

    .target-hww-methods__column {
        width: 100%;
        text-align: left;
    }

    .target-hww-methods__column h2 {
        margin-bottom: 23px;
        font-size: 27px;
    }

    .target-hww-methods__column h3 {
        font-size: 16px;
    }

    .target-hww-methods__column p {
        font-size: 14px;
    }

    .target-hww-benefits {
        margin-top: 33px;
        gap: 23px;
    }

    .target-hww-benefits li,
    .target-hww-methods__column--remote .target-hww-benefits li {
        flex-direction: row;
        font-size: 15px;
    }

    .target-hww-methods__image {
        width: min(342px, 100%);
    }

    /* Monthly reports */

    .target-hww-reports {
        display: flex;
        flex-direction: column;
        min-height: 0;
    }

    .target-hww-reports__image {
        min-height: 0;
        height: auto;
        border-radius: 0 65px 65px 0;
    }

    .target-hww-reports__image img {
        min-height: 0;
        height: auto;
        aspect-ratio: 403 / 377;
    }

    .target-hww-reports__content {
        padding: 60px 27px 75px;
    }

    .target-hww-reports__content h2 {
        margin-bottom: 34px;
        font-size: 28px;
    }

    .target-hww-reports__topic+.target-hww-reports__topic {
        margin-top: 38px;
    }

    .target-hww-reports__topic h3 {
        font-size: 16px;
    }

    .target-hww-reports__topic p {
        font-size: 14px;
    }

    /* Collaboration cards */

    .target-hww-plans {
        padding: 65px 0 75px;
    }

    .target-hww-plans__inner {
        width: 100%;
    }

    .target-hww-plans__inner>h2 {
        margin: 0 24px 40px;
        font-size: 27px;
    }

    .target-hww-plans__grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .target-hww-plan {
        padding: 28px 25px 32px;
    }

    .target-hww-plan h3 {
        font-size: 16px;
    }

    .target-hww-plan p {
        font-size: 14px;
    }
}

/* =========================================
   ACCESSIBILITY
   ========================================= */

@media (prefers-reduced-motion: reduce) {
    .target-hww-step:not(.target-hww-step--photo)::before {
        transition: none;
    }
}