.techniques-page {
    z-index: 1;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

/* =========================================================
   HERO
========================================================= */

.techniques-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    padding: 130px clamp(24px, 8vw, 120px) 90px;
    color: var(--white);
    isolation: isolate;
}

.techniques-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    filter: saturate(.86) contrast(1.05);
    transform: scale(1.02);
}

.techniques-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(105deg, rgba(0, 0, 0, .66), rgba(0, 0, 0, .34) 48%, rgba(0, 0, 0, .14)),
        linear-gradient(180deg, rgba(0, 0, 0, .18), rgba(0, 0, 0, .72));
    backdrop-filter: blur(0px);
}

.techniques-hero-content {
    width: min(1180px, 100%);
    margin: 0 auto;
    animation: riseIn .8s ease both;
}

.techniques-hero .eyebrow {
    color: var(--white);
}

.techniques-hero h1 {
    max-width: 800px;
    margin: 0;
    color: var(--white);
    font-size: clamp(46px, 6.8vw, 75px);    
    font-weight: 900;
    line-height: .92;
    letter-spacing: -.045em;
    /* text-transform: uppercase; */
    text-shadow: 0 8px 30px rgba(0, 0, 0, .52);
}

/* =========================================================
   GLOBAL
========================================================= */

.intro-section,
.techniques-section,
.material-section,
.machines-section,
.techniques-cta {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: clamp(28px, 7vw, 120px);
    padding-right: clamp(28px, 7vw, 120px);
}

.techniques-section{
    padding-left: 20px;
    padding-right: 20px;
}

.section-heading,
.machines-heading {
    max-width: 900px;
    margin: 0 auto 44px;
    text-align: center;
}

.section-heading h2,
.machines-heading h2 {
    margin-bottom: 0;
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: .98;
}

.section-heading .eyebrow,
.machines-heading .eyebrow {
    color: var(--yellow-dark);
}

/* =========================================================
   INTRODUCTION
========================================================= */

.intro-section {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) minmax(520px, 1.15fr);
    gap: clamp(34px, 6vw, 90px);
    align-items: center;
    padding-top: clamp(76px, 8vw, 120px);
    padding-bottom: clamp(66px, 7vw, 100px);
    background: linear-gradient(90deg, rgba(20, 22, 24, .035) 1px, transparent 1px) 0 0 / 56px 56px,
        linear-gradient(180deg, #f2f4f5, #ffffff);
}

.intro-heading {
    position: sticky;
    top: 110px;
}

.intro-heading .eyebrow {
    color: var(--yellow-dark);
}

.intro-heading h2 {
    margin-bottom: 0;
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: .98;
}

.intro-text {
    display: grid;
    gap: 22px;
}

.intro-text p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.78;
}

.intro-text p:first-child {
    color: var(--ink);
    font-size: 21px;
    font-weight: 800;
}

.intro-text p:not(:first-child) {
    text-align: justify;
}


/* =========================================================
   TECHNIQUES GRID
========================================================= */

.techniques-section {
    padding-top: clamp(76px, 8vw, 120px);
    padding-bottom: clamp(76px, 8vw, 120px);
    background: linear-gradient(90deg, rgba(20, 22, 24, .035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(180deg, #ffffff, #f2f4f5);

}

.tech-grid {
    max-width: 1480px;
    width: fit-content;
    display: grid;
    grid-template-columns: repeat(5, 280px);
    gap: 22px;
    justify-items: center;
    margin: 0 auto;
}

.tech-card {
    position: relative;
    /* min-height: clamp(280px, 27vw, 430px); */
    height: 280px;
    width: 280px;
    overflow: hidden;
    display: block;
    color: var(--white);
    background: var(--soft);
    border-radius: 24px;
    box-shadow: 0 18px 52px rgba(15, 18, 20, .10);
    isolation: isolate;
    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.tech-card::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .06) 0%, rgba(0, 0, 0, .14) 45%, rgba(0, 0, 0, .68) 100%);
    pointer-events: none;
}

.tech-card::after {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    content: "\2b";
    font-family: "Font Awesome 5 Free";
    display: grid;
    width: 44px;
    height: 44px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 50%;
    box-shadow: 0 16px 38px rgba(223, 151, 0, .30);
    font-size: 20px;
    font-weight: 600;
    opacity: 0;
    transform: translateY(-8px) translateX(8px);
    transition:
        opacity .25s ease,
        transform .25s ease;
}

.tech-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 78px rgba(15, 18, 20, .18);
}

.tech-card:hover::after {
    opacity: 1;
    transform: translateY(0) translateX(0);
}

.tech-card.is-open {
    transform: translateY(-8px);
    box-shadow: 0 28px 78px rgba(15, 18, 20, .20);
}

