/* ============================================================
   ROYALPOS – SUBPAGE / SEO PAGE COMPONENTS
   Loaded AFTER rp.css. Extends the same design tokens.
   ============================================================ */

/* ---- Nav dropdowns (Features / Industries mega menu) ---- */
.navbar__links .has-dropdown {
    position: relative;
}

.dd-toggle {
    cursor: pointer;
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
}

.dd-caret {
    font-size: 9px;
    line-height: 1;
    transition: transform 0.3s ease;
    opacity: 0.8;
}

.dd-menu {
    position: absolute;
    top: calc(100% + 14px);
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    width: max-content;
    max-width: 92vw;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: 0 30px 70px rgba(3, 29, 45, 0.22);
    padding: 14px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
    z-index: 1200;
}

.dd-menu::before {
    /* hover bridge so the menu doesn't close in the gap */
    content: '';
    position: absolute;
    top: -16px;
    left: 0;
    right: 0;
    height: 16px;
}

.navbar__links .has-dropdown:hover .dd-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.navbar__links .has-dropdown:hover .dd-caret {
    transform: rotate(180deg);
}

.dd-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(210px, 1fr));
    gap: 4px;
}

.dd-grid--single {
    grid-template-columns: minmax(220px, 1fr);
}

.dd-item {
    display: flex !important;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 14px !important;
    border-radius: var(--radius-md);
    color: var(--gray-900) !important;
    background: transparent !important;
    box-shadow: none !important;
}

.dd-item:hover {
    background: rgba(var(--primary-rgb), 0.07) !important;
}

.dd-item__ico {
    font-size: 18px;
    line-height: 1.3;
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 10px;
    background: rgba(var(--primary-rgb), 0.1);
}

.dd-item__t {
    display: block;
    font-size: 13.5px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin-bottom: 2px;
}

.dd-item__d {
    display: block;
    font-size: 11.5px;
    font-weight: 500;
    color: var(--gray-500);
    line-height: 1.4;
}

.dd-foot {
    margin-top: 8px;
    padding: 12px 14px;
    border-radius: var(--radius-md);
    background: var(--navy);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.dd-foot span {
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
}

.dd-foot a {
    font-size: 12px !important;
    font-weight: 700 !important;
    padding: 8px 16px !important;
    border-radius: 999px !important;
    background: var(--primary) !important;
    color: #fff !important;
    white-space: nowrap;
}

@media (max-width: 1024px) {

    .dd-menu {
        position: static;
        transform: none;
        width: 100%;
        max-width: none;
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        box-shadow: none;
        border: none;
        background: rgba(255, 255, 255, 0.05);
        padding: 6px;
        margin-top: 6px;
        display: none;
    }

    .has-dropdown.open .dd-menu {
        display: block;
    }

    /* Kill the desktop hover transform on touch — a sticky :hover after a tap
       was shifting the open menu left by 50% of its width and clipping the
       item text off the left edge of the screen. */
    .navbar__links .has-dropdown:hover .dd-menu,
    .has-dropdown.open .dd-menu {
        transform: none;
        left: auto;
    }

    .has-dropdown.open .dd-caret {
        transform: rotate(180deg);
    }

    .dd-menu::before {
        display: none;
    }

    .dd-grid {
        grid-template-columns: 1fr;
    }

    .dd-item {
        color: rgba(255, 255, 255, 0.86) !important;
        padding: 10px 12px !important;
    }

    .dd-item:hover {
        background: rgba(255, 255, 255, 0.08) !important;
    }

    .dd-item__d {
        color: rgba(255, 255, 255, 0.5);
    }

    .dd-item__ico {
        background: rgba(255, 255, 255, 0.1);
    }

    .dd-foot {
        display: none;
    }
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.55);
    margin-bottom: 22px;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    transition: color 0.25s ease;
}

.breadcrumb a:hover {
    color: var(--teal);
}

.breadcrumb span[aria-current] {
    color: var(--white);
}

.breadcrumb .sep {
    opacity: 0.4;
}

/* ============================================================
   SUBPAGE HERO
   ============================================================ */
