/**
 * Home Pro (Bundle) page template — flyer-inspired palette, isolated from legacy home sections.
 */

/* Smooth scroll for the whole page */
html {
    scroll-behavior: smooth;
}

/* Offset anchor so fixed header doesn't overlap the section */
#book-demo {
    scroll-margin-top: 80px;
}

.home-pro {
    --hp-blue: #004a8d;
    --hp-blue-dark: #003566;
    --hp-green: #1f8a44;
    --hp-green-dark: #166534;
    --hp-ink: #0f172a;
    --hp-muted: #475569;
    --hp-line: #e2e8f0;
    --hp-surface: #f8fafc;
    --hp-white: #ffffff;
    --hp-pink: #d81b60;
    --hp-pink-soft: #fce4ec;
    --hp-radius: 12px;
    --hp-radius-lg: 20px;
    color: var(--hp-ink);
    background: var(--hp-white);
    font-family: var(--font-sans, 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif);
}

.home-pro__main {
    overflow-x: hidden;
}

.home-pro .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

/* Hero row: match global site width so the banner feels truly full-bleed */
.home-pro .home-pro__hero-inner.container {
    max-width: 1400px;
}

/* ---------- Hero (eposnow-style: light band + product shot) ---------- */
.home-pro__hero {
    position: relative;
}

.home-pro__hero--epos {
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 45%, #eef2f7 100%);
    color: var(--hp-ink);
    padding: 2.5rem 0 2.75rem;
    border-bottom: none; /* break before partners: .home-pro__section-bridge */
    /* Full-viewport banner strip (works even if a parent adds horizontal inset later) */
    width: 100vw;
    max-width: 100vw;
    margin-left: calc(50% - 50vw);
    box-sizing: border-box;
}

.home-pro__hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    gap: 1.5rem 1.75rem;
    align-items: center;
}

.home-pro__hero-kicker--light {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--hp-muted);
    margin: 0 0 0.5rem;
    padding: 0.25rem 0;
}

.home-pro__hero-title {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.025em;
    margin: 0 0 0.9rem;
    color: #0f172a;
    max-width: min(40ch, 100%);
}

.home-pro__hero-lead {
    font-size: 1.02rem;
    line-height: 1.58;
    margin: 0 0 1.15rem;
    color: #475569;
    max-width: 40rem;
}

.home-pro__hero-lead-highlight {
    display: inline;
    color: #0f172a;
    font-weight: 700;
    margin-left: 0.25rem;
}

.home-pro__hero-pricing {
    font-size: 1rem;
    line-height: 1.4;
    color: #334155;
    margin: 0 0 1.5rem;
}

.home-pro__hero-pricing-was {
    text-decoration: line-through;
    color: #64748b;
    font-weight: 600;
}

.home-pro__hero-pricing-now-label {
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.8125rem;
    letter-spacing: 0.06em;
    margin-left: 0.25rem;
    color: #0f172a;
}

.home-pro__hero-pricing-now {
    font-size: clamp(1.35rem, 3vw, 1.85rem);
    font-weight: 800;
    color: var(--hp-pink);
    margin-left: 0.35rem;
}

.home-pro__hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    align-items: center;
    margin-bottom: 1.25rem;
}

/* Hero trust — 2×2 grid on wide screens (matches reference); flex fallback elsewhere */
.home-pro__hero-trust {
    list-style: none;
    margin: 0 0 1rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.45rem 0.9rem;
    align-items: start;
    max-width: min(32rem, 100%);
}

.home-pro__hero-trust-item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 600;
    line-height: 1.35;
    color: #334155;
}

.home-pro__hero-trust-check {
    flex-shrink: 0;
    color: var(--hp-green);
    margin-top: 0.1rem;
}

.home-pro__hero-trust-check svg {
    display: block;
}

.home-pro__hero-tagline {
    margin: 0 0 0.25rem;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #0f172a;
    letter-spacing: -0.01em;
}

.home-pro__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.35rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-pro__btn:focus-visible {
    outline: 3px solid #fbbf24;
    outline-offset: 2px;
}

.home-pro__btn--epos-primary {
    background: #1877f2;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(24, 119, 242, 0.35);
    border: none;
}

.home-pro__btn--epos-primary:hover {
    transform: translateY(-1px);
    filter: brightness(1.05);
}

.home-pro__btn--epos-secondary {
    background: transparent;
    color: #0f172a !important;
    border: 1px solid #cbd5e1;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.55rem 1rem;
}

.home-pro__btn--epos-secondary:hover {
    background: #fff;
    border-color: #94a3b8;
}

.home-pro__hero-media {
    position: relative;
    /* Keeps the product card from feeling oversized vs copy */
    max-width: min(100%, 520px);
    margin-left: auto;
    width: 100%;
}

/* Hero visual — lifestyle café shot (1024×847); ratio matches frame */
.home-pro__hero-frame--epos {
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    border: 1px solid #e2e8f0;
    box-shadow:
        0 4px 6px -1px rgba(15, 23, 42, 0.06),
        0 20px 40px -12px rgba(15, 23, 42, 0.12);
    aspect-ratio: 1024 / 847;
    background: var(--hp-white);
}

.home-pro__hero-frame--epos img {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    object-fit: cover;
    object-position: center 38%;
    display: block;
    padding: 0;
    /* Let the frame control dimensions; see override after global .home-pro img */
}

/* Legacy split / popup buttons still use these */
.home-pro__btn--primary {
    background: var(--hp-blue);
    color: #fff !important;
    box-shadow: 0 4px 20px rgba(0, 74, 141, 0.25);
}

.home-pro__btn--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(0, 74, 141, 0.3);
}

.home-pro__btn--ghost {
    background: transparent;
    color: var(--hp-blue) !important;
    border: 2px solid rgba(0, 74, 141, 0.35);
}

.home-pro__btn--ghost:hover {
    background: rgba(0, 74, 141, 0.06);
}

/* ---------- Hero → Partners: “bridge” — gradient band + animated accent ribbon ---------- */
.home-pro__section-bridge {
    position: relative;
    z-index: 2;
    display: block;
    line-height: 0;
    margin: 0;
    margin-top: -0.75rem;
    height: 22px;
    overflow: visible;
    pointer-events: none;
}

/* Soft ramp: visually stitches hero to partners (no wavy clip art) */
.home-pro__section-bridge-mesh {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    height: 22px;
    background: linear-gradient(
        180deg,
        #dce3eb 0%,
        #e8ecf0 50%,
        #eef1f4 100%
    );
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        0 6px 20px rgba(15, 23, 42, 0.06);
}

/* Glowing brand ribbon — the “pop” */
.home-pro__section-bridge-ribbon {
    position: absolute;
    left: 0;
    right: 0;
    top: 50%;
    height: 3px;
    margin-top: -1px;
    transform: translateY(-50%) translateZ(0);
    background: linear-gradient(
        90deg,
        #0f172a 0%,
        #0c4a6e 16%,
        #1877f2 50%,
        #0c4a6e 84%,
        #0f172a 100%
    );
    background-size: 200% 100%;
    animation: home-pro-ribbon-shimmer 7s ease-in-out infinite;
    box-shadow:
        0 0 0 1px rgba(255, 255, 255, 0.3) inset,
        0 0 22px rgba(24, 119, 242, 0.5),
        0 2px 8px rgba(8, 47, 73, 0.25);
}

/* Moving highlight over the bar (satin / light sweep) */
.home-pro__section-bridge-ribbon::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 45%;
    max-width: min(40vw, 360px);
    background: linear-gradient(90deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.45) 50%, rgba(255, 255, 255, 0));
    filter: blur(0.3px);
    animation: home-pro-ribbon-sweep 4.2s ease-in-out infinite;
    opacity: 0.9;
    pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
    .home-pro__section-bridge-ribbon {
        animation: none;
        background-position: 50% 50%;
    }
    .home-pro__section-bridge-ribbon::after {
        animation: none;
        left: 50%;
        width: 50%;
        transform: translateX(-50%);
    }
}

@keyframes home-pro-ribbon-shimmer {
    0%,
    100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes home-pro-ribbon-sweep {
    0%,
    100% {
        transform: translateX(-30%);
    }
    50% {
        transform: translateX(220%);
    }
}

/* ---------- Partners: infinite marquee strip ---------- */
.home-pro__partners {
    width: 100%;
    margin: 0;
    margin-top: 0;
    padding: 0.85rem 0 0.75rem;
    background: #f3f4f6;
    border-top: 1px solid rgba(203, 213, 225, 0.65);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.85);
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}

.home-pro__partners-inner {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    padding: 0 1.25rem;
}

