/* ==========================================================================
   Paid (Google Ads) landing pages
   --------------------------------------------------------------------------
   Loaded only by the six landing pages. Every class is prefixed `lp-` and the
   hero deliberately does NOT reuse #page-header / .title-breadcrumbs, because
   stylekunal.css globally forces `.title-breadcrumbs { position: relative }`
   and style.css element+class selectors outrank single-class overrides.
   Staying in our own namespace avoids both traps entirely.

   Colour tokens mirror the site palette defined in style.css.
   ========================================================================== */

.lp-page {
    --lp-blue: #055AA8;
    --lp-blue-dark: #043f78;
    --lp-green: #28cb75;
    --lp-green-hover: #0CB863;
    --lp-heading: #35373c;
    --lp-body: #52565c;
    --lp-muted: #6b6f76;
    --lp-bg-alt: #f5f6f8;
    --lp-border: #d3d6db;
    --lp-white: #ffffff;
}

/* Prevent any child from forcing horizontal scroll on small screens. */
.lp-page {
    overflow-x: hidden;
}

.lp-section {
    padding: 56px 0;
}

.lp-section--alt {
    background: var(--lp-bg-alt);
}

.lp-container {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.lp-container--narrow {
    max-width: 820px;
}

/* --------------------------------------------------------------------------
   Typography
   -------------------------------------------------------------------------- */

.lp-page h2.lp-h2 {
    font-size: 30px;
    line-height: 1.25;
    color: var(--lp-heading);
    margin: 0 0 14px;
    font-weight: 900;
}

.lp-page h3.lp-h3 {
    font-size: 20px;
    line-height: 1.3;
    color: var(--lp-heading);
    margin: 0 0 10px;
    font-weight: 700;
}

.lp-lede {
    font-size: 18px;
    line-height: 1.6;
    color: var(--lp-body);
    margin: 0 0 28px;
    font-weight: 300;
}

/*
 * style.css has `section h2 { text-align: center }`. Rather than fight it per
 * heading, section heads are centred deliberately, matching how the rest of
 * the site presents a section, while the content beneath stays left aligned.
 */
.lp-section-head {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */

.lp-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 999px;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.2;
    text-align: center;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: background-color 200ms ease, color 200ms ease, transform 200ms ease;
    /* Comfortable tap target on mobile. */
    min-height: 48px;
    box-sizing: border-box;
}

.lp-btn:focus-visible {
    outline: 3px solid #ffb703;
    outline-offset: 2px;
}

.lp-btn--primary,
.lp-page a.lp-btn--primary {
    background: var(--lp-green);
    color: #08321d;
}

.lp-btn--primary:hover,
.lp-page a.lp-btn--primary:hover {
    background: var(--lp-green-hover);
    color: #08321d;
    transform: translateY(-2px);
}

.lp-btn--secondary,
.lp-page a.lp-btn--secondary {
    background: transparent;
    color: var(--lp-white);
    border-color: rgba(255, 255, 255, 0.75);
}

.lp-btn--secondary:hover,
.lp-page a.lp-btn--secondary:hover {
    background: var(--lp-white);
    color: var(--lp-blue-dark);
}

.lp-btn--solid-blue,
.lp-page a.lp-btn--solid-blue {
    background: var(--lp-blue);
    color: var(--lp-white);
}

.lp-btn--solid-blue:hover,
.lp-page a.lp-btn--solid-blue:hover {
    background: var(--lp-blue-dark);
    color: var(--lp-white);
    transform: translateY(-2px);
}

.lp-btn--outline-blue,
.lp-page a.lp-btn--outline-blue {
    background: transparent;
    color: var(--lp-blue);
    border-color: var(--lp-blue);
}

.lp-btn--outline-blue:hover,
.lp-page a.lp-btn--outline-blue:hover {
    background: var(--lp-blue);
    color: var(--lp-white);
}

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

.lp-hero {
    background: linear-gradient(135deg, #055AA8 0%, #043f78 100%);
    color: var(--lp-white);
    padding: 56px 0 60px;
}

.lp-hero__inner {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: flex-start;
}

.lp-hero__copy {
    flex: 1 1 460px;
    min-width: 0;
}

.lp-hero__form {
    flex: 0 1 400px;
    min-width: 0;
    width: 100%;
}

.lp-page h1.lp-hero__title {
    font-size: 40px;
    line-height: 1.15;
    color: var(--lp-white);
    margin: 0 0 16px;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.lp-hero__sub {
    font-size: 19px;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 0 24px;
    font-weight: 300;
}

.lp-hero__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 22px;
}

.lp-hero__note {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

/* Rating strip inside the hero */
.lp-rating {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 0 22px;
    font-size: 15px;
    color: rgba(255, 255, 255, 0.95);
}

.lp-rating__score {
    font-size: 20px;
    font-weight: 900;
    color: var(--lp-white);
}

.lp-rating__stars {
    color: #ffc61a;
    letter-spacing: 2px;
    font-size: 16px;
}

.lp-rating__sep {
    opacity: 0.5;
}

/* --------------------------------------------------------------------------
   Trust metrics strip
   -------------------------------------------------------------------------- */

.lp-metrics {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.lp-metric {
    text-align: center;
    padding: 22px 14px;
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: 8px;
}

.lp-metric__value {
    display: block;
    font-size: 32px;
    font-weight: 900;
    color: var(--lp-blue);
    line-height: 1.1;
    margin-bottom: 6px;
}

.lp-metric__label {
    display: block;
    font-size: 14px;
    color: var(--lp-muted);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   "Who this is for" list
   -------------------------------------------------------------------------- */

.lp-audience {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.lp-page .lp-audience > li {
    position: relative;
    padding: 0 0 0 30px;
    font-size: 16px;
    line-height: 1.5;
    color: var(--lp-body);
    font-weight: 300;
}

.lp-audience > li::before {
    content: "\f00c"; /* font-awesome check */
    font-family: FontAwesome;
    position: absolute;
    left: 0;
    top: 1px;
    color: var(--lp-green-hover);
    font-size: 14px;
}

.lp-audience__strong {
    font-weight: 700;
    color: var(--lp-heading);
}

/* --------------------------------------------------------------------------
   Pricing
   -------------------------------------------------------------------------- */

.lp-pricing {
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    overflow: hidden;
}

.lp-pricing__row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    align-items: baseline;
    padding: 16px 22px;
    border-bottom: 1px solid #eceef1;
}

.lp-pricing__row:last-child {
    border-bottom: 0;
}

.lp-pricing__label {
    flex: 1 1 240px;
    font-size: 16px;
    color: var(--lp-body);
    line-height: 1.45;
}

.lp-pricing__price {
    font-size: 20px;
    font-weight: 900;
    color: var(--lp-blue);
    white-space: nowrap;
}

.lp-pricing__note {
    font-size: 15px;
    color: var(--lp-muted);
    margin: 18px 0 0;
    line-height: 1.55;
}

.lp-pricing__cta {
    margin-top: 24px;
}

/* --------------------------------------------------------------------------
   Process steps
   -------------------------------------------------------------------------- */

.lp-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 22px;
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: lp-step;
}

.lp-page .lp-steps > li {
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: 10px;
    padding: 26px 22px 22px;
    font-size: 15px;
    line-height: 1.55;
    color: var(--lp-body);
    font-weight: 300;
}

/* Beat style.css's `p { font-size: 17px }` without an !important. */
.lp-page .lp-steps > li > p.lp-step__text {
    margin: 0;
    font-size: 15px;
    line-height: 1.55;
    color: var(--lp-body);
    font-weight: 300;
}

.lp-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--lp-blue);
    color: var(--lp-white);
    font-weight: 900;
    font-size: 17px;
    margin-bottom: 12px;
}

/* --------------------------------------------------------------------------
   Lead form
   -------------------------------------------------------------------------- */

.lp-form-card {
    background: var(--lp-white);
    border-radius: 12px;
    padding: 26px 24px 24px;
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.14);
    color: var(--lp-body);
}

.lp-form-card__title {
    font-size: 21px;
    font-weight: 900;
    color: var(--lp-heading);
    margin: 0 0 6px;
    line-height: 1.25;
}

.lp-form-card__sub {
    font-size: 15px;
    color: var(--lp-muted);
    margin: 0 0 18px;
    line-height: 1.5;
}

.lp-field {
    margin-bottom: 15px;
}

.lp-field__label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--lp-heading);
    margin-bottom: 6px;
}