.tech-card.is-open::after {
    opacity: 1;
    /* transform: translateY(0) translateX(0) rotate(45deg); */
}

.tech-card.is-open::before {
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .03) 0%, rgba(0, 0, 0, .18) 38%, rgba(0, 0, 0, .78) 100%),
        linear-gradient(135deg, rgba(246, 184, 15, .22), transparent 48%);
}

body.tech-modal-open {
    overflow: hidden;
}

.tech-focus-modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: grid;
    place-items: center;
    padding: clamp(18px, 4vw, 70px);
    background:
        radial-gradient(circle at 50% 18%, rgba(246, 184, 15, .18), transparent 32%),
        rgba(8, 9, 10, .76);
    backdrop-filter: blur(16px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .28s ease, visibility .28s ease;
}

.tech-focus-modal.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.tech-focus-dialog {
    position: relative;
    width: min(1040px, 100%);
    max-height: min(760px, calc(100vh - 56px));
    display: grid;
    grid-template-columns: minmax(340px, .9fr) minmax(360px, 1fr);
    overflow: hidden;
    color: var(--white);
    align-self: center;
    background: #161719;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 30px;
    box-shadow: 0 40px 120px rgba(0, 0, 0, .48);
    opacity: 0;
    transform: scale(.92) translateY(18px);
    transition:
        opacity .38s cubic-bezier(.16, 1, .3, 1),
        transform .38s cubic-bezier(.16, 1, .3, 1);
}

.tech-focus-modal.is-open .tech-focus-dialog {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.tech-focus-dialog .detail-equipment-image {
    min-height: 480px;
    border-radius: 0;
    box-shadow: none;
}

.tech-focus-dialog .detail-equipment-image::before {
    inset: 18px;
    border-radius: 18px;
}

.tech-focus-dialog .detail-equipment-image img {
    min-height: 480px;
}

.tech-focus-dialog .detail-equipment-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(30px, 4.4vw, 56px);
}

.tech-focus-dialog .tech-inline-close {
    position: absolute;
    top: 18px;
    right: 18px;
    z-index: 8;
    background: rgba(17, 18, 20, .62);
    backdrop-filter: blur(10px);
}

.tech-focus-dialog .tech-inline-kicker {
    margin-bottom: 16px;
}

.tech-focus-dialog .tech-inline-intro {
    margin-bottom: 18px;
    font-size: clamp(16px, 1.25vw, 19px);
    line-height: 1.42;
}

.tech-focus-dialog .tech-inline-equipment {
    padding-top: 14px;
}

.tech-focus-dialog .tech-info-grid {
    max-height: none;
    overflow-y: auto;
    padding-right: 0;
}

.tech-focus-dialog .tech-info-grid::-webkit-scrollbar {
    width: 6px;
}

.tech-focus-dialog .tech-info-grid::-webkit-scrollbar-thumb {
    background: rgba(246, 184, 15, .55);
    border-radius: 999px;
}

.tech-focus-dialog .detail-equipment-content ul {
    grid-template-columns: 1fr;
    gap: 9px;
}

.tech-focus-dialog .detail-equipment-content li {
    min-height: 0;
    background: transparent;
}

.tech-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    filter: saturate(.95) contrast(1.05);
    transition:
        transform .62s ease,
        filter .25s ease;
}

.tech-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.12) contrast(1.08);
}

.tech-card span {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 2;
    display: block;
    color: var(--white);
    font-size: 25px;
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .48);
}

.tech-card span,
.related-technique-card span {
    line-height: 1.08;
}

.tech-card span::before {
    display: block;
    width: 52px;
    height: 4px;
    margin-bottom: 14px;
    content: "";
    background: var(--yellow);
    border-radius: 999px;
}

.tech-inline-kicker {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 18px;
}

.tech-inline-close {
    width: 40px;
    height: 40px;
    display: grid;
    place-items: center;
    color: var(--white);
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    cursor: pointer;
    transition: background .22s ease, color .22s ease, transform .22s ease;
}

.tech-inline-close:hover {
    color: var(--black);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    transform: rotate(90deg);
}

.tech-inline-intro {
    max-width: 780px;
    margin: 0 0 24px;
    color: rgba(255, 255, 255, .84);
    font-size: clamp(17px, 1.35vw, 21px);
    font-weight: 750;
    line-height: 1.55;
}

.tech-inline-equipment {
    position: relative;
    padding-top: 14px;
}

.tech-info-grid {
    display: grid;
    gap: 8px;
}

.tech-info-block {
    position: relative;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
}

.tech-info-block h4 {
    margin: 0 0 8px;
    color: var(--yellow);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}


/* =========================================================
   POLE MATERIEL
========================================================= */