.subhero {
    position: relative;
    background: linear-gradient(160deg, var(--navy) 0%, var(--navy-light) 52%, var(--navy-deep) 100%);
    overflow: hidden;
    padding: 160px 0 90px;
}

.subhero::before {
    content: '';
    position: absolute;
    width: 620px;
    height: 620px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.2) 0%, transparent 70%);
    top: -160px;
    right: -140px;
    pointer-events: none;
}

.subhero::after {
    content: '';
    position: absolute;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.1) 0%, transparent 70%);
    bottom: -120px;
    left: -80px;
    pointer-events: none;
}

.subhero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 56px;
    align-items: center;
}

.subhero__inner--center {
    grid-template-columns: 1fr;
    max-width: 860px;
    margin: 0 auto;
    text-align: center;
}

.subhero__badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--teal);
    background: rgba(var(--primary-rgb), 0.12);
    padding: 7px 16px;
    border-radius: 20px;
    margin-bottom: 22px;
}

.subhero__title {
    font-size: clamp(32px, 4.6vw, 56px);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.03em;
    color: var(--white);
    margin-bottom: 16px;
}

.subhero__title .accent {
    background: linear-gradient(120deg, var(--primary-light), var(--teal));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.subhero__lead {
    font-size: clamp(16px, 2vw, 19px);
    color: rgba(255, 255, 255, 0.68);
    line-height: 1.6;
    margin-bottom: 28px;
    max-width: 560px;
}

.subhero__inner--center .subhero__lead {
    margin-left: auto;
    margin-right: auto;
}

.subhero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 26px;
}

.subhero__inner--center .subhero__actions {
    justify-content: center;
}

.subhero__points {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 22px;
    list-style: none;
}

.subhero__inner--center .subhero__points {
    justify-content: center;
}

.subhero__points li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
}

.subhero__points li::before {
    content: '✓';
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.2);
    color: var(--teal);
    font-size: 11px;
    font-weight: 800;
}

.subhero__visual {
    position: relative;
}

.subhero__visual img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: 0 40px 90px rgba(0, 0, 0, 0.4);
}

.subhero__visual--plain img {
    box-shadow: none;
    border-radius: 0;
}

/* Buttons for dark hero */
.btn-white {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 999px;
    background: var(--white);
    color: var(--navy);
    transition: transform 0.2s ease, box-shadow 0.3s ease;
    box-shadow: 0 16px 34px rgba(0, 0, 0, 0.28);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 22px 44px rgba(0, 0, 0, 0.34);
}

.btn-ghost {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 700;
    padding: 14px 26px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: background 0.25s ease, border-color 0.25s ease;
}

.btn-ghost:hover {
    background: rgba(255, 255, 255, 0.16);
    border-color: rgba(255, 255, 255, 0.34);
}

/* ============================================================
   STAT BAND
   ============================================================ */
.stat-band {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 34px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
    margin-top: -46px;
    position: relative;
    z-index: 5;
}

.stat-band__item {
    text-align: center;
    padding: 6px 10px;
}

.stat-band__item strong {
    display: block;
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: var(--navy);
    line-height: 1;
}

.stat-band__item span {
    display: block;
    margin-top: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-500);
}

/* ============================================================
   SECTION HELPERS
   ============================================================ */
.section--tint {
    background: linear-gradient(180deg, #f3fbfa 0%, var(--off-white) 100%);
}

.section--tight {
    padding: clamp(40px, 4vw, 68px) 0;
}

.lead-copy {
    max-width: 720px;
    margin: 0 auto;
    text-align: center;
    color: var(--gray-700);
    font-size: 16px;
    line-height: 1.7;
}

/* ============================================================
   FEATURE CARDS GRID
   ============================================================ */
.feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 52px;
}

.feature-cards--4 {
    grid-template-columns: repeat(4, 1fr);
}

.fcard {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 30px 26px;
    box-shadow: var(--shadow-card);
    transition: transform 0.35s var(--transition), box-shadow 0.35s var(--transition), border-color 0.35s ease;
}

.fcard:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(var(--primary-rgb), 0.28);
}

.fcard__ico {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    font-size: 26px;
    border-radius: 16px;
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.14), rgba(var(--primary-rgb), 0.06));
    margin-bottom: 20px;
}

