/* Ad landing pages: /kiemo-projektas and /apzeldinimo-projektas (AdLanding.razor).
   Self-contained "lp-" classes so changes to the home page never shift this
   page. The form card (contacts.css), buttons and review cards (home.css)
   and the sample viewer (home.css) are reused as they are. */

.lp-page {
    background: #f5f7fb;
    padding-bottom: 3rem;
    /* The step and review sliders bleed to the screen edges on phones
       (100vw-based margins); clip the stray horizontal scroll, as .home-page does. */
    overflow-x: hidden;
    overflow-x: clip;
}

/* ── Hero: offer on the left, short form on the right (stacked on phones) ── */

.lp-hero {
    position: relative;
    overflow: hidden;
    background: #0f172a;
}

.lp-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(5, 15, 10, 0.74), rgba(5, 15, 10, 0.84));
}

.lp-hero-inner {
    position: relative;
    max-width: 1120px;
    margin: 0 auto;
    padding: 1.8rem 1.2rem 2.2rem;
    display: grid;
    gap: 1.5rem;
}

.lp-badge {
    display: inline-block;
    margin: 0 0 0.9rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(167, 243, 208, 0.45);
    color: #d1fae5;
    font-size: 0.8rem;
    font-weight: 600;
}

.lp-h1 {
    margin: 0 0 0.8rem;
    color: #ffffff;
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.15;
}

.lp-lead {
    margin: 0 0 0.8rem;
    color: #e5e7eb;
    font-size: 1rem;
    line-height: 1.6;
}

.lp-note {
    margin: 0 0 0.8rem;
    color: #a7f3d0;
    font-size: 0.92rem;
    font-weight: 600;
}

.lp-trust {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem 1.1rem;
    color: #d1d5db;
    font-size: 0.86rem;
}

.lp-trust li::before {
    content: "✓ ";
    color: #34d399;
    font-weight: 700;
}

/* The short form: tighter than on the contact page so the button stays
   on the first phone screen. */
.lp-hero-form .step-subtitle { margin-bottom: 16px; }
.lp-hero-form .field-group { gap: 12px; }
.lp-hero-form .step-nav { margin-top: 18px; }
.lp-hero-form .step-nav--single .btn-primary { width: 100%; }

.lp-call {
    margin: 0.9rem 0 0;
    text-align: center;
    color: #e5e7eb;
    font-size: 0.92rem;
}

.lp-call a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
    white-space: nowrap;
}

