/* ===== Landing page – personalised lamps ===== */

.lp-main {
    background: #faf9f6;
    color: #292929;
    overflow-x: hidden;
}

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

.lp-main h1,
.lp-main h2 {
    color: #292929;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.lp-main h2 {
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.2;
    text-align: center;
    margin: 0 0 40px;
}

/* ---------- Buttons ---------- */
.lp-button {
    display: inline-block;
    padding: 15px 32px;
    background: #292929;
    color: #fff;
    border: 2px solid #292929;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: background .2s ease, color .2s ease;
}
.lp-button:hover {
    background: #555;
    border-color: #555;
    color: #fff;
}
.lp-button--outline {
    background: transparent;
    color: #292929;
}
.lp-button--outline:hover {
    background: #292929;
    border-color: #292929;
    color: #fff;
}

/* ---------- Hero ---------- */
.lp-hero {
    padding: 70px 0 90px;
    background: linear-gradient(180deg, #faf9f6 0%, #f3ede2 100%);
}
.lp-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 60px;
}
.lp-hero__text h1 {
    font-size: clamp(38px, 5.5vw, 68px);
    line-height: 1.08;
    margin: 0 0 24px;
}
.lp-hero__text p {
    font-size: 18px;
    line-height: 1.7;
    color: #77736c;
    margin: 0 0 32px;
    max-width: 440px;
}
.lp-hero__image img {
    display: block;
    width: 100%;
    max-width: 480px;
    height: auto;
    margin-left: auto;
    border-radius: 24px;
    box-shadow: 0 25px 60px rgba(120, 90, 40, .25);
}

/* ---------- Steps ---------- */
.lp-steps {
    padding: 80px 0;
}
.lp-steps__row {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 30px;
}
.lp-step {
    flex: 1 1 0;
    max-width: 240px;
    text-align: center;
}
.lp-step__icon {
    width: 110px;
    height: 110px;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #efe9de;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #292929;
}
.lp-step__icon svg {
    width: 48px;
    height: 48px;
}
.lp-step p {
    margin: 0;
    font-size: 17px;
    line-height: 1.5;
}
.lp-steps__arrow {
    align-self: flex-start;
    margin-top: 38px;
    font-size: 26px;
    color: #b5afa4;
}

/* ---------- Gallery ---------- */
.lp-gallery {
    padding: 40px 0 90px;
}
.lp-gallery h2 {
    margin-bottom: 12px;
}
.lp-gallery__sub {
    text-align: center;
    color: #77736c;
    font-size: 18px;
    margin: 0 0 40px;
}
.lp-gallery__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.lp-gallery__grid img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    border-radius: 18px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .12);
}

/* ---------- Products ---------- */
.lp-products {
    padding: 70px 0 100px;
    background: #f3ede2;
}
/* Centres the cards whether there is 1, 2 or 3 products */
.lp-products ul.products {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(240px, 320px)) !important;
    justify-content: center;
    gap: 30px;
    margin: 0 !important;
}
.lp-products ul.products > li.product {
    width: auto !important;
    max-width: none !important;
    margin: 0 !important;
}
.lp-products__more {
    text-align: center;
    margin-top: 50px;
}

/* ---------- Tablet ---------- */
@media (max-width: 900px) {
    .lp-hero__grid { gap: 40px; }
    .lp-gallery__grid { gap: 14px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {

    .lp-hero { padding: 50px 0 60px; }

    .lp-hero__grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .lp-hero__text p { margin-left: auto; margin-right: auto; }
    .lp-hero__image img { margin: 0 auto; max-width: 340px; }

    .lp-steps { padding: 60px 0; }
    .lp-steps__row {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    .lp-step { max-width: 280px; }
    .lp-steps__arrow {
        margin: 0;
        align-self: center;
        transform: rotate(90deg);
    }

    .lp-gallery { padding-bottom: 60px; }
    /* Swipeable row on phones instead of three tiny images */
    .lp-gallery__grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        gap: 14px;
        padding-bottom: 10px;
        margin: 0 -24px;
        padding-left: 24px;
        padding-right: 24px;
    }
    .lp-gallery__grid img {
        flex: 0 0 72%;
        scroll-snap-align: center;
    }

    .lp-products { padding: 50px 0 70px; }
    .lp-products ul.products {
        grid-template-columns: 1fr !important;
    }
}