.fcard__title {
    font-size: 17px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--gray-900);
    margin-bottom: 10px;
}

.fcard__desc {
    font-size: 14px;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ============================================================
   STEP FLOW (numbered)
   ============================================================ */
.steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 22px;
    margin-top: 52px;
    counter-reset: step;
}

.steps--3 {
    grid-template-columns: repeat(3, 1fr);
}

.step-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 26px 28px;
    box-shadow: var(--shadow-card);
}

.step-card__num {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: #fff;
    font-size: 18px;
    font-weight: 800;
    box-shadow: 0 12px 26px rgba(var(--primary-rgb), 0.32);
    margin-bottom: 20px;
}

.step-card__title {
    font-size: 16px;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.step-card__desc {
    font-size: 13.5px;
    color: var(--gray-700);
    line-height: 1.6;
}

/* ============================================================
   CHECKLIST (two-column ticked list)
   ============================================================ */
.checklist {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px 30px;
    list-style: none;
    margin-top: 8px;
}

.checklist--one {
    grid-template-columns: 1fr;
}

.checklist li {
    position: relative;
    padding-left: 34px;
    font-size: 15px;
    font-weight: 500;
    color: var(--gray-700);
    line-height: 1.55;
}

.checklist li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 1px;
    display: grid;
    place-items: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.12);
    color: var(--primary);
    font-size: 12px;
    font-weight: 800;
}

.checklist li strong {
    color: var(--gray-900);
    font-weight: 700;
}

/* ============================================================
   COMPARISON TABLE
   ============================================================ */
.compare-wrap {
    max-width: 940px;
    margin: 52px auto 0;
    overflow-x: auto;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-card);
}

.compare-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 620px;
    background: var(--white);
    overflow: hidden;
}

.compare-table th,
.compare-table td {
    padding: 18px 22px;
    text-align: left;
    font-size: 14.5px;
    border-bottom: 1px solid var(--gray-200);
}

.compare-table thead th {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.compare-table thead th:nth-child(2) {
    color: var(--gray-500);
    background: var(--gray-100);
}

.compare-table thead th:nth-child(3) {
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
}

.compare-table td:first-child {
    font-weight: 600;
    color: var(--gray-900);
    width: 40%;
}

.compare-table td.old {
    color: var(--gray-500);
}

.compare-table td.old::before {
    content: '✕ ';
    color: #d1495b;
    font-weight: 800;
}

.compare-table td.rp {
    color: var(--gray-900);
    font-weight: 600;
    background: rgba(var(--primary-rgb), 0.04);
}

.compare-table td.rp::before {
    content: '✓ ';
    color: var(--primary);
    font-weight: 800;
}

.compare-table tbody tr:last-child td {
    border-bottom: none;
}

/* ============================================================
   INDUSTRY / CROSS-LINK CARDS
   ============================================================ */
.link-cards {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 18px;
    margin-top: 48px;
}

.link-card {
    position: relative;
    flex: 1 1 250px;
    max-width: 360px;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 44px 20px 22px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.link-card::after {
    content: '→';
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 16px;
    font-weight: 800;
    color: var(--primary);
    opacity: 0.65;
    transition: transform 0.25s ease, opacity 0.25s ease;
}

.link-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.link-card:hover::after {
    transform: translateY(-50%) translateX(4px);
    opacity: 1;
}

.link-card__ico {
    font-size: 24px;
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.1);
    flex-shrink: 0;
}

.link-card__t {
    display: block;
    font-size: 15px;
    font-weight: 700;
    color: var(--gray-900);
}

.link-card__d {
    display: block;
    font-size: 12.5px;
    color: var(--gray-500);
    margin-top: 2px;
}

/* ============================================================
   BIG CTA (reuses cta-banner but full-width navy variant)
   ============================================================ */
.cta-wide {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
    border-radius: var(--radius-lg);
    padding: clamp(40px, 6vw, 72px);
    text-align: center;
}

.cta-wide::before {
    content: '';
    position: absolute;
    width: 460px;
    height: 460px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(var(--primary-rgb), 0.22) 0%, transparent 70%);
    top: -180px;
    right: -120px;
}

.cta-wide__inner {
    position: relative;
    z-index: 1;
}