.material-section {
    display: grid;
    grid-template-columns: minmax(420px, .95fr) minmax(480px, 1.05fr);
    gap: clamp(36px, 5vw, 76px);
    align-items: center;
    box-sizing: border-box;
    min-height: 0;
    max-height: 100vh;
    padding-top: clamp(48px, 6vh, 86px);
    padding-bottom: clamp(48px, 6vh, 86px);
    color: var(--white);
    background: #161719;
}

.material-content {
    max-width: 820px;
}

.material-content .eyebrow {
    color: var(--white);
}

.material-content h2 {
    margin-bottom: 26px;
    color: var(--white);
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: .98;
}

.material-content p {
    color: rgba(255, 255, 255, .78);
    text-align: justify;
    font-size: 18px;
    line-height: 1.78;
}

.material-visual {
    position: relative;
    height: min(66vh, 660px);
    min-height: 380px;
    overflow: hidden;
    border-radius: 28px;
    background: #111;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
}

.material-visual::before {
    position: absolute;
    inset: 18px;
    border-radius: 20px;
    z-index: 2;
    content: "";
    border: 1px solid rgba(255, 255, 255, .42);
    pointer-events: none;
}

.material-visual img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    filter: saturate(.95) contrast(1.06);
}

.material-carousel .technique-carousel-track,
.material-carousel .technique-carousel-slide {
    min-height: 0;
}


.btn-home:hover {
    background: linear-gradient(135deg, rgba(246, 184, 15, .94), rgba(223, 151, 0, .84));
    border-color: rgba(255, 255, 255, .28);
    transform: translateY(3px);
}

/* =========================================================
   PRESENTATION MACHINES
========================================================= */

