
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
}

.hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.hero::after {
    content: "";
    position: absolute;
    inset: 0;

    background:
        radial-gradient(
            ellipse 72% 88% at 12% 68%,
            rgba(17, 19, 21, 0.84) 0%,
            rgba(17, 19, 21, 0.72) 34%,
            rgba(17, 19, 21, 0.38) 62%,
            rgba(17, 19, 21, 0) 100%
        ),
        linear-gradient(
            0deg,
            rgba(17, 19, 21, 0.34) 0%,
            rgba(17, 19, 21, 0) 45%
        );

    z-index: 0;
    pointer-events: none;
}

.hero::before {
    content: "";
    position: absolute;

    left: 0;
    right: 0;
    bottom: 0;

    height: 220px;

    background: linear-gradient(
        to bottom,
        rgba(17, 19, 21, 0) 0%,
        rgba(17, 19, 21, 0.38) 34%,
        rgba(17, 19, 21, 0.78) 72%,
        #111315 100%
    );

    z-index: 1;
    pointer-events: none;
}

.hero_content {
    position: absolute;
    display: flex;
    flex-direction: column;
    z-index: 1;
    left: 70px;
    bottom: 90px;

    width: 100%;
    height: fit-content;

    padding: 0;

    color: var(--beige);
}

.hero_text p {
    font-size: 16px;
    font-weight: 400;
    font-family: "Zalando Sans Expanded";
    color: var(--beige);

    margin: 0;
}

.hero_text h1 {
    font-size: 52px;
    font-weight: 700;
    font-family: "Zalando Sans SemiExpanded";
    line-height: 1.5;

    margin: 0;
    margin-top: 5px;

    color: var(--accent);
}

.hero_actions {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 40px;
}

.hero_actions a {
    color: #111315;
    background: rgba(241, 239, 231, 0.96);
    border-radius: 1000px;
    padding: 15px 25px;

    font-size: 18px;
    font-weight: 600;
    font-family: "Zalando Sans";
    text-decoration: none;

    transition: all 0.2s ease;
}

.hero_actions a:hover {
    transform: scale(1.03);
}

.hero_actions a:first-child {
    color: #111315;
    background: var(--accent);
    box-shadow: 0 8px 24px rgba(183,154,105,.25);
}


.howitworks_cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
}

.howitworks_card {
    border: 1px solid rgba(214, 193, 154, 0.72);
    border-radius: 30px;
    padding: 30px;
    box-sizing: border-box;

    background: #171A1D;

    transition: all 0.2s ease;
}

.howitworks_card:hover {
    transform: scale(1.03);
}

.howitworks_card h4 {
    font-size: 18px;
    font-weight: 700;
    font-family: "Zalando Sans SemiExpanded";
    margin: 0;
    margin-bottom: 20px;

    color: var(--beige);
}

.howitworks_card p {
    font-size: 16px;
    font-weight: 400;
    font-family: "Zalando Sans";
    margin: 0;

    color: rgba(241, 239, 231, 0.84);
}

.howitworksp {
    margin: 30px 0;
    color: var(--beige);
}


.beforeafter_cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.beforeafter_card {
    border: 1px solid rgba(214, 193, 154, 0.72);
    border-radius: 30px;
    overflow: hidden;
    background: #1D2023;
}