.lp-field__req {
    color: #c0392b;
}

.lp-field__hint {
    display: block;
    font-size: 13px;
    color: var(--lp-muted);
    font-weight: 400;
    margin-top: 3px;
}

.lp-page .lp-input,
.lp-page .lp-select,
.lp-page .lp-textarea {
    display: block;
    width: 100%;
    min-height: 46px;
    padding: 11px 13px;
    font-size: 16px; /* 16px avoids iOS zoom-on-focus */
    line-height: 1.4;
    color: var(--lp-heading);
    background: var(--lp-white);
    border: 1px solid var(--lp-border);
    border-radius: 6px;
    box-sizing: border-box;
    box-shadow: none;
}

.lp-page .lp-textarea {
    min-height: 90px;
    resize: vertical;
}

.lp-page .lp-input:focus,
.lp-page .lp-select:focus,
.lp-page .lp-textarea:focus {
    border-color: var(--lp-blue);
    outline: 2px solid rgba(5, 90, 168, 0.35);
    outline-offset: 1px;
}

.lp-page .lp-input[aria-invalid="true"],
.lp-page .lp-select[aria-invalid="true"] {
    border-color: #c0392b;
}

.lp-field__error {
    display: none;
    font-size: 13px;
    color: #c0392b;
    margin-top: 5px;
    line-height: 1.4;
}

