/* TEST GIONH */


* {
    box-sizing: border-box;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/SpaceGrotesk-Regular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/SpaceGrotesk-Medium.ttf") format("truetype");
    font-weight: 500;
    font-style: normal;
}

@font-face {
    font-family: "Space Grotesk";
    src: url("../fonts/SpaceGrotesk-Bold.ttf") format("truetype");
    font-weight: 700;
    font-style: normal;
}

html {
    scroll-behavior: smooth;
}

:root {
    --fs-h1: 58px;
    --fs-h2: 42px;
    --fs-h3: 24px;
    --fs-p: 18px;

    --fs-hero-title: 58px;
    --fs-method-title: 46px;
    --fs-question: 30px;
    --fs-step-title: 32px;
}

body {
    margin: 0;
    font-family: "Space Grotesk", sans-serif;
    background-color: #101014;
    background-image:
    radial-gradient(
            circle at 85% 70%,
            rgba(55, 143, 89, 0.10),
            transparent 50%
        );
    color: #f5f5f5;
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

.container {
    max-width: 1200px;
    padding: 0 20px;
    margin: 0 auto;
}

section {
    padding: 100px 0;
    scroll-margin-top: 100px;
}

h1, h2, h3, p {
    margin-top: 0;
}

h1 {
    font-size: var(--fs-h1);
    line-height: 1.05;
    margin-bottom: 0;
}

h2 {
    font-size: var(--fs-h2);
    line-height: 1.15;
    margin-bottom: 16px;
}

h3 {
    font-size: var(--fs-h3);
    line-height: 1.25;
    margin-bottom: 12px;
}

p {
    font-size: var(--fs-p);
    line-height: 1.6;
}

a {
    color: inherit;
}

.inline-link {
    color: rgb(55, 143, 89);
    font-weight: 700;
    text-decoration: none;
}

.cta, .form-button {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 6px;
    font-family: inherit;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
    background-color: rgb(55, 143, 89);
    color: white;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.site-header {
    padding: 16px 0px;
    height: 80px;
    background-color: rgba(16, 16, 20, 0.20);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo {
    display: block;
    height: 52px;
    width: auto;

    transform: scale(1.75) translateY(-1px);

    filter:
        saturate(1.15)
        contrast(1.05)
        brightness(1.05);

    transition:
        filter 0.3s ease,
        transform 0.3s ease;
}
.logo-link {
    display: inline-flex;
    align-items: center;
    border-radius: 5px;
    position: relative;
}  

.logo-link::before {
    content: "";
    position: absolute;
    inset: -10px;
    background: radial-gradient(
        circle,
        rgba(55, 143, 89, 0.25),
        transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.navbar-list{
    display: flex;
    gap: 32px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-link {
    display: inline-block;
    font-weight: 400;
    text-decoration: none;
    position: relative;
    color: inherit;
    transition: color 0.3s ease, transform 0.3s ease, text-shadow 0.3s ease;
}

.hero {
    min-height: 100vh;
    padding: 0;
    display: flex;
    align-items: center;
    margin-top: -80px;
    padding-top: 80px;
    background: radial-gradient(circle at top, rgba(55, 143, 89, 0.30), transparent 65%);
}

.hero-content {
    max-width: 1000px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    text-align: center;
    margin: 0 auto;
}

.hero-title {
    font-size: var(--fs-hero-title);
    line-height: 1.1;
    letter-spacing: -1px;
}

.hero-title-line {
    display: block;
}

.line-2 {
    color: #ff0000;
}

.hero-content p {
    max-width: 650px;
    font-size: 18px;
    line-height: 1.6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.services {
    padding: 100px 0;
}

.section-heading, .section-steps {
    position: relative;
}

.section-heading {
    max-width: 700px;
    margin: 0 auto 48px;
    text-align: center;
}

.method-title {
    grid-column: 1 / -1;
    text-align: center;
    font-size: var(--fs-method-title);
    line-height: 1.1;
    margin-bottom: 32px;
}

.section-steps {
    grid-column: 1 / 2;
    grid-row: 2;
    max-width: none;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.service-card {
    background-color: #18181d;
    padding: 32px;
    border-radius: 16px;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}   

.service-card h3 {
    margin-bottom: 16px;
}

.service-card p {
    line-height: 1.6;
}

.portfolio {
    padding: 100px 0;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

.portfolio-card {
    background-color: #18181d;
    padding: 32px;
    border-radius: 16px;
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 32px;
    align-items: center;
    transition: transform 0.3s ease,
                background-color 0.3s ease,
                border-color 0.3s ease;
}

.portfolio-note {
    max-width: 800px;
    margin: 0 auto 40px;
}

.portfolio-image-wrapper {
    max-height: 420px;
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #24242c;
    border-radius: 12px;
}

.portfolio-image {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.portfolio-content {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.portfolio-tag {
    display: inline-block;
    width: fit-content;
    padding: 6px 12px;
    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;

    background-color: rgba(55, 143, 89, 0.12);
    border: 1px solid rgba(125, 255, 171, 0.25);

    color: rgb(125, 255, 171);
}

.service-card, .portfolio-card {
    border: 1px solid #24242c;
}

.contact-form {
    max-width: 700px;
    margin: 0 auto;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 16px;
    border: 1px solid #2a2a30;
    border-radius: 8px;
    background-color: #18181d;
    color: #f5f5f5;
    font-family: inherit;
    font-size: 16px;
    border-color: rgb(55, 143, 89);
    box-shadow:
        0 0 16px rgba(55, 143, 89, 0.25);
}

.form-textarea {
    min-height: 160px;
    resize: vertical;
}

.method-question {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.question-text {
    font-size: var(--fs-question);
    font-weight: 500;
    letter-spacing: -0.02em;
    transform: translateX(5px);
}

.trigger-label {
    position: relative;
    display: inline-block;
    margin-left: 12px;
    padding: 6px 12px;
    border: 1px solid rgba(125, 255, 171, 0.40);
    border-radius: 999px;
    background-color: rgba(55, 143, 89, 0.10);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(125, 255, 171, 0.75);
    transform: translateX(-2px);
    box-shadow: 0 0 12px rgba(55, 143, 89, 0.10);
    animation: triggerPulse 1.6s ease-in-out infinite;
}

.section-steps::after {
    content: "";
    position: absolute;
    top: 95px;
    left: calc(50% + 3px);
    width: 1px;
    height: clamp(80px, 8vw, 120px);
    transform: translateX(-50%);
    background-color: rgba(125, 255, 171, 0.28);
    box-shadow:
        0 0 10px rgba(55, 143, 89, 0.18);
    animation: triggerPulse 2.8s ease-in-out infinite;
}

.method-steps.is-active .section-steps::after {
    animation: none;
    opacity: 1;
    background-color: #7dffab;
    box-shadow: 0 0 12px rgba(55, 143, 89, 0.35);
}

@keyframes triggerPulse {
    0%,
    100% {
        opacity: 0.55;
        box-shadow: 0 0 8px rgba(55, 143, 89, 0.10);
    }
    50% {
        opacity: 1;
        box-shadow: 0 0 18px rgba(55, 143, 89, 0.35);
    }
}

.method-steps.is-active .trigger-label,
.method-steps.is-active .trigger-label::after {
    animation: none;
    opacity: 1;
    color: #7dffab;
}

.method-steps.is-active .trigger-label::after {
    background-color: #7dffab;
    box-shadow: 0 0 12px rgba(55, 143, 89, 0.35);
}

.method-visual {
    position: relative;
    width: min(420px, 100%);
    margin-top: clamp(10px, 2vw, 30px);
    transform: translateY(-30px);
}

.method-logo {
    position: relative;
    display: block;
    width: 100%;
    height: auto;
    cursor: pointer;
    filter:
        saturate(1.05)
        brightness(1);
    transform: scale(1);
    transition:
        transform 0.25s ease,
        filter 0.35s ease;
}

.method-steps.is-active .method-logo {
    animation: none;
}

.method-arrow {
    position: absolute;
    left: 50%;
    top: 62%;
    width: 42%;
    height: 28%;
    pointer-events: none;
}

.arrow-vertical {
    position: absolute;
    left: 0;
    top: 14px;
    width: 2px;
    height: 86%;
    background-color: rgba(55, 143, 89, 0.25);
    box-shadow: 0 0 0 rgba(55, 143, 89, 0);
    transition:
        background-color 0.5s ease,
        box-shadow 0.5s ease;
}

.arrow-horizontal {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background-color: rgba(55, 143, 89, 0.25);
    box-shadow: 0 0 0 rgba(55, 143, 89, 0);
    transition:
        background-color 0.5s ease,
        box-shadow 0.5s ease;
}

.method-steps.is-active .arrow-vertical {
    background-color: rgb(55, 143, 89);
    box-shadow:
        0 0 12px rgba(55, 143, 89, 0.35),
        0 0 24px rgba(55, 143, 89, 0.15);
    transition-delay: 0.2s;
}

.method-steps.is-active .arrow-horizontal {
    background-color: rgb(55, 143, 89);
    box-shadow:
        0 0 12px rgba(55, 143, 89, 0.35),
        0 0 24px rgba(55, 143, 89, 0.15);
    transition-delay: 0.6s;
}

.arrow-horizontal::after {
    content: "";
    position: absolute;
    right: 0;
    top: 50%;
    width: 12px;
    height: 12px;
    border-top: 2px solid rgb(55, 143, 89);
    border-right: 2px solid rgb(55, 143, 89);
    transform:
        translateY(-50%)
        rotate(45deg);
}

.step-1 {
    grid-column: 2 / 3;
    grid-row: 2;
    display: flex;
    flex-direction: column;
    padding: 48px 32px;
    margin: 0 auto;
}

.method-steps {
    display: grid;
    gap: 32px;
    grid-template-columns: 1fr 2fr;
}

.method-step {
    background-color: #18181d;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #24242c;
    transition: transform 0.3s ease, background-color 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.step-2 {
    grid-column: 1 / 3;
    background: none;
    border: none;
    box-shadow: none;
    padding: 24px 0 0;
    margin-top: 40px;
}

.step-2 p {
    max-width: 950px;
    margin: 0 auto;
    color: #ededf2;
    font-size: 21px;
    line-height: 1.9;
}

.step-2 h3 {
    font-size: 36px;
    line-height: 1.2;
    text-align: center;
    margin-bottom: 32px;
}

.method-steps.is-active .method-logo {
    filter:
        saturate(1.6)
        brightness(1.28)
        drop-shadow(0 0 18px rgba(55, 143, 89, 0.75))
        drop-shadow(0 0 42px rgba(55, 143, 89, 0.42))
        drop-shadow(0 0 80px rgba(55, 143, 89, 0.22));
}

.method-steps.is-active .step-1 {
    background-color: #1f1f26;
    border-color: rgb(55, 143, 89);
    box-shadow: 0 0 18px rgba(55, 143, 89, 0.08);
    transition-delay: 1.1s;
}

.method-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.method-list li {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-align: center;
    position: relative;
}

.step-number {
    font-size: 32px;
    font-weight: 700;
    color: #3a3a42;
    text-shadow: none;
    transition:
        color 0.5s ease,
        text-shadow 0.5s ease,
        transform 0.5s ease;
}

.step-1 h3 {
    text-align: center;
    font-size: var(--fs-step-title);
    margin: 0 auto 40px;
}

.step-text {
    font-size: 18px;
    position: relative;
    display: inline-block;
    color: #6b6b74;
    transition: color 0.5s ease,
                transform 0.5s ease;
}   

.step-text::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0;
    height: 3px;
    background-color: #7dffab;
    box-shadow: 0 0 14px rgba(125, 255, 171, 0.95);
    transition: width 0.3s ease;
}

.method-steps.is-active .method-list li:nth-child(1) .step-number,
.method-steps.is-active .method-list li:nth-child(1) .step-text,
.method-steps.is-active .method-list li:nth-child(1) .step-text::after {
    transition-delay: 1.6s;
}

.method-steps.is-active .method-list li:nth-child(2) .step-number,
.method-steps.is-active .method-list li:nth-child(2) .step-text,
.method-steps.is-active .method-list li:nth-child(2) .step-text::after {
    transition-delay: 2.4s;
}

.method-steps.is-active .method-list li:nth-child(3) .step-number,
.method-steps.is-active .method-list li:nth-child(3) .step-text,
.method-steps.is-active .method-list li:nth-child(3) .step-text::after {
    transition-delay: 3.2s;
}

.method-steps.is-active .method-list li:nth-child(4) .step-number,
.method-steps.is-active .method-list li:nth-child(4) .step-text,
.method-steps.is-active .method-list li:nth-child(4) .step-text::after {
    transition-delay: 4s;
}

.method-steps.is-active .step-number,
.method-steps.is-active .step-text {
    color: #7dffab;
    text-shadow:
        0 0 12px rgba(55, 143, 89, 0.65),
        0 0 28px rgba(55, 143, 89, 0.28);
}

.method-steps.is-active .step-number {
    transform: scale(1.5);
}

.method-steps.is-active .step-text::after {
    width: 100%;
}

.method-steps.is-active .step-text {
    color: #f5f5f5;
    text-shadow:
        0 0 10px rgba(55, 143, 89, 0.35);
}

.strong {
    color: rgb(55, 143, 89);
}

.site-footer {
    padding: 32px 0;
    border-top: 3px solid #24242c;
    background-color: #101014;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 32px;
}

.footer-link {
    color: inherit;
    text-decoration: none;
}

.arrow-horizontal::after,
.arrow-vertical::after {
    transition: border-color 0.35s ease;
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(12px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeSoft {
    from {
        opacity: 0;
    }

    60% {
        opacity: 0.85;
    }

    to {
        opacity: 1;
    }
}

.hero-title-line,
.hero-content p,
.hero .cta {
    opacity: 0;
}

.hero-title-line:first-child {
    animation: fadeSoft 1.6s ease-out 0.5s forwards;
}

.hero-title-line:last-child {
    animation: fadeSoft 1.6s ease-out 1.2s forwards;
}

.hero-content p {
    animation: fadeUp 1.4s ease 2.0s forwards;
}

.hero .cta {
    animation: fadeUp 1.4s ease 2.4s forwards;
}

.about-page {
    padding: 140px 0 100px;
}

.about-page h1 {
    text-align: center;
    margin-bottom: 64px;
}

.about-bio {
    max-width: 900px;
    margin: 0 auto;
}

.about-photo {
    float: left;
    width: min(280px, 42vw);
    margin: 0 32px 20px 0;
    border-radius: 14px;
}

.about-bio p {
    line-height: 1.8;
}

.about-certifications {
    max-width: 900px;
    margin: 72px auto 0;
}

.about-final-cta {
    max-width: 900px;
    margin: 72px auto 0;
    text-align: center;
}

.about-final-cta .cta {
    margin: 8px;
}

.thanks-logo {
    display: block;
    height: 90px;
    width: auto;
    margin: 0 auto 32px;
    transform-origin: center;
    transform: scale(3.75);
}

.thanks-page {
    min-height: 100vh;
    background-color: #101014;
    background-image:
        radial-gradient(
            circle at 50% 25%,
            rgba(55, 143, 89, 0.18),
            transparent 55%
        );
}

.thanks-page .about-page {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 80px 0;
}

.privacy-card {
    max-width: 900px;
    margin: 0 auto;
    padding: 40px;

    background-color: rgba(20, 20, 28, 0.85);

    border: 1px solid rgba(55, 143, 89, 0.25);

    border-radius: 16px;
}

.privacy-card h2 {
    margin-top: 40px;
    margin-bottom: 12px;
}

.privacy-card p {
    line-height: 1.8;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.footer-info p {
    margin: 0;
    font-size: 14px;
}

.footer-links {
    display: flex;
    gap: 24px;
    align-items: center;
}

.footer-separator {
    color: #6b6b74;
}

.certificate-image {
    display: block;
    max-width: 500px;
    width: 100%;
    height: auto;
    margin: 2rem auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}

.certificate-description {
    font-size: 0.90rem;
    line-height: 1.6;
    max-width: 800px;
    margin: 1rem auto 0;
}

.menu-toggle {
    display: none;
}

@media (hover: hover) and (pointer: fine) {

    .inline-link:hover {
        text-decoration: underline;
    }

    .cta:hover,
    .form-button:hover {
        background-color: rgb(43, 115, 89);
        color: white;
        transform: translateY(-2px);
        box-shadow: 0 0 18px rgba(55, 143, 89, 0.18);
    }

    .logo-link:hover .site-logo {
        filter:
            saturate(1.55)
            contrast(1.15)
            brightness(1.12)
            drop-shadow(0 0 10px rgba(55, 143, 89, 0.55));
        transform: scale(2.10) translateY(-1px);
    }

    .logo-link:hover::before {
        opacity: 1;
    }

    .logo-link:hover {
        color: rgb(55, 143, 89);
        text-shadow: 0 0 12px rgba(55, 143, 89, 0.7);
    }

    .nav-link:hover {
        color: rgb(55, 143, 89);
        text-shadow: 0 0 12px rgba(55, 143, 89, 0.7);
        transform: scale(1.15);
    }

    .service-card:hover {
        transform: translateY(-6px);
        background-color: #1f1f26;
        border-color: rgb(55, 143, 89);
        box-shadow: 0 0 18px rgba(55, 143, 89, 0.08);
    }

    .portfolio-card:hover {
        transform: translateY(-6px);
        background-color: #1f1f26;
        border-color: rgb(55, 143, 89);
        box-shadow: 0 0 18px rgba(55, 143, 89, 0.08);
    }

    .footer-link:hover {
        color: rgb(55, 143, 89);
    }

    .method-logo:hover {
        transform: scale(1.03);
    }

    .logo-link:active .site-logo {
        transform: scale(1.45) translateY(-1px);
    }

    .nav-link:active {
        transform: scale(0.90);
    }

    .cta:active,
    .form-button:active {
        transform: scale(0.85);
    }

    .method-steps .method-logo:active,
    .method-steps.is-active .method-logo:active {
        transform: scale(0.92);
    }

}

@media (hover: none) and (pointer: coarse) {

    .logo-link.is-pressed .site-logo {
        transform: scale(1.06) translateY(-1px);
        filter:
            saturate(1.35)
            brightness(1.12)
            drop-shadow(0 0 8px rgba(55, 143, 89, 0.45));
    }

    .logo-link.is-pressed::before {
        opacity: 1;
    }

    .method-steps .method-logo:active,
    .method-steps.is-active .method-logo:active {
        transform: scale(0.75);
    }

    .cta:active,
    .form-button:active {
        transform: scale(0.85);
    }

}

@media (max-width: 1024px) and (min-width: 769px) {

    .arrow-vertical {
        height: 80%;
    }

    .hero {
        margin-top: -64px;
        padding-top: 64px;
        background: radial-gradient(
        circle at top,
        rgba(55, 143, 89, 0.40),
        transparent 68%
    );
    }

    .step-2 h3 {
        font-size: 28px;
    }

     .step-2 p {
        font-size: 15px;
    }

    .section-heading h2 {
        font-size: 32px;
    }

    .section-heading p {
        font-size: 18px;
    }

    .method-visual {
    width: min(320px, 100%);
    }

    .step-1 {
        padding: 32px 24px;
        transform: scale(0.80);
        transform-origin: center top;
    }

    .method-list {
        gap: 24px;
    }

}
    
    
@media (max-width: 1024px) {

    :root {
        --fs-h1: 48px;
        --fs-h2: 36px;
        --fs-h3: 22px;
        --fs-p: 17px;
        --fs-hero-title: 48px;
        --fs-method-title: 40px;
        --fs-question: 26px;
        --fs-step-title: 28px;
    }

    section {
        scroll-margin-top: 0px;
    }

    .site-header {
        position: sticky;
        top: 0;
        z-index: 3000;
        height: auto;
        padding: 6px 0;
        background-color: rgba(16, 16, 20, 0.32);
        backdrop-filter: blur(14px);
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }

    .header-container {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: center;
    }

    .menu-toggle {
        display: block;
        background: none;
        border: none;
        color: #f5f5f5;
        font-size: 32px;
        cursor: pointer;
    }

    .navbar {
        display: none;
        width: 100%;
        flex-basis: 100%;
    }

    .navbar.is-open {
        display: block !important;
        width: 100%;
        flex-basis: 100%;
        background-color: rgba(24, 24, 29, 0.96);
        border: 1px solid #24242c;
        border-radius: 16px;
        margin-top: 16px;
        padding: 20px 0;
        box-shadow: 0 0 18px rgba(55, 143, 89, 0.08);
    }

    .navbar-list {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
        padding: 0;
        margin: 0;
    }

    .nav-link {
        font-size: 16px;
    }

    .navbar .nav-link:active,
    .navbar .nav-link:focus,
    .navbar .nav-link.is-pressed {
        color: #7dffab !important;
        text-shadow:
            0 0 12px rgba(125, 255, 171, 0.75),
            0 0 24px rgba(55, 143, 89, 0.35);
        transform: scale(0.95);
        transition:
            color 0.22s ease,
            transform 0.22s ease,
            text-shadow 0.22s ease;
    }

    .site-logo {
        transform: scale(1.60) translateY(-1px);
        transition:
            transform 0.18s ease,
            filter 0.18s ease;
    }

    .logo-link::before {
        display: block;
        inset: -8px;
        background: radial-gradient(
            circle,
            rgba(55, 143, 89, 0.22),
            transparent 72%
        );
        opacity: 0;
        transition: opacity 0.18s ease;
    }

    .logo-link.is-pressed .site-logo {
        transform: scale(1.06) translateY(-1px);
        filter:
            saturate(1.35)
            brightness(1.12)
            drop-shadow(0 0 8px rgba(55, 143, 89, 0.45));
    }

    .logo-link.is-pressed::before {
        opacity: 1;
    }

    .service-card,
    .portfolio-card {
        border-color: rgba(55, 143, 89, 0.45);
    }
}


@media (max-width: 768px) {

     :root {
        --fs-h1: 38px;
        --fs-h2: 30px;
        --fs-h3: 22px;
        --fs-p: 16px;

        --fs-hero-title: 38px;
        --fs-method-title: 34px;
        --fs-question: 24px;
        --fs-step-title: 26px;
    }

    .hero {
        margin-top: -60px;
        padding-top: 60px;
    }

    .portfolio-card {
    grid-template-columns: 1fr;
    }

    .portfolio-image-wrapper {
    max-height: none;
    overflow: hidden;
    }

    .method-steps {
        display: flex;
        flex-direction: column;
        gap: 24px;
    }

    .method-title,
    .section-steps,
    .step-1,
    .step-2 {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .method-title {
        margin-bottom: 16px;
    }

    .section-steps {
        width: 100%;
        margin-bottom: 40px;
    }

    .method-visual {
        width: min(280px, 78vw);
        margin: 0 auto;
        transform: none;
    }

    .method-steps .method-logo:active,
    .method-steps.is-active .method-logo:active {
        transform: scale(0.75);
    }

    .method {
        overflow: hidden;
    }

    .method-arrow {
        left: calc(50% - -2.5px);
        top: 72%;
        width: 2px;
        height: 90px;
        transform: translateX(-50%);
    }

    .arrow-horizontal {
        display: none;
    }

    .arrow-vertical {
        left: 0;
        top: 0;
        width: 2px;
        height: 100%;
    }

    .arrow-vertical::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 12px;
        height: 12px;
        border-right: 2px solid rgba(55, 143, 89, 0.25);
        border-bottom: 2px solid rgba(55, 143, 89, 0.25);
        transform:
            translateX(-50%)
            rotate(45deg);
    }

    .method-steps:not(.is-active) .arrow-vertical::after {
        border-right-color: rgba(55, 143, 89, 0.25) !important;
        border-bottom-color: rgba(55, 143, 89, 0.25) !important;
        transition-delay: 0s;
    }

    .method-steps.is-active .arrow-vertical::after {
        border-right-color: rgb(55, 143, 89) !important;
        border-bottom-color: rgb(55, 143, 89) !important;
        transition-delay: 0.5s;
    }

    .step-1 {
        width: 100%;
        padding: 32px 24px;
        margin-top: -6px;
    }

    .step-2 {
        width: 100%;
    }

    .step-2 h3 {
        font-size: 28px;
    }

    .step-2 p {
        font-size: 15px;
        line-height: 1.75;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        min-width: 0;
    }

    .service-card {
        width: 100%;
        min-width: 0;
        padding: 24px;
    }

    .trigger-label {
        transform: translateX(-2px);
    }

    .section-heading h2 {
        font-size: 28px;
    }

    .section-heading p {
        font-size: 15px;
    }

    .about-page {
        padding: 110px 0 80px;
    }

    .about-page h1 {
        margin-bottom: 40px;
    }

    .about-photo {
        float: none;
        display: block;
        width: 100%;
        max-width: 320px;
        margin: 0 auto 32px;
    }

    .about-bio p {
        line-height: 1.7;
    }

    .footer-container {
    flex-direction: column;
    text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

}

a,
button,
img,
.logo-link,
.site-logo,
.method-logo,
.nav-link,
.cta,
.form-button {
    -webkit-tap-highlight-color: transparent;
}

html,
body {
    overflow-x: clip;
}

/* Punta desktop spenta */
.method-steps:not(.is-active) .arrow-horizontal::after {
    border-top-color: rgba(55, 143, 89, 0.25) !important;
    border-right-color: rgba(55, 143, 89, 0.25) !important;
    transition-delay: 0s;
}

/* Punta desktop accesa DOPO la linea orizzontale */
.method-steps.is-active .arrow-horizontal::after {
    border-top-color: rgb(55, 143, 89) !important;
    border-right-color: rgb(55, 143, 89) !important;
    transition-delay: 0.9s;
}