.home-pro__partners-heading {
    margin: 0 0 0.55rem;
    padding: 0;
    font-size: clamp(0.78rem, 1.75vw, 0.9rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: 0.01em;
    color: #374151;
}

/* Marquee outer — fade edges */
.home-pro__marquee-outer {
    width: 100%;
    overflow: hidden;
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 7%, #000 93%, transparent 100%);
}

/* Scrolling track — pauses on hover */
.home-pro__marquee-track {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-wrap: nowrap;          /* prevent wrapping on iOS */
    align-items: center;
    width: max-content;
    will-change: transform;     /* GPU layer promotion */
    backface-visibility: hidden; /* avoid iOS flicker */
    -webkit-backface-visibility: hidden;
    animation: hp-marquee 30s linear infinite;
    -webkit-animation: hp-marquee 30s linear infinite;
}

.home-pro__marquee-track:hover {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

@-webkit-keyframes hp-marquee {
    0%   { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes hp-marquee {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

/* Every logo slot — fixed equal width + equal gap */
.home-pro__marquee-item {
    flex-shrink: 0;
    width: 180px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 28px;
}

/* Base logo — all constrained to same visual box */
.home-pro__marquee-logo {
    display: block;
    max-width: 140px;
    max-height: 44px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* 365 Finance — slightly taller badge-style logo */
.home-pro__marquee-logo--lg {
    display: block;
    max-width: 160px;
    max-height: 50px;
    width: auto;
    height: auto;
    object-fit: contain;
    object-position: center;
}

/* EVO — reduce so it matches others visually */
.home-pro__marquee-logo--evo {
    max-width: 90px;
    max-height: 36px;
}

@media (max-width: 900px) {
    .home-pro__marquee-track {
        animation-duration: 28s !important;
        -webkit-animation-duration: 28s !important;
    }
}

@media (max-width: 640px) {
    .home-pro__marquee-item { width: 140px; height: 52px; margin: 0 16px; }
    .home-pro__marquee-logo { max-width: 110px; max-height: 36px; }
    .home-pro__marquee-logo--lg { max-width: 130px; max-height: 42px; }
    .home-pro__marquee-logo--evo { max-width: 72px; max-height: 28px; }
    .home-pro__marquee-track {
        animation-duration: 32s !important;
        -webkit-animation-duration: 32s !important;
    }
}

@media (max-width: 480px) {
    .home-pro__marquee-track {
        animation-duration: 36s !important;
        -webkit-animation-duration: 36s !important;
    }
}

@media (max-width: 430px) {
    .home-pro__marquee-track {
        animation-duration: 40s !important;
        -webkit-animation-duration: 40s !important;
    }
}

@media (max-width: 390px) {
    .home-pro__marquee-track {
        animation-duration: 44s !important;
        -webkit-animation-duration: 44s !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-pro__marquee-track { animation: none; -webkit-animation: none; }
}

/* ---------- Hospitality EPOS Section ---------- */
.home-pro__hosp {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: #ffffff;
    border-bottom: 1px solid var(--hp-line);
}

.home-pro__hosp-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* Copy side */
.home-pro__hosp-label {
    display: inline-block;
    margin: 0 0 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hp-green);
}

.home-pro__hosp-title {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--hp-ink);
}

.home-pro__hosp-sub {
    margin: 0 0 1rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--hp-muted);
    max-width: 38rem;
}

.home-pro__hosp-perfect {
    margin: 0 0 1.25rem;
    font-size: 0.9375rem;
    color: var(--hp-ink);
    line-height: 1.5;
}

.home-pro__hosp-list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.55rem 1rem;
}

.home-pro__hosp-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--hp-ink);
    line-height: 1.4;
}

.home-pro__hosp-check {
    flex-shrink: 0;
    color: var(--hp-green);
    margin-top: 0.05rem;
}

.home-pro__hosp-check svg {
    display: block;
}

.home-pro__hosp-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    align-items: center;
}

/* Visual side — product image */
.home-pro__hosp-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-pro__hosp-img-wrap {
    width: 100%;
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
}

.home-pro__hosp-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .home-pro__hosp-inner {
        grid-template-columns: 1fr;
    }

    .home-pro__hosp-list {
        grid-template-columns: 1fr 1fr;
    }

    .home-pro__hosp-visual {
        order: -1;
    }

    .home-pro__hosp-img-wrap {
        max-width: 540px;
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .home-pro__hosp-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Retail EPOS Section ---------- */
.home-pro__retail {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--hp-surface);
    border-bottom: 1px solid var(--hp-line);
}

.home-pro__retail-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* Image side */
.home-pro__retail-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-pro__retail-img-wrap {
    width: 100%;
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
}

.home-pro__retail-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Copy side */
.home-pro__retail-label {
    display: inline-block;
    margin: 0 0 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hp-blue);
}

.home-pro__retail-title {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--hp-ink);
}

.home-pro__retail-sub {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--hp-muted);
    max-width: 38rem;
}

.home-pro__retail-list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.home-pro__retail-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hp-ink);
    line-height: 1.4;
}

.home-pro__retail-check {
    flex-shrink: 0;
    color: var(--hp-blue);
    margin-top: 0.05rem;
}

.home-pro__retail-check svg {
    display: block;
}

.home-pro__retail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    align-items: center;
}

@media (max-width: 900px) {
    .home-pro__retail-inner {
        grid-template-columns: 1fr;
    }

    .home-pro__retail-visual {
        order: -1;
    }

    .home-pro__retail-img-wrap {
        max-width: 540px;
        margin: 0 auto;
    }

    .home-pro__retail-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .home-pro__retail-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Standard Bundle Section ---------- */
.home-pro__standard {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: #ffffff;
    border-bottom: 1px solid var(--hp-line);
}

.home-pro__standard-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* Copy side */
.home-pro__standard-label {
    display: inline-block;
    margin: 0 0 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--hp-pink);
}

.home-pro__standard-title {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--hp-ink);
}

.home-pro__standard-sub {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--hp-muted);
    max-width: 38rem;
}

.home-pro__standard-list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.home-pro__standard-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hp-ink);
    line-height: 1.4;
}

.home-pro__standard-check {
    flex-shrink: 0;
    color: var(--hp-pink);
    margin-top: 0.05rem;
}

.home-pro__standard-check svg {
    display: block;
}

.home-pro__standard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    align-items: center;
}

/* Image side */
.home-pro__standard-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-pro__standard-img-wrap {
    width: 100%;
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
}

.home-pro__standard-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

@media (max-width: 900px) {
    .home-pro__standard-inner {
        grid-template-columns: 1fr;
    }

    .home-pro__standard-visual {
        order: -1;
    }

    .home-pro__standard-img-wrap {
        max-width: 540px;
        margin: 0 auto;
    }

    .home-pro__standard-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .home-pro__standard-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Premium Bundle Section ---------- */
.home-pro__premium {
    padding: clamp(3rem, 6vw, 5rem) 0;
    background: var(--hp-surface);
    border-bottom: 1px solid var(--hp-line);
}

.home-pro__premium-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 5vw, 4rem);
    align-items: center;
}

/* Image side (left) */
.home-pro__premium-visual {
    display: flex;
    align-items: center;
    justify-content: center;
}

.home-pro__premium-img-wrap {
    width: 100%;
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
}

.home-pro__premium-img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Copy side (right) */
.home-pro__premium-label {
    display: inline-block;
    margin: 0 0 0.6rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #7c3aed;
}

.home-pro__premium-title {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 3.2vw, 2.2rem);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--hp-ink);
}

.home-pro__premium-sub {
    margin: 0 0 1.25rem;
    font-size: 1rem;
    line-height: 1.65;
    color: var(--hp-muted);
    max-width: 38rem;
}

.home-pro__premium-list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem 1rem;
}

.home-pro__premium-list-item {
    display: flex;
    align-items: flex-start;
    gap: 0.45rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--hp-ink);
    line-height: 1.4;
}

.home-pro__premium-check {
    flex-shrink: 0;
    color: #7c3aed;
    margin-top: 0.05rem;
}

.home-pro__premium-check svg {
    display: block;
}

.home-pro__premium-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 0.75rem;
    align-items: center;
}

@media (max-width: 900px) {
    .home-pro__premium-inner {
        grid-template-columns: 1fr;
    }

    .home-pro__premium-visual {
        order: -1;
    }

    .home-pro__premium-img-wrap {
        max-width: 540px;
        margin: 0 auto;
    }

    .home-pro__premium-list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 520px) {
    .home-pro__premium-list {
        grid-template-columns: 1fr;
    }
}

/* ---------- Alternating split rows (copy + image, equal columns) ---------- */
.home-pro__split-row {
    padding: clamp(2.5rem, 5vw, 4.25rem) 0;
    background: var(--hp-white);
}

.home-pro__split-row--surface {
    background: var(--hp-surface);
}

.home-pro__split-row-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(2rem, 4vw, 3.5rem);
    align-items: center;
}

.home-pro__split-row--img_right .home-pro__split-row-grid {
    grid-template-areas: 'copy visual';
}

.home-pro__split-row--img_left .home-pro__split-row-grid {
    grid-template-areas: 'visual copy';
}

.home-pro__split-row-copy {
    grid-area: copy;
    max-width: 36rem;
}

.home-pro__split-row-visual {
    grid-area: visual;
    position: relative;
    width: 100%;
    max-width: 32rem;
}

.home-pro__split-row--img_right .home-pro__split-row-visual {
    justify-self: end;
}

