/* AppIn500 — Contact page (resources/views/contact.blade.php).
 *
 * Self-contained: this page does not load home-revamp.css. Its enquiry
 * section is the shared homepage component (<x-home.enquiry>), so everything
 * above the "Contact page only" block is copied verbatim from
 * home-revamp.css, in the same order — keep the two in sync when changing
 * that shared component.
 */

/* 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)
}

/* 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;
}

/* ---------- 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 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;

}

#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) {
    #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 p {
        margin-bottom: 24px;
    }
}

/* 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;
    }
}

/* ---------- Contact page only ---------- */

/* The enquiry section is this page's first section. */
#homeGetAQuoteSec {
    margin-top: 24px;
}

/* Page heading is an h1 here (the homepage uses an h2) — same styling. */
#homeGetAQuoteSec .homeGetAQuoteSecInner .homeGetAQuoteSecInnerCol h1 {
    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 h1 span {
    color: #25813E;
}

@media (max-width: 900px) {
    #homeGetAQuoteSec {
        margin-top: 16px;
    }

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