/* Landscape Services landing page (page-landscape-services.php only).
   Loaded after style.css; everything is scoped to .ls-page.
   Note: the theme sets the root font size to 10px, so 1rem = 10px here. */

.ls-page {
    --ls-radius: 14px;
    --ls-shadow: 0 10px 30px rgba(11, 86, 43, 0.12);
    font-family: var(--ff-default);
    color: var(--black);
}

.ls-page h2 {
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    margin: 0 0 .5em;
    color: var(--brand-dark);
}

.ls-page h3 {
    font-family: var(--ff-default);
    font-size: 2.3rem;
    line-height: 1.25;
    margin: 0 0 .5em;
}

.ls-section {
    padding: clamp(3.5rem, 7vw, 6rem) 0;
}

.ls-heading {
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.ls-page .ls-kicker {
    font-family: var(--ff-fancy);
    font-size: 3.4rem;
    line-height: 1;
    color: var(--brand-accent);
    margin: 0 0 .2em;
}

.ls-page p {
    font-size: 1.9rem;
    line-height: 1.65;
}

.ls-page .ls-lead {
    font-size: 2.2rem;
    line-height: 1.55;
}

/* Hero */
.ls-hero {
    position: relative;
    display: flex;
    align-items: center;
    min-height: clamp(460px, 70vh, 680px);
    padding: 4rem 0;
    overflow: hidden;
    color: var(--white);
    background-color: var(--brand-dark);
}

.ls-hero-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.ls-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(10, 40, 22, .85) 0%, rgba(10, 40, 22, .55) 55%, rgba(10, 40, 22, .15) 100%);
}

.ls-hero .container {
    z-index: 1;
}

.ls-hero h1 {
    font-size: clamp(2.6rem, 6vw, 4.5rem);
    line-height: 1.05;
    color: var(--white);
    margin: 0 0 .4em;
}

.ls-hero .ls-lead {
    max-width: 560px;
    color: rgba(255, 255, 255, .92);
}

.ls-page .ls-eyebrow {
    display: inline-block;
    margin: 0 0 1.25rem;
    padding: .35rem .9rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .15);
    font-size: 1.3rem;
    line-height: 1.4;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.ls-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-top: 2rem;
}

.ls-btn-ghost,
a.ls-btn-ghost:link,
a.ls-btn-ghost:visited {
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .8);
    background: transparent;
}

/* Same size and type as .btn-custom next to it */
.ls-page .ls-btn-ghost {
    padding: .65rem 1.3rem;
    border-radius: 0;
    font-size: 1.3rem;
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
}

a.ls-btn-ghost:hover,
a.ls-btn-ghost:focus {
    color: var(--brand-dark);
    background: var(--white);
}

/* Photos and cards */
.ls-photo {
    width: 100%;
    border-radius: var(--ls-radius);
    box-shadow: var(--ls-shadow);
}

.ls-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border-radius: var(--ls-radius);
    background: var(--white);
    box-shadow: var(--ls-shadow);
}

.ls-card-img {
    aspect-ratio: 3 / 2;
    overflow: hidden;
}

.ls-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.ls-card:hover .ls-card-img img {
    transform: scale(1.04);
}

.ls-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 1.5rem;
}

.ls-card-body h3 {
    color: var(--brand-dark);
}

.ls-card-body p {
    flex: 1;
}

.ls-link,
a.ls-link:link,
a.ls-link:visited {
    font-weight: 700;
    color: var(--brand-dark);
    text-decoration: none;
}

a.ls-link:hover,
a.ls-link:focus {
    color: var(--brand-accent);
}

/* Process steps */
.ls-steps {
    counter-reset: ls-step;
    margin: 0;
    padding: 0;
}

.ls-step {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem 1.5rem;
    border-top: 4px solid var(--brand-dark);
    background: var(--brand-light);
    border-radius: 0 0 var(--ls-radius) var(--ls-radius);
}

.ls-step::before {
    counter-increment: ls-step;
    content: counter(ls-step, decimal-leading-zero);
    display: block;
    margin-bottom: .5rem;
    font-family: var(--ff-accent);
    font-size: 4rem;
    font-weight: 700;
    line-height: 1;
    color: var(--brand-dark-alt);
}

.ls-step h3 {
    color: var(--brand-dark);
}

.ls-step p {
    flex: 1;
    margin: 0;
}

.ls-page .ls-step-note {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    flex: 0 0 auto;
    gap: .6rem;
    margin-top: 1.5rem;
    padding: .6rem 1.2rem;
    border: 1px solid var(--brand-dark-opacity);
    border-radius: 999px;
    background: var(--white);
    color: var(--brand-dark);
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
}

.ls-step-note i {
    color: var(--brand-accent);
}

/* Reasons (dark band) */
.ls-reasons,
.ls-reasons h2,
.ls-reasons h3 {
    color: var(--white);
}

.ls-reasons .ls-kicker,
.ls-page .ls-reasons .ls-kicker {
    color: var(--brand-accent-alt);
}

.ls-reason {
    text-align: center;
    padding: 0 .5rem;
}

.ls-reason i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    font-size: 2.6rem;
    color: var(--brand-medium);
}

.ls-reason p {
    margin: 0;
    color: rgba(255, 255, 255, .85);
}

/* Gallery */
.ls-gallery-item {
    display: block;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 4 / 3;
}

.ls-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.ls-gallery-item:hover img,
.ls-gallery-item:focus img {
    transform: scale(1.05);
}

/* FAQ */
.ls-page .accordion-item {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: .75rem;
    border: 1px solid var(--brand-dark-opacity);
}

.ls-page .accordion-header {
    margin: 0;
}

/* Consultation */
#landscape-consultation {
    scroll-margin-top: 80px;
}

.ls-contact li {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: .75rem;
    font-size: 1.9rem;
    font-weight: 600;
}

.ls-contact i {
    width: 1.25rem;
    color: var(--brand-dark);
}

.ls-contact a {
    color: var(--brand-dark);
}

.ls-form-card {
    padding: clamp(1.25rem, 3vw, 2rem);
    border-radius: var(--ls-radius);
    background: var(--white);
    box-shadow: var(--ls-shadow);
}

.ls-form-card iframe {
    width: 100%;
    border: 0;
}

@media (prefers-reduced-motion: reduce) {
    .ls-card-img img,
    .ls-gallery-item img {
        transition: none;
    }
}

/* Bootstrap's g-5 gutter is wider than the theme's container padding (1rem = 10px),
   which pushed two-column rows 8px past the screen edge on phones and tablets. */
@media (max-width: 991px) {
    .ls-page .row.g-5 {
        --bs-gutter-x: 1.5rem;
        --bs-gutter-y: 3rem;
    }
}

@media (max-width: 575px) {
    .ls-actions .btn {
        width: 100%;
    }

    .ls-hero {
        min-height: 0;
        padding: 4.5rem 0;
    }

    .ls-hero h1 {
        font-size: 3.6rem;
    }

    .ls-page h2 {
        font-size: 3rem;
    }

    .ls-page .ls-kicker {
        font-size: 3rem;
    }

    .ls-page p {
        font-size: 1.75rem;
    }

    .ls-page .ls-lead {
        font-size: 1.9rem;
    }

    .ls-section {
        padding: 4.5rem 0;
    }

    /* Clears the sticky mobile header when jumping to the form */
    #landscape-consultation {
        scroll-margin-top: 140px;
    }
}