.home-pro__split-row--img_left .home-pro__split-row-visual {
    justify-self: start;
}

.home-pro__split-row-title {
    margin: 0 0 1rem;
    font-size: clamp(1.85rem, 3.2vw, 2.55rem);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -0.02em;
    color: var(--hp-blue);
}

.home-pro__split-row-intro {
    margin: 0 0 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.6;
    color: var(--hp-ink);
}

.home-pro__split-row-list {
    list-style: none;
    margin: 0 0 1.75rem;
    padding: 0;
}

.home-pro__split-row-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 0.45rem 0;
    font-size: 1rem;
    line-height: 1.5;
    color: var(--hp-ink);
}

.home-pro__split-row-check {
    flex-shrink: 0;
    color: var(--hp-blue);
    margin-top: 0.1rem;
}

.home-pro__split-row-pricing {
    margin: 0 0 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--hp-ink);
}

.home-pro__split-row-was {
    color: var(--hp-muted);
    text-decoration: line-through;
    text-decoration-thickness: 1px;
    margin-right: 0.15rem;
}

.home-pro__split-row-now-label {
    font-weight: 700;
    color: var(--hp-ink);
    margin-left: 0.15rem;
    margin-right: 0.35rem;
}

.home-pro__split-row-now {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--hp-pink);
    letter-spacing: -0.02em;
}

.home-pro__split-row-foot {
    margin: 0 0 1.5rem;
    font-size: 1.0625rem;
    line-height: 1.55;
    color: var(--hp-muted);
}

.home-pro__split-row-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.95rem 1.75rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    color: var(--hp-white);
    background: linear-gradient(180deg, #1a6cb8 0%, var(--hp-blue) 100%);
    box-shadow: 0 6px 20px rgba(0, 74, 141, 0.28);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.home-pro__split-row-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(0, 74, 141, 0.35);
}

.home-pro__split-row-cta:focus-visible {
    outline: 3px solid var(--hp-pink);
    outline-offset: 3px;
}

.home-pro__split-row-figure {
    margin: 0;
}

.home-pro__split-row-frame {
    position: relative;
    border-radius: var(--hp-radius-lg);
    overflow: hidden;
    border: 1px solid var(--hp-line);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.12);
    background: var(--hp-surface);
}

.home-pro__split-row-img {
    display: block;
    width: 100%;
    height: auto;
}

.home-pro__split-row-dim {
    margin: 0.5rem 0 0;
    font-size: 0.8125rem;
    line-height: 1.35;
    color: var(--hp-muted);
    text-align: center;
}

.home-pro__split-row-badge {
    position: absolute;
    right: 0.75rem;
    bottom: 0.75rem;
    max-width: 11rem;
    padding: 0.85rem 1rem;
    border-radius: 999px;
    background: var(--hp-white);
    border: 1px solid var(--hp-line);
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    text-align: center;
}

.home-pro__split-row-stars {
    display: flex;
    gap: 0.15rem;
    color: var(--hp-pink);
}

.home-pro__split-row-badge-text {
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1.25;
    color: var(--hp-muted);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 960px) {
    .home-pro__split-row-grid {
        grid-template-columns: 1fr;
        grid-template-areas: 'visual' 'copy';
    }

    .home-pro__split-row-visual {
        justify-self: center !important;
        max-width: 28rem;
        margin-bottom: 0.35rem;
    }

    .home-pro__split-row-badge {
        right: 50%;
        transform: translateX(50%);
        bottom: 0.75rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-pro__split-row-cta:hover {
        transform: none;
    }
}

/* ---------- Sections shared ---------- */
.home-pro__section {
    padding: 3rem 0;
}

.home-pro__section--muted {
    background: var(--hp-surface);
}

.home-pro__section-head {
    text-align: center;
    max-width: 42rem;
    margin: 0 auto 2.25rem;
}

.home-pro__h2 {
    font-size: clamp(1.35rem, 2.5vw, 1.85rem);
    font-weight: 800;
    color: var(--hp-blue);
    margin: 0 0 0.5rem;
    letter-spacing: -0.02em;
}

.home-pro__lead {
    margin: 0;
    color: var(--hp-muted);
    font-size: 1.0625rem;
    line-height: 1.55;
}

/* ---------- Hardware grid ---------- */
.home-pro__hw-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}

.home-pro__hw-card {
    background: var(--hp-white);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
    padding: 1rem 0.75rem;
    text-align: center;
    transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-pro__hw-card:hover {
    box-shadow: 0 10px 30px rgba(0, 74, 141, 0.1);
    border-color: rgba(0, 74, 141, 0.25);
}

.home-pro__hw-icon {
    width: 3rem;
    height: 3rem;
    margin: 0 auto 0.75rem;
    color: var(--hp-blue);
}

.home-pro__hw-title {
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.35;
    margin: 0;
    color: var(--hp-ink);
}

/* ---------- Specs bar ---------- */
.home-pro__specs {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding: 1.25rem 1.5rem;
    background: var(--hp-white);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius);
}

.home-pro__spec {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.875rem;
    color: var(--hp-muted);
}

.home-pro__spec svg {
    flex-shrink: 0;
    color: var(--hp-green);
}

.home-pro__spec strong {
    display: block;
    color: var(--hp-ink);
    font-size: 0.9375rem;
    margin-bottom: 0.15rem;
}

/* ---------- Software split ---------- */
.home-pro__split {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2.5rem;
    align-items: start;
}

.home-pro__soft-list {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
}

.home-pro__soft-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    padding: 0.5rem 0;
    font-size: 1rem;
    color: var(--hp-ink);
}

.home-pro__soft-list svg {
    flex-shrink: 0;
    color: var(--hp-green);
    margin-top: 0.15rem;
}

.home-pro__dash {
    margin: 0;
    border-radius: var(--hp-radius-lg);
    border: 1px solid var(--hp-line);
    background: linear-gradient(180deg, #fff 0%, var(--hp-surface) 100%);
    padding: 1.25rem 1.35rem 1.15rem;
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.06);
}

.home-pro__dash-title {
    font-size: 0.875rem;
    font-weight: 800;
    color: var(--hp-blue);
    margin: 0 0 0.85rem;
    letter-spacing: -0.01em;
}

.home-pro__dash-chart {
    border-radius: 12px;
    background: linear-gradient(145deg, rgba(0, 74, 141, 0.06) 0%, rgba(248, 250, 252, 1) 45%, rgba(31, 138, 68, 0.07) 100%);
    padding: 0.35rem 0.25rem 0.15rem;
    overflow: hidden;
}

.home-pro__growth-chart {
    line-height: 0;
}

.home-pro__growth-svg {
    display: block;
    width: 100%;
    height: auto;
    max-height: 220px;
}

.home-pro__growth-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.65rem;
    margin-top: 1rem;
    padding-top: 0.85rem;
    border-top: 1px solid var(--hp-line);
}

.home-pro__growth-stat {
    text-align: center;
}

.home-pro__growth-stat-value {
    display: block;
    font-size: 1.125rem;
    font-weight: 800;
    color: var(--hp-green);
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.home-pro__growth-stat-label {
    display: block;
    margin-top: 0.2rem;
    font-size: 0.6875rem;
    font-weight: 600;
    color: var(--hp-muted);
    line-height: 1.25;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

@media (max-width: 520px) {
    .home-pro__growth-stats {
        grid-template-columns: 1fr;
        gap: 0.5rem;
    }

    .home-pro__growth-stat {
        display: flex;
        align-items: center;
        justify-content: space-between;
        text-align: left;
        gap: 0.75rem;
    }

    .home-pro__growth-stat-value {
        font-size: 1rem;
    }
}

.home-pro__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
    padding: 0.65rem 1rem;
    background: linear-gradient(135deg, var(--hp-green) 0%, var(--hp-green-dark) 100%);
    color: var(--hp-white);
    font-weight: 800;
    font-size: 0.8125rem;
    border-radius: 8px;
    box-shadow: 0 6px 20px rgba(31, 138, 68, 0.35);
}

.home-pro__btn--green {
    background: linear-gradient(135deg, var(--hp-green) 0%, var(--hp-green-dark) 100%);
    color: var(--hp-white);
    box-shadow: 0 6px 22px rgba(31, 138, 68, 0.35);
}

.home-pro__btn--green:hover {
    transform: translateY(-2px);
}

/* ---------- Trust row ---------- */
.home-pro__trust {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    text-align: center;
}

.home-pro__trust-card {
    padding: 1.5rem 1rem;
    border-radius: var(--hp-radius);
    border: 1px solid var(--hp-line);
    background: var(--hp-white);
}

.home-pro__trust-card svg {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--hp-blue);
    margin-bottom: 0.75rem;
}

.home-pro__trust-card h3 {
    margin: 0 0 0.5rem;
    font-size: 1rem;
    font-weight: 800;
    color: var(--hp-ink);
}

.home-pro__trust-card p {
    margin: 0;
    font-size: 0.9375rem;
    color: var(--hp-muted);
    line-height: 1.5;
}

