/* =========================================================
   COOL MELT TECHNOLOGY PAGE
========================================================= */

.cool-melt-page {
    --cm-dark: #10282c;
    --cm-accent: #62c88d;
    --cm-soft: #eaf8f1;
    --cm-text: #687b7e;
    --cm-border: rgba(16, 40, 44, 0.09);

    overflow: hidden;
    color: var(--cm-dark);
}

.cool-melt-page em {
    color: var(--cm-accent);
    font-style: normal;
}


/* =========================================================
   SHARED
========================================================= */

.cm-kicker {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--cm-accent);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.cm-kicker::before {
    content: "";
    width: 24px;
    height: 1px;
    background: currentColor;
}


/* =========================================================
   HERO
========================================================= */

.cm-hero {
    position: relative;
    min-height: 720px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #f8fcfa 0%,
            #edf8f2 100%
        );
}

.cm-hero-inner {
    position: relative;
    z-index: 2;
    width: 65%;
    display: grid;
    grid-template-columns: 0.95fr 1.05fr;
    gap: 70px;
    align-items: center;
}

.cm-hero-copy h1 {
    max-width: 700px;
    margin: 20px 0 28px;
    font: 800 clamp(76px, 9vw, 132px) / 0.82 "Manrope", sans-serif;
    letter-spacing: -0.08em;
}

.cm-hero-copy p {
    max-width: 580px;
    margin: 0;
    color: var(--cm-text);
    font-size: 17px;
    line-height: 1.8;
}

.cm-text-link {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-top: 34px;
    color: var(--cm-dark);
    font-size: 13px;
    font-weight: 800;
}

.cm-text-link span {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--cm-border);
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.72);
    transition: transform 0.25s ease;
}

.cm-text-link:hover span {
    transform: translateY(4px);
}


/* Hero visual */
.cm-hero-visual {
    position: relative;
    min-height: 590px;
    display: grid;
    place-items: center;
}

.cm-hero-circle {
    position: absolute;
    width: 490px;
    height: 490px;
    border-radius: 50%;
    background:
        radial-gradient(
            circle,
            rgba(255, 255, 255, 0.95),
            rgba(98, 200, 141, 0.11) 60%,
            transparent 72%
        );
}

.cm-hero-visual img {
    position: relative;
    z-index: 2;
    width: min(520px, 92%);
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(
        0 34px 30px rgba(16, 40, 44, 0.18)
    );
}

.cm-floating-label {
    position: absolute;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    min-height: 35px;
    padding: 0 15px;
    border: 1px solid rgba(16, 40, 44, 0.06);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 14px 35px rgba(16, 40, 44, 0.07);
    color: var(--cm-dark);
    font-size: 10px;
    font-weight: 800;
}

.cm-label-one {
    left: 2%;
    top: 23%;
}

.cm-label-two {
    right: 0;
    top: 14%;
}

.cm-label-three {
    right: 2%;
    bottom: 22%;
}

.cm-hero-decor {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
}

.cm-decor-one {
    left: -180px;
    top: 90px;
    width: 420px;
    height: 420px;
    background: radial-gradient(
        circle,
        rgba(98, 200, 141, 0.12),
        transparent 70%
    );
}

.cm-decor-two {
    right: -190px;
    bottom: -250px;
    width: 560px;
    height: 560px;
    border: 1px solid rgba(16, 40, 44, 0.07);
}


/* =========================================================
   INTRO
========================================================= */

.cm-intro {
    padding: 130px 0;
    background: #ffffff;
}

.cm-intro-grid {
    display: grid;
    grid-template-columns: 0.85fr 1.15fr;
    gap: 110px;
    align-items: start;
}

.cm-intro-heading h2 {
    max-width: 560px;
    margin: 20px 0 0;
    font: 800 clamp(48px, 5.5vw, 76px) / 1 "Manrope", sans-serif;
    letter-spacing: -0.06em;
}

.cm-intro-copy {
    padding-top: 24px;
}

.cm-intro-copy p {
    max-width: 650px;
    margin: 0 0 22px;
    color: var(--cm-text);
    font-size: 15px;
    line-height: 1.9;
}

