/* =========================================================
   TECNICHKOS DIGITAL HUB PARITY V3
   Scoped only to the four Digital Solutions hub pages.
   ========================================================= */

.tk-digital-hub-v3 .tkdh-hero {
    position: relative;
    padding:
        clamp(70px,8vw,112px) 0
        clamp(65px,7vw,96px);
    overflow: hidden;
    background:
        radial-gradient(
            circle at 88% 15%,
            rgba(255,105,15,.13),
            transparent 31%
        ),
        linear-gradient(
            180deg,
            #fff,
            #f7f9fb
        );
}

.tk-digital-hub-v3 .tkdh-kicker {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #e95e00;
    font-size: .79rem;
    font-weight: 900;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.tk-digital-hub-v3 .tkdh-kicker::before {
    content: "";
    width: 22px;
    height: 2px;
    background: #ff690f;
}

.tk-digital-hub-v3 .tkdh-hero h1 {
    max-width: 850px;
    margin: 0 0 24px;
    font-size:
        clamp(2.8rem,5.2vw,4.75rem);
    line-height: 1.01;
    letter-spacing: -.052em;
}

.tk-digital-hub-v3 .tkdh-lead {
    max-width: 850px;
    margin: 0;
    font-size:
        clamp(1.08rem,1.8vw,1.35rem);
    line-height: 1.7;
    opacity: .69;
}


/* showcase */

.tk-digital-hub-v3 .tkdh-showcase {
    display: grid;
    grid-template-columns:
        repeat(2,minmax(0,1fr));
    gap: 18px;
    margin-top: 42px;
}

.tk-digital-hub-v3 .tkdh-showcase figure {
    margin: 0;
    overflow: hidden;
    border-radius: 23px;
    border: 1px solid rgba(10,31,52,.08);
    background: #fff;
    box-shadow:
        0 18px 50px rgba(11,32,54,.08);
}

.tk-digital-hub-v3 .tkdh-showcase img {
    display: block;
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}


/* sections */

.tk-digital-hub-v3 .tkdh-section {
    padding:
        clamp(68px,7vw,98px) 0;
}

.tk-digital-hub-v3 .tkdh-section.soft {
    background: #f6f8fa;
}

.tk-digital-hub-v3 .tkdh-section h2 {
    max-width: 950px;
    margin: 0 0 28px;
    font-size:
        clamp(2.25rem,4.3vw,3.65rem);
    line-height: 1.07;
    letter-spacing: -.045em;
}

.tk-digital-hub-v3 .tkdh-intro {
    max-width: 900px;
    font-size: 1.05rem;
    line-height: 1.75;
    opacity: .80;
}


/* image service cards */

.tk-digital-hub-v3 .tkdh-service-grid {
    display: grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap: 22px;
}

.tk-digital-hub-v3 .tkdh-service-card {
    overflow: hidden;
    border: 1px solid rgba(11,32,54,.09);
    border-radius: 22px;
    background: #fff;
    box-shadow:
        0 14px 38px rgba(11,32,54,.055);
}

.tk-digital-hub-v3 .tkdh-service-media {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #e9edf1;
}

.tk-digital-hub-v3 .tkdh-service-media img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    transition: transform .35s ease;
}

.tk-digital-hub-v3
.tkdh-service-card:hover
.tkdh-service-media img {
    transform: scale(1.025);
}

.tk-digital-hub-v3 .tkdh-service-body {
    padding: 26px 28px 30px;
}

.tk-digital-hub-v3 .tkdh-service-card h3 {
    margin: 0 0 13px;
    font-size: 1.32rem;
    line-height: 1.25;
}

.tk-digital-hub-v3 .tkdh-service-card p {
    margin: 0;
    line-height: 1.7;
    opacity: .72;
}

.tk-digital-hub-v3 .tkdh-card-link {
    display: inline-flex;
    margin-top: 20px;
    color: #ef6207 !important;
    text-decoration: none !important;
    font-weight: 900;
}