/* ---------- CTA strip ---------- */
.home-pro__cta-strip {
    background: linear-gradient(135deg, var(--hp-blue) 0%, var(--hp-blue-dark) 100%);
    color: var(--hp-white);
    padding: 2.5rem 0;
    text-align: center;
}

.home-pro__cta-strip h2 {
    margin: 0 0 0.5rem;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--hp-white);
}

.home-pro__cta-strip p {
    margin: 0 0 1.25rem;
    opacity: 0.92;
}

.home-pro__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}

/* ---------- Popup ---------- */
.home-pro-popup {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 100000;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.72);
    overflow-y: auto;
}

.home-pro-popup__panel {
    background: var(--hp-white);
    border-radius: var(--hp-radius-lg);
    padding: 2rem 1.75rem;
    max-width: 28rem;
    width: 100%;
    position: relative;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.home-pro-popup__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 2.5rem;
    height: 2.5rem;
    border: none;
    background: transparent;
    font-size: 1.75rem;
    line-height: 1;
    cursor: pointer;
    color: var(--hp-muted);
    border-radius: 8px;
}

.home-pro-popup__close:hover {
    background: var(--hp-surface);
    color: var(--hp-ink);
}

.home-pro-popup__close:focus-visible {
    outline: 3px solid var(--hp-blue);
    outline-offset: 2px;
}

.home-pro-popup__title {
    margin: 0 0 0.35rem;
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--hp-ink);
}

.home-pro-popup__intro {
    margin: 0 0 1.5rem;
    color: var(--hp-muted);
    font-size: 0.9375rem;
}

.home-pro-popup label {
    display: block;
    margin-bottom: 0.35rem;
    font-weight: 600;
    font-size: 0.875rem;
    color: var(--hp-ink);
}

.home-pro-popup input[type="text"],
.home-pro-popup input[type="tel"] {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 2px solid var(--hp-line);
    border-radius: 8px;
    font-size: 1rem;
    margin-bottom: 1rem;
}

.home-pro-popup input[readonly] {
    background: var(--hp-surface);
    color: var(--hp-muted);
}