.cm-intro-copy .cm-lead {
    color: var(--cm-dark);
    font-size: 21px;
    font-weight: 600;
    line-height: 1.6;
}


/* =========================================================
   PROCESS
========================================================= */

.cm-process {
    padding: 120px 0;
    background:
        radial-gradient(
            circle at 10% 35%,
            rgba(98, 200, 141, 0.08),
            transparent 28%
        ),
        #f6faf8;
}

.cm-section-heading {
    text-align: center;
}

.cm-section-heading .cm-kicker {
    justify-content: center;
}

.cm-section-heading h2 {
    margin: 18px 0 0;
    font: 800 clamp(46px, 5.5vw, 72px) / 1 "Manrope", sans-serif;
    letter-spacing: -0.055em;
}

.cm-process-flow {
    display: grid;
    grid-template-columns:
        minmax(0, 1fr)
        36px
        minmax(0, 1fr)
        36px
        minmax(0, 1fr)
        36px
        minmax(0, 1fr);
    gap: 12px;
    align-items: center;
    margin-top: 72px;
}

.cm-process-flow article {
    position: relative;
    min-height: 270px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 28px;
    border-top: 1px solid var(--cm-border);
}

.cm-step-number {
    color: #91a29d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.12em;
}

.cm-step-icon {
    position: relative;
    width: 66px;
    height: 66px;
    display: grid;
    place-items: center;
    margin: 42px 0 28px;
    border-radius: 50%;
    background: var(--cm-soft);
}

.cm-step-icon i {
    position: relative;
    display: block;
}


/* Tear */
.cm-step-tear i {
    width: 28px;
    height: 36px;
    border: 2px solid var(--cm-accent);
    border-radius: 5px;
    transform: rotate(-8deg);
}

.cm-step-tear i::before {
    content: "";
    position: absolute;
    top: 7px;
    left: 5px;
    right: 5px;
    height: 2px;
    background: var(--cm-accent);
}


/* Pour */
.cm-step-pour i {
    width: 29px;
    height: 22px;
    border: 2px solid var(--cm-accent);
    border-radius: 5px;
    transform: rotate(26deg);
}

.cm-step-pour i::after {
    content: "";
    position: absolute;
    right: -12px;
    bottom: -17px;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: var(--cm-accent);
    box-shadow:
        7px 7px 0 var(--cm-accent),
        14px 13px 0 var(--cm-accent);
}


/* Melt */
.cm-step-melt i {
    width: 30px;
    height: 30px;
    border-radius: 50% 50% 55% 45%;
    background: var(--cm-accent);
    transform: rotate(45deg);
}


/* Cool */
.cm-step-cool i {
    width: 32px;
    height: 32px;
}

.cm-step-cool i::before,
.cm-step-cool i::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            transparent 46%,
            var(--cm-accent) 46%,
            var(--cm-accent) 54%,
            transparent 54%
        ),
        linear-gradient(
            transparent 46%,
            var(--cm-accent) 46%,
            var(--cm-accent) 54%,
            transparent 54%
        );
}

.cm-step-cool i::after {
    transform: rotate(45deg);
}

.cm-process-flow h3 {
    margin: 0 0 10px;
    color: var(--cm-dark);
    font: 700 20px "Manrope", sans-serif;
}

.cm-process-flow p {
    margin: 0;
    color: var(--cm-text);
    font-size: 13px;
    line-height: 1.7;
}

.cm-process-arrow {
    color: var(--cm-accent);
    font-size: 22px;
    text-align: center;
}


/* =========================================================
   FIXED VISUAL
========================================================= */

.cm-visual-break {
    position: relative;
    height: 560px;
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.cm-visual-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(16, 40, 44, 0.2),
            rgba(16, 40, 44, 0.02) 45%,
            rgba(16, 40, 44, 0.14)
        ),
        linear-gradient(
            180deg,
            rgba(255, 255, 255, 0.02),
            rgba(16, 40, 44, 0.13)
        );
}