.machines-section {
    padding-top: clamp(76px, 8vw, 120px);
    padding-bottom: clamp(76px, 8vw, 120px);
    background: linear-gradient(90deg, rgba(20, 22, 24, .035) 1px, transparent 1px) 0 0 / 56px 56px, linear-gradient(180deg, #ffffff, #f2f4f5);
}

.machines-layout {
    max-width: 1480px;
    display: grid;
    grid-template-columns: minmax(520px, 1.15fr) minmax(420px, .85fr);
    gap: clamp(28px, 5vw, 70px);
    align-items: stretch;
    margin: 0 auto;
}

.machines-groups {
    display: grid;
    gap: 22px;
}

.machine-group {
    position: relative;
    overflow: hidden;
    padding: 30px 32px;
    background: rgba(255, 255, 255, .92);
    border: 1px solid rgba(20, 20, 20, .08);
    border-radius: 24px;
    box-shadow: 0 16px 44px rgba(15, 18, 20, .08);
}

.machine-group h3 {
    position: relative;
    margin: 0 0 18px;
    color: var(--ink);
    font-size: 24px;
    font-weight: 900;
    line-height: 1.08;
}

.machine-group h3::before {
    display: block;
    width: 46px;
    height: 4px;
    margin-bottom: 14px;
    content: "";
    background: var(--yellow);
    border-radius: 999px;
}

.machine-group ul {
    position: relative;
    display: grid;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.machine-group li {
    position: relative;
    padding-left: 26px;
    color: var(--muted);
    font-weight: 700;
    line-height: 1.5;
}

.machine-group li::before {
    position: absolute;
    top: .58em;
    left: 0;
    width: 9px;
    height: 9px;
    content: "";
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 6px rgba(246, 184, 15, .14);
}

.machines-visual {
    position: sticky;
    top: 96px;
    min-height: 680px;
    overflow: hidden;
    background: #dfe4e7;
    border-radius: 28px;
    box-shadow: 0 28px 80px rgba(15, 18, 20, .16);
}

.machines-visual::before {
    position: absolute;
    inset: 18px;
    z-index: 2;
    content: "";
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 20px;
    pointer-events: none;
}

.machines-visual img {
    width: 100%;
    height: 100%;
    min-height: 680px;
    object-fit: cover;
    filter: saturate(.95) contrast(1.05);
}

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

.techniques-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: clamp(64px, 7vw, 100px);
    padding-bottom: clamp(64px, 7vw, 100px);
    color: var(--white);
    background:#161719;
}

.techniques-cta .eyebrow {
    color: var(--white);
}

.techniques-cta h2 {
    max-width: 780px;
    margin: 0;
    color: var(--white);
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1;
}

/* =========================================================
   RESPONSIVE
========================================================= */
@media (max-width: 1570px) {
    .tech-grid {
        width: 100%;
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 1250px) {
    .tech-grid {
        width: 100%;
        grid-template-columns: repeat(3, 1fr);
    }

    .tech-card {
        width: 100%;
        height: auto;
        aspect-ratio: 1 / 1;
    }
}

@media (min-width: 1201px) and (max-height: 760px) {
    .material-section {
        max-height: none;
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .material-visual {
        height: min(62vh, 520px);
        min-height: 340px;
    }
}

@media (max-width: 1200px) {
    .intro-section,
    .material-section,
    .machines-layout {
        grid-template-columns: 1fr;
    }

    .intro-heading {
        position: static;
    }

    .material-section {
        max-height: none;
    }

    .material-visual {
        height: clamp(380px, 56vw, 560px);
        min-height: 0;
    }

    .machines-visual {
        position: relative;
        top: auto;
        min-height: 440px;
    }

    .machines-visual img {
        min-height: 440px;
    }
}

@keyframes mobileHeroBackground {
    from {
        background-position: 0% center;
    }

    to {
        background-position: 100% center;
    }
}

@media (max-width: 900px) {
    .techniques-hero {
        min-height: 100svh;
        padding: 110px 22px 70px;
    }

    .techniques-hero::before {
        background-position: 0% center;
        animation: mobileHeroBackground 18s ease-in-out infinite alternate;
    }

    .techniques-hero h1 {
        font-size: clamp(42px, 10vw, 72px);
    }

    .intro-section,
    .techniques-section,
    .material-section,
    .machines-section,
    .techniques-cta {
        padding-left: 22px;
        padding-right: 22px;
    }

    .intro-section,
    .techniques-section,
    .material-section,
    .machines-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .intro-heading h2,
    .section-heading h2,
    .machines-heading h2,
    .material-content h2,
    .techniques-cta h2 {
        font-size: clamp(34px, 4.4vw, 62px);
    }

    .intro-text p,
    .material-content p,
    .machine-group li {
        font-size: 16px;
    }

    .tech-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .tech-card {
        min-width: 0;
        min-height: 0;
        border-radius: 20px;
    }

    .tech-card span {
        right: 18px;
        bottom: 18px;
        left: 18px;
    }

    .material-visual {
        height: clamp(340px, 62vw, 480px);
    }

    .machines-layout {
        gap: 34px;
    }

    .tech-focus-modal {
        padding: 18px;
    }

    .tech-focus-dialog {
        width: min(620px, 100%);
        max-height: calc(100vh - 36px);
        grid-template-columns: 1fr;
        overflow-y: auto;
        border-radius: 24px;
    }

    .tech-focus-dialog .detail-equipment-image,
    .tech-focus-dialog .detail-equipment-image img {
        min-height: 350px;
    }

    .tech-focus-dialog .detail-equipment-content {
        padding: 30px;
    }

    .machine-group {
        padding: 26px 24px;
        border-radius: 20px;
    }

    .machines-visual,
    .machines-visual img {
        min-height: 360px;
    }

    .techniques-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 700px) {

    .tech-card {
        width: 100%;
        margin: 0 auto;
    }

    .techniques-cta .btn {
        max-width: 100%;
    }
}

@media (max-width: 500px) {

    .tech-grid {
        grid-template-columns: 1fr;
    }

}


@media (max-width: 560px) {
    .techniques-hero {
        min-height: 100svh;
        padding: 96px 18px 58px;
    }

    .techniques-hero h1 {
        font-size: 40px;
    }

    .intro-section,
    .techniques-section,
    .material-section,
    .machines-section {
        padding: 58px 18px;
    }


    .tech-card {
        min-height: 0;
    }

    .tech-card::after {
        opacity: 1;
        transform: none;
        width: 38px;
        height: 38px;
    }

    .tech-card span {
        font-size: 24px;
    }

    .tech-card span,
    .related-technique-card span {
        font-size: 22px;
    }

    .tech-inline-kicker {
        margin-bottom: 14px;
    }

    .tech-inline-close {
        width: 38px;
        height: 38px;
    }

    .tech-inline-intro {
        margin-bottom: 16px;
        font-size: 16px;
    }

    .tech-focus-modal {
        padding: 12px;
        align-items: end;
    }

    .tech-focus-dialog {
        max-height: calc(100vh - 24px);
        border-radius: 22px 22px 0 0;
    }

    .tech-focus-dialog .detail-equipment-image,
    .tech-focus-dialog .detail-equipment-image img {
        min-height: 300px;
    }

    .tech-focus-dialog .detail-equipment-content {
        padding: 24px 20px 26px;
    }

    .tech-focus-dialog .tech-inline-intro {
        font-size: 15px;
    }

    .tech-focus-dialog .detail-equipment-content li {
        min-height: 0;
        padding-top: 4px;
        padding-bottom: 4px;
    }
    

    .material-visual {
        height: clamp(300px, 72vw, 400px);
    }

    .machines-visual,
    .machines-visual img {
        min-height: 310px;
    }

    .machines-heading {
        margin-bottom: 32px;
    }

    .machine-group {
        padding: 24px 20px;
    }

    .machine-group h3 {
        font-size: 21px;
    }

    .techniques-cta {
        padding: 58px 18px;
    }

    .techniques-cta .btn {
        width: 100%;
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 420px) {
    .techniques-hero h1 {
        font-size: 36px;
    }

    .tech-card {
        min-height: 0;
    }

    .intro-text p:first-child {
        font-size: 18px;
    }

    .material-visual {
        height: 290px;
    }

    .machines-visual,
    .machines-visual img {
        min-height: 270px;
    }
}

@media (max-height: 650px) and (min-width: 700px) {
    .techniques-hero {
        min-height: 600px;
        padding-top: 110px;
        padding-bottom: 64px;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}


/************************************************ DETAILS  *************************************************/

/* =========================================================
   PAGE DETAIL TECHNIQUE
========================================================= */

.technique-detail-page {
    z-index: 1;
    position: relative;
    overflow: hidden;
    background: #ffffff;
}

.technique-detail-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: end;
    overflow: hidden;
    padding: 130px clamp(24px, 8vw, 120px) 90px;
    color: var(--white);
    isolation: isolate;
}

.technique-detail-hero::before {
    position: absolute;
    inset: 0;
    z-index: -2;
    content: "";
    background-image: var(--hero-image);
    background-position: center;
    background-size: cover;
    filter: saturate(.9) contrast(1.08);
    transform: scale(1.02);
}

.technique-detail-hero::after {
    position: absolute;
    inset: 0;
    z-index: -1;
    content: "";
    background:
        linear-gradient(105deg, rgba(0, 0, 0, .74), rgba(0, 0, 0, .38) 50%, rgba(0, 0, 0, .16)),
        linear-gradient(180deg, rgba(0, 0, 0, .14), rgba(0, 0, 0, .78));
}

.technique-detail-hero-content {
    width: min(1180px, 100%);
    margin: 0 auto;
    animation: riseIn .8s ease both;
}

.back-link {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 24px;
    color: rgba(255, 255, 255, .84);
    font-size: 14px;
    font-weight: 900;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: .04em;
    transition: color .22s ease, transform .22s ease;
}

.back-link:hover {
    color: var(--yellow);
    transform: translateX(-4px);
}

.detail-badge {
    display: inline-flex;
    width: fit-content;
    margin-bottom: 18px;
    padding: 10px 16px;
    color: var(--black);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 999px;
    box-shadow: 0 16px 38px rgba(223, 151, 0, .24);
    font-size: 14px;
    font-weight: 900;
    text-transform: uppercase;
}

.technique-detail-hero h1 {
    max-width: 980px;
    margin: 0 0 20px;
    color: var(--white);
    font-size: clamp(48px, 7vw, 104px);
    font-weight: 900;
    line-height: .92;
    letter-spacing: -.045em;
    /* text-transform: uppercase; */
    text-shadow: 0 8px 30px rgba(0, 0, 0, .52);
}

.technique-detail-hero p {
    max-width: 760px;
    margin: 0;
    color: rgba(255, 255, 255, .88);
    font-size: clamp(19px, 2vw, 28px);
    font-weight: 800;
    line-height: 1.25;
}

/* INTRO */

.detail-intro-section,
.detail-content-section,
.detail-equipment-section,
.related-techniques-section,
.detail-cta {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: none;
    margin: 0;
    padding-left: clamp(28px, 7vw, 120px);
    padding-right: clamp(28px, 7vw, 120px);
}

.detail-intro-section {
    display: grid;
    grid-template-columns: minmax(360px, .85fr) minmax(520px, 1.15fr);
    gap: clamp(34px, 6vw, 90px);
    align-items: start;
    padding-top: clamp(76px, 8vw, 120px);
    padding-bottom: clamp(76px, 8vw, 120px);
    background: #ffffff;
}

.detail-intro-title {
    position: sticky;
    top: 110px;
}

.detail-intro-title .eyebrow {
    color: var(--yellow-dark);
}

.detail-intro-title h2 {
    max-width: 680px;
    margin-bottom: 0;
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: .98;
}

.detail-intro-text {
    display: grid;
    gap: 22px;
}

.detail-intro-text p {
    margin: 0;
    color: var(--muted);
    font-size: 18px;
    line-height: 1.78;
}

.detail-intro-text p:first-child {
    color: var(--ink);
    font-size: 21px;
    font-weight: 800;
}

/* CONTENT CARDS */

.detail-content-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    padding-top: clamp(76px, 8vw, 120px);
    padding-bottom: clamp(76px, 8vw, 120px);
    background:
        linear-gradient(180deg, #ffffff, #f5f6f7);
}

.detail-card {
    position: relative;
    overflow: hidden;
    min-height: 460px;
    padding: clamp(30px, 4vw, 52px);
    background: rgba(255, 255, 255, .94);
    border: 1px solid rgba(20, 20, 20, .08);
    border-radius: 28px;
    box-shadow: 0 18px 52px rgba(15, 18, 20, .10);
}

.detail-card::before {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 190px;
    height: 190px;
    content: "";
    background: radial-gradient(circle, rgba(246, 184, 15, .24), transparent 62%);
}

.detail-card-dark {
    color: var(--white);
    background:
        radial-gradient(circle at 88% 12%, rgba(246, 184, 15, .20), transparent 30%),
        linear-gradient(135deg, #191b1d, #303538);
    border-color: rgba(255, 255, 255, .12);
}

.detail-card > span {
    display: inline-grid;
    width: 48px;
    height: 48px;
    margin-bottom: 26px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 50%;
    box-shadow: 0 14px 32px rgba(223, 151, 0, .26);
    font-weight: 900;
}

.detail-card h2 {
    position: relative;
    margin: 0 0 28px;
    color: var(--ink);
    font-size: clamp(30px, 4vw, 52px);
    line-height: 1;
}

.detail-card-dark h2 {
    color: var(--white);
}

.detail-steps,
.detail-list {
    position: relative;
    display: grid;
    gap: 14px;
    margin: 0;
    padding: 0;
}

.detail-steps {
    counter-reset: detailStep;
    list-style: none;
}

.detail-steps li {
    counter-increment: detailStep;
    position: relative;
    padding: 18px 18px 18px 68px;
    color: var(--muted);
    background: rgba(245, 246, 247, .78);
    border: 1px solid rgba(20, 20, 20, .06);
    border-radius: 18px;
    font-weight: 750;
    line-height: 1.5;
}

.detail-steps li::before {
    position: absolute;
    top: 50%;
    left: 18px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    content: counter(detailStep);
    color: var(--black);
    background: var(--yellow);
    border-radius: 50%;
    font-size: 13px;
    font-weight: 900;
    transform: translateY(-50%);
}

.detail-list {
    list-style: none;
}

.detail-list li {
    position: relative;
    padding: 18px 18px 18px 52px;
    color: rgba(255, 255, 255, .80);
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    font-weight: 750;
    line-height: 1.5;
}

.detail-list li::before {
    position: absolute;
    top: 24px;
    left: 22px;
    width: 10px;
    height: 10px;
    content: "";
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(246, 184, 15, .14);
}

/* EQUIPMENT */

.detail-equipment-section {
    display: grid;
    grid-template-columns: minmax(420px, .95fr) minmax(480px, 1.05fr);
    gap: clamp(36px, 6vw, 86px);
    align-items: center;
    padding-top: clamp(76px, 8vw, 120px);
    padding-bottom: clamp(76px, 8vw, 120px);
    color: var(--white);
    background:
        radial-gradient(circle at 84% 14%, rgba(246, 184, 15, .22), transparent 28%),
        linear-gradient(135deg, #17191b, #303538);
}

.detail-equipment-content {
    max-width: 820px;
}

.detail-equipment-content .eyebrow {
    color: var(--white);
}

.detail-equipment-content h2 {
    margin-bottom: 26px;
    color: var(--white);
    font-size: clamp(34px, 4.4vw, 62px);
    line-height: .98;
}

.detail-equipment-content p {
    color: rgba(255, 255, 255, .78);
    font-size: 18px;
    line-height: 1.78;
}

.detail-equipment-content ul {
    display: grid;
    gap: 12px;
    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.detail-equipment-content li {
    position: relative;
    padding: 16px 18px 16px 52px;
    color: rgba(255, 255, 255, .84);
    background: rgba(255, 255, 255, .075);
    border: 1px solid rgba(255, 255, 255, .10);
    border-radius: 18px;
    font-weight: 800;
}

.detail-equipment-content li::before {
    position: absolute;
    top: 50%;
    left: 20px;
    width: 10px;
    height: 10px;
    content: "";
    background: var(--yellow);
    border-radius: 50%;
    box-shadow: 0 0 0 7px rgba(246, 184, 15, .14);
    transform: translateY(-50%);
}

.detail-equipment-image {
    position: relative;
    min-height: 560px;
    overflow: hidden;
    background: #111;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .22);
}

.detail-equipment-image::before {
    position: absolute;
    inset: 18px;
    z-index: 2;
    content: "";
    border: 1px solid rgba(255, 255, 255, .42);
    pointer-events: none;
}

.detail-equipment-image img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    filter: saturate(.95) contrast(1.06);
}

/* RELATED */

.related-techniques-section {
    padding-top: clamp(76px, 8vw, 120px);
    padding-bottom: clamp(76px, 8vw, 120px);
    background: #ffffff;
}

.related-techniques-grid {
    max-width: 1280px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin: 0 auto;
}

.related-technique-card {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    display: block;
    color: var(--white);
    background: var(--soft);
    border-radius: 24px;
    box-shadow: 0 18px 52px rgba(15, 18, 20, .10);
    isolation: isolate;
    transition: transform .25s ease, box-shadow .25s ease;
}

.related-technique-card::before {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background:
        linear-gradient(180deg, rgba(0, 0, 0, .05), rgba(0, 0, 0, .68));
}

.related-technique-card::after {
    position: absolute;
    top: 22px;
    right: 22px;
    z-index: 2;
    content: "→";
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    color: var(--white);
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
    border-radius: 50%;
    font-weight: 900;
    opacity: 0;
    transform: translateY(-8px) translateX(8px);
    transition: opacity .25s ease, transform .25s ease;
}

.related-technique-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 28px 78px rgba(15, 18, 20, .18);
}

.related-technique-card:hover::after {
    opacity: 1;
    transform: none;
}

.related-technique-card img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    transition: transform .62s ease, filter .25s ease;
}

.related-technique-card:hover img {
    transform: scale(1.08);
    filter: saturate(1.12) contrast(1.08);
}

.related-technique-card span {
    position: absolute;
    right: 22px;
    bottom: 22px;
    left: 22px;
    z-index: 2;
    color: var(--white);
    font-size: clamp(21px, 2vw, 30px);
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 4px 18px rgba(0, 0, 0, .48);
}

.related-technique-card span::before {
    display: block;
    width: 52px;
    height: 4px;
    margin-bottom: 14px;
    content: "";
    background: var(--yellow);
    border-radius: 999px;
}

/* CTA */

.detail-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    padding-top: clamp(64px, 7vw, 100px);
    padding-bottom: clamp(64px, 7vw, 100px);
    color: var(--white);
    background:
        radial-gradient(circle at 84% 18%, rgba(246, 184, 15, .24), transparent 30%),
        linear-gradient(135deg, #191b1d, #303538);
}

.detail-cta .eyebrow {
    color: var(--white);
}

.detail-cta h2 {
    max-width: 820px;
    margin: 0;
    color: var(--white);
    font-size: clamp(34px, 4vw, 56px);
    line-height: 1;
}

/* RESPONSIVE DETAIL */

@media (max-width: 1200px) {
    .detail-intro-section,
    .detail-equipment-section {
        grid-template-columns: 1fr;
    }

    .detail-intro-title {
        position: static;
    }

    .detail-content-section {
        grid-template-columns: 1fr;
    }

    .detail-equipment-image,
    .detail-equipment-image img {
        min-height: 420px;
    }

    .related-techniques-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .technique-detail-hero {
        min-height: 100vh;
        padding: 110px 22px 70px;
    }

    .technique-detail-hero h1 {
        font-size: clamp(42px, 10vw, 72px);
    }

    .detail-intro-section,
    .detail-content-section,
    .detail-equipment-section,
    .related-techniques-section,
    .detail-cta {
        padding-left: 22px;
        padding-right: 22px;
    }

    .detail-intro-section,
    .detail-content-section,
    .detail-equipment-section,
    .related-techniques-section {
        padding-top: 70px;
        padding-bottom: 70px;
    }

    .detail-intro-title h2,
    .detail-card h2,
    .detail-equipment-content h2,
    .detail-cta h2 {
        font-size: clamp(32px, 7vw, 46px);
    }

    .detail-card {
        min-height: auto;
        border-radius: 22px;
    }

    .detail-equipment-image,
    .detail-equipment-image img {
        min-height: 360px;
    }

    .related-technique-card {
        min-height: 300px;
    }

    .detail-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 560px) {
    .technique-detail-hero {
        min-height: 100vh;
        padding: 96px 18px 58px;
    }

    .technique-detail-hero h1 {
        font-size: 40px;
    }

    .technique-detail-hero p {
        font-size: 18px;
    }

    .detail-intro-section,
    .detail-content-section,
    .detail-equipment-section,
    .related-techniques-section {
        padding: 58px 18px;
    }

    .detail-intro-text p,
    .detail-equipment-content p {
        font-size: 16px;
        line-height: 1.68;
    }

    .detail-intro-text p:first-child {
        font-size: 18px;
    }

    .detail-card {
        padding: 26px 20px;
    }

    .detail-steps li {
        padding: 16px 16px 16px 58px;
    }

    .detail-list li,
    .detail-equipment-content li {
        padding: 15px 16px 15px 48px;
    }

    .detail-equipment-image,
    .detail-equipment-image img {
        min-height: 310px;
    }

    .related-techniques-grid {
        grid-template-columns: 1fr;
    }

    .related-technique-card {
        min-height: 280px;
    }

    .related-technique-card::after {
        opacity: 1;
        transform: none;
    }

    .detail-cta {
        padding: 58px 18px;
    }
}

/* =========================================================
   CARROUSEL PHOTOS TECHNIQUES
========================================================= */

.technique-carousel {
    position: relative;
    isolation: isolate;
    user-select: none;
    outline: none;
}

.technique-carousel::after {
    position: absolute;
    inset: 0;
    z-index: 1;
    content: "";
    background: linear-gradient(180deg, transparent 56%, rgba(0, 0, 0, .56) 100%);
    pointer-events: none;
}

.technique-carousel-track,
.technique-carousel-slide {
    position: absolute;
    inset: 0;
}

.technique-carousel-slide {
    margin: 0;
    opacity: 0;
    visibility: hidden;
    transform: scale(1.035);
    transition:
        opacity .48s ease,
        visibility .48s ease,
        transform .8s cubic-bezier(.16, 1, .3, 1);
}

.technique-carousel-slide.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

.technique-carousel-slide img {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
}

.technique-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(13, 14, 15, .58);
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 50%;
    backdrop-filter: blur(12px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .24);
    cursor: pointer;
    transform: translateY(-50%);
    transition: background .22s ease, color .22s ease, transform .22s ease;
}

.technique-carousel-arrow:hover {
    color: #111;
    background: linear-gradient(135deg, var(--yellow), var(--yellow-dark));
}

.technique-carousel-prev {
    left: 24px;
}

.technique-carousel-next {
    right: 24px;
}

.technique-carousel-prev:hover {
    transform: translateY(-50%) translateX(-3px);
}

.technique-carousel-next:hover {
    transform: translateY(-50%) translateX(3px);
}

.technique-carousel-footer {
    position: absolute;
    right: 26px;
    bottom: 24px;
    left: 26px;
    z-index: 4;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}

.technique-carousel-dots {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.technique-carousel-dot {
    width: 9px;
    height: 9px;
    padding: 0;
    background: rgba(255, 255, 255, .50);
    border: 0;
    border-radius: 999px;
    cursor: pointer;
    transition: width .25s ease, background .25s ease, transform .25s ease;
}

.technique-carousel-dot:hover {
    background: #fff;
    transform: scale(1.15);
}

.technique-carousel-dot.is-active {
    width: 30px;
    background: var(--yellow);
}

.technique-carousel-counter {
    min-width: 56px;
    padding: 8px 11px;
    color: #fff;
    background: rgba(13, 14, 15, .58);
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 999px;
    backdrop-filter: blur(10px);
    font-size: 12px;
    font-weight: 900;
    text-align: center;
    letter-spacing: .06em;
}

.technique-carousel.is-loading::before {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 5;
    width: 42px;
    height: 42px;
    content: "";
    border: 3px solid rgba(255, 255, 255, .24);
    border-top-color: var(--yellow);
    border-radius: 50%;
    animation: techniqueCarouselSpin .8s linear infinite;
}

.technique-carousel.has-single-image .technique-carousel-arrow,
.technique-carousel.has-single-image .technique-carousel-dots,
.technique-carousel.has-single-image .technique-carousel-counter {
    display: none;
}

.tech-focus-dialog .technique-carousel-track,
.tech-focus-dialog .technique-carousel-slide {
    min-height: 480px;
}

@keyframes techniqueCarouselSpin {
    to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
    .tech-focus-dialog .technique-carousel-track,
    .tech-focus-dialog .technique-carousel-slide {
        min-height: 280px;
    }

    .technique-carousel-arrow {
        width: 44px;
        height: 44px;
    }

    .technique-carousel-prev {
        left: 16px;
    }

    .technique-carousel-next {
        right: 16px;
    }

    .technique-carousel-footer {
        right: 18px;
        bottom: 16px;
        left: 18px;
    }
}

@media (max-width: 560px) {
    .tech-focus-dialog .technique-carousel-track,
    .tech-focus-dialog .technique-carousel-slide {
        min-height: 220px;
    }

    .technique-carousel-arrow {
        width: 40px;
        height: 40px;
        font-size: 13px;
    }

    .technique-carousel-prev {
        left: 12px;
    }

    .technique-carousel-next {
        right: 12px;
    }

    .technique-carousel-footer {
        right: 14px;
        bottom: 13px;
        left: 14px;
    }

    .technique-carousel-counter {
        min-width: 50px;
        padding: 7px 9px;
    }
}