/* Landing-page conversion band + lead form.
   Used on the sector and service pages, which double as paid landing pages. */

.ps-lander-band {
    background: linear-gradient(140deg, #16425b 0%, #0f3049 60%, #10394f 100%);
    color: #fff;
    padding: clamp(2.5rem, 5vw, 4rem) 0;
}

.ps-lander-band__title {
    font-size: clamp(1.5rem, 2.6vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.015em;
    margin-bottom: 0.85rem;
}

.ps-lander-band__text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.84);
    max-width: 52ch;
    margin-bottom: 1.35rem;
}

.ps-lander-band__proof {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.5rem 1.25rem;
    margin: 0 0 1.35rem;
}

.ps-lander-band__proof li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.86rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.86);
}

.ps-lander-band__proof i {
    color: #7fc4e8;
    flex: 0 0 auto;
}

.ps-lander-band__call {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: #fff;
    font-size: 1.15rem;
    font-weight: 800;
    text-decoration: none;
}

.ps-lander-band__call:hover {
    color: #fff;
    text-decoration: underline;
}

/* ── The form ───────────────────────────────────────────────────────────
   Every dimension is explicit: this theme's custom.css zeroes button
   padding and .btn depends on Bootstrap vars it never defines. */
.ps-lander-form {
    background: #fff;
    border-radius: 1rem;
    padding: 1.6rem;
    box-shadow: 0 1.25rem 2.5rem rgba(5, 22, 33, 0.32);
}

.ps-lander-form--compact {
    padding: 1.35rem;
}

.ps-lander-form__head {
    margin-bottom: 1rem;
}

.ps-lander-form__title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #16425b;
    margin: 0 0 0.3rem;
}

.ps-lander-form__sub {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0;
    line-height: 1.45;
}

.ps-lander-form__row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.65rem;
    margin-bottom: 0.65rem;
}

.ps-lander-form input,
.ps-lander-form textarea {
    width: 100%;
    background: #f4f7fa;
    border: 1px solid #e3eaf2;
    border-radius: 0.55rem;
    padding: 0.7rem 0.85rem;
    font-size: 0.92rem;
    color: #16425b;
    transition: border-color 0.16s ease, background-color 0.16s ease, box-shadow 0.16s ease;
}

.ps-lander-form input::placeholder,
.ps-lander-form textarea::placeholder {
    color: #94a7b8;
}

.ps-lander-form input:focus,
.ps-lander-form textarea:focus {
    outline: none;
    background: #fff;
    border-color: #2a8ec7;
    box-shadow: 0 0 0 3px rgba(42, 142, 199, 0.16);
}

.ps-lander-form textarea {
    margin-bottom: 0.85rem;
    resize: vertical;
    min-height: 84px;
}

.ps-lander-form__submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.85rem 1.25rem;
    background: linear-gradient(135deg, #2a8ec7 0%, #16425b 100%);
    color: #fff;
    border: none;
    border-radius: 2rem;
    font-size: 0.98rem;
    font-weight: 700;
    cursor: pointer;
    transition: filter 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease;
}

.ps-lander-form__submit:hover:not(:disabled) {
    filter: brightness(1.1);
    transform: translateY(-1px);
    box-shadow: 0 0.6rem 1.2rem rgba(22, 66, 91, 0.3);
}

.ps-lander-form__submit:disabled {
    opacity: 0.72;
    cursor: default;
}

.ps-lander-form__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    font-size: 0.74rem;
    color: #94a3b8;
    margin: 0.7rem 0 0;
}

.ps-lander-form__msg {
    margin-top: 0.8rem;
    padding: 0.6rem 0.8rem;
    border-radius: 0.5rem;
    font-size: 0.85rem;
}

.ps-lander-form__msg.is-error {
    background: #fdeaea;
    color: #b3261e;
}

@media (max-width: 575.98px) {
    .ps-lander-band__proof,
    .ps-lander-form__row {
        grid-template-columns: minmax(0, 1fr);
    }

    .ps-lander-form {
        padding: 1.2rem;
    }
}

/* ── Hub pages (/sectors/, /services/) ───────────────────────────────── */
.ps-hub__head {
    background: linear-gradient(140deg, #16425b 0%, #0f3049 100%);
    color: #fff;
    padding: clamp(3rem, 6vw, 5rem) 0 clamp(2.5rem, 5vw, 4rem);
}

.ps-hub__eyebrow {
    display: inline-block;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.22);
    border-radius: 2rem;
    padding: 0.3rem 0.9rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    margin-bottom: 1.1rem;
}

.ps-hub__title {
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.02em;
    margin-bottom: 0.9rem;
    max-width: 20ch;
}

.ps-hub__intro {
    font-size: clamp(0.98rem, 1.2vw, 1.14rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.85);
    max-width: 62ch;
    margin: 0;
}

.ps-hub__grid-wrap {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: #f7f9fc;
}