.home-pro-popup__submit {
    width: 100%;
    padding: 0.875rem;
    border: none;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    background: linear-gradient(135deg, var(--hp-green) 0%, var(--hp-green-dark) 100%);
    color: var(--hp-white);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.home-pro-popup__submit:hover:not(:disabled) {
    filter: brightness(1.05);
}

.home-pro-popup__submit:disabled {
    opacity: 0.85;
    cursor: wait;
}

.home-pro-popup__msg {
    margin-top: 0.75rem;
    text-align: center;
    font-weight: 600;
    font-size: 0.9375rem;
    min-height: 1.5rem;
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
    .home-pro__hero-inner,
    .home-pro__split {
        grid-template-columns: 1fr;
    }

    .home-pro__hero-inner {
        gap: 1.75rem;
    }

    .home-pro__hero-title {
        max-width: none;
    }

    .home-pro__hero-media {
        order: -1;
        max-width: 100%;
        margin-left: 0;
    }

    .home-pro__hw-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-pro__specs {
        grid-template-columns: 1fr 1fr;
    }

    .home-pro__trust {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 520px) {
    .home-pro__hw-grid {
        grid-template-columns: 1fr;
    }

    .home-pro__specs {
        grid-template-columns: 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .home-pro__btn,
    .home-pro__hw-card {
        transition: none;
    }

    .home-pro__btn--primary:hover,
    .home-pro__btn--epos-primary:hover,
    .home-pro__btn--green:hover {
        transform: none;
    }
}

/* =========================================================
   Combined Reviews Section  –  .hp-reviews
   ========================================================= */

.hp-reviews {
    padding: clamp(60px, 8vw, 100px) 0;
    background: linear-gradient(160deg, #0d1b35 0%, #0a2444 60%, #0c1f3a 100%);
    position: relative;
    overflow: hidden;
}

/* subtle decorative blobs */
.hp-reviews::before,
.hp-reviews::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    opacity: .12;
}
.hp-reviews::before {
    width: 600px; height: 600px;
    background: radial-gradient(circle, #3b82f6 0%, transparent 70%);
    top: -200px; left: -150px;
}
.hp-reviews::after {
    width: 500px; height: 500px;
    background: radial-gradient(circle, #00b67a 0%, transparent 70%);
    bottom: -180px; right: -100px;
}

.hp-reviews-inner {
    position: relative;
    z-index: 1;
}

/* ----- header ----- */
.hp-reviews-head {
    text-align: center;
    margin-bottom: 56px;
}

.hp-reviews-label {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #60a5fa;
    margin-bottom: 14px;
}

.hp-reviews-title {
    font-size: clamp(1.8rem, 4vw, 2.75rem);
    font-weight: 800;
    color: #f8fafc;
    line-height: 1.2;
    margin: 0 0 14px;
}

.hp-reviews-sub {
    font-size: clamp(.95rem, 2vw, 1.1rem);
    color: #94a3b8;
    max-width: 52ch;
    margin: 0 auto 40px;
    line-height: 1.6;
}

/* ----- platform pills ----- */
.hp-reviews-platforms {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hp-reviews-platform {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,.07);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 16px 24px;
    text-decoration: none;
    transition: background .2s, border-color .2s, transform .2s;
    cursor: pointer;
}
.hp-reviews-platform:hover {
    background: rgba(255,255,255,.12);
    border-color: rgba(255,255,255,.22);
    transform: translateY(-2px);
}

.hp-reviews-platform-logo {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
}

.hp-reviews-platform-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 3px;
}

.hp-reviews-platform-name {
    font-size: .8rem;
    font-weight: 600;
    color: #cbd5e1;
    text-transform: uppercase;
    letter-spacing: .06em;
}

.hp-reviews-platform-stars {
    display: flex;
    gap: 2px;
    color: #facc15;
}
.hp-reviews-platform-stars--tp {
    color: #00b67a;
}

.hp-reviews-platform-score {
    font-size: .85rem;
    color: #94a3b8;
}
.hp-reviews-platform-score strong {
    color: #f1f5f9;
    font-weight: 700;
    margin-right: 3px;
}

/* ----- scrolling marquee ----- */
.hp-reviews-marquee-outer {
    overflow: hidden;
    mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 8%, #000 92%, transparent 100%);
    margin-bottom: 44px;
}

.hp-reviews-marquee-track {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    list-style: none;
    margin: 0;
    padding: 12px 0;
    gap: 20px;
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    animation: hp-rv-marquee 50s linear infinite;
    -webkit-animation: hp-rv-marquee 50s linear infinite;
}
.hp-reviews-marquee-outer:hover .hp-reviews-marquee-track {
    animation-play-state: paused;
    -webkit-animation-play-state: paused;
}

@-webkit-keyframes hp-rv-marquee {
    0%   { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); }
    100% { -webkit-transform: translate3d(-50%, 0, 0); transform: translate3d(-50%, 0, 0); }
}
@keyframes hp-rv-marquee {
    0%   { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
}

@media (max-width: 1024px) {
    .hp-reviews-marquee-track {
        animation-duration: 65s !important;
        -webkit-animation-duration: 65s !important;
    }
}

@media (max-width: 768px) {
    .hp-reviews-marquee-track {
        animation-duration: 80s !important;
        -webkit-animation-duration: 80s !important;
    }
    .hp-reviews-card { flex: 0 0 260px; }
}

@media (max-width: 480px) {
    .hp-reviews-marquee-track {
        animation-duration: 95s !important;
        -webkit-animation-duration: 95s !important;
    }
    .hp-reviews-card { flex: 0 0 230px; padding: 16px; }
}

@media (max-width: 430px) {
    .hp-reviews-marquee-track {
        animation-duration: 105s !important;
        -webkit-animation-duration: 105s !important;
    }
}

@media (max-width: 390px) {
    .hp-reviews-marquee-track {
        animation-duration: 115s !important;
        -webkit-animation-duration: 115s !important;
    }
    .hp-reviews-card { flex: 0 0 210px; }
}

/* ----- review card ----- */
.hp-reviews-card {
    flex: 0 0 320px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    transition: background .2s, border-color .2s;
    cursor: default;
}
.hp-reviews-card:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.18);
}

.hp-reviews-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hp-reviews-card-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 800;
    color: #fff;
    flex-shrink: 0;
    text-transform: uppercase;
}

.hp-reviews-card-meta {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
    min-width: 0;
}

.hp-reviews-card-name {
    font-size: .9rem;
    font-weight: 700;
    color: #f1f5f9;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.hp-reviews-card-date {
    font-size: .75rem;
    color: #64748b;
}

.hp-reviews-card-badge {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-left: auto;
}

.hp-reviews-card-stars {
    display: flex;
    gap: 2px;
    color: #facc15;
}
.hp-reviews-card--trustpilot .hp-reviews-card-stars {
    color: #00b67a;
}

.hp-reviews-card-text {
    font-size: .88rem;
    color: #cbd5e1;
    line-height: 1.65;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ----- footer links ----- */
.hp-reviews-footer {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.hp-reviews-footer-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .9rem;
    font-weight: 600;
    color: #60a5fa;
    text-decoration: none;
    transition: color .2s;
}
.hp-reviews-footer-link:hover {
    color: #93c5fd;
}
.hp-reviews-footer-link--tp {
    color: #34d399;
}
.hp-reviews-footer-link--tp:hover {
    color: #6ee7b7;
}

/* ----- responsive ----- */
@media (max-width: 640px) {
    .hp-reviews-platform {
        padding: 12px 16px;
    }
    .hp-reviews-card {
        flex: 0 0 272px;
        padding: 18px;
    }
    .hp-reviews-footer {
        gap: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hp-reviews-marquee-track {
        animation: none;
        flex-wrap: wrap;
        width: 100%;
        justify-content: center;
    }
    .hp-reviews-card {
        flex: 0 0 auto;
        width: calc(50% - 10px);
        min-width: 260px;
    }
}

/* =========================================================
   Demo Booking Section  –  .hp-demo  (compact)
   ========================================================= */

.hp-demo {
    padding: clamp(40px, 6vw, 72px) 0;
    background: #f8fafc;
    position: relative;
    overflow: hidden;
}

.hp-demo::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, #bfdbfe 0%, transparent 70%);
    pointer-events: none;
    opacity: .45;
}

.hp-demo-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
    gap: clamp(28px, 4vw, 52px);
    align-items: start;
}

/* ----- Left copy ----- */
.hp-demo-label {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .11em;
    text-transform: uppercase;
    color: #2563eb;
    margin-bottom: 8px;
}

.hp-demo-title {
    font-size: clamp(1.35rem, 2.8vw, 1.9rem);
    font-weight: 800;
    color: #0f172a;
    line-height: 1.25;
    margin: 0 0 10px;
}

.hp-demo-sub {
    font-size: .98rem;
    color: #475569;
    line-height: 1.65;
    margin: 0 0 20px;
    max-width: 52ch;
}

.hp-demo-perks {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.hp-demo-perks li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: .94rem;
    font-weight: 600;
    color: #1e293b;
}

.hp-demo-perk-icon {
    flex-shrink: 0;
    display: flex;
}

.hp-demo-trust {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: .78rem;
    font-weight: 600;
    color: #64748b;
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-radius: 7px;
    padding: 6px 11px;
}

/* ----- Contact details (beside form — larger type for readability) ----- */
.hp-demo-contact {
    display: flex;
    flex-direction: column;
    gap: 0;
    border: 1.5px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 0;
    background: #fff;
}

.hp-demo-contact-row {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px 18px;
    border-bottom: 1px solid #f1f5f9;
    text-decoration: none;
    color: inherit;
    transition: background .12s;
}

.hp-demo-contact-row:last-child { border-bottom: none; }
a.hp-demo-contact-row:hover { background: #f8fafc; }

.hp-demo-contact-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    border-radius: 10px;
    color: #2563eb;
    margin-top: 2px;
}

.hp-demo-contact-row > div {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.hp-demo-contact-label {
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: #64748b;
    line-height: 1.2;
}

.hp-demo-contact-value {
    font-size: 1.05rem;
    font-weight: 600;
    color: #0f172a;
    line-height: 1.5;
}

a.hp-demo-contact-row .hp-demo-contact-value {
    color: #1d4ed8;
}

.hp-demo-maps-link {
    display: inline-block;
    margin-top: 4px;
    font-size: 0.9375rem;
    font-weight: 700;
    color: #2563eb;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.hp-demo-maps-link:hover {
    color: #1e40af;
}

/* ----- Form card ----- */
.hp-demo-form-wrap {
    background: #ffffff;
    border-radius: 16px;
    padding: clamp(20px, 3vw, 32px);
    box-shadow: 0 2px 4px rgba(0,0,0,.04), 0 8px 28px -4px rgba(15,23,42,.1);
    border: 1px solid #e2e8f0;
}

/* Embedded “form only” — Services / YouLend hero */
.hp-demo.hp-demo--solo {
    padding: 0;
    margin: 0;
    background: transparent;
    overflow: visible;
}

.hp-demo.hp-demo--solo::before {
    display: none;
}

.hp-demo-form-wrap--solo {
    padding: clamp(22px, 3.5vw, 30px);
    border-radius: 20px;
    border: 1px solid rgba(226, 232, 240, 0.98);
    background: linear-gradient(165deg, #ffffff 0%, #f8fafc 52%, #f1f5f9 100%);
    box-shadow:
        0 1px 0 rgba(255, 255, 255, 0.9) inset,
        0 20px 48px -14px rgba(15, 23, 42, 0.16),
        0 0 0 1px rgba(15, 23, 42, 0.04);
}

.hp-demo-solo-banner {
    margin-bottom: clamp(14px, 2.5vw, 20px);
    padding-bottom: clamp(14px, 2vw, 18px);
    border-bottom: 1px solid rgba(226, 232, 240, 0.95);
}

.hp-demo--solo .hp-demo-label {
    margin-bottom: 6px;
}

.hp-demo-title--solo {
    font-size: clamp(1.12rem, 2.4vw, 1.42rem);
    letter-spacing: -0.03em;
    margin-bottom: 8px;
}

.hp-demo-sub--solo {
    font-size: 0.875rem;
    margin-bottom: 0;
    max-width: none;
    color: #64748b;
    line-height: 1.55;
}

.hp-demo-solo-body {
    margin-top: 0;
}

.hp-demo-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.hp-demo-row--2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hp-demo-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hp-demo-field-label {
    font-size: .8rem;
    font-weight: 700;
    color: #1e293b;
    letter-spacing: .01em;
}

.hp-demo-req { color: #ef4444; margin-left: 2px; }

.hp-demo-optional {
    font-size: .76rem;
    font-weight: 400;
    color: #94a3b8;
    margin-left: 3px;
}

.hp-demo-field-hint {
    font-size: .73rem;
    color: #94a3b8;
    margin: 0;
}

/* inputs */
.hp-demo-input {
    width: 100%;
    padding: 9px 12px;
    font-size: .88rem;
    font-family: inherit;
    color: #0f172a;
    background: #f8fafc;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    outline: none;
    transition: border-color .15s, box-shadow .15s;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
}

.hp-demo-input:focus {
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37,99,235,.1);
    background: #fff;
}

.hp-demo-input.hp-demo-invalid {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239,68,68,.09);
}

.hp-demo-textarea {
    resize: vertical;
    min-height: 66px;
}

/* select */
.hp-demo-select-wrap { position: relative; }

.hp-demo-select { padding-right: 38px; cursor: pointer; }

.hp-demo-select-arrow {
    position: absolute;
    right: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: #64748b;
    pointer-events: none;
}

/* ----- Date slot picker ----- */
.hp-demo-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.hp-demo-slot {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    padding: 7px 10px;
    border: 1.5px solid #e2e8f0;
    border-radius: 8px;
    background: #f8fafc;
    cursor: pointer;
    transition: border-color .13s, background .13s, color .13s, box-shadow .13s;
    font-family: inherit;
    min-width: 52px;
    text-align: center;
}

.hp-demo-slot:hover {
    border-color: #93c5fd;
    background: #eff6ff;
    color: #1d4ed8;
}

.hp-demo-slot--selected {
    border-color: #2563eb;
    background: #2563eb;
    color: #fff;
    box-shadow: 0 1px 6px rgba(37,99,235,.3);
}

.hp-demo-slot-day {
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #94a3b8;
    line-height: 1;
}

.hp-demo-slot--selected .hp-demo-slot-day { color: rgba(255,255,255,.8); }

.hp-demo-slot-num {
    font-size: .95rem;
    font-weight: 700;
    color: #1e293b;
    line-height: 1;
}

.hp-demo-slot--selected .hp-demo-slot-num { color: #fff; }

.hp-demo-slot-mon {
    font-size: .63rem;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1;
}

.hp-demo-slot--selected .hp-demo-slot-mon { color: rgba(255,255,255,.75); }

.hp-demo-slots-label {
    margin: 6px 0 0;
    font-size: .78rem;
    font-weight: 600;
    color: #2563eb;
    min-height: 1em;
}

/* ----- Submit button ----- */
.hp-demo-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 12px 20px;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 100%);
    color: #fff;
    font-size: .92rem;
    font-weight: 700;
    font-family: inherit;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: opacity .15s, transform .15s, box-shadow .15s;
    box-shadow: 0 3px 10px rgba(37,99,235,.3);
}

.hp-demo-submit:hover {
    opacity: .91;
    transform: translateY(-1px);
    box-shadow: 0 5px 16px rgba(37,99,235,.4);
}
.hp-demo-submit:active { transform: translateY(0); }
.hp-demo-submit:disabled { opacity: .6; cursor: not-allowed; transform: none; }

.hp-demo-submit-spinner {
    display: none;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255,255,255,.3);
    border-top-color: #fff;
    border-radius: 50%;
    animation: hp-spin .65s linear infinite;
    flex-shrink: 0;
}