.cta-wide h2 {
    font-size: clamp(24px, 3.2vw, 40px);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: var(--white);
    margin-bottom: 14px;
}

.cta-wide p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    max-width: 560px;
    margin: 0 auto 30px;
    line-height: 1.6;
}

.cta-wide__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* ============================================================
   PRODUCT SCREENSHOTS (raw app captures)
   ============================================================ */
img.shot {
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-card-hover);
}

.feature-split__image img.shot--portrait,
img.shot--portrait {
    max-height: 620px;
    width: auto;
    margin: 0 auto;
    border-radius: 26px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow-card-hover);
}

/* ============================================================
   DEVICE FRAMES — screenshots shown inside laptop/tablet/phone
   ============================================================ */
.device-laptop {
    max-width: 640px;
    margin: 0 auto;
}

.device-laptop__screen {
    background: #0a0f14;
    border: 3px solid #2c323a;
    border-bottom: none;
    border-radius: 18px 18px 0 0;
    padding: 12px 12px 6px;
    box-shadow: 0 30px 60px rgba(3, 29, 45, 0.3);
}

.device-laptop__screen img {
    display: block;
    width: 100%;
    border-radius: 8px;
}

.device-laptop__base {
    height: 15px;
    margin: 0 -5.5%;
    background: linear-gradient(180deg, #3c434c 0%, #262b31 70%, #1b1f24 100%);
    border-radius: 2px 2px 14px 14px;
    position: relative;
}

.device-laptop__base::before {
    /* trackpad notch */
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 92px;
    height: 6px;
    background: #14181d;
    border-radius: 0 0 8px 8px;
}

.device-laptop__label,
.device-tablet__label,
.device-phone__label {
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gray-500);
    margin-top: 16px;
}

.device-tablet {
    max-width: 640px;
    margin: 0 auto;
}

.device-tablet__screen {
    background: #0a0f14;
    border: 3px solid #2c323a;
    border-radius: 24px;
    padding: 14px;
    box-shadow: 0 30px 60px rgba(3, 29, 45, 0.3);
    position: relative;
}

.device-tablet__screen::after {
    /* front camera dot */
    content: '';
    position: absolute;
    top: 5px;
    left: 50%;
    transform: translateX(-50%);
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #2c323a;
}

.device-tablet__screen img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

/* ---- Modern white iPhone-style mockup ---- */
.device-phone {
    max-width: 288px;
    margin: 0 auto;
    position: relative;
}

/* Silver / white titanium frame */
.device-phone__screen {
    position: relative;
    padding: 5px;
    border-radius: 52px;
    background: linear-gradient(135deg, #fbfbfc 0%, #e4e6ea 22%, #f4f5f7 50%, #d6d9dd 78%, #eef0f2 100%);
    box-shadow:
        0 0 0 1px rgba(0, 0, 0, 0.08),
        0 1px 1px rgba(255, 255, 255, 0.9) inset,
        0 22px 48px rgba(3, 29, 45, 0.24);
}

/* Thin black bezel + the screenshot */
.device-phone__screen img {
    display: block;
    width: 100%;
    box-sizing: border-box;
    border: 6px solid #0a0a0c;
    border-radius: 46px;
    background: #0a0a0c;
}

/* Dynamic Island */
.device-phone__screen::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 32%;
    height: 20px;
    background: #050506;
    border-radius: 12px;
    z-index: 2;
}