.tk-digital-hub-v3
.tkdh-card-link:hover {
    text-decoration: underline !important;
    text-underline-offset: 5px;
}


/* software workflows */

.tk-digital-hub-v3 .tkdh-business {
    display: grid;
    grid-template-columns:
        minmax(0,.95fr)
        minmax(0,1.05fr);
    gap: 60px;
    align-items: center;
}

.tk-digital-hub-v3 .tkdh-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 11px;
}

.tk-digital-hub-v3 .tkdh-pill {
    display: inline-flex;
    min-height: 45px;
    align-items: center;
    padding: 9px 17px;
    border: 1px solid rgba(11,32,54,.11);
    border-radius: 999px;
    background: #fff;
    font-size: .91rem;
    font-weight: 800;
}


/* strategy */

.tk-digital-hub-v3 .tkdh-strategy {
    display: grid;
    grid-template-columns:
        minmax(0,1fr)
        minmax(420px,.9fr);
    gap: 60px;
    align-items: center;
}

.tk-digital-hub-v3 .tkdh-flow {
    display: flex;
    align-items: center;
    min-height: 320px;
    padding: 42px;
    border-radius: 22px;
    background: #061526;
    color: #fff;
}

.tk-digital-hub-v3 .tkdh-flow-inner {
    font-size:
        clamp(1.45rem,2.5vw,2rem);
    font-weight: 900;
    line-height: 1.45;
}


/* detail cards */

.tk-digital-hub-v3 .tkdh-detail-grid {
    display: grid;
    grid-template-columns:
        repeat(3,minmax(0,1fr));
    gap: 22px;
}

.tk-digital-hub-v3 .tkdh-detail-card {
    padding: 30px 28px;
    border: 1px solid rgba(11,32,54,.10);
    border-radius: 20px;
    background: #fff;
    box-shadow:
        0 12px 32px rgba(11,32,54,.045);
}

.tk-digital-hub-v3 .tkdh-detail-card h3 {
    margin: 0 0 14px;
    font-size: 1.28rem;
}

.tk-digital-hub-v3 .tkdh-detail-card p {
    margin: 0;
    line-height: 1.72;
    opacity: .72;
}


/* process */

.tk-digital-hub-v3 .tkdh-process-grid {
    display: grid;
    grid-template-columns:
        repeat(4,minmax(0,1fr));
    gap: 18px;
}

.tk-digital-hub-v3 .tkdh-process-card {
    padding: 27px 24px;
    border: 1px solid rgba(11,32,54,.09);
    border-radius: 20px;
    background: #fff;
}

.tk-digital-hub-v3 .tkdh-process-num {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin-bottom: 18px;
    border-radius: 13px;
    background: rgba(255,105,15,.10);
    color: #ff690f;
    font-weight: 900;
}

.tk-digital-hub-v3 .tkdh-process-card h3 {
    margin: 0 0 12px;
    font-size: 1.15rem;
}

.tk-digital-hub-v3 .tkdh-process-card p {
    margin: 0;
    line-height: 1.68;
    opacity: .72;
}


/* CTA */

.tk-digital-hub-v3 .tkdh-cta {
    padding:
        clamp(70px,8vw,105px) 0;
    background:
        linear-gradient(
            135deg,
            #07192b,
            #132b3d
        );
    color: #fff;
}

.tk-digital-hub-v3 .tkdh-cta h2 {
    color: #fff;
}

.tk-digital-hub-v3 .tkdh-cta p {
    max-width: 900px;
    line-height: 1.7;
    opacity: .82;
}

.tk-digital-hub-v3 .tkdh-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    margin-top: 24px;
    padding: 13px 23px;
    border-radius: 999px;
    background: #ff690f;
    color: #fff !important;
    text-decoration: none !important;
    font-weight: 900;
    box-shadow:
        0 14px 32px rgba(255,105,15,.22);
}


/* responsive */