.beforeafter_slider {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

.beforeafter_slider img {
    position: absolute;
    inset: 0;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    user-select: none;
    pointer-events: none;
}

.before_img {
    z-index: 0;
}

.after_img {
    z-index: 1;

    clip-path: inset(0 50% 0 0);
}

.beforeafter_handle {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    z-index: 2;

    width: 3px;

    background-color: var(--beige);

    transform: translateX(-50%);
    pointer-events: none;
}

.beforeafter_handle::before {
    content: "‹ ›";

    position: absolute;
    top: 50%;
    left: 50%;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 46px;
    height: 46px;

    color: #111315;
    background-color: var(--accent);
    border: 3px solid var(--beige);
    border-radius: 50%;

    font-family: "Zalando Sans", sans-serif;
    font-size: 20px;
    font-weight: 600;
    letter-spacing: 2px;

    transform: translate(-50%, -50%);
}

.beforeafter_range {
    position: absolute;
    inset: 0;
    z-index: 5;

    width: 100%;
    height: 100%;

    margin: 0;
    padding: 0;

    appearance: none;
    -webkit-appearance: none;

    opacity: 0;

    background: transparent;
    border: none;
    outline: none;
    box-shadow: none;

    cursor: ew-resize;
    touch-action: pan-y;

    -webkit-tap-highlight-color: transparent;
}

.beforeafter_range:focus,
.beforeafter_range:focus-visible,
.beforeafter_range:active {
    outline: none;
    border: 0;
    box-shadow: none;
}

.beforeafter_range::-webkit-slider-runnable-track {
    width: 100%;
    height: 100%;

    background: transparent;
}

.beforeafter_range::-webkit-slider-thumb {
    width: 46px;
    height: 100%;

    appearance: none;
    -webkit-appearance: none;

    background: transparent;
    border: 0;
    cursor: ew-resize;
}

.beforeafter_range::-moz-range-track {
    width: 100%;
    height: 100%;

    background: transparent;
    border: 0;
}

.beforeafter_range::-moz-range-thumb {
    width: 46px;
    height: 100%;

    background: transparent;
    border: 0;
    border-radius: 0;
    cursor: ew-resize;
}

.before_label,
.after_label {
    position: absolute;
    top: 18px;
    z-index: 4;

    padding: 8px 14px;

    color: var(--beige);
    background-color: rgba(17, 19, 21, 0.78);
    border: 1px solid rgba(241, 239, 231, 0.16);
    border-radius: 1000px;

    font-family: "Zalando Sans", sans-serif;
    font-size: 14px;
    font-weight: 600;

    pointer-events: none;
}

.before_label {
    left: 18px;
}

.after_label {
    right: 18px;
}


.whyus_cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.whyus_card {
    border: 1px solid rgba(214, 193, 154, 0.72);
    border-radius: 30px;
    padding: 30px;
    box-sizing: border-box;

    background: #171A1D;

    transition: all 0.2s ease;
}

.whyus_card:hover {
    transform: scale(1.03);
}

.whyus_card h4 {
    font-size: 20px;
    font-weight: 700;
    font-family: "Zalando Sans SemiExpanded";
    color: var(--white);
    margin: 0;
}

.whyus_card p {
    color: var(--beige);
}


.about {
    margin: 50px 0 !important;
}

.about_con {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}

.about_con div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about_con p {
    font-size: 16px;
    font-weight: 400;
    font-family: "Zalando Sans";
    line-height: 1.5;
    text-align: center;
    max-width: 80%;
}

.about_con img {
    width: 80%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 30px;
}


.reviews_cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.reviews_card {
    padding: 60px 40px;
}

.reviews_card h4 {
    font-size: 25px;
    margin: 0;
}

.reviews_card_text {
    font-size: 16px;
    font-weight: 400;
    font-family: "Zalando Sans";
    line-height: 1.5;
}

.reviews_card_name {
    font-size: 16px;
    font-weight: 700;
    font-family: "Zalando Sans";
    line-height: 1.5;
}


.faq_list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 800px;
    margin-top: 50px;
}

.faq_item {
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 30px;
    background: var(--black-card);
    overflow: hidden;
    transition: .25s ease;
}

.faq_item:hover {
    border-color: var(--accent);
}

.faq_question {
    width: 100%;
    padding: 10px 30px;

    display: flex;
    justify-content: space-between;
    align-items: center;

    background: transparent;
    border: none;
    outline: none;

    cursor: pointer;

    font-family: inherit;
    font-size: 16px;
    font-weight: 600;
    color: var(--beige);

    text-align: left;

    transition: .25s ease;
}

.faq_question:hover {
    color: var(--accent);
}

.faq_icon {
    font-family: sans-serif;
    flex-shrink: 0;

    width: 42px;
    height: 42px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(255,255,255,.15);
    border-radius: 50%;

    font-family: inherit;
    font-size: 30px;
    font-weight: 300;
    line-height: 1;
    color: var(--accent);

    padding: 0;
    margin: 0;

    transform: translateY(-1px);

    transition:
        transform .35s ease,
        border-color .35s ease,
        background .35s ease;
}

.faq_item.active .faq_icon {
    transform: translateY(-1px) rotate(45deg);
    border-color: var(--accent);
    background: rgba(214,193,154,.08);
}

.faq_answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows .35s ease;
}

.faq_item.active .faq_answer {
    grid-template-rows: 1fr;
}

.faq_answer_inner {
    overflow: hidden;
}

.faq_answer_inner p {
    margin: 0;
    padding: 0 35px 30px 35px;

    color: rgba(244,241,232,.8);

    line-height: 1.8;
    font-size: 16px;
}





/* ==================================================
   SURFPLATTA
   1024px och mindre
================================================== */

@media (max-width: 1024px) {
    .hero_content {
        left: 40px;
        bottom: 70px;

        width: calc(100% - 80px);
    }

    .hero_text h1 {
        font-size: 44px;
        line-height: 1.25;
    }

    .hero_actions {
        margin-top: 30px;
    }

    .howitworks_cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .beforeafter_cards {
        grid-template-columns: 1fr;
    }

    .about_con {
        gap: 30px;
    }

    .about_con p {
        max-width: 100%;
    }

    .about_card2 {
        grid-row: 1;
    }

    .about_con img {
        width: 100%;
    }

    .reviews_cards {
        gap: 30px;
    }

    .reviews_card {
        padding: 40px 25px;
    }

    .faq_list {
        width: 100%;
    }
}


/* ==================================================
   MOBIL
   768px och mindre
================================================== */