.hp-demo-submit.hp-demo-loading .hp-demo-submit-text,
.hp-demo-submit.hp-demo-loading .hp-demo-submit-arrow { display: none; }
.hp-demo-submit.hp-demo-loading .hp-demo-submit-spinner { display: block; }

@keyframes hp-spin { to { transform: rotate(360deg); } }

/* ----- Status message ----- */
.hp-demo-msg {
    border-radius: 8px;
    padding: 11px 14px;
    font-size: .85rem;
    font-weight: 500;
    line-height: 1.5;
}

.hp-demo-msg--success { background: #f0fdf4; border: 1.5px solid #86efac; color: #166534; }
.hp-demo-msg--error   { background: #fef2f2; border: 1.5px solid #fca5a5; color: #991b1b; }

/* ----- Responsive ----- */
@media (max-width: 900px) {
    .hp-demo-inner { grid-template-columns: 1fr; }
    .hp-demo::before { display: none; }
}

@media (max-width: 560px) {
    .hp-demo-row--2 { grid-template-columns: 1fr; }
    .hp-demo-form-wrap { padding: 18px 14px; }
}

/* =============================================================
   GLOBAL RESPONSIVE — all Home Pro sections
   ============================================================= */

/* ---- Hero ---- */
@media (max-width: 768px) {
    .home-pro__hero-title {
        font-size: clamp(1.6rem, 6vw, 2.2rem);
    }
    .home-pro__hero-lead {
        font-size: .9rem;
    }
    .home-pro__hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .home-pro__hero-actions .home-pro__btn {
        text-align: center;
        width: 100%;
        justify-content: center;
    }
    .home-pro__hero-trust {
        max-width: 100%;
        gap: 0.4rem 0.75rem;
    }
}

@media (max-width: 480px) {
    .home-pro__hero-trust {
        grid-template-columns: 1fr;
    }
    .home-pro__hero-tagline {
        font-size: .78rem;
    }
}

/* ---- Partners strip ---- */
@media (max-width: 480px) {
    .home-pro__partners-heading {
        font-size: .9rem;
        padding: 0 16px;
    }
}

/* ---- Product sections (retail / standard / premium / hosp) ---- */
@media (max-width: 960px) {
    .home-pro__retail-inner,
    .home-pro__standard-inner,
    .home-pro__premium-inner,
    .home-pro__hosp-inner {
        grid-template-columns: 1fr;
        gap: 28px;
    }
    /* image always on top on mobile */
    .home-pro__retail-visual,
    .home-pro__premium-visual { order: -1; }

    .home-pro__retail-img-wrap,
    .home-pro__standard-img-wrap,
    .home-pro__premium-img-wrap,
    .home-pro__hosp-img-wrap {
        max-width: 420px;
        margin: 0 auto;
    }

    .home-pro__retail-list,
    .home-pro__standard-list,
    .home-pro__premium-list,
    .home-pro__hosp-list {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .home-pro__retail-title,
    .home-pro__standard-title,
    .home-pro__premium-title,
    .home-pro__hosp-title {
        font-size: clamp(1.4rem, 5vw, 1.8rem);
    }

    .home-pro__retail-actions,
    .home-pro__standard-actions,
    .home-pro__premium-actions,
    .home-pro__hosp-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .home-pro__retail-actions .home-pro__btn,
    .home-pro__standard-actions .home-pro__btn,
    .home-pro__premium-actions .home-pro__btn,
    .home-pro__hosp-actions .home-pro__btn {
        text-align: center;
        justify-content: center;
        width: 100%;
    }
}

/* ---- Reviews section ---- */
@media (max-width: 640px) {
    .hp-reviews-head { margin-bottom: 32px; }
    .hp-reviews-platforms { flex-direction: column; align-items: center; }
    .hp-reviews-platform { width: 100%; max-width: 320px; }
}

/* ---- Demo booking ---- */
@media (max-width: 900px) {
    .hp-demo-inner { grid-template-columns: 1fr; }
    .hp-demo-copy .hp-demo-sub { max-width: 100%; }
}

@media (max-width: 480px) {
    .hp-demo-slots { gap: 5px; }
    .hp-demo-slot { min-width: 44px; padding: 6px 7px; }
    .hp-demo-slot-num { font-size: .88rem; }
    .hp-demo-contact-row { padding: 14px 14px; gap: 12px; }
}

/* ---- General container safety ---- */
@media (max-width: 480px) {
    .container {
        padding-left: 16px;
        padding-right: 16px;
    }
    .home-pro__btn {
        font-size: .88rem;
        padding: 11px 18px;
    }
}

/* ---- Ensure images never overflow ---- */
.home-pro img,
.hp-reviews img,
.hp-demo img {
    max-width: 100%;
    height: auto;
}

/* Hero frame image: must not inherit loose height:auto from .home-pro img (fills framed area) */
.home-pro__hero-frame--epos img {
    max-width: 100%;
    width: 100%;
    height: 100%;
    min-height: 0;
    box-sizing: border-box;
    object-fit: cover;
    object-position: center 38%;
    flex-shrink: 0;
    padding: 0;
}

/* =============================================================
   RESPONSIVE POLISH — section-by-section mobile refinements
   ============================================================= */

/* ── Hero ──────────────────────────────────────────────────── */
@media (max-width: 960px) {
    .home-pro__hero--epos {
        padding: 1.75rem 0 2rem;
    }
    .home-pro__hero-inner {
        gap: 1.5rem;
    }
    .home-pro__hero-frame--epos {
        aspect-ratio: 1024 / 847;
        max-height: min(52vw, 380px);
    }
}

@media (max-width: 640px) {
    .home-pro__hero--epos {
        padding: 1.25rem 0 1.75rem;
    }
    .home-pro__hero-title {
        font-size: clamp(1.45rem, 7vw, 2rem);
        margin-bottom: 0.75rem;
    }
    .home-pro__hero-lead {
        font-size: 0.875rem;
        margin-bottom: 1rem;
    }
    /* Lifestyle hero — match café banner asset ratio */
    .home-pro__hero-frame--epos {
        aspect-ratio: 1024 / 847;
        max-height: none;
        margin-inline: 0;
        max-width: 100%;
    }
    .home-pro__hero-frame--epos img {
        object-position: center 36%;
        padding: 0;
    }
    .home-pro__hero-trust {
        gap: 0.4rem 0.85rem;
    }
    .home-pro__hero-trust-item {
        font-size: 0.8rem;
    }
    .home-pro__hero-tagline {
        font-size: 0.8125rem;
    }
}

@media (max-width: 400px) {
    .home-pro__hero-frame--epos {
        aspect-ratio: 1024 / 847;
    }
}

/* ── Partners strip ────────────────────────────────────────── */
@media (max-width: 640px) {
    .home-pro__partners {
        padding: 0.4rem 0 0.6rem;
    }
    .home-pro__partners-heading {
        font-size: 0.72rem;
        margin-bottom: 0.4rem;
    }
}

/* ── Product sections (retail / standard / premium / hosp) ── */
@media (max-width: 960px) {
    .home-pro__retail,
    .home-pro__standard,
    .home-pro__premium,
    .home-pro__hosp {
        padding: 2.25rem 0;
    }
    /* make images more generous on tablet */
    .home-pro__retail-img-wrap,
    .home-pro__standard-img-wrap,
    .home-pro__premium-img-wrap,
    .home-pro__hosp-img-wrap {
        max-width: 480px;
    }
}

@media (max-width: 640px) {
    .home-pro__retail,
    .home-pro__standard,
    .home-pro__premium,
    .home-pro__hosp {
        padding: 1.75rem 0;
    }
    .home-pro__retail-title,
    .home-pro__standard-title,
    .home-pro__premium-title,
    .home-pro__hosp-title {
        font-size: clamp(1.3rem, 5.5vw, 1.75rem);
        margin-bottom: 0.75rem;
    }
    .home-pro__retail-sub,
    .home-pro__standard-sub,
    .home-pro__premium-sub,
    .home-pro__hosp-sub {
        font-size: 0.9rem;
        margin-bottom: 1rem;
    }
    .home-pro__hosp-perfect {
        font-size: 0.875rem;
    }
    .home-pro__retail-list,
    .home-pro__standard-list,
    .home-pro__premium-list,
    .home-pro__hosp-list {
        gap: 0.45rem;
        margin-bottom: 1.25rem;
    }
    .home-pro__retail-img-wrap,
    .home-pro__standard-img-wrap,
    .home-pro__premium-img-wrap,
    .home-pro__hosp-img-wrap {
        max-width: 100%;
        border-radius: 12px;
    }
    .home-pro__retail-inner,
    .home-pro__standard-inner,
    .home-pro__premium-inner,
    .home-pro__hosp-inner {
        gap: 1.5rem;
    }
}

@media (max-width: 390px) {
    .home-pro__retail,
    .home-pro__standard,
    .home-pro__premium,
    .home-pro__hosp {
        padding: 1.5rem 0;
    }
    .home-pro__retail-list-item,
    .home-pro__standard-list-item,
    .home-pro__premium-list-item,
    .home-pro__hosp-list-item {
        font-size: 0.82rem;
    }
}

/* ── Reviews section ───────────────────────────────────────── */
@media (max-width: 960px) {
    .hp-reviews {
        padding: 3rem 0;
    }
    .hp-reviews-head {
        margin-bottom: 36px;
    }
    .hp-reviews-title {
        font-size: clamp(1.5rem, 5vw, 2.25rem);
    }
}

@media (max-width: 640px) {
    .hp-reviews {
        padding: 2.5rem 0;
    }
    .hp-reviews-head {
        margin-bottom: 28px;
    }
    .hp-reviews-sub {
        font-size: 0.875rem;
        margin-bottom: 28px;
    }
    .hp-reviews-platform {
        gap: 10px;
        padding: 12px 18px;
    }
    .hp-reviews-platform-logo {
        width: 32px;
        height: 32px;
    }
    .hp-reviews-marquee-outer {
        margin-bottom: 28px;
    }
    .hp-reviews-footer {
        gap: 14px;
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 390px) {
    .hp-reviews {
        padding: 2rem 0;
    }
    .hp-reviews-label {
        font-size: 0.68rem;
    }
    .hp-reviews-title {
        font-size: 1.4rem;
    }
    .hp-reviews-card {
        flex: 0 0 200px;
        padding: 14px;
        gap: 10px;
    }
    .hp-reviews-card-text {
        font-size: 0.82rem;
    }
}

/* ── Demo booking ──────────────────────────────────────────── */
@media (max-width: 900px) {
    .hp-demo {
        padding: 2.25rem 0;
    }
    .hp-demo-inner {
        gap: 2rem;
    }
}

@media (max-width: 640px) {
    .hp-demo {
        padding: 1.75rem 0;
    }
    .hp-demo-title {
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }
    .hp-demo-sub {
        font-size: 0.85rem;
        max-width: 100%;
    }
    .hp-demo-form-wrap {
        padding: 18px 14px;
        border-radius: 12px;
    }
    .hp-demo-slots {
        gap: 5px;
    }
    .hp-demo-slot {
        min-width: 48px;
        padding: 6px 8px;
    }
}

@media (max-width: 390px) {
    .hp-demo {
        padding: 1.5rem 0;
    }
    .hp-demo-slot {
        min-width: 42px;
        padding: 5px 6px;
    }
    .hp-demo-slot-day { font-size: 0.6rem; }
    .hp-demo-slot-num { font-size: 0.85rem; }
    .hp-demo-slot-mon { font-size: 0.58rem; }
    .hp-demo-contact-row {
        padding: 12px 12px;
        gap: 10px;
    }
    .hp-demo-contact-icon {
        width: 38px;
        height: 38px;
    }
    .hp-demo-contact-value {
        font-size: 0.98rem;
    }
    .hp-demo-maps-link {
        font-size: 0.875rem;
    }
    .hp-demo-form {
        gap: 12px;
    }
}

/* ── Global small-screen safety net ───────────────────────── */
@media (max-width: 480px) {
    .home-pro .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    .home-pro__btn {
        font-size: 0.875rem;
        padding: 0.75rem 1.1rem;
    }
}

@media (max-width: 390px) {
    .home-pro .container {
        padding-left: 0.85rem;
        padding-right: 0.85rem;
    }
    .home-pro__btn {
        font-size: 0.84rem;
        padding: 0.7rem 1rem;
    }
    /* tighten review section heading on tiny phones */
    .hp-reviews-platforms {
        gap: 10px;
    }
    .hp-reviews-platform {
        padding: 10px 14px;
    }
}

/* Reused blog strip (see template-parts/home/blog-section.php + sections/blog.css) */
.home-pro__blog-embed {
    width: 100%;
    margin: 0;
    padding: 0;
}

/* ── About Us / Contact Us — match Home Pro typography & palette ───────── */
.about-pro-page,
.contact-pro-page {
    --hp-blue: #004a8d;
    --hp-blue-dark: #003566;
    --hp-green: #1f8a44;
    --hp-ink: #0f172a;
    --hp-muted: #475569;
    --hp-line: #e2e8f0;
    --hp-surface: #f8fafc;
    --hp-white: #ffffff;
    color: var(--hp-ink);
    background: var(--hp-white);
    font-family: var(--font-sans, 'Inter', ui-sans-serif, system-ui, -apple-system, sans-serif);
}

.about-pro-page .container,
.contact-pro-page .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.25rem;
}

.about-pro-page__hero {
    position: relative;
    overflow: hidden;
    /* Match Home Pro light hero ribbon — avoids fighting global h1/p colours */
    background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 42%, #e8eef4 100%);
    color: var(--hp-ink);
    padding: clamp(2.5rem, 5vw, 3.75rem) 0 clamp(2.75rem, 6vw, 4rem);
    text-align: center;
    border-bottom: 1px solid rgba(148, 163, 184, 0.35);
}

.about-pro-page__hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 55% at 92% 8%, rgba(0, 74, 141, 0.09) 0%, transparent 55%),
        radial-gradient(ellipse 55% 45% at 6% 88%, rgba(31, 138, 68, 0.1) 0%, transparent 52%);
    pointer-events: none;
}

.about-pro-page__hero-inner {
    position: relative;
    z-index: 1;
}

.about-pro-page__hero-wave {
    display: none;
}

.about-pro-page__hero-kicker {
    margin: 0 0 0.5rem;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--hp-blue);
}