.lp-field__error.is-visible {
    display: block;
}

/*
 * style.css has `button[type="submit"] { background; height:55px; float:left;
 * text-transform:uppercase; border-radius:4px }` at specificity (0,1,1), which
 * outranks a single `.lp-btn--primary` class. Match it with an element+class
 * selector inside .lp-page so the pill styling actually wins, and undo the
 * float and fixed height it would otherwise impose.
 */
.lp-page button.lp-form__submit,
.lp-page button.lp-form__submit[type="submit"] {
    width: 100%;
    margin-top: 4px;
    float: none;
    height: auto;
    min-height: 50px;
    padding: 15px 24px;
    border: 0;
    border-radius: 999px;
    text-transform: none;
    font-size: 17px;
    background: var(--lp-green);
    color: #08321d;
}

.lp-page button.lp-form__submit[type="submit"]:hover {
    background: var(--lp-green-hover);
    color: #08321d;
}

.lp-page button.lp-form__submit[type="submit"]:disabled {
    opacity: 0.65;
    cursor: default;
}

.lp-form__status {
    margin-top: 14px;
    font-size: 15px;
    line-height: 1.5;
    display: none;
}

.lp-form__status.is-visible {
    display: block;
}

.lp-form__status--error {
    color: #c0392b;
}

.lp-form__privacy {
    font-size: 13px;
    color: var(--lp-muted);
    margin: 14px 0 0;
    line-height: 1.5;
}

.lp-form__recaptcha {
    margin-bottom: 15px;
    max-width: 100%;
}

/*
 * The reCAPTCHA widget is a fixed 304px iframe. Inside the form card on a
 * 375px screen the available width is narrower than that, so scale it down
 * to fit rather than letting it clip or force a scrollbar.
 */
@media (max-width: 400px) {
    .lp-form__recaptcha .g-recaptcha {
        transform: scale(0.88);
        transform-origin: 0 0;
        height: 68px;
    }
}