@media (max-width: 980px) {

    .tk-digital-hub-v3 .tkdh-service-grid,
    .tk-digital-hub-v3 .tkdh-detail-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .tk-digital-hub-v3 .tkdh-process-grid {
        grid-template-columns:
            repeat(2,minmax(0,1fr));
    }

    .tk-digital-hub-v3 .tkdh-business,
    .tk-digital-hub-v3 .tkdh-strategy {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 640px) {

    .tk-digital-hub-v3 .tkdh-showcase,
    .tk-digital-hub-v3 .tkdh-service-grid,
    .tk-digital-hub-v3 .tkdh-detail-grid,
    .tk-digital-hub-v3 .tkdh-process-grid {
        grid-template-columns: 1fr;
    }

    .tk-digital-hub-v3 .tkdh-flow {
        min-height: 240px;
        padding: 30px 25px;
    }

}


/* =========================================================
   TECNICHKOS DIGITAL HUB V3.1 POLISH
   ========================================================= */


/* equal-height image cards */

.tk-digital-hub-v3 .tkdh-service-grid {
    align-items:
        stretch;
}

.tk-digital-hub-v3 .tkdh-service-card {
    position:
        relative;

    display:
        flex;

    flex-direction:
        column;

    height:
        100%;

    transition:
        transform .22s ease,
        border-color .22s ease,
        box-shadow .22s ease;
}

.tk-digital-hub-v3 .tkdh-service-body {
    display:
        flex;

    flex: 1;

    flex-direction:
        column;
}

.tk-digital-hub-v3
.tkdh-service-body > p {
    flex:
        1;
}


/* clickable Custom Software card */

.tk-digital-hub-v3
.tkdh-service-card-clickable {
    cursor:
        pointer;

    border-color:
        rgba(255,105,15,.30);

    box-shadow:
        0 16px 42px
        rgba(11,32,54,.07),
        0 0 0 1px
        rgba(255,105,15,.035);
}

.tk-digital-hub-v3
.tkdh-service-card-clickable::before {
    content:
        "";

    position:
        absolute;

    z-index:
        4;

    top:
        0;

    left:
        0;

    right:
        0;

    height:
        3px;

    background:
        linear-gradient(
            90deg,
            #ff690f,
            #ff944c
        );
}

.tk-digital-hub-v3
.tkdh-service-card-clickable:hover {
    transform:
        translateY(-5px);

    border-color:
        rgba(255,105,15,.48);

    box-shadow:
        0 22px 55px
        rgba(11,32,54,.12);
}

.tk-digital-hub-v3
.tkdh-service-card-clickable:hover
.tkdh-service-media img {
    transform:
        scale(1.045);
}


/* visible CTA */

.tk-digital-hub-v3
.tkdh-card-cta {
    display:
        inline-flex;

    align-items:
        center;

    margin-top:
        20px;

    color:
        #ef6207;

    font-size:
        .94rem;

    font-weight:
        900;

    line-height:
        1.35;
}


/* entire-card link overlay */

.tk-digital-hub-v3
.tkdh-card-overlay {
    position:
        absolute;

    z-index:
        10;

    inset:
        0;

    border-radius:
        inherit;
}

.tk-digital-hub-v3
.tkdh-service-card-clickable:focus-within {
    outline:
        3px solid
        rgba(255,105,15,.22);

    outline-offset:
        4px;
}


/* accessible hidden text */

.tk-digital-hub-v3
.tkdh-sr-only {
    position:
        absolute;

    width:
        1px;

    height:
        1px;

    padding:
        0;

    margin:
        -1px;

    overflow:
        hidden;

    clip:
        rect(0,0,0,0);

    white-space:
        nowrap;

    border:
        0;
}


/* Slightly tighter page rhythm after removing duplicate section */

.tk-digital-hub-v3
.tkdh-section {
    padding-top:
        clamp(62px,6.5vw,90px);

    padding-bottom:
        clamp(62px,6.5vw,90px);
}


/* mobile */

@media (max-width: 640px) {

    .tk-digital-hub-v3
    .tkdh-service-card-clickable:hover {
        transform:
            none;
    }

    .tk-digital-hub-v3
    .tkdh-card-cta {
        margin-top:
            16px;
    }

}