.about-pro-page__hero-title {
    margin: 0 0 0.75rem;
    font-size: clamp(1.875rem, 4vw, 2.85rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.12;
    color: var(--hp-ink);
}

.about-pro-page__hero-lead {
    margin: 0 auto;
    max-width: 38rem;
    font-size: 1.0625rem;
    line-height: 1.62;
    color: var(--hp-muted);
    opacity: 1;
}

/* Scoped resets so global .site-main / layout styles cannot darken hero copy */
.about-pro-page__hero h1.about-pro-page__hero-title {
    color: var(--hp-ink);
}

.about-pro-page__hero p.about-pro-page__hero-lead {
    color: var(--hp-muted);
}

.about-pro-page__hero p.about-pro-page__hero-kicker {
    color: var(--hp-blue);
}

.about-pro-page__stats {
    margin-top: -1.5rem;
    position: relative;
    z-index: 2;
    padding-bottom: 0.25rem;
}

.about-pro-page__stats-row {
    list-style: none;
    margin: 0;
    padding: clamp(1rem, 2vw, 1.35rem) clamp(1rem, 2vw, 1.5rem);
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.5rem 1rem;
    background: var(--hp-white);
    border-radius: var(--hp-radius-lg, 20px);
    box-shadow: 0 20px 50px rgba(15, 23, 42, 0.11);
    border: 1px solid var(--hp-line);
}

.about-pro-page__stat {
    text-align: center;
    padding: 0.4rem 0.35rem;
}

.about-pro-page__stat-value {
    display: block;
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: -0.02em;
    color: var(--hp-blue);
}

.about-pro-page__stat-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 600;
    color: var(--hp-muted);
    margin-top: 0.25rem;
    line-height: 1.35;
}

.about-pro-page__section {
    padding: clamp(2.75rem, 5vw, 3.75rem) 0;
}

.about-pro-page__intro {
    padding-top: 2.25rem;
}

.about-pro-page__section--muted {
    background: var(--hp-surface);
}

.about-pro-page__section--center {
    text-align: center;
}

.about-pro-page__eyebrow {
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--hp-blue);
    margin: 0 0 0.6rem;
}

.about-pro-page__eyebrow--center {
    text-align: center;
}

.about-pro-page__section-head {
    max-width: 42rem;
    margin: 0 auto 2.25rem;
}

.about-pro-page__values {
    background: linear-gradient(180deg, var(--hp-surface) 0%, var(--hp-white) 55%);
}

.about-pro-page__split {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: clamp(1.75rem, 4vw, 2.75rem);
    align-items: center;
}

.about-pro-page__split-media {
    border-radius: var(--hp-radius-lg, 20px);
    overflow: hidden;
    box-shadow: 0 22px 55px rgba(15, 23, 42, 0.14);
}

.about-pro-page__split-media--elevated {
    box-shadow: 0 28px 60px rgba(15, 23, 42, 0.16);
}

.about-pro-page__split-media img {
    width: 100%;
    height: auto;
    display: block;
}

.about-pro-page__media-placeholder {
    min-height: 280px;
    background: linear-gradient(145deg, var(--hp-blue) 0%, #6366f1 100%);
}

.about-pro-page__media-placeholder--intro {
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--hp-blue) 0%, #1e40af 48%, #4338ca 100%);
}

.about-pro-page__intro-svg {
    opacity: 0.95;
    filter: drop-shadow(0 14px 28px rgba(0, 0, 0, 0.22));
}