/* Honeypot: hidden from people, visible to naive bots. */
.lp-hp {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

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

.lp-faq {
    border-top: 1px solid var(--lp-border);
}

.lp-faq__item {
    border-bottom: 1px solid var(--lp-border);
}

.lp-page h3.lp-faq__heading {
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    line-height: inherit;
}

.lp-page button.lp-faq__q {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
    padding: 20px 0;
    background: none;
    border: 0;
    text-align: left;
    font-size: 17px;
    font-weight: 700;
    color: var(--lp-heading);
    line-height: 1.4;
    cursor: pointer;
}

.lp-page button.lp-faq__q:focus-visible {
    outline: 3px solid var(--lp-blue);
    outline-offset: -3px;
}

.lp-faq__icon {
    flex: 0 0 auto;
    font-size: 15px;
    color: var(--lp-blue);
    transition: transform 200ms ease;
    margin-top: 3px;
}

.lp-faq__q[aria-expanded="true"] .lp-faq__icon {
    transform: rotate(45deg);
}

.lp-faq__a {
    padding: 0 0 20px;
    font-size: 16px;
    line-height: 1.6;
    color: var(--lp-body);
    font-weight: 300;
    max-width: 820px;
}

.lp-faq__a[hidden] {
    display: none;
}

.lp-faq__a p {
    margin: 0;
    font-size: inherit;
    line-height: inherit;
}

/* --------------------------------------------------------------------------
   Final CTA
   -------------------------------------------------------------------------- */

.lp-final {
    background: linear-gradient(135deg, #055AA8 0%, #043f78 100%);
    color: var(--lp-white);
    text-align: center;
}

.lp-page h2.lp-final__title {
    color: var(--lp-white);
    font-size: 30px;
    margin: 0 0 12px;
    font-weight: 900;
}

.lp-final__sub {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.92);
    margin: 0 auto 26px;
    max-width: 640px;
    font-weight: 300;
    line-height: 1.55;
}

.lp-final__ctas {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* --------------------------------------------------------------------------
   Mobile sticky CTA bar
   -------------------------------------------------------------------------- */

.lp-sticky {
    display: none;
}

@media (max-width: 767px) {
    .lp-sticky {
        display: flex;
        position: fixed;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 900;
        gap: 10px;
        padding: 10px 12px;
        padding-bottom: calc(10px + env(safe-area-inset-bottom, 0px));
        background: rgba(255, 255, 255, 0.98);
        border-top: 1px solid var(--lp-border);
        box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.12);
    }

    .lp-sticky .lp-btn {
        flex: 1 1 0;
        padding: 13px 10px;
        font-size: 16px;
    }

    /* Keep the sticky bar from covering the end of the page. */
    .lp-page {
        padding-bottom: 76px;
    }
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (min-width: 992px) {
    /* The form card is taller than the hero copy, so centre the copy against
       it rather than leaving all the empty space below one column. */
    .lp-hero__inner {
        align-items: center;
    }
}

@media (max-width: 991px) {
    .lp-metrics {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 767px) {
    .lp-section {
        padding: 40px 0;
    }

    .lp-hero {
        padding: 38px 0 42px;
    }

    .lp-page h1.lp-hero__title {
        font-size: 30px;
    }

    .lp-hero__sub {
        font-size: 17px;
    }

    .lp-page h2.lp-h2,
    .lp-page h2.lp-final__title {
        font-size: 25px;
    }

    .lp-hero__ctas {
        flex-direction: column;
        gap: 12px;
    }

    /* The rating line wraps on narrow screens, which would leave the
       separator dangling at the end of a line. */
    .lp-rating__sep {
        display: none;
    }

    .lp-hero__ctas .lp-btn,
    .lp-final__ctas .lp-btn {
        width: 100%;
    }

    .lp-final__ctas {
        flex-direction: column;
    }

    .lp-pricing__row {
        padding: 14px 16px;
    }

    /* Keep the price on the same line as its label instead of wrapping
       onto its own row. */
    .lp-pricing__label {
        flex: 1 1 140px;
        font-size: 15px;
    }

    .lp-pricing__price {
        font-size: 18px;
    }

    .lp-metric__value {
        font-size: 27px;
    }
}

@media (max-width: 380px) {
    .lp-metrics {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .lp-btn,
    .lp-faq__icon {
        transition: none;
    }

    .lp-btn:hover {
        transform: none;
    }
}

/* --------------------------------------------------------------------------
   Lead form: hours and closed notice
   -------------------------------------------------------------------------- */

.lp-form-card__hours {
    display: block;
    margin-top: 2px;
}

.lp-form-card__closed {
    margin: 0 0 16px;
    padding: 10px 12px;
    border-radius: 6px;
    background: #fff6e5;
    border: 1px solid #f0d9ae;
    font-size: 14px;
    line-height: 1.5;
    color: #6b4f1d;
}