/* Right side: power button */
.device-phone__screen::after {
    content: '';
    position: absolute;
    right: -2px;
    top: 30%;
    width: 3px;
    height: 62px;
    border-radius: 0 3px 3px 0;
    background: linear-gradient(90deg, #b9bcc1, #e9ebee);
}

/* Left side: action button + volume rocker */
.device-phone::before {
    content: '';
    position: absolute;
    left: -2px;
    top: 26%;
    width: 3px;
    height: 26px;
    border-radius: 3px 0 0 3px;
    background: linear-gradient(270deg, #b9bcc1, #e9ebee);
    box-shadow:
        0 -38px 0 #c2c5ca,
        0 40px 0 #b9bcc1;
    z-index: 1;
}

/* ============================================================
   FLAT SCREENSHOTS — device-mockup frames removed.
   No rounded bezel, iPhone frame, dynamic island, camera dot or
   side buttons: screenshots render as clean flat (square) images
   with just a soft shadow. Overrides the frame rules above.
   ============================================================ */
.device-tablet__screen,
.device-phone__screen {
    background: none;
    border: 0;
    border-radius: 0;
    padding: 0;
    box-shadow: 0 20px 45px rgba(3, 29, 45, 0.16);
}

.device-tablet__screen img,
.device-phone__screen img {
    border: 0;
    border-radius: 0;
    background: none;
}

.device-tablet__screen::after,
.device-phone__screen::before,
.device-phone__screen::after,
.device-phone::before {
    content: none;
    display: none;
}

/* ============================================================
   FLOATING WHATSAPP CHAT BUTTON (all pages, bottom-right)
   ============================================================ */
.wa-float {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 900;              /* under mobile menu (998/999) + lead popup (10000) */
    display: inline-flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
}

.wa-float__label {
    background: #fff;
    color: var(--gray-900);
    font-size: 13px;
    font-weight: 700;
    padding: 10px 15px;
    border-radius: 999px;
    box-shadow: 0 10px 30px rgba(3, 29, 45, 0.18);
    white-space: nowrap;
    overflow: hidden;
    max-width: 220px;
    opacity: 1;
    transform: translateX(0);
    transition: opacity .35s ease, max-width .45s ease, padding .35s ease, transform .35s ease;
    /* auto-collapse to just the icon ~5s after load */
    animation: waLabelCollapse 0.45s ease 5s forwards;
}

@keyframes waLabelCollapse {
    to {
        opacity: 0;
        max-width: 0;
        padding-left: 0;
        padding-right: 0;
        transform: translateX(12px);
    }
}

/* spring the label back on hover / keyboard focus */
.wa-float:hover .wa-float__label,
.wa-float:focus-within .wa-float__label {
    animation: none;
    opacity: 1;
    max-width: 220px;
    padding: 10px 15px;
    transform: translateX(0);
}

.wa-float__btn {
    width: 58px;
    height: 58px;
    border-radius: 50%;
    background: #25d366;
    display: grid;
    place-items: center;
    box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45);
    animation: waPulse 2.4s ease-out infinite;
    transition: transform 0.2s ease;
}

.wa-float:hover .wa-float__btn {
    transform: scale(1.06);
}

.wa-float__btn svg {
    width: 32px;
    height: 32px;
    fill: #fff;
}

@keyframes waPulse {
    0%   { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70%  { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 12px 30px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0); }
}

@media (max-width: 600px) {
    .wa-float { right: 16px; bottom: 16px; gap: 9px; }
    .wa-float__btn { width: 52px; height: 52px; }
    .wa-float__btn svg { width: 29px; height: 29px; }
    .wa-float__label { font-size: 12px; padding: 8px 12px; }
}

@media (prefers-reduced-motion: reduce) {
    .wa-float__btn { animation: none; }
    .wa-float__label { animation: none; }
}

/* ============================================================
   HERO DEVICE COLLAGE (homepage hero)
   ============================================================ */
.hero-collage {
    position: relative;
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    aspect-ratio: 640 / 560;
}

.hero-collage .hc-item {
    position: absolute;
}

.hc-laptop {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 84%;
    z-index: 2;
}

.hc-laptop .device-laptop__screen {
    padding: 8px 8px 4px;
    border-radius: 14px 14px 0 0;
    box-shadow: 0 40px 80px rgba(0, 0, 0, 0.45);
}

.hc-laptop .device-laptop__base {
    height: 12px;
}

.hc-tablet {
    right: -2%;
    bottom: 5%;
    width: 45%;
    z-index: 3;
}

.hc-tablet .device-tablet__screen {
    padding: 9px;
    border-radius: 18px;
    box-shadow: 0 34px 66px rgba(0, 0, 0, 0.5);
}

.hc-tablet .device-tablet__screen img {
    border-radius: 9px;
}

.hc-phone {
    left: 0;
    bottom: 2%;
    width: 21%;
    z-index: 4;
}

.hc-phone .device-phone__screen {
    padding: 5px;
    border: 2px solid #2c323a;
    border-radius: 22px;
    box-shadow: 0 30px 56px rgba(0, 0, 0, 0.5);
}

.hc-phone .device-phone__screen img {
    border-radius: 17px;
}

.hc-drawer {
    left: 24%;
    bottom: 21%;
    width: 24%;
    z-index: 1;
}

.hc-printer {
    left: 50%;
    bottom: 19%;
    width: 13.5%;
    z-index: 4;
}

.hc-scanner {
    left: 1%;
    top: 5%;
    width: 11%;
    z-index: 3;
}

.hc-item svg {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 18px 30px rgba(0, 0, 0, 0.4));
}