.about-pro-page__media-placeholder--warm {
    background: linear-gradient(145deg, #f59e0b 0%, #ea580c 100%);
}

.about-pro-page__h2 {
    margin: 0 0 1rem;
    font-size: clamp(1.5rem, 2.8vw, 2.05rem);
    font-weight: 800;
    letter-spacing: -0.025em;
    color: var(--hp-ink);
    line-height: 1.2;
}

.about-pro-page__h2--center {
    text-align: center;
    margin-bottom: 1rem;
}

.about-pro-page__lead {
    margin: 0 0 1rem;
    color: var(--hp-muted);
    line-height: 1.75;
    font-size: 1rem;
}

.about-pro-page__lead--center {
    text-align: center;
}

.about-pro-page__lead--large {
    font-size: 1.0625rem;
}

.about-pro-page__lead--tight {
    margin-bottom: 0;
}

.about-pro-page__center-text {
    max-width: 42rem;
    margin-left: auto;
    margin-right: auto;
}

.about-pro-page__center {
    text-align: center;
    max-width: 44rem;
    margin: 0 auto;
}

.about-pro-page__value-cards {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.15rem;
}

.about-pro-page__value-card {
    background: var(--hp-white);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius-lg, 20px);
    padding: 1.45rem 1.25rem;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.06);
    transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.about-pro-page__value-card:hover {
    box-shadow: 0 18px 44px rgba(0, 74, 141, 0.11);
    transform: translateY(-3px);
}

.about-pro-page__value-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(145deg, #e8f4fc 0%, #dbeafe 100%);
    color: var(--hp-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.about-pro-page__value-title {
    margin: 0 0 0.45rem;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--hp-ink);
}

.about-pro-page__value-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.58;
    color: var(--hp-muted);
}

.about-pro-page__section--curve {
    background: var(--hp-white);
}

.about-pro-page__art-panel {
    position: relative;
    min-height: 300px;
    border-radius: var(--hp-radius-lg, 20px);
    background: linear-gradient(145deg, #f0f9ff 0%, #e0f2fe 42%, #dbeafe 100%);
    border: 1px solid #bae6fd;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem 1.5rem;
    box-shadow: 0 22px 55px rgba(14, 116, 179, 0.12);
    overflow: hidden;
}

.about-pro-page__art-glow {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(31, 138, 68, 0.22) 0%, transparent 68%);
    top: -48px;
    right: -48px;
    pointer-events: none;
}

.about-pro-page__art-svg {
    position: relative;
    z-index: 1;
}

.about-pro-page__art-caption {
    position: relative;
    z-index: 1;
    margin: 1.15rem 0 0;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--hp-muted);
    text-align: center;
    max-width: 15rem;
    line-height: 1.45;
}

.about-pro-page__team-wrap {
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.about-pro-page__team-card {
    position: relative;
    background: var(--hp-white);
    border-radius: var(--hp-radius-lg, 20px);
    padding: clamp(2rem, 4vw, 2.85rem) clamp(1.5rem, 4vw, 3rem);
    border: 1px solid var(--hp-line);
    box-shadow: 0 16px 44px rgba(15, 23, 42, 0.07);
    max-width: 720px;
    margin: 0 auto;
    overflow: hidden;
}

.about-pro-page__team-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--hp-green), var(--hp-blue));
}

.about-pro-page__mission-wrap {
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.about-pro-page__mission-card {
    position: relative;
    background: linear-gradient(135deg, var(--hp-blue-dark) 0%, var(--hp-blue) 92%);
    color: #fff;
    border-radius: var(--hp-radius-lg, 20px);
    padding: clamp(2rem, 5vw, 3rem) clamp(1.75rem, 5vw, 3.25rem);
    box-shadow: 0 24px 50px rgba(0, 53, 102, 0.35);
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
}

.about-pro-page__mission-quote {
    display: block;
    font-size: clamp(3rem, 8vw, 4rem);
    line-height: 0.45;
    font-family: Georgia, 'Times New Roman', serif;
    color: rgba(252, 211, 77, 0.88);
    margin-bottom: 0.65rem;
}

.about-pro-page__mission-title {
    margin: 0 0 1rem;
    font-size: clamp(1.35rem, 2.5vw, 1.75rem);
    font-weight: 800;
    letter-spacing: -0.02em;
}

.about-pro-page__mission-text {
    margin: 0;
    font-size: 1.0625rem;
    line-height: 1.72;
    color: rgba(255, 255, 255, 0.92);
}

.about-pro-page__band {
    background: linear-gradient(135deg, var(--hp-blue-dark) 0%, var(--hp-blue) 100%);
    color: #fff;
    padding: clamp(2.75rem, 5vw, 3.5rem) 0;
    text-align: center;
}

.about-pro-page__band-title {
    margin: 0 0 1rem;
    font-size: clamp(1.375rem, 2.5vw, 1.9rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #fcd34d;
}

.about-pro-page__band-text {
    margin: 0 auto;
    max-width: 42rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.02rem;
}

.about-pro-page__why-final {
    padding-bottom: 2.75rem;
}

.about-pro-page__why-layout {
    margin-bottom: 2rem;
}

.about-pro-page__why-layout--split {
    display: grid;
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.2fr);
    gap: 2.25rem;
    align-items: start;
}

.about-pro-page__why-visual--sticky img {
    width: 100%;
    height: auto;
    border-radius: var(--hp-radius-lg, 20px);
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.14);
}

.about-pro-page__benefits-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.75rem;
}

.about-pro-page__why-layout:not(.about-pro-page__why-layout--split) .about-pro-page__benefits-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.about-pro-page__benefit-card {
    display: flex;
    gap: 0.7rem;
    align-items: flex-start;
    padding: 0.95rem 1rem;
    background: var(--hp-white);
    border: 1px solid var(--hp-line);
    border-radius: var(--hp-radius, 12px);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.about-pro-page__benefit-card:hover {
    border-color: #bfdbfe;
    box-shadow: 0 8px 22px rgba(0, 74, 141, 0.08);
}

.about-pro-page__benefit-check {
    flex-shrink: 0;
    color: var(--hp-green);
    margin-top: 2px;
}

.about-pro-page__benefit-text {
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--hp-ink);
}

.about-pro-page__cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
}

.about-pro-page__actions {
    margin-top: 1.35rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.about-pro-page__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.82rem 1.35rem;
    border-radius: var(--hp-radius, 12px);
    font-weight: 700;
    font-size: 0.9375rem;
    text-decoration: none;
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.about-pro-page__btn--primary {
    background: var(--hp-green);
    color: #fff;
    box-shadow: 0 8px 22px rgba(31, 138, 68, 0.32);
}

.about-pro-page__btn--primary:hover {
    transform: translateY(-2px);
}

.about-pro-page__btn--ghost {
    background: transparent;
    color: var(--hp-blue);
    border: 2px solid var(--hp-line);
}

.about-pro-page__btn--ghost:hover {
    border-color: var(--hp-blue);
}

@media (min-width: 901px) {
    .about-pro-page__why-visual--sticky {
        position: sticky;
        top: 96px;
    }
}

.contact-pro-page__strip {
    background: var(--hp-surface);
    border-bottom: 1px solid var(--hp-line);
    padding: 1.35rem 0 1.5rem;
}

.contact-pro-page__strip-inner {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem 1rem;
    align-items: center;
    justify-content: center;
}

.contact-pro-page__pill {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.15rem;
    padding: 0.65rem 1rem;
    border-radius: var(--hp-radius, 12px);
    background: var(--hp-white);
    border: 1px solid var(--hp-line);
    text-decoration: none;
    color: var(--hp-ink);
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.06);
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.contact-pro-page__pill:hover {
    border-color: var(--hp-blue);
    box-shadow: 0 8px 22px rgba(0, 74, 141, 0.12);
}

.contact-pro-page__pill--wa .contact-pro-page__pill-value {
    color: #128c7e;
}

.contact-pro-page__pill-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--hp-muted);
}

.contact-pro-page__pill-value {
    font-weight: 700;
    font-size: 0.9rem;
    word-break: break-word;
}

.contact-pro-page__strip-note {
    flex: 1 1 100%;
    margin: 0.35rem 0 0;
    text-align: center;
    font-size: 0.875rem;
    color: var(--hp-muted);
    line-height: 1.55;
}

.contact-pro-page__strip-note a {
    color: var(--hp-blue);
    font-weight: 600;
    text-decoration: none;
}

.contact-pro-page__strip-note a:hover {
    text-decoration: underline;
}

.contact-pro-page__map iframe {
    width: 100%;
    vertical-align: middle;
}

@media (max-width: 900px) {
    .about-pro-page__stats-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .about-pro-page__split,
    .about-pro-page__why-layout--split {
        grid-template-columns: 1fr;
    }

    .about-pro-page__value-cards {
        grid-template-columns: 1fr;
    }

    .about-pro-page__why-layout:not(.about-pro-page__why-layout--split) .about-pro-page__benefits-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Approach: story before illustration on small screens */
    .about-pro-page__split--approach .about-pro-page__split-body {
        order: -1;
    }
}

@media (max-width: 560px) {
    .about-pro-page__why-layout:not(.about-pro-page__why-layout--split) .about-pro-page__benefits-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .contact-pro-page__pill {
        flex: 1 1 calc(50% - 0.5rem);
        min-width: 140px;
    }

    .contact-pro-page__map iframe {
        height: 300px;
    }
}