@media (max-width: 768px) {
    .hero {
        min-height: 700px;
        height: 100svh;
    }

    .hero img {
        object-position: 60% center;
    }

    .hero::after {
        background:
            linear-gradient(
                to top,
                rgba(17, 19, 21, 0.96) 0%,
                rgba(17, 19, 21, 0.78) 38%,
                rgba(17, 19, 21, 0.28) 72%,
                rgba(17, 19, 21, 0.08) 100%
            );
    }

    .hero::before {
        height: 160px;
    }

    .hero_content {
        left: 20px;
        right: 20px;
        bottom: 45px;

        width: auto;
    }

    .hero_text p {
        font-size: 14px;
        line-height: 1.5;
    }

    .hero_text h1 {
        font-size: 34px;
        line-height: 1.15;

        margin-top: 10px;
    }

    .hero_actions {
        flex-direction: column;
        align-items: stretch;

        gap: 12px;
        margin-top: 28px;
    }

    .hero_actions a {
        width: 100%;
        box-sizing: border-box;

        padding: 14px 20px;

        font-size: 16px;
        text-align: center;
    }

    .howitworks_cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .howitworks_card {
        padding: 25px;
        border-radius: 24px;
    }

    .howitworks_card h4 {
        font-size: 17px;
        margin-bottom: 12px;
    }

    .howitworks_card p {
        font-size: 15px;
        line-height: 1.6;
    }

    .howitworksp {
        margin: 25px 0;
    }

    .beforeafter_cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .beforeafter_card {
        border-radius: 24px;
    }

    .beforeafter_slider {
        aspect-ratio: 4 / 3;
    }

    .beforeafter_handle::before {
        width: 40px;
        height: 40px;

        font-size: 17px;
        border-width: 2px;
    }

    .beforeafter_range {
        left: -20px;
        width: calc(100% + 40px);
    }

    .beforeafter_range::-webkit-slider-thumb {
        width: 40px;
    }

    .beforeafter_range::-moz-range-thumb {
        width: 40px;
    }

    .before_label,
    .after_label {
        top: 12px;

        padding: 6px 11px;

        font-size: 12px;
    }

    .before_label {
        left: 12px;
    }

    .after_label {
        right: 12px;
    }

    .whyus_cards {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .whyus_card {
        padding: 25px;
        border-radius: 24px;
    }

    .whyus_card h4 {
        font-size: 18px;
    }

    .whyus_card p {
        font-size: 15px;
        line-height: 1.6;
    }

    .about {
        margin: 40px 0 !important;
    }

    .about_con {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .about_con div {
        align-items: flex-start;
    }

    .about_con p {
        max-width: 100%;

        font-size: 15px;
        line-height: 1.7;
        text-align: left;
    }

    .about_con img {
        width: 100%;
        border-radius: 24px;
    }

    .reviews_cards {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .reviews_card {
        padding: 30px 10px;
    }

    .reviews_card h4 {
        font-size: 21px;
    }

    .reviews_card_text,
    .reviews_card_name {
        font-size: 15px;
    }

    .faq_list {
        width: 100%;
        margin-top: 30px;
    }

    .faq_item {
        border-radius: 22px;
    }

    .faq_question {
        padding: 10px 18px;

        gap: 15px;

        font-size: 15px;
        line-height: 1.4;
    }

    .faq_icon {
        width: 36px;
        height: 36px;

        font-size: 25px;
    }

    .faq_answer_inner p {
        padding: 0 20px 24px;

        font-size: 15px;
        line-height: 1.7;
    }
}


/* ==================================================
   MINDRE MOBILER
   480px och mindre
================================================== */

@media (max-width: 480px) {
    .hero {
        min-height: 650px;
    }

    .hero img {
        object-position: 64% center;
    }

    .hero_content {
        left: 15px;
        right: 15px;
        bottom: 35px;
    }

    .hero_text p {
        font-size: 13px;
    }

    .hero_text h1 {
        font-size: 29px;
    }

    .hero_actions {
        margin-top: 22px;
    }

    .hero_actions a {
        padding: 13px 18px;
        font-size: 15px;
    }

    .howitworks_card,
    .whyus_card {
        padding: 22px;
        border-radius: 20px;
    }

    .beforeafter_card {
        border-radius: 20px;
    }

    .beforeafter_slider {
        aspect-ratio: 1 / 1;
    }

    .before_label,
    .after_label {
        top: 10px;

        padding: 5px 9px;

        font-size: 11px;
    }

    .before_label {
        left: 10px;
    }

    .after_label {
        right: 10px;
    }

    .about_con {
        gap: 25px;
    }

    .about_con img {
        border-radius: 20px;
    }

    .reviews_card {
        padding: 25px 5px;
    }

    .reviews_card h4 {
        font-size: 20px;
    }

    .faq_question {
        padding: 9px 15px;

        font-size: 14px;
    }

    .faq_icon {
        width: 33px;
        height: 33px;

        font-size: 23px;
    }

    .faq_answer_inner p {
        padding: 0 17px 21px;

        font-size: 14px;
    }
}