/* AppIn500 — Our Work page (resources/views/work.blade.php).
 *
 * Self-contained: this page does not load home-revamp.css. The hero and the
 * portfolio / testimonials / FAQ / enquiry sections are the shared homepage
 * components (<x-hero-revamp>, <x-home.portfolio>, <x-home.testimonials>,
 * <x-home.faq>, <x-home.enquiry>), so everything above the "Our Work page
 * only" block is copied verbatim from home-revamp.css, in the same order —
 * keep the two in sync when changing those shared components.
 */

/* AppIn500 home revamp
 * Naming: #homeXxxSec / .homeXxxSecInner… (camelCase)
 * JS hooks kept: .faq-item, .plan-options, .plan-option-pill, #enquiry-form, .form-status
 */

html {
  scroll-behavior: smooth;
}

body {
    background: #fff;
}

.btn-primary,
.btn-outline,
.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    align-items: center;
    border: none;
    border-radius: 8.4px;
    gap: 10px;
    padding: 16px 30px;
    font-size: 15.6px;
    font-weight: 600;
    line-height: 23.4px;
    letter-spacing: 0;
    text-align: center;
    font-family: Mona Sans, sans-serif;
    text-decoration: none;
    text-transform: capitalize;
    cursor: pointer;
    transition: transform .2s, background .2s, border-color .2s;
    display: inline-flex
}

.btn-primary:hover,
.btn-outline:hover,
.btn-accent:hover {
    transform: translateY(-2px)
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    border: none;
    background: #173D2C;
    color: #FFFFFF;
    padding: 16px 30px;
    font-family: Mona Sans, sans-serif;
    font-weight: 600;
    text-transform: capitalize;
    font-size: 15.6px;
    line-height: 23.4px;
    letter-spacing: 0;
    text-align: center;
    border-radius: 8.4px;
    gap: 10px;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--cs-forest-card)
}

.btn-outline {
    color: inherit;
    background: 0 0;
}

.btn-outline:hover {
    border-color: var(--cs-forest)
}

/* ---------- Hero ---------- */

#homeHeroSec {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 70px 0 150px 0;
}

#homeHeroSec .homeHeroSecInner {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    /* background-image: url("/images/homeBg.jpg"); */
    /* background-size: cover;
    background-position: center center;
    background-repeat: no-repeat; */
    min-height: 866px;
    padding: 0px 120px;
    border-radius: 60px;
    position: relative;
    overflow: hidden;
}

#homeHeroSec .homeHeroSecInner .homeHeroSecVideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

#homeHeroSec .homeHeroSecInner .homeHeroSecCol {
    width: 100%;
    max-width: 50%;
    position: relative;
    z-index: 1;
}

#homeHeroSec .homeHeroSecInner .homeHeroSecCol .homeHeroSecColActionBtns {
    display: flex;
    align-items: center;
}

#homeHeroSec .homeHeroSecInner .homeHeroSecCol .homeHeroSecColActionBtns a {
    display: flex;
    align-items: center;
}

/* ---------- Hero morph loader ---------- */

body.hero-loading {
    overflow: hidden;
}

/* html normally keeps scrollbar-gutter:stable (app.css) so the reserved
   space doesn't flicker on/off as content height changes elsewhere on the
   page (that's what stops the pinned Team section from jumping sideways
   when its pin engages). But that same reserved gutter leaves a visible
   gap down #heroLoader's right edge while it's fullscreen. Scrolling is
   already fully blocked during this state (overflow:hidden right above),
   so there's no shift risk to guard against yet — safe to drop the
   reservation only for as long as body.hero-loading is present. */

html:has(body.hero-loading) {
    overflow: hidden;
    scrollbar-gutter: auto;
}

body.hero-loading>header.header,
body.hero-loading .mobile-menu-toggle {
    opacity: 0;
    pointer-events: none;
}

body.hero-loading #homeHeroSec .homeHeroSecTextCol {
    opacity: 0;
    transform: translateY(24px);
}