.ps-hub__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.ps-hub__card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 0.9rem;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.ps-hub__card:hover {
    transform: translateY(-4px);
    border-color: #cfe0ec;
    box-shadow: 0 1rem 2rem rgba(15, 42, 60, 0.14);
}

.ps-hub__card-img {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    aspect-ratio: 16 / 10;
    background: #eef3f8 center/cover no-repeat;
    color: #b6c6d5;
    font-size: 2rem;
}

.ps-hub__card-body {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    padding: 1.15rem 1.25rem 1.35rem;
    flex: 1 1 auto;
}

.ps-hub__card-title {
    font-size: 1.08rem;
    font-weight: 700;
    color: #16425b;
    line-height: 1.25;
}

.ps-hub__card-text {
    font-size: 0.875rem;
    line-height: 1.5;
    color: #64748b;
    flex: 1 1 auto;
}

.ps-hub__card-cta {
    font-size: 0.84rem;
    font-weight: 700;
    color: #0f6fa9;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
}

.ps-hub__card:hover .ps-hub__card-cta i {
    transform: translateX(3px);
}

.ps-hub__card-cta i {
    transition: transform 0.16s ease;
}

.ps-hub__content {
    padding: clamp(2rem, 4vw, 3rem) 0;
}

/* ── Breadcrumbs ─────────────────────────────────────────────────────── */
.ps-breadcrumbs {
    background: #f7f9fc;
    border-bottom: 1px solid #e6ebf2;
    padding: 0.7rem 0;
    font-size: 0.82rem;
}

.ps-breadcrumbs ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.4rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.ps-breadcrumbs li {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: #64748b;
}

.ps-breadcrumbs a {
    color: #0f6fa9;
    text-decoration: none;
    font-weight: 600;
}

.ps-breadcrumbs a:hover {
    text-decoration: underline;
}

.ps-breadcrumbs i {
    font-size: 0.6rem;
    color: #b6c6d5;
}

.ps-breadcrumbs [aria-current="page"] {
    color: #16425b;
    font-weight: 700;
}

/* ── Onward journey ──────────────────────────────────────────────────── */
.ps-lander-tail {
    padding: clamp(2.25rem, 4vw, 3.25rem) 0;
    background: #f7f9fc;
    border-top: 1px solid #e6ebf2;
}

.ps-lander-tail__head {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1.1rem;
}

.ps-lander-tail__title {
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 800;
    color: #16425b;
    margin: 0;
}

.ps-lander-tail__all {
    font-size: 0.85rem;
    font-weight: 700;
    color: #0f6fa9;
    text-decoration: none;
    white-space: nowrap;
}

.ps-lander-tail__all:hover {
    color: #16425b;
}

.ps-lander-tail__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(216px, 1fr));
    gap: 0.7rem;
    margin: 0;
}

.ps-lander-tail__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.6rem;
    background: #fff;
    border: 1px solid #e6ebf2;
    border-radius: 0.6rem;
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #16425b;
    text-decoration: none;
    transition: border-color 0.16s ease, transform 0.16s ease, box-shadow 0.16s ease, color 0.16s ease;
}

.ps-lander-tail__list a:hover {
    color: #0f6fa9;
    border-color: #bcd8ea;
    transform: translateY(-2px);
    box-shadow: 0 0.5rem 1rem rgba(15, 42, 60, 0.1);
}

.ps-lander-tail__list i {
    color: #9fb3c6;
    font-size: 0.8rem;
}

/* ── Closing CTA ─────────────────────────────────────────────────────── */
.ps-lander-close {
    padding: clamp(2.5rem, 5vw, 4rem) 0;
    background: linear-gradient(140deg, #2a8ec7 0%, #16425b 100%);
    color: #fff;
    text-align: center;
}

.ps-lander-close__title {
    font-size: clamp(1.4rem, 2.6vw, 2.1rem);
    font-weight: 800;
    margin-bottom: 0.7rem;
}

.ps-lander-close__text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.88);
    max-width: 58ch;
    margin: 0 auto 1.6rem;
}

.ps-lander-close__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

.ps-lander-close__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.75rem;
    border: 2px solid transparent;
    border-radius: 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.2;
    text-decoration: none;
    cursor: pointer;
    transition: transform 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.ps-lander-close__btn--primary {
    background: #fff;
    color: #16425b;
    box-shadow: 0 0.6rem 1.3rem rgba(0, 0, 0, 0.26);
}

.ps-lander-close__btn--primary:hover {
    color: #0f6fa9;
    transform: translateY(-2px);
}

.ps-lander-close__btn--ghost {
    background: transparent;
    color: #fff;
    border-color: rgba(255, 255, 255, 0.6);
}

.ps-lander-close__btn--ghost:hover {
    background: rgba(255, 255, 255, 0.14);
    color: #fff;
}

@media (max-width: 575.98px) {
    .ps-lander-close__btn {
        width: 100%;
        justify-content: center;
    }
}