.cm-visual-glow {
    position: absolute;
    right: -160px;
    bottom: -230px;
    width: 520px;
    height: 520px;
    border-radius: 50%;
    background: radial-gradient(
        circle,
        rgba(98, 200, 141, 0.2),
        transparent 70%
    );
}


/* =========================================================
   CTA
========================================================= */

.cm-cta {
    padding: 120px 0;
    background: #ffffff;
}

.cm-cta-inner {
    min-height: 390px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 80px;
    align-items: center;
    padding: 65px 70px;
    border-radius: 34px;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 88% 18%,
            rgba(98, 200, 141, 0.28),
            transparent 30%
        ),
        var(--cm-dark);
}

.cm-cta h2 {
    max-width: 700px;
    margin: 20px 0;
    color: #ffffff;
    font: 800 clamp(48px, 5.5vw, 75px) / 1 "Manrope", sans-serif;
    letter-spacing: -0.06em;
}

.cm-cta p {
    max-width: 630px;
    margin: 0;
    color: rgba(255, 255, 255, 0.68);
    font-size: 15px;
    line-height: 1.8;
}

.cm-cta-actions {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.cm-button {
    min-width: 190px;
    min-height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 22px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    transition:
        transform 0.24s ease,
        background 0.24s ease;
}

.cm-button:hover {
    transform: translateY(-2px);
}

.cm-button-primary {
    color: var(--cm-dark);
    background: #ffffff;
}

.cm-button-secondary {
    border: 1px solid rgba(255, 255, 255, 0.24);
    color: #ffffff;
    background: transparent;
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 950px) {

    .cm-hero {
        min-height: auto;
        padding: 90px 0 60px;
    }

    .cm-hero-inner {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cm-hero-visual {
        min-height: 480px;
    }

    .cm-intro {
        padding: 95px 0;
    }

    .cm-intro-grid {
        grid-template-columns: 1fr;
        gap: 42px;
    }

    .cm-intro-copy {
        padding-top: 0;
    }

    .cm-process-flow {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .cm-process-arrow {
        display: none;
    }

    .cm-process-flow article {
        min-height: 250px;
    }

    .cm-visual-break {
        height: 500px;
        background-attachment: scroll;
    }

    .cm-cta-inner {
        grid-template-columns: 1fr;
        gap: 42px;
        padding: 55px;
    }

    .cm-cta-actions {
        flex-direction: row;
        flex-wrap: wrap;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .cm-hero {
        padding: 70px 0 40px;
    }

    .cm-hero-copy h1 {
        font-size: 70px;
    }

    .cm-hero-copy p {
        font-size: 15px;
    }

    .cm-hero-visual {
        min-height: 380px;
    }

    .cm-hero-circle {
        width: 320px;
        height: 320px;
    }

    .cm-floating-label {
        font-size: 8px;
        padding: 0 11px;
    }

    .cm-label-one {
        left: 0;
    }

    .cm-label-two {
        right: 0;
    }

    .cm-label-three {
        right: 0;
        bottom: 16%;
    }

    .cm-intro {
        padding: 75px 0;
    }

    .cm-intro-heading h2,
    .cm-section-heading h2,
    .cm-cta h2 {
        font-size: 41px;
    }

    .cm-intro-copy .cm-lead {
        font-size: 18px;
    }

    .cm-process {
        padding: 80px 0;
    }

    .cm-process-flow {
        grid-template-columns: 1fr;
        margin-top: 48px;
    }

    .cm-process-flow article {
        min-height: auto;
        display: grid;
        grid-template-columns: 45px 66px 1fr;
        gap: 14px;
        align-items: center;
        padding: 24px 0;
    }

    .cm-step-icon {
        margin: 0;
    }

    .cm-process-flow h3 {
        margin-bottom: 6px;
    }

    .cm-visual-break {
        height: 400px;
    }

    .cm-cta {
        padding: 75px 0;
    }

    .cm-cta-inner {
        min-height: auto;
        padding: 42px 24px;
        border-radius: 26px;
    }

    .cm-cta-actions {
        display: grid;
    }

    .cm-button {
        width: 100%;
    }

}