body.heroLoaderReveal>header.header,
body.heroLoaderReveal #homeHeroSec .homeHeroSecTextCol {
    transition: opacity .6s ease, transform .6s ease;
    opacity: 1;
    transform: translateY(0);
}

#heroLoader {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    border-radius: 0;
    background-image: url("/images/appyVideo/appyHero-poster.webp");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8vh;
    transition:
        top .9s cubic-bezier(0.65, 0, 0.35, 1),
        left .9s cubic-bezier(0.65, 0, 0.35, 1),
        width .9s cubic-bezier(0.65, 0, 0.35, 1),
        height .9s cubic-bezier(0.65, 0, 0.35, 1),
        border-radius .9s cubic-bezier(0.65, 0, 0.35, 1);
}

#heroLoader.heroLoaderMorphing {
    will-change: top, left, width, height, border-radius;
}

#heroLoader .homeHeroSecVideo {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

/* Keep the full-bleed loader crop centred on narrow viewports. */

@media (max-width: 900px) {
    #heroLoader .homeHeroSecVideo {
        object-fit: cover;
        object-position: 50% 50%;
    }
}

.heroLoaderTagline {
    position: relative;
    z-index: 1;
    max-width: 640px;
    margin: 0 auto;
    padding: 0 24px;
    color: #F3FBE4;
    font-family: Mona Sans, sans-serif;
    font-weight: 600;
    font-size: clamp(18px, 2.4vw, 26px);
    text-align: center;
    text-shadow: 0 4px 18px rgba(11, 26, 16, .55);
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .5s ease, transform .5s ease;
}

.heroLoaderTagline.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    #heroLoader {
        transition: opacity .3s ease;
    }
}

/* ---------- Portfolio ---------- */

#homePortfolioSec {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 150px 0;
}

#homePortfolioSec .homePortfolioSecInner {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 100px;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead .homePortfolioSecInnerHeadCol:first-child {
    width: 100%;
    max-width: 50%;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead .homePortfolioSecInnerHeadCol:last-child {
    width: 100%;
    max-width: 21%;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead h2 {
    font-family: Alan Sans;
    font-weight: 500;
    font-size: 70px;
    line-height: 77.04px;
    letter-spacing: -4px;
    color: #202A24;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead h2 span {
    color: #527B3F;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead p {
    font-family: Mona Sans;
    font-weight: 500;
    font-size: 20px;
    line-height: 126%;
    letter-spacing: 1.6px;
    color: #55724D;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 65px;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem {
    background-color: #16311F;
    background-image: url("/images/homePortolioItem.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    width: auto;
    max-width: none;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: start;
    padding: 36px 32px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem h2 {
    font-family: Mona Sans;
    font-weight: 700;
    font-size: 34.13px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #FFFFFF;
    margin: 0 0 12px 0;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem h4 {
    font-family: Mona Sans;
    font-weight: 400;
    font-size: 19.91px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #FFFFFF;
    margin: 0 0 28px 0;

}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem h2,
#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem h4,
#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem .homePortfolioSecInnerListItemCta {
    position: relative;
    z-index: 1;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem::before {
    content: "";
    width: 100%;
    height: 58%;
    position: absolute;
    bottom: 0;
    left: 0;
    z-index: 0;
    pointer-events: none;
}

/* Dense bottom glow — Figma uses near-opaque color at the base (~30% alpha was too light) */

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(1)::before {
    background: linear-gradient(180deg,
            rgba(202, 131, 95, 0) 0%,
            rgba(202, 131, 95, 0.35) 38%,
            rgba(202, 131, 95, 0.85) 72%,
            rgba(202, 131, 95, 1) 100%);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(2)::before {
    background: linear-gradient(180deg,
            rgba(182, 63, 89, 0) 0%,
            rgba(182, 63, 89, 0.35) 38%,
            rgba(182, 63, 89, 0.85) 72%,
            rgba(182, 63, 89, 1) 100%);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(3)::before {
    background: linear-gradient(180deg,
            rgba(243, 133, 105, 0) 0%,
            rgba(243, 133, 105, 0.35) 38%,
            rgba(243, 133, 105, 0.85) 72%,
            rgba(243, 133, 105, 1) 100%);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(4)::before {
    background: linear-gradient(180deg,
            rgba(102, 111, 96, 0) 0%,
            rgba(102, 111, 96, 0.35) 38%,
            rgba(102, 111, 96, 0.85) 72%,
            rgba(102, 111, 96, 1) 100%);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(5)::before {
    background: linear-gradient(180deg,
            rgba(88, 131, 62, 0) 0%,
            rgba(88, 131, 62, 0.35) 38%,
            rgba(88, 131, 62, 0.85) 72%,
            rgba(88, 131, 62, 1) 100%);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(6)::before {
    background: linear-gradient(180deg,
            rgba(40, 125, 135, 0) 0%,
            rgba(40, 125, 135, 0.35) 38%,
            rgba(40, 125, 135, 0.85) 72%,
            rgba(40, 125, 135, 1) 100%);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(1) {
    box-shadow: 21.72px 54.3px 86.88px 0px rgba(202, 131, 95, 0.35);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(2) {
    box-shadow: 21.72px 54.3px 86.88px 0px rgba(182, 63, 89, 0.35);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(3) {
    box-shadow: 21.72px 54.3px 86.88px 0px rgba(243, 133, 105, 0.35);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(4) {
    box-shadow: 21.72px 54.3px 86.88px 0px rgba(102, 111, 96, 0.35);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(5) {
    box-shadow: 21.72px 54.3px 86.88px 0px rgba(88, 131, 62, 0.35);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(6) {
    box-shadow: 21.72px 54.3px 86.88px 0px rgba(40, 125, 135, 0.35);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(1) .homePortfolioSecInnerListItemCta {
    background: rgba(112, 62, 37, 0.55);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(2) .homePortfolioSecInnerListItemCta {
    background: rgba(120, 35, 55, 0.55);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(3) .homePortfolioSecInnerListItemCta {
    background: rgba(150, 70, 45, 0.55);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(4) .homePortfolioSecInnerListItemCta {
    background: rgba(55, 60, 48, 0.55);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(5) .homePortfolioSecInnerListItemCta {
    background: rgba(45, 75, 30, 0.55);
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem:nth-child(6) .homePortfolioSecInnerListItemCta {
    background: rgba(20, 70, 80, 0.55);
}

/* Mobile: stack the 3-up grid to one column, drop the fixed 30% width
   and 70px heading, add the side padding this section never had.
   Placed after the unconditional rules above so it wins the cascade. */

@media (max-width: 900px) {
    #homePortfolioSec .homePortfolioSecInner {
        gap: 48px;
        padding: 0 24px;
    }

    #homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }

    #homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead .homePortfolioSecInnerHeadCol:first-child,
    #homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead .homePortfolioSecInnerHeadCol:last-child {
        max-width: 100%;
    }

    #homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead h2 {
        font-size: clamp(30px, 8vw, 48px);
        line-height: 1.08;
        letter-spacing: -1px;
    }

    #homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead p {
        font-size: 16px;
        letter-spacing: 0.4px;
    }

    #homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    #homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem {
        max-width: 100%;
        min-height: 360px;
    }
}

/* ---------- Testimonials ---------- */

#homeTestimonialSec {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 150px 0;
}

#homeTestimonialSec .homeTestimonialSecInner {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: stretch;
    justify-content: center;
    flex-direction: column;
    gap: 60px;
}

#homeTestimonialSec .homeTestimonialSecInner .homeTestimonialSecInnerHead {
    display: flex;
    align-items: center;
    justify-content: start;
}

#homeTestimonialSec .homeTestimonialSecInner .homeTestimonialSecInnerHead h2 {
    display: flex;
    flex-direction: column;
    font-family: Alan Sans;
    font-weight: 500;
    font-size: 70px;
    line-height: 77.04px;
    letter-spacing: -4px;
    color: #202A24;
}

#homeTestimonialSec .homeTestimonialSecInner .homeTestimonialSecInnerHead h2 span {
    color: #527B3F;
}

#homeTestimonialSec .homeTestimonialSecInner .homeTestimonialSecInnerList {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
}

#homeTestimonialSec .homeTestimonialSecInner .homeTestimonialSecInnerListItem {
    width: 100%;
    max-width: 30%;
    min-height: 584px;
}

/* ---------- FAQ ---------- */

#homeFaqSec {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 150px 0;
}

#homeFaqSec .homeFaqSecInner {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 60px;
}

#homeFaqSec .homeFaqSecInner .homeFaqSecInnerCol:first-child {
    width: 100%;
    max-width: 30%;
}

#homeFaqSec .homeFaqSecInner .homeFaqSecInnerCol:last-child {
    width: 100%;
    max-width: 55%;
}

#homeFaqSec .homeFaqSecInner .homeFaqSecInnerCol small {
    font-family: Mona Sans;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #11261599;
    margin: 0 0 12px 0;
}

#homeFaqSec .homeFaqSecInner .homeFaqSecInnerCol h2 {
    font-family: Alan Sans;
    font-weight: 500;
    font-size: 70px;
    line-height: 77.04px;
    letter-spacing: -4px;
    color: #202A24;
    display: flex;
    flex-direction: column;
}

#homeFaqSec .homeFaqSecInner .homeFaqSecInnerCol h2 span {
    color: #527B3F;
}

/* ---------- Enquiry / quote ---------- */

#homeGetAQuoteSec {
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 150px 0;
}

#homeGetAQuoteSec .homeGetAQuoteSecInner {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    gap: 60px;
    background: #F3FBE4;
    padding: 64px 64px;
    border-radius: 60px;
}

#homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol:first-child {
    width: 100%;
    max-width: 30%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol:last-child {
    width: 100%;
    max-width: 55%;
}

#homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol small {
    font-family: Mona Sans;
    font-weight: 700;
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #11261599;
    margin: 0 0 12px 0;
}

#homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol h2 {
    font-family: Alan Sans;
    font-weight: 600;
    font-size: 48px;
    line-height: 48px;
    letter-spacing: -1.68px;
    display: flex;
    flex-direction: column;
    color: #112615;
    margin: 0 0 12px 0;
}

#homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol h2 span {
    color: #25813E;
}

#homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol p {
    font-family: Instrument Sans;
    font-weight: 400;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 0px;
    color: #112615CC;
    margin: 0 0 32px 0;
}

#homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol ul li {
    font-family: Plus Jakarta Sans;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0px;
    color: #112615;
    margin: 0 0 12px 0;

}

/* Dynamic content helpers — keep revamp layout, fill empty regions */

#homeHeroSec .homeHeroSecCol small {
    display: block;
    font-family: Mona Sans, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 16.5px;
    letter-spacing: 1.6px;
    color: #55724D;
    margin: 0 0 25px 0;
}

#homeHeroSec .homeHeroSecCol h1 {
    font-family: Alan Sans, sans-serif;
    font-weight: 600;
    font-size: 68px;
    line-height: 77.04px;
    letter-spacing: -4px;
    color: #202A24;
    margin: 0 0 28px 0;
}

#homeHeroSec .homeHeroSecCol h1 span {
    color: #527B3F;
}

#homeHeroSec .homeHeroSecCol p {
    font-family: Instrument Sans, sans-serif;
    font-weight: 400;
    font-size: 20px;
    line-height: 31px;
    color: #6C756D;
    margin: 0 0 37px 0;
    max-width: 34ch;
}

/* Mobile: stack instead of the desktop 50/50 split, drop the empty
   spacer column, and scale the fixed 80px heading down. Placed after
   the unconditional desktop rules above so it actually wins the
   cascade (a later same-specificity rule beats an earlier one,
   @media adds no specificity of its own). */

@media (max-width: 900px) {
    #homeHeroSec {
        margin: 0px 0 80px 0;
    }

    #homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerList .homePortfolioSecInnerListItem::before {
        height: 100%;
    }

    #homeHeroSec .homeHeroSecInner {
        flex-direction: column;
        align-items: flex-start;
        min-height: 0;
        padding: 48px 24px;
        border-radius: 32px;
    }

    #homeHeroSec .homeHeroSecInner .homeHeroSecCol {
        max-width: 100%;
    }

    /* Second column is an empty aria-hidden spacer, only needed to hold
       the text column to the left half of the desktop layout. */

    #homeHeroSec .homeHeroSecInner .homeHeroSecCol[aria-hidden] {
        display: none;
    }

    #homeHeroSec .homeHeroSecCol h1 {
        font-size: clamp(32px, 9vw, 56px);
        line-height: 1.08;
        letter-spacing: -1.5px;
        margin-bottom: 16px;
    }

    #homeHeroSec .homeHeroSecCol p {
        font-size: 16px;
        line-height: 1.5;
        max-width: 53%;
    }
}

/* ---------- Shared action buttons ---------- */

.homeSecActionBtns {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-wrap: wrap;
}

#homePortfolioSec .homePortfolioSecInnerList .homePortfolioSecInnerListItem {
    border: none;
    cursor: pointer;
    text-align: left;
    font: inherit;
    color: inherit;
}

#homePortfolioSec .homePortfolioSecInnerList .homePortfolioSecInnerListItem a,
#homePortfolioSec .homePortfolioSecInnerList .homePortfolioSecInnerListItem .homePortfolioSecInnerListItemCta {
    pointer-events: none;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem {
    border: none;
    border-radius: 32px;
    overflow: hidden;
    background: #F7F8F5;
    display: flex;
    flex-direction: column;
    min-height: 584px;
    padding: 0;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemMedia {
    flex: 1;
    min-height: 340px;
    border: none;
    background-size: cover;
    background-position: center;
    position: relative;
    cursor: pointer;
    display: block;
    width: 100%;
    border-radius: 0;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemPlay {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 64px;
    height: 64px;
    border-radius: 999px;
    background: rgba(23, 61, 44, 0.92);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemBadge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: #fff;
    color: #173D2C;
    font-family: Mona Sans, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    padding: 8px 14px;
    border-radius: 999px;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemBody {
    padding: 28px 28px 32px;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemQuote {
    font-family: Instrument Sans, sans-serif;
    font-size: 18px;
    line-height: 28px;
    color: #202A24;
    margin: 0 0 20px;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemPerson {
    display: flex;
    align-items: center;
    gap: 12px;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemAvatar,
#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemAvatarFallback {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    object-fit: cover;
    flex-shrink: 0;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemAvatarFallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #173D2C;
    color: #fff;
    font-family: Mona Sans, sans-serif;
    font-weight: 700;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemMeta {
    display: flex;
    flex-direction: column;
    gap: 2px;
    font-family: Mona Sans, sans-serif;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemMeta strong {
    font-size: 16px;
    color: #202A24;
}

#homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemMeta small {
    font-size: 13px;
    color: #55724D;
}

/* Narrower than the full 1400px row: cards shrink in proportion instead of
   staying 584px tall. (Up to 900px they become a swipeable row, below.) */

@media (max-width: 1439px) {
    #homeTestimonialSec .homeTestimonialSecInner .homeTestimonialSecInnerListItem {
        min-height: 0;
        aspect-ratio: 420 / 584;
    }

    #homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemMedia {
        min-height: 0;
    }
}

/* FAQ — Figma: hairline dividers, question + plus, no cards/numbers */

#homeFaqSec .homeFaqSecInnerCol[data-faq-accordion] {
    display: flex;
    flex-direction: column;
    gap: 0;
    background: #fff;
}

#homeFaqSec .homeFaqSecInnerItem {
    background: transparent;
    border: none;
    border-top: 1px solid #E5E5E5;
    border-radius: 0;
    padding: 0;
    margin: 0;
}

#homeFaqSec .homeFaqSecInnerItem:last-child {
    border-bottom: 1px solid #E5E5E5;
}

#homeFaqSec .homeFaqSecInnerItem summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 28px 0;
    font-family: Instrument Sans, sans-serif;
}

#homeFaqSec .homeFaqSecInnerItem summary::-webkit-details-marker {
    display: none;
}

#homeFaqSec .homeFaqSecInnerItemQuestion {
    flex: 1;
    font-weight: 400;
    font-size: 20px;
    line-height: 28px;
    letter-spacing: -0.2px;
    color: #171717;
}

#homeFaqSec .homeFaqSecInnerItemToggle {
    color: #171717;
    display: inline-flex;
    flex-shrink: 0;
    transition: transform 300ms cubic-bezier(0.22, 1, 0.36, 1);
}

#homeFaqSec .homeFaqSecInnerItem[open] .homeFaqSecInnerItemToggle,
#homeFaqSec .homeFaqSecInnerItem.is-opening .homeFaqSecInnerItemToggle {
    transform: rotate(45deg);
}

#homeFaqSec .homeFaqSecInnerItem.is-closing .homeFaqSecInnerItemToggle {
    transform: rotate(0deg);
}

@media (prefers-reduced-motion: reduce) {
    #homeFaqSec .homeFaqSecInnerItemToggle {
        transition: none;
    }
}

#homeFaqSec .homeFaqSecInnerItemAnswer {
    box-sizing: border-box;
    padding: 0 40px 28px 0;
    overflow: hidden;
}

#homeFaqSec .homeFaqSecInnerItemAnswer p {
    font-family: Instrument Sans, sans-serif;
    font-size: 16px;
    line-height: 26px;
    color: #6C756D;
    margin: 0;
}

#homeGetAQuoteSec .homeGetAQuoteSecInnerCol ul.homeGetAQuoteSecInnerPerks {
    list-style: none;
    padding: 0;
    margin: 0;
}

#homeGetAQuoteSec .homeGetAQuoteSecInnerCol ul.homeGetAQuoteSecInnerPerks li {
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Enquiry form — Figma white card + pill plan chips */

#homeGetAQuoteSec #enquiry-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: #FFFFFF;
    border-radius: 32px;
    padding: 40px;
    box-shadow: none;
    border: none;
}

#homeGetAQuoteSec #enquiry-form .homeGetAQuoteSecInnerFormRow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

#homeGetAQuoteSec #enquiry-form>label,
#homeGetAQuoteSec #enquiry-form .homeGetAQuoteSecInnerFormRow>label {
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-family: Mona Sans, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    color: #0A0A0A;
}

#homeGetAQuoteSec #enquiry-form .homeGetAQuoteSecInnerFieldLabel {
    font: inherit;
    color: inherit;
}

#homeGetAQuoteSec #enquiry-form .homeGetAQuoteSecInnerLabelOptional {
    font-weight: 400;
    color: #737373;
}

#homeGetAQuoteSec #enquiry-form input,
#homeGetAQuoteSec #enquiry-form textarea {
    border: 1px solid #E5E5E5;
    border-radius: 12px;
    padding: 14px 16px;
    font-family: Instrument Sans, sans-serif;
    font-size: 15px;
    font-weight: 400;
    line-height: 22px;
    background: #FFFFFF;
    color: #0A0A0A;
    outline: none;
    width: 100%;
    box-sizing: border-box;
    resize: vertical;
}

#homeGetAQuoteSec #enquiry-form input::placeholder,
#homeGetAQuoteSec #enquiry-form textarea::placeholder {
    color: #A3A3A3;
}

#homeGetAQuoteSec #enquiry-form input:focus,
#homeGetAQuoteSec #enquiry-form textarea:focus {
    border-color: #527B3F;
}

#homeGetAQuoteSec #enquiry-form textarea {
    min-height: 120px;
}

#homeGetAQuoteSec #enquiry-form fieldset {
    border: none;
    padding: 0;
    margin: 0;
}

#homeGetAQuoteSec #enquiry-form legend {
    font-family: Mona Sans, sans-serif;
    font-size: 15px;
    font-weight: 700;
    line-height: 20px;
    color: #0A0A0A;
    margin-bottom: 12px;
    padding: 0;
}

#homeGetAQuoteSec #enquiry-form .plan-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    grid-template-columns: unset;
}

#homeGetAQuoteSec #enquiry-form .plan-options>label {
    display: inline-flex;
    margin: 0;
    position: relative;
}

/* Override app.css which hides .plan-options label>button (home radio UI) */

#homeGetAQuoteSec #enquiry-form .plan-options label>button.plan-option-pill {
    appearance: none;
    -webkit-appearance: none;
    opacity: 1;
    position: static;
    border: 1px solid #E5E5E5;
    background: #FFFFFF;
    border-radius: 999px;
    padding: 12px 20px;
    font-family: Mona Sans, sans-serif;
    font-size: 14px;
    font-weight: 500;
    line-height: 18px;
    color: #171717;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

#homeGetAQuoteSec #enquiry-form .plan-options label>button.plan-option-pill[aria-checked="true"],
#homeGetAQuoteSec #enquiry-form .plan-options label>button.plan-option-pill[data-state="checked"] {
    background: #F3FBE4;
    border-color: #527B3F;
    color: #173D2C;
}

#homeGetAQuoteSec #enquiry-form .form-privacy {
    font-family: Instrument Sans, sans-serif;
    font-size: 13px;
    line-height: 20px;
    color: #737373;
    margin: 0;
}

#homeGetAQuoteSec #enquiry-form .btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    background: #173D2C;
    color: #FFFFFF;
    border: none;
    border-radius: 999px;
    padding: 18px 28px;
    font-family: Mona Sans, sans-serif;
    font-weight: 700;
    font-size: 16px;
    line-height: 20px;
    cursor: pointer;
    margin-top: 4px;
}

#homeGetAQuoteSec #enquiry-form .btn-primary:hover {
    background: #122e22;
}

#homeGetAQuoteSec #enquiry-form .form-status {
    min-height: 1.2em;
    font-family: Instrument Sans, sans-serif;
    font-size: 14px;
    color: #173D2C;
    margin: 0;
}

@media (max-width: 900px) {
    /* Testimonials: a swipeable row — each card keeps its desktop
       proportions and the next one peeks in from the edge. */

    #homeTestimonialSec {
        margin-bottom: 80px;
        padding: 0 24px;
    }

    #homeTestimonialSec .homeTestimonialSecInner {
        gap: 32px;
    }

    #homeTestimonialSec .homeTestimonialSecInner .homeTestimonialSecInnerHead h2 {
        font-size: clamp(34px, 9vw, 52px);
        line-height: 1.08;
        letter-spacing: -1.5px;
    }

    #homeTestimonialSec .homeTestimonialSecInner .homeTestimonialSecInnerList {
        flex-wrap: nowrap;
        gap: 16px;
        margin: 0 -24px;
        padding: 0 24px 4px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scroll-snap-type: x mandatory;
        scroll-padding-inline: 24px;
        scrollbar-width: none;
    }

    #homeTestimonialSec .homeTestimonialSecInner .homeTestimonialSecInnerList::-webkit-scrollbar {
        display: none;
    }

    #homeTestimonialSec .homeTestimonialSecInner .homeTestimonialSecInnerListItem {
        flex: 0 0 min(78%, 340px);
        max-width: none;
        border-radius: 24px;
        scroll-snap-align: start;
    }

    #homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemPlay {
        width: 56px;
        height: 56px;
    }

    #homeTestimonialSec .homeTestimonialSecInnerListItem .homeTestimonialSecInnerListItemBadge {
        top: 16px;
        left: 16px;
    }

    /* FAQ: stack heading above the accordion and give both full width. */

    #homeFaqSec {
        margin-bottom: 80px;
        padding: 0 24px;
    }

    #homeFaqSec .homeFaqSecInner {
        flex-direction: column;
        gap: 36px;
    }

    #homeFaqSec .homeFaqSecInner .homeFaqSecInnerCol:first-child,
    #homeFaqSec .homeFaqSecInner .homeFaqSecInnerCol:last-child {
        max-width: 100%;
    }

    #homeFaqSec .homeFaqSecInner .homeFaqSecInnerCol h2 {
        font-size: clamp(34px, 9vw, 52px);
        line-height: 1.08;
        letter-spacing: -1.5px;
    }

    #homeFaqSec .homeFaqSecInnerItem summary {
        padding: 20px 0;
        gap: 16px;
    }

    #homeFaqSec .homeFaqSecInnerItemAnswer {
        padding-right: 0;
    }

    #homeGetAQuoteSec #enquiry-form {
        padding: 28px 24px;
        border-radius: 24px;
    }

    #homeGetAQuoteSec #enquiry-form .homeGetAQuoteSecInnerFormRow {
        grid-template-columns: 1fr;
    }

    /* Enquiry: stack the introduction and form inside one compact card. */

    #homeGetAQuoteSec {
        margin-bottom: 80px;
        padding: 0 24px;
    }

    #homeGetAQuoteSec .homeGetAQuoteSecInner {
        flex-direction: column;
        gap: 36px;
        padding: 36px 24px;
        border-radius: 32px;
    }

    #homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol:first-child,
    #homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol:last-child {
        max-width: 100%;
    }

    #homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol h2 {
        font-size: clamp(34px, 9vw, 48px);
        line-height: 1.08;
        letter-spacing: -1.5px;
    }

    #homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol p {
        margin-bottom: 24px;
    }

    #homeFaqSec .homeFaqSecInnerItemQuestion {
        font-size: 17px;
        line-height: 24px;
    }
}

#homePortfolioSec .homePortfolioSecInnerList .homePortfolioSecInnerListItem .homePortfolioSecInnerListItemCta {
    background: #0000005c;
    font-family: Mona Sans, sans-serif;
    font-weight: 400;
    font-size: 27.02px;
    line-height: 100%;
    letter-spacing: 0px;
    color: #FFFFFF;
    display: block;
    width: 100%;
    padding: 12px 22px;
    border-radius: 14px;
}

/* Scroll reveal (see js/scroll-reveal.js) */

.sr {
    opacity: 0;
    translate: 0 var(--sr-y, 10px);
    transition: opacity .5s ease, translate .5s cubic-bezier(.22, 1, .36, 1);
}

.sr.sr-in {
    opacity: 1;
    translate: 0 0;
    transition-duration: .7s;
    transition-delay: var(--sr-d, 0ms);
    /* stagger on the way in only */
}

@media (prefers-reduced-motion: reduce) {
    .sr {
        opacity: 1;
        translate: none;
    }
}

/* ---------- Our Work page only ---------- */

/* Portfolio heading stacked (<x-home.portfolio stacked>): eyebrow, heading,
   then the intro underneath, all left-aligned — the homepage shows the
   heading and intro side by side. */
#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead.homePortfolioSecInnerHeadStacked {
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 24px;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHeadStacked .homePortfolioSecInnerHeadCol:first-child,
#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHeadStacked .homePortfolioSecInnerHeadCol:last-child {
    max-width: 1040px;
}

#homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead small {
    display: block;
    font-family: Mona Sans, sans-serif;
    font-weight: 500;
    font-size: 14px;
    line-height: 1.2;
    letter-spacing: 1.6px;
    color: #55724D;
    margin: 0 0 18px 0;
}

/* Hero: keep "A Little Inspiration" on one line on desktop, like the green
   second line (app.css sets `h1>span { white-space: nowrap }`). It is a
   little wider than the hero's text column, which is fine — the space to
   its right is open. Phones wrap normally. */
@media (min-width: 901px) {
    #homeHeroSec .homeHeroSecCol h1 {
        white-space: nowrap;
    }
}

@media (max-width: 900px) {
    #homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead.homePortfolioSecInnerHeadStacked {
        gap: 16px;
    }

    #homePortfolioSec .homePortfolioSecInner .homePortfolioSecInnerHead small {
        font-size: 13px;
        margin-bottom: 14px;
    }
}