@media (max-width: 900px) {
    .hero-collage {
        max-width: 520px;
    }
}

/* ============================================================
   TEXT-ONLY CENTERED HERO (homepage)
   ============================================================ */
.hero--compact {
    min-height: auto;
    padding: 170px 0 100px;
}

.hero__inner--single {
    grid-template-columns: 1fr;
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
}

.hero__inner--single .hero__desc,
.hero__inner--single .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
    max-width: 680px;
}

.hero__inner--single .hero__actions,
.hero__inner--single .hero-chips {
    justify-content: center;
}

/* ---- "Backed by TVS Electronics" hero trust badge ---- */
.hero__backed {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-top: 20px;
    padding: 9px 18px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.16);
    font-size: 13.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.2;
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.hero__backed strong {
    color: #fff;
    font-weight: 800;
    letter-spacing: 0.01em;
}

.hero__backed-ico {
    font-size: 16px;
    line-height: 1;
}

/* ============================================================
   PLAIN SHOT WRAPPER — image is a ready-made device mockup;
   no CSS bezel, just the image + a device-type caption.
   ============================================================ */
.shot-wrap {
    text-align: center;
}

.shot-wrap img {
    max-width: 100%;
    height: auto;
    border-radius: 0;
    box-shadow: none;
    filter: drop-shadow(0 18px 40px rgba(15, 40, 49, 0.18));
}

.shot-wrap__label {
    margin-top: 14px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--gray-500);
}

.subhero__visual .shot-wrap img {
    border-radius: 0;
    box-shadow: none;
}

.subhero__visual .shot-wrap__label {
    color: rgba(255, 255, 255, 0.55);
}

/* ============================================================
   FULL-BLEED MARKETING HERO IMAGE (light bg pages, e.g. bakery)
   Pair with body.light-hero so the navbar stays solid (dark logo).
   ============================================================ */
.img-hero {
    background: #ffffff;
    padding-top: 84px;
    /* sit snug under the fixed navbar (~80px), no extra gap */
    text-align: center;
}

.img-hero__img {
    display: block;
    width: 100%;
    height: auto;
}

/* Cohesive CTA band below the image (gentle tint so it reads as one hero) */
.img-hero__cta {
    padding: 34px 22px 46px;
    background: linear-gradient(180deg, #ffffff 0%, #f2f7f6 100%);
}

.img-hero__cta-line {
    max-width: 600px;
    margin: 0 auto 20px;
    font-size: clamp(15px, 0.6vw + 13px, 19px);
    font-weight: 600;
    line-height: 1.5;
    color: var(--gray-700);
}

.img-hero__cta-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    justify-content: center;
}

/* Buttons must read on a LIGHT background (default .btn-outline is white-on-dark) */
.img-hero .btn-primary {
    padding: 14px 34px;
    font-size: 15.5px;
    background: var(--primary);
    color: #fff;
    box-shadow: 0 10px 24px rgba(var(--primary-rgb), 0.28);
}