.lp-call--dark { color: #4b5563; }
.lp-call--dark a { color: #0f766e; }

/* ── Sections ── */

.lp-section {
    max-width: 1120px;
    margin: 0 auto;
    padding: 2.6rem 1.2rem 0;
}

.lp-eyebrow {
    margin: 0 0 0.45rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    font-size: 0.74rem;
    font-weight: 700;
    color: #10b981;
}

.lp-h2 {
    margin: 0;
    text-align: center;
    font-size: 1.55rem;
    font-weight: 700;
    color: #111827;
    line-height: 1.25;
}

.lp-center {
    display: flex;
    justify-content: center;
    margin-top: 1.4rem;
}

/* Packages */

.lp-packages {
    display: grid;
    gap: 1rem;
    margin-top: 1.4rem;
}

.lp-package {
    display: flex;
    flex-direction: column;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    padding: 1.5rem 1.4rem;
}

.lp-package-name {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
    color: #111827;
}

.lp-package-price {
    margin: 0.3rem 0 1rem;
    color: #4b5563;
    font-size: 0.95rem;
}

.lp-package-price s {
    color: #9ca3af;
    margin: 0 0.15rem;
}

.lp-package-price strong {
    font-size: 1.5rem;
    color: #059669;
}

.lp-package-items {
    list-style: none;
    margin: 0 0 1.2rem;
    padding: 0;
    display: grid;
    gap: 0.45rem;
    font-size: 0.9rem;
    color: #374151;
}

.lp-package-items li::before {
    content: "✓";
    margin-right: 0.5rem;
    color: #10b981;
    font-weight: 700;
}

.lp-sample-btn {
    margin-top: auto;
    align-self: flex-start;
    padding: 0.6rem 1.1rem;
    border-radius: 999px;
    border: 1px solid rgba(148, 163, 184, 0.6);
    background: #ffffff;
    color: #0f172a;
    font-size: 0.86rem;
    font-weight: 600;
    cursor: pointer;
}

.lp-sample-btn:hover { background: #f8fafc; }

.lp-consult {
    max-width: 720px;
    margin: 1.4rem auto 0;
    text-align: center;
    color: #4b5563;
    font-size: 0.95rem;
    line-height: 1.6;
}

.lp-consult strong { color: #111827; }

/* Projects: one row of all projects that scrolls sideways (swipe on
   phones, arrows on any screen), like the review slider. */

.lp-projects-scroller { margin-top: 1.4rem; }

.lp-projects {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 4px 2px 12px;        /* room for the card's hover lift and shadow */
    scrollbar-width: none;
}

.lp-projects::-webkit-scrollbar { display: none; }

.lp-track-nav {
    display: flex;
    justify-content: center;
    gap: 14px;
    margin-top: 0.6rem;
}

/* Own arrow style: home.css hides its .tc-arrow on phones. */
.lp-arrow {
    width: 42px;
    height: 42px;
    padding: 0;
    border-radius: 50%;
    border: 1.5px solid #e5e7eb;
    background: #ffffff;
    color: #374151;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    transition: background 0.18s, border-color 0.18s, color 0.18s, box-shadow 0.18s;
}

.lp-arrow svg {
    width: 20px;
    height: 20px;
}

.lp-arrow:hover,
.lp-arrow:active {
    background: #10b981;
    border-color: #10b981;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(16, 185, 129, 0.3);
}

@media (max-width: 759px) {
    /* Bleed to the screen edges so the next card peeks in. */
    .lp-projects-scroller {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .lp-projects { padding: 4px 20px 16px; }
}

/* Packages on phones: the same swipe row as the projects (side by side on
   wider screens, where the arrows aren't needed). */
.lp-track-nav--phone { display: none; }

@media (max-width: 759px) {
    .lp-packages-scroller {
        margin-top: 1.4rem;
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
    }

    .lp-packages {
        display: flex;
        margin-top: 0;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding: 4px 20px 16px;
        scrollbar-width: none;
    }

    .lp-packages::-webkit-scrollbar { display: none; }

    .lp-package {
        flex: 0 0 82%;
        max-width: 360px;
        scroll-snap-align: center;
        scroll-snap-stop: always;
    }

    .lp-track-nav--phone { display: flex; }
}

.lp-project {
    flex: 0 0 82%;                /* one card + a peek of the next */
    max-width: 360px;
    scroll-snap-align: center;
    scroll-snap-stop: always;     /* one swipe = one card */
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
}

.lp-project img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.lp-project-body { padding: 0.9rem 1.1rem 1.1rem; }

.lp-project-body h3 {
    margin: 0;
    font-size: 1rem;
    color: #111827;
}

.lp-project-body p {
    margin: 0.25rem 0 0;
    font-size: 0.85rem;
    color: #6b7280;
}

/* The whole card opens that project's photos. */
.lp-project {
    cursor: pointer;
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.lp-project:hover,
.lp-project:focus-visible {
    box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
    transform: translateY(-2px);
}

.lp-project:focus-visible { outline: 2px solid #10b981; outline-offset: 2px; }

.lp-project-more {
    display: inline-block;
    margin-top: 0.55rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #0f766e;
}

/* Steps and reviews reuse the home page's cards (home.css: .hiw-*,
   .testimonials-*); only the gap under the heading is set here. */
.lp-section .hiw-scroller,
.lp-reviews-section .testimonials-carousel,
.lp-reviews-section .testimonials-mobile {
    margin-top: 1.4rem;
}

/* Bottom form. scroll-margin keeps the title clear of the header when the
   "Gauti pasiūlymą" buttons jump here. */
.lp-form-section {
    max-width: 720px;
    scroll-margin-top: 84px;
}

/* ── Wider screens ── */

@media (min-width: 760px) {
    .lp-packages { grid-template-columns: repeat(2, 1fr); }

    /* Three projects in view; the rest scroll in. */
    .lp-project {
        flex-basis: calc((100% - 2rem) / 3);
        max-width: none;
        scroll-snap-align: start;
    }

    .lp-h2 { font-size: 1.8rem; }
}

@media (min-width: 900px) {
    .lp-hero-inner {
        grid-template-columns: 1.1fr 0.9fr;
        align-items: center;
        gap: 3rem;
        padding: 3.6rem 1.5rem;
    }

    .lp-h1 { font-size: 2.7rem; }
    .lp-lead { font-size: 1.08rem; }
}