.img-hero .btn-primary:hover {
    background: var(--primary-dark, #00786c);
    transform: translateY(-2px);
}

.img-hero .btn-outline {
    padding: 14px 32px;
    background: #ffffff;
    border: 1.5px solid rgba(var(--primary-rgb), 0.5);
    color: var(--primary);
}

.img-hero .btn-outline:hover {
    background: rgba(var(--primary-rgb), 0.07);
    border-color: var(--primary);
}

/* Screen-reader-only text (keeps a real <h1> for SEO when the
   headline lives inside the hero image). */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Balance feature-split rows — cap frame/image size so tall or near-square
   screenshots don't inflate row height and leave big whitespace beside text. */
.feature-split__image .device-tablet,
.feature-split__image .device-laptop {
    max-width: 540px;
}

.feature-split__image .device-phone {
    max-width: 210px;
}

.feature-split__image .shot-wrap {
    max-width: 560px;
    margin: 0 auto;
}

.feature-split__image .shot-wrap img {
    max-height: 430px;
    width: auto;
}

/* ============================================================
   FOOTER LOCATIONS ROW
   ============================================================ */
.footer__locations {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 13px;
}

.footer__locations span {
    color: rgba(255, 255, 255, 0.45);
    font-weight: 600;
}

.footer__locations a {
    color: rgba(255, 255, 255, 0.65);
    transition: color 0.2s ease;
}

.footer__locations a:hover {
    color: #26c6b9;
}

/* ============================================================
   INTEGRATIONS GRID (homepage)
   ============================================================ */
.integr-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    margin-top: 48px;
}

.integr-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: 22px 16px;
    text-align: center;
    box-shadow: var(--shadow-card);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.integr-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.integr-card__logo {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    margin: 0 auto 12px;
    border-radius: 12px;
    background: rgba(var(--primary-rgb), 0.08);
    font-size: 20px;
    font-weight: 800;
    color: var(--primary);
}

.integr-card__name {
    font-size: 15px;
    font-weight: 700;
    letter-spacing: -0.01em;
    color: var(--gray-900);
}

.integr-card__cat {
    margin-top: 4px;
    font-size: 11.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
}

@media (max-width: 900px) {
    .integr-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

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

/* ============================================================
   BENTO CARD DESCRIPTIONS (Why Owners Choose)
   ============================================================ */
.bento-card__desc {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--gray-500);
}

/* ============================================================
   HERO TRUST CHIPS (homepage)
   ============================================================ */
.hero-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 10px;
    list-style: none;
    margin-top: 18px;
}

.hero-chips li {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 12.5px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.82);
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 7px 14px;
}

.hero-chips li::before {
    content: '✓';
    display: grid;
    place-items: center;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: rgba(var(--primary-rgb), 0.25);
    color: var(--teal-light);
    font-size: 9px;
    font-weight: 800;
}

.hero__price-note {
    font-size: 14px;
    font-weight: 600;
    color: var(--teal-light);
    margin-bottom: 20px;
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    margin-top: 52px;
}

.testi-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 30px 28px;
    box-shadow: var(--shadow-card);
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.testi-card__stars {
    color: #f5a623;
    font-size: 15px;
    letter-spacing: 2px;
}

.testi-card__quote {
    font-size: 15px;
    line-height: 1.65;
    color: var(--gray-700);
    flex: 1;
}

.testi-card__who {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-top: 16px;
    border-top: 1px solid var(--gray-200);
}

.testi-card__avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    flex-shrink: 0;
}

.testi-card__name {
    font-size: 14px;
    font-weight: 700;
    color: var(--gray-900);
}

.testi-card__biz {
    font-size: 12.5px;
    color: var(--gray-500);
}

@media (max-width: 900px) {
    .testi-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {

    .subhero__inner {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .subhero__lead,
    .subhero__points {
        margin-left: auto;
        margin-right: auto;
    }

    .subhero__actions,
    .subhero__points {
        justify-content: center;
    }

    .stat-band {
        grid-template-columns: repeat(2, 1fr);
        gap: 26px 16px;
        margin-top: 34px;
    }

    .feature-cards,
    .feature-cards--4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .steps {
        grid-template-columns: repeat(2, 1fr);
    }

    /* 3-step rows: centered flex so the last card never orphans in a 2-col grid */
    .steps--3 {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .steps--3 .step-card {
        flex: 1 1 260px;
        max-width: 360px;
    }
}

@media (max-width: 560px) {

    .subhero {
        padding: 140px 0 70px;
    }

    .feature-cards,
    .feature-cards--4,
    .steps,
    .steps--3,
    .checklist {
        grid-template-columns: 1fr;
    }

    .stat-band {
        grid-template-columns: 1fr 1fr;
    }
}
