/* ============================================================================
   Software4.net — Homepage premium layer
   ----------------------------------------------------------------------------
   An enhancement layer over the existing homepage rather than a rewrite. The
   page already contains a working contact form (reCAPTCHA, SMS consent),
   live Google reviews, JSON-LD schema and permission-aware content — none of
   which needed to change to get a more premium feel, so this file adds depth,
   motion and typographic refinement on top of the existing markup instead.

   Paired with home-premium.js, which handles the scroll-reveal and pointer
   interactions. Everything degrades gracefully: with JS disabled the
   .reveal elements are shown by the .no-js rule at the bottom.
   ========================================================================== */

/* ── Scroll reveal ───────────────────────────────────────────────────── */
.reveal {
    opacity: 0;
    transform: translateY(26px);
    transition: opacity .7s cubic-bezier(.22,1,.36,1),
                transform .7s cubic-bezier(.22,1,.36,1);
    will-change: opacity, transform;
}
.reveal.is-visible { opacity: 1; transform: none; }
.reveal[data-reveal-delay="1"] { transition-delay: .08s; }
.reveal[data-reveal-delay="2"] { transition-delay: .16s; }
.reveal[data-reveal-delay="3"] { transition-delay: .24s; }
.reveal[data-reveal-delay="4"] { transition-delay: .32s; }
.reveal[data-reveal-delay="5"] { transition-delay: .40s; }

/* ── Hero ────────────────────────────────────────────────────────────── */
.hero-section { position: relative; overflow: hidden; }

/* Soft drifting light behind the hero. Sits under the content via z-index
   and is pointer-events:none so it can never intercept clicks on the CTAs. */
.hero-section::before {
    content: '';
    position: absolute; inset: -20% -10% auto -10%; height: 140%;
    background:
        radial-gradient(620px circle at 18% 22%, rgba(0,180,216,.22), transparent 62%),
        radial-gradient(560px circle at 82% 12%, rgba(66,165,245,.20), transparent 60%);
    pointer-events: none; z-index: 0;
    animation: heroDrift 18s ease-in-out infinite alternate;
}
.hero-section > * { position: relative; z-index: 1; }
@keyframes heroDrift {
    from { transform: translate3d(0,0,0) scale(1); }
    to   { transform: translate3d(-3%, 2%, 0) scale(1.06); }
}

/* Fine grid texture — the kind of detail that reads as "considered" up close
   but shouldn't be noticeable at a glance, hence the very low alpha. */
.hero-section::after {
    content: '';
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 40%, #000 30%, transparent 75%);
}

.hero-section h1 { letter-spacing: -.028em; }

.hero-stat-item .stat-number {
    background: linear-gradient(92deg, #ffffff 0%, #9fe3f5 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    letter-spacing: -.02em;
}
.hero-stat-item { transition: transform .35s cubic-bezier(.22,1,.36,1); }
.hero-stat-item:hover { transform: translateY(-3px); }

/* Hero dashboard card — subtle float, and a lift on hover. */
.hero-graphic { animation: heroFloat 7s ease-in-out infinite; }
@keyframes heroFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-11px); }
}
.hero-graphic-inner {
    transition: transform .5s cubic-bezier(.22,1,.36,1), box-shadow .5s ease;
    box-shadow: 0 26px 60px -22px rgba(0,0,0,.55);
}
.hero-graphic:hover .hero-graphic-inner {
    transform: translateY(-5px) scale(1.012);
    box-shadow: 0 38px 80px -26px rgba(0,0,0,.62);
}

/* ── Buttons ─────────────────────────────────────────────────────────── */
/* Sheen sweep on primary CTAs. overflow:hidden keeps the highlight inside
   the pill; the ::after is skewed so it reads as light passing over glass. */
.btn-primary, .btn-s4-primary, .cta-section .btn-warning {
    position: relative; overflow: hidden; isolation: isolate;
    transition: transform .28s cubic-bezier(.22,1,.36,1), box-shadow .28s ease;
}
.btn-primary::after, .btn-s4-primary::after, .cta-section .btn-warning::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -85%; width: 60%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.34), transparent);
    transform: skewX(-18deg); transition: left .6s cubic-bezier(.22,1,.36,1);
    pointer-events: none;
}
.btn-primary:hover::after, .btn-s4-primary:hover::after, .cta-section .btn-warning:hover::after { left: 130%; }
.btn-primary:hover, .btn-s4-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px -10px rgba(21,101,192,.55);
}

/* ── Cards: shared premium treatment ─────────────────────────────────── */
.service-card, .capability-card, .product-card, .review-card, .s4p-card {
    position: relative; isolation: isolate;
    transition: transform .4s cubic-bezier(.22,1,.36,1),
                box-shadow .4s cubic-bezier(.22,1,.36,1),
                border-color .3s ease;
}

/* Cursor spotlight — --mx/--my are written by home-premium.js on mousemove. */
.service-card::before, .capability-card::before, .product-card::before {
    content: ''; position: absolute; inset: 0; z-index: -1; border-radius: inherit;
    background: radial-gradient(460px circle at var(--mx,50%) var(--my,0%),
                rgba(21,101,192,.09), transparent 45%);
    opacity: 0; transition: opacity .4s ease;
}
.service-card:hover::before, .capability-card:hover::before, .product-card:hover::before { opacity: 1; }

.service-card:hover, .capability-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 26px 50px -22px rgba(13,27,42,.30);
}
.product-card:hover { transform: translateY(-7px); }

/* Partner logos — a gentle lift plus colour returning on hover already
   exists; this adds the depth and easing to match the rest of the page. */
.s4p-card:hover { transform: translateY(-5px); box-shadow: 0 20px 38px -18px rgba(13,27,42,.26); }

/* Icon chips lift with a slight overshoot so they feel physical. */
.service-icon, .capability-icon, .product-icon {
    transition: transform .42s cubic-bezier(.34,1.56,.64,1), box-shadow .42s ease;
}
.service-card:hover .service-icon,
.capability-card:hover .capability-icon,
.product-card:hover .product-icon { transform: translateY(-3px) scale(1.09) rotate(-3deg); }

/* ── Section headings ────────────────────────────────────────────────── */
.section-label {
    position: relative; overflow: hidden;
    letter-spacing: .14em;
}
section h2 { letter-spacing: -.022em; }

/* ── Stats band ──────────────────────────────────────────────────────── */
.stats-section { position: relative; overflow: hidden; }
.stats-section::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background: radial-gradient(700px circle at 50% 120%, rgba(255,255,255,.12), transparent 60%);
}
.stat-box { transition: transform .4s cubic-bezier(.22,1,.36,1); }
.stat-box:hover { transform: translateY(-4px); }
.stat-box .number { letter-spacing: -.03em; font-variant-numeric: tabular-nums; }

/* ── Reviews ─────────────────────────────────────────────────────────── */
.review-card:hover { transform: translateY(-5px); box-shadow: 0 24px 46px -20px rgba(13,27,42,.24); }
.review-stars { letter-spacing: .06em; }

/* ── Consultation form ───────────────────────────────────────────────── */
.cta-section .form-control, .cta-section .form-select {
    transition: border-color .25s ease, box-shadow .25s ease, background .25s ease;
}
.cta-section .form-control:focus, .cta-section .form-select:focus {
    box-shadow: 0 0 0 4px rgba(0,180,216,.16);
}

/* ── Footer ──────────────────────────────────────────────────────────── */
footer a { transition: color .22s ease, transform .22s ease; display: inline-block; }
footer a:hover { transform: translateX(3px); }

/* ── Scroll progress bar ─────────────────────────────────────────────── */
.scroll-progress {
    position: fixed; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, #00B4D8, #1565C0, #42A5F5);
    z-index: 2000; pointer-events: none;
    transition: width .1s linear;
}

/* Print / PDF export. Screenshot and print-to-PDF tools capture the page
   without firing scroll events, so any .reveal element that hadn't entered
   the viewport yet would export faded out or shifted — which is exactly why
   the testimonials and consultation form appeared clipped in a full-page PDF
   capture. Force everything visible and drop decorative motion for print. */
@media print {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .hero-section::before, .hero-section::after, .hero-graphic { animation: none !important; }
    .scroll-progress { display: none !important; }
}

/* ── Accessibility / fallbacks ───────────────────────────────────────── */
/* Without JS the reveal elements would stay invisible, so show them all. */
.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .hero-section::before,
    .hero-graphic { animation: none !important; }
    .service-card:hover, .capability-card:hover, .product-card:hover,
    .review-card:hover, .s4p-card:hover, .stat-box:hover, .hero-stat-item:hover { transform: none; }
    .btn-primary::after, .btn-s4-primary::after { display: none; }
    .scroll-progress { display: none; }
}

/* ============================================================================
   SECTION 1 — PREMIUM HERO (hero-v2)
   ----------------------------------------------------------------------------
   Uses the refined palette from the brief (#071A33 navy, #0B3B73, #1677FF
   electric blue, #18BFE8 cyan) as locally-scoped tokens rather than editing
   the global --s4-* variables, so nothing outside the hero shifts colour.
   ========================================================================== */
.hero-v2 {
    --nv:      #071A33;
    --nv-2:    #0B3B73;
    --el:      #1677FF;
    --cy:      #18BFE8;
    position: relative;
    background: linear-gradient(145deg, #050F1F 0%, var(--nv) 42%, var(--nv-2) 100%);
    padding: clamp(96px, 12vw, 150px) 0 clamp(72px, 9vw, 110px);
    overflow: hidden;
}

/* Engineering-drawing grid, faded out at the edges so it never reads as a
   hard-edged texture block. */
.hero-v2 .hero-grid-bg {
    position: absolute; inset: 0; pointer-events: none; z-index: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: radial-gradient(ellipse 75% 70% at 60% 45%, #000 20%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 75% 70% at 60% 45%, #000 20%, transparent 72%);
}
.hero-v2 > .container { position: relative; z-index: 2; }

/* ── Left column ─────────────────────────────────────────────────────── */
.hero-v2 .hero-badge {
    display: inline-flex; align-items: center; gap: .55rem;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.14);
    color: rgba(255,255,255,.88);
    padding: .42rem .95rem; border-radius: 6px;   /* small radius, per brief */
    font-size: .74rem; font-weight: 600;
    letter-spacing: .09em; text-transform: uppercase;
    backdrop-filter: blur(8px);
}
.hero-v2 .hero-badge .dot {
    width: 6px; height: 6px; border-radius: 50%; background: var(--cy);
    box-shadow: 0 0 0 3px rgba(24,191,232,.22);
}

.hero-v2 .hero-title {
    margin: 1.45rem 0 1.15rem;
    font-size: clamp(2.4rem, 5.1vw, 4.05rem);
    line-height: 1.045;
    font-weight: 800;
    letter-spacing: -.033em;
    color: #fff;
    text-wrap: balance;
}
.hero-v2 .hero-title .highlight {
    background: linear-gradient(96deg, var(--cy) 0%, #6FD2F5 45%, var(--el) 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}

.hero-v2 .hero-subtitle {
    font-size: clamp(1rem, 1.18vw, 1.115rem);
    line-height: 1.68;
    color: rgba(255,255,255,.7);
    max-width: 33.5em;          /* restrained measure keeps it readable */
    margin-bottom: 2.1rem;
}

.hero-v2 .hero-btns { display: flex; flex-wrap: wrap; gap: .8rem; margin-bottom: 2.9rem; }
.hero-v2 .btn-primary-s4,
.hero-v2 .btn-outline-s4 {
    border-radius: 8px;          /* buttons: smaller radius, per brief */
    padding: .85rem 1.6rem;
    font-weight: 650; font-size: .93rem;
    display: inline-flex; align-items: center;
    transition: transform .26s cubic-bezier(.22,1,.36,1), box-shadow .26s ease,
                background .26s ease, border-color .26s ease;
}
.hero-v2 .btn-primary-s4 {
    background: linear-gradient(135deg, var(--el), #0E5FD8);
    color: #fff; border: none;
    box-shadow: 0 10px 26px -10px rgba(22,119,255,.75);
}
.hero-v2 .btn-primary-s4:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 34px -10px rgba(22,119,255,.9);
}
.hero-v2 .btn-outline-s4 {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.2);
    color: #fff;
}
.hero-v2 .btn-outline-s4:hover {
    background: rgba(255,255,255,.1);
    border-color: rgba(255,255,255,.38);
    transform: translateY(-2px);
}

/* Trust metrics — a hairline rule instead of four cards, per the brief's
   "less card clutter" principle. */
.hero-v2 .hero-stats {
    display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 1.1rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255,255,255,.12);
}
.hero-v2 .hero-stat-item { transition: transform .32s cubic-bezier(.22,1,.36,1); }
.hero-v2 .hero-stat-item:hover { transform: translateY(-3px); }
.hero-v2 .hero-stat-item .stat-number {
    display: block;
    font-size: clamp(1.45rem, 2.05vw, 1.85rem);
    font-weight: 800; letter-spacing: -.028em; line-height: 1.1;
    background: linear-gradient(92deg, #fff 0%, #A8E4F7 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-v2 .hero-stat-item .stat-label {
    margin-top: .3rem;
    font-size: .705rem; font-weight: 600;
    letter-spacing: .075em; text-transform: uppercase;
    color: rgba(255,255,255,.52); line-height: 1.35;
}

/* ── Right column: AI Business Engine ────────────────────────────────── */
.hero-v2 .hero-engine { position: relative; padding: .5rem; }
.hero-v2 .engine-svg { width: 100%; height: auto; display: block; overflow: visible; }

.hero-v2 .engine-nodes .node rect {
    fill: rgba(255,255,255,.055);
    stroke: rgba(255,255,255,.15);
    stroke-width: 1;
    backdrop-filter: blur(6px);          /* the "subtle glassmorphism" */
    transition: fill .3s ease, stroke .3s ease;
}
.hero-v2 .engine-nodes .node text {
    fill: #fff; font-size: 12.5px; font-weight: 650; text-anchor: middle;
}
.hero-v2 .engine-nodes .node text.sub {
    fill: rgba(255,255,255,.5); font-size: 9px; font-weight: 500;
    letter-spacing: .06em; text-transform: uppercase;
}
.hero-v2 .engine-nodes .node:hover rect {
    fill: rgba(24,191,232,.14);
    stroke: rgba(24,191,232,.5);
}

/* Each node breathes on its own offset so the diagram never pulses in unison,
   which would read as a loading state rather than a living system. */
.hero-v2 .engine-nodes .node { animation: nodeFloat 6.5s ease-in-out infinite; }
.hero-v2 .engine-nodes .node:nth-child(2) { animation-delay: -1.1s; }
.hero-v2 .engine-nodes .node:nth-child(3) { animation-delay: -2.2s; }
.hero-v2 .engine-nodes .node:nth-child(4) { animation-delay: -3.3s; }
.hero-v2 .engine-nodes .node:nth-child(5) { animation-delay: -4.4s; }
.hero-v2 .engine-nodes .node:nth-child(6) { animation-delay: -5.5s; }
@keyframes nodeFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-5px); }
}

.hero-v2 .engine-core { animation: corePulse 4.5s ease-in-out infinite; transform-origin: 260px 240px; }
@keyframes corePulse {
    0%,100% { transform: scale(1); }
    50%     { transform: scale(1.035); }
}
.hero-v2 .core-ring { animation: ringExpand 3.6s ease-out infinite; transform-origin: 260px 240px; }
@keyframes ringExpand {
    0%   { transform: scale(1);    opacity: .65; }
    100% { transform: scale(1.55); opacity: 0; }
}

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .hero-v2 { padding: 88px 0 64px; text-align: center; }
    .hero-v2 .hero-subtitle { margin-left: auto; margin-right: auto; }
    .hero-v2 .hero-btns { justify-content: center; }
    .hero-v2 .hero-engine { margin-top: 2.5rem; max-width: 460px; margin-inline: auto; }
}
@media (max-width: 575.98px) {
    /* Two rows of two reads better than four cramped columns at 375–390px. */
    .hero-v2 .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 1.35rem .75rem; }
    .hero-v2 .hero-btns .btn-primary-s4,
    .hero-v2 .hero-btns .btn-outline-s4 { width: 100%; justify-content: center; }
    .hero-v2 .hero-title { font-size: clamp(2.05rem, 8.6vw, 2.6rem); }
}

/* ── Accessibility ───────────────────────────────────────────────────── */
.hero-v2 a:focus-visible {
    outline: 2px solid var(--cy); outline-offset: 3px; border-radius: 8px;
}
.visually-hidden {
    position: absolute !important; width: 1px; height: 1px;
    margin: -1px; padding: 0; overflow: hidden;
    clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* Animation is decorative only — the diagram is composed so it reads as a
   finished graphic when every animation is switched off. */
@media (prefers-reduced-motion: reduce) {
    .hero-v2 .engine-nodes .node,
    .hero-v2 .engine-core,
    .hero-v2 .core-ring { animation: none !important; }
    .hero-v2 .engine-pulses { display: none; }
    .hero-v2 .hero-stat-item:hover,
    .hero-v2 .btn-primary-s4:hover,
    .hero-v2 .btn-outline-s4:hover { transform: none; }
}
@media print {
    .hero-v2 .engine-nodes .node,
    .hero-v2 .engine-core,
    .hero-v2 .core-ring { animation: none !important; }
    .hero-v2 .engine-pulses { display: none; }
}

/* ============================================================================
   SECTION 2 — TRUST / COMPANY INTRO
   ----------------------------------------------------------------------------
   Asymmetric 5/7 split: heading anchored left, statement right. No cards —
   the section is held together by whitespace and a single hairline rule,
   per the brief's "less card clutter" principle.
   ========================================================================== */
.trust-intro { padding: clamp(64px, 7vw, 96px) 0; background: #FFFFFF; }

.eyebrow {
    display: inline-block;
    font-size: .7rem; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase;
    color: #1677FF;
    margin-bottom: .9rem;
}
.trust-heading {
    font-size: clamp(1.75rem, 3.1vw, 2.55rem);
    font-weight: 800; line-height: 1.16; letter-spacing: -.028em;
    color: #071A33; margin: 0;
    text-wrap: balance;
}
.trust-body {
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.82; color: #475569; margin: 0 0 1.85rem;
}
.trust-body strong { color: #071A33; font-weight: 700; }
.trust-body a {
    color: #0B3B73; font-weight: 600; text-decoration: none;
    border-bottom: 1px solid rgba(22,119,255,.32);
    transition: color .2s ease, border-color .2s ease;
}
.trust-body a:hover { color: #1677FF; border-bottom-color: #1677FF; }

/* Trust indicators: a hairline-separated row, not four boxes. */
.trust-pills {
    list-style: none; margin: 0; padding: 1.5rem 0 0;
    border-top: 1px solid #E2E8F0;
    display: flex; flex-wrap: wrap; gap: .65rem 2.1rem;
}
.trust-pills li {
    display: inline-flex; align-items: center; gap: .55rem;
    font-size: .845rem; font-weight: 650; color: #0B3B73;
    letter-spacing: -.005em;
}
.trust-pills i { color: #18BFE8; font-size: .82rem; }

/* ============================================================================
   SECTION 3 — TECHNOLOGY PARTNERS
   ----------------------------------------------------------------------------
   A logo strip rather than a row of bordered cards. Logos sit desaturated at
   rest so the row reads as one calm band, and return to full colour on hover.
   ========================================================================== */
.partners-strip { padding: clamp(56px, 6.5vw, 86px) 0; background: #F7F9FC; }
.partners-head { text-align: center; max-width: 620px; margin: 0 auto clamp(2.2rem, 4vw, 3.2rem); }
.partners-title {
    font-size: clamp(1.5rem, 2.7vw, 2.15rem);
    font-weight: 800; letter-spacing: -.026em; color: #071A33; margin: 0 0 .6rem;
}
.partners-sub { font-size: .985rem; line-height: 1.7; color: #64748B; margin: 0; }

.partners-rail {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1px;                                   /* hairline separators */
    background: #E2E8F0;
    border: 1px solid #E2E8F0;
    border-radius: 14px;                        /* larger radius: major container only */
    overflow: hidden;
}
.partner-item { background: #FFFFFF; }
.partner-link {
    display: flex; flex-direction: column;
    align-items: center; justify-content: center; gap: 0;
    min-height: 124px; padding: 1rem .75rem;
    text-decoration: none;
    transition: background .28s ease, transform .28s cubic-bezier(.22,1,.36,1);
}
a.partner-link:hover { background: #FBFCFE; transform: translateY(-2px); }

.partner-logo {
    max-width: 104px; max-height: 38px; width: auto; height: auto;
    object-fit: contain;
    filter: grayscale(100%) opacity(.62);
    transition: filter .3s ease, transform .3s ease;
}
a.partner-link:hover .partner-logo { filter: grayscale(0%) opacity(1); transform: scale(1.04); }

/* Shown when a partner has no logo, and swapped in by the img onerror handler
   when a referenced file is missing — so a 404 degrades to a clean monogram
   instead of a broken-image icon. */
.partner-initials {
    display: flex; align-items: center; justify-content: center;
    width: 40px; height: 40px; border-radius: 9px;
    background: linear-gradient(145deg, #EEF4FF, #E3ECFB);
    border: 1px solid #DBE6F6;
    color: #0B3B73; font-weight: 800; font-size: .88rem; letter-spacing: .02em;
}
.partner-name {
    display: none !important;
}
a.partner-link:hover .partner-name { color: #1677FF; }
.partner-link:focus-visible { outline: 2px solid #1677FF; outline-offset: -2px; }

@media (max-width: 575.98px) {
    .partners-rail { grid-template-columns: repeat(2, 1fr); }
    .partner-link { min-height: 108px; padding: 1.15rem .75rem; }
    .trust-pills { gap: .7rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
    a.partner-link:hover { transform: none; }
    a.partner-link:hover .partner-logo { transform: none; }
}

/* ============================================================================
   SECTION 4 — SERVICES (editorial panels)
   ----------------------------------------------------------------------------
   Two large panels instead of two generic SaaS cards. A large ghosted numeral
   and a top accent rule carry the hierarchy, so the panel doesn't rely on
   heavy borders or shadow to feel substantial.
   ========================================================================== */
.svc-v2 { padding: clamp(72px, 8vw, 110px) 0; background: #FFFFFF; }
.svc-head { max-width: 660px; margin: 0 auto clamp(2.6rem, 5vw, 4rem); text-align: center; }
.svc-title {
    font-size: clamp(1.75rem, 3.4vw, 2.75rem);
    font-weight: 800; letter-spacing: -.03em; line-height: 1.14;
    color: #071A33; margin: 0 0 .85rem; text-wrap: balance;
}
.svc-sub { font-size: 1.02rem; line-height: 1.72; color: #64748B; margin: 0; }

.svc-panels { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.75rem; }

.svc-panel {
    position: relative; isolation: isolate;
    display: flex; flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 16px;                 /* medium radius — a major container */
    padding: clamp(1.8rem, 3vw, 2.6rem);
    transition: border-color .32s ease, box-shadow .32s cubic-bezier(.22,1,.36,1),
                transform .32s cubic-bezier(.22,1,.36,1);
}
/* Accent rule that draws across the top edge on hover. */
.svc-panel::before {
    content: ''; position: absolute; top: 0; left: 0; height: 3px; width: 0;
    background: linear-gradient(90deg, #1677FF, #18BFE8);
    border-radius: 16px 16px 0 0;
    transition: width .5s cubic-bezier(.22,1,.36,1);
}
.svc-panel:hover::before { width: 100%; }
.svc-panel:hover {
    border-color: #CBD9EC;
    transform: translateY(-4px);
    box-shadow: 0 26px 52px -26px rgba(7,26,51,.28);
}

.svc-panel-top { display: flex; align-items: center; gap: .9rem; margin-bottom: 1.1rem; }
.svc-num {
    font-size: 2.5rem; font-weight: 800; line-height: 1;
    letter-spacing: -.04em;
    color: transparent;
    -webkit-text-stroke: 1.5px #CBD9EC;   /* outlined numeral — quiet but structural */
}
.svc-panel--alt .svc-num { -webkit-text-stroke-color: #B9D4F2; }
.svc-cat {
    font-size: .68rem; font-weight: 700; letter-spacing: .14em;
    text-transform: uppercase; color: #1677FF;
}
.svc-panel-title {
    font-size: clamp(1.2rem, 1.9vw, 1.5rem);
    font-weight: 750; letter-spacing: -.02em; line-height: 1.3;
    color: #071A33; margin: 0 0 .8rem;
}
.svc-panel-desc { font-size: .93rem; line-height: 1.75; color: #64748B; margin: 0 0 1.6rem; }

/* Capability list in two columns — compact without becoming a box each. */
.svc-list {
    list-style: none; margin: 0 0 1.9rem; padding: 1.5rem 0 0;
    border-top: 1px solid #EEF2F7;
    display: grid; grid-template-columns: repeat(2, 1fr); gap: .72rem 1.4rem;
}
.svc-list li {
    position: relative; padding-left: 1.3rem;
    font-size: .845rem; line-height: 1.45; color: #334155; font-weight: 550;
}
.svc-list li::before {
    content: ''; position: absolute; left: 0; top: .42em;
    width: 6px; height: 6px; border-radius: 2px;
    background: #18BFE8;
}

.svc-cta {
    margin-top: auto; align-self: flex-start;
    display: inline-flex; align-items: center; gap: .55rem;
    background: linear-gradient(135deg, #1677FF, #0E5FD8);
    color: #fff; text-decoration: none;
    padding: .78rem 1.45rem; border-radius: 8px;
    font-size: .88rem; font-weight: 650;
    box-shadow: 0 10px 24px -12px rgba(22,119,255,.8);
    transition: transform .26s cubic-bezier(.22,1,.36,1), box-shadow .26s ease;
}
.svc-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(22,119,255,.92); }
.svc-cta i { transition: transform .26s cubic-bezier(.22,1,.36,1); }
.svc-cta:hover i { transform: translateX(3px); }

/* ============================================================================
   SECTION 5 — CAPABILITIES
   ----------------------------------------------------------------------------
   One hairline-separated grid rather than eight bordered cards. Two items are
   given extra width and scale as focal points.
   ========================================================================== */
.cap-v2 { padding: clamp(72px, 8vw, 110px) 0; background: #F7F9FC; }
.cap-head { max-width: 660px; margin: 0 auto clamp(2.4rem, 4.5vw, 3.6rem); text-align: center; }
.cap-title {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
    color: #071A33; margin: 0 0 .8rem;
}
.cap-sub { font-size: 1rem; line-height: 1.72; color: #64748B; margin: 0; }

.cap-grid {
    display: grid; grid-template-columns: repeat(6, 1fr);
    gap: 1px; background: #E2E8F0;
    border: 1px solid #E2E8F0; border-radius: 16px; overflow: hidden;
    margin-bottom: clamp(2.4rem, 4vw, 3.4rem);
}
.cap-item {
    grid-column: span 2;                 /* 3 across by default */
    background: #FFFFFF;
    padding: clamp(1.5rem, 2.4vw, 2.1rem);
    transition: background .3s ease;
}
/* The two emphasised capabilities take half a row each on the top line. */
.cap-item.is-feature { grid-column: span 3; }
.cap-item:hover { background: #FBFCFE; }

.cap-icon {
    display: block; font-size: 1.32rem; color: #1677FF;
    margin-bottom: 1rem;
    transition: transform .38s cubic-bezier(.34,1.56,.64,1), color .3s ease;
}
.cap-item:hover .cap-icon { transform: translateY(-3px) scale(1.12); color: #18BFE8; }
.cap-item.is-feature .cap-icon { font-size: 1.65rem; }

.cap-item-title {
    font-size: .98rem; font-weight: 700; letter-spacing: -.012em;
    color: #071A33; margin: 0 0 .5rem; line-height: 1.32;
}
.cap-item.is-feature .cap-item-title { font-size: 1.16rem; }
.cap-item-desc { font-size: .845rem; line-height: 1.68; color: #64748B; margin: 0; }
.cap-item.is-feature .cap-item-desc { font-size: .89rem; }

/* Dark banner closing the section. */
.cap-banner {
    display: flex; align-items: center; justify-content: space-between;
    flex-wrap: wrap; gap: 1.5rem;
    background: linear-gradient(120deg, #071A33 0%, #0B3B73 100%);
    border-radius: 16px; padding: clamp(1.6rem, 3vw, 2.3rem) clamp(1.6rem, 3vw, 2.6rem);
}
.cap-banner-title { font-size: clamp(1.05rem, 1.7vw, 1.32rem); font-weight: 750; color: #fff; margin: 0 0 .35rem; letter-spacing: -.016em; }
.cap-banner-sub { font-size: .89rem; color: rgba(255,255,255,.66); margin: 0; }
.cap-banner-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.cap-btn-light, .cap-btn-ghost {
    display: inline-flex; align-items: center; gap: .5rem;
    padding: .72rem 1.3rem; border-radius: 8px;
    font-size: .855rem; font-weight: 650; text-decoration: none; white-space: nowrap;
    transition: transform .25s cubic-bezier(.22,1,.36,1), background .25s ease, border-color .25s ease;
}
.cap-btn-light { background: #fff; color: #0B3B73; }
.cap-btn-light:hover { color: #0B3B73; transform: translateY(-2px); background: #F2F7FF; }
.cap-btn-ghost { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.28); color: #fff; }
.cap-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.5); transform: translateY(-2px); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .svc-panels { grid-template-columns: 1fr; gap: 1.25rem; }
    .cap-grid { grid-template-columns: repeat(4, 1fr); }
    .cap-item, .cap-item.is-feature { grid-column: span 2; }
}
@media (max-width: 575.98px) {
    .cap-grid { grid-template-columns: 1fr; }
    .cap-item, .cap-item.is-feature { grid-column: span 1; }
    .svc-list { grid-template-columns: 1fr; }
    .cap-banner { flex-direction: column; align-items: flex-start; }
    .cap-banner-actions { width: 100%; }
    .cap-btn-light, .cap-btn-ghost { flex: 1; justify-content: center; }
    .svc-cta { width: 100%; justify-content: center; }
}

.svc-cta:focus-visible, .cap-btn-light:focus-visible, .cap-btn-ghost:focus-visible {
    outline: 2px solid #18BFE8; outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .svc-panel:hover, .svc-cta:hover, .cap-btn-light:hover, .cap-btn-ghost:hover { transform: none; }
    .svc-panel::before { transition: none; }
    .cap-item:hover .cap-icon { transform: none; }
}

/* ============================================================================
   SECTION 6 — PROOF / METRICS
   ----------------------------------------------------------------------------
   Dark band, four columns, hairline dividers. No boxes — the numbers carry it.
   ========================================================================== */
.proof-v2 {
    position: relative; overflow: hidden;
    background: linear-gradient(120deg, #050F1F 0%, #071A33 45%, #0B3B73 100%);
    padding: clamp(56px, 6.5vw, 86px) 0;
}

/* Evidence panel replaces unverified counters and testimonials. */
.proof-v2 .evidence-section { position: relative; z-index: 2; }
.evidence-heading { max-width: 760px; margin: 0 auto 2.3rem; text-align: center; }
.evidence-heading h2 { color: #f5f9ff; font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 900; letter-spacing: -.04em; margin: .7rem 0 .8rem; }
.evidence-heading p { color: #aebfd2; max-width: 650px; margin: 0 auto; line-height: 1.75; }
.evidence-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.evidence-grid article { min-height: 220px; padding: 1.65rem; border: 1px solid rgba(84,168,255,.23); border-radius: 20px; background: linear-gradient(145deg, rgba(17,50,88,.9), rgba(7,25,49,.92)); box-shadow: 0 18px 55px rgba(0,0,0,.16); }
.evidence-grid i { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; color: #4bd9f9; background: rgba(26,191,232,.11); border: 1px solid rgba(75,217,249,.25); margin-bottom: 1.2rem; }
.evidence-grid h3 { color: #f4f9ff; font-size: 1.08rem; font-weight: 800; margin: 0 0 .6rem; }
.evidence-grid p { color: #aebfd2; line-height: 1.65; margin: 0; }
@media (max-width: 767.98px) { .evidence-grid { grid-template-columns: 1fr; } .evidence-grid article { min-height: auto; } }
.proof-glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(680px circle at 22% 120%, rgba(24,191,232,.16), transparent 60%),
        radial-gradient(620px circle at 82% -20%, rgba(22,119,255,.16), transparent 60%);
}
.proof-v2 > .container { position: relative; z-index: 1; }

.proof-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; }
.proof-item {
    text-align: center; padding: .4rem clamp(.6rem, 1.6vw, 1.4rem);
    border-left: 1px solid rgba(255,255,255,.12);
}
.proof-item:first-child { border-left: none; }

.proof-num {
    font-size: clamp(1.9rem, 4.1vw, 3.05rem);
    font-weight: 800; line-height: 1.02; letter-spacing: -.038em;
    font-variant-numeric: tabular-nums;     /* stops width jitter while counting */
    background: linear-gradient(94deg, #FFFFFF 0%, #9FE3F5 100%);
    -webkit-background-clip: text; background-clip: text; color: transparent;
    margin-bottom: .55rem;
}
.proof-label {
    font-size: .735rem; font-weight: 600;
    letter-spacing: .085em; text-transform: uppercase;
    color: rgba(255,255,255,.55); line-height: 1.45;
}

/* ============================================================================
   SECTION 7 — PRODUCTS
   ----------------------------------------------------------------------------
   Three product cards, each with its own accent drawn from the brand system.
   The visual is an abstract UI motif, deliberately not a fake screenshot.
   ========================================================================== */
.prod-v2 { padding: clamp(72px, 8vw, 110px) 0; background: #FFFFFF; }
.prod-head { max-width: 640px; margin: 0 auto clamp(2.4rem, 4.5vw, 3.6rem); text-align: center; }
.prod-title {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
    color: #071A33; margin: 0 0 .8rem;
}
.prod-sub { font-size: 1rem; line-height: 1.72; color: #64748B; margin: 0; }

.prod-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.prod-card {
    --accent:   #1677FF;
    --accent-2: #18BFE8;
    display: flex; flex-direction: column;
    background: #FFFFFF;
    border: 1px solid #E2E8F0;
    border-radius: 18px; overflow: hidden;
    transition: transform .34s cubic-bezier(.22,1,.36,1),
                box-shadow .34s cubic-bezier(.22,1,.36,1),
                border-color .3s ease;
}
.prod--crm { --accent: #1677FF; --accent-2: #18BFE8; }
.prod--edu { --accent: #7C5CFF; --accent-2: #4DA3FF; }
.prod--med { --accent: #0EA5A5; --accent-2: #18BFE8; }

.prod-card:hover {
    transform: translateY(-6px);
    border-color: transparent;
    box-shadow: 0 30px 58px -28px rgba(7,26,51,.38);
}

/* Abstract product motif — a suggestion of an interface, not a mock screenshot. */
.prod-visual {
    position: relative; height: 122px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--accent) 80%, #0a3158) 0%,
        color-mix(in srgb, var(--accent-2) 72%, #0a3158) 130%);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
}
.prod-visual::after {
    content: ''; position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.1) 1px, transparent 1px);
    background-size: 26px 26px;
    mask-image: radial-gradient(circle at 50% 50%, #000 5%, transparent 72%);
    -webkit-mask-image: radial-gradient(circle at 50% 50%, #000 5%, transparent 72%);
}
.prod-chip {
    position: relative; z-index: 1;
    width: 56px; height: 56px; border-radius: 14px;
    background: rgba(255,255,255,.13);
    border: 1px solid rgba(255,255,255,.36);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.35rem;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.prod-card:hover .prod-chip { transform: translateY(-3px) scale(1.07); }
.prod-motif {
    position: absolute; right: 1.15rem; bottom: 1.15rem; z-index: 1;
    display: flex; align-items: flex-end; gap: 4px; height: 26px;
}
.prod-motif .motif-bar { width: 5px; border-radius: 2px; background: rgba(255,255,255,.5); }
.prod-motif .motif-bar:nth-child(1) { height: 42%; }
.prod-motif .motif-bar:nth-child(2) { height: 78%; }
.prod-motif .motif-bar:nth-child(3) { height: 58%; }

.prod-body { padding: 1.5rem 1.5rem 0; flex: 1; }
.prod-name {
    font-size: 1.16rem; font-weight: 750; letter-spacing: -.02em;
    color: #071A33; margin: 0 0 .55rem;
}
.prod-desc { font-size: .855rem; line-height: 1.7; color: #64748B; margin: 0 0 1.25rem; }
.prod-features {
    list-style: none; margin: 0; padding: 1.15rem 0 0;
    border-top: 1px solid #EEF2F7;
    display: grid; gap: .6rem;
}
.prod-features li {
    position: relative; padding-left: 1.3rem;
    font-size: .815rem; color: #334155; font-weight: 550; line-height: 1.4;
}
.prod-features li::before {
    content: ''; position: absolute; left: 0; top: .44em;
    width: 6px; height: 6px; border-radius: 2px; background: var(--accent);
}

.prod-actions { display: flex; gap: .6rem; padding: 1.4rem 1.5rem 1.5rem; }
.prod-btn-primary, .prod-btn-ghost {
    flex: 1; text-align: center; text-decoration: none;
    padding: .68rem 1rem; border-radius: 8px;
    font-size: .82rem; font-weight: 650;
    transition: transform .25s cubic-bezier(.22,1,.36,1), background .25s ease, border-color .25s ease;
}
.prod-btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-2));
    color: #fff; border: 1px solid transparent;
}
.prod-btn-primary:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.06); }
.prod-btn-ghost { background: #fff; border: 1px solid #DCE5F0; color: #334155; }
.prod-btn-ghost:hover { color: #071A33; border-color: #B9C9DD; background: #F7F9FC; transform: translateY(-2px); }

/* ── Responsive ──────────────────────────────────────────────────────── */
@media (max-width: 991.98px) {
    .prod-grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
}
@media (max-width: 575.98px) {
    /* 4 columns at 375px crushes the labels; 2x2 keeps them readable. */
    .proof-grid { grid-template-columns: repeat(2, 1fr); gap: 2rem 0; }
    .proof-item:nth-child(odd)  { border-left: none; }
    .proof-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.12); }
}

.prod-btn-primary:focus-visible, .prod-btn-ghost:focus-visible {
    outline: 2px solid #1677FF; outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
    .prod-card:hover, .prod-btn-primary:hover, .prod-btn-ghost:hover { transform: none; }
    .prod-card:hover .prod-chip { transform: none; }
}

/* ============================================================================
   SECTION 8 — COMPANY / VIDEO
   ========================================================================== */
.about-v2 { padding: clamp(72px, 8vw, 110px) 0; background: #FFFFFF; }
.about-split {
    display: grid; grid-template-columns: 1fr 1.15fr;   /* slight asymmetry */
    gap: clamp(2rem, 5vw, 4.5rem); align-items: center;
}
.about-heading {
    font-size: clamp(1.75rem, 3.3vw, 2.7rem);
    font-weight: 800; letter-spacing: -.03em; line-height: 1.14;
    color: #071A33; margin: 0 0 1rem; text-wrap: balance;
}
.about-desc { font-size: .97rem; line-height: 1.8; color: #64748B; margin: 0 0 1.75rem; }

.about-points { list-style: none; margin: 0 0 2rem; padding: 1.6rem 0 0; border-top: 1px solid #EEF2F7; display: grid; gap: .95rem; }
.about-points li { display: flex; align-items: flex-start; gap: .8rem; font-size: .9rem; color: #334155; font-weight: 550; line-height: 1.5; }
.about-points i {
    flex-shrink: 0; margin-top: .12rem;
    width: 20px; height: 20px; border-radius: 6px;
    background: rgba(22,119,255,.1); color: #1677FF;
    display: flex; align-items: center; justify-content: center; font-size: .62rem;
}

.about-cta {
    display: inline-flex; align-items: center; gap: .55rem;
    background: linear-gradient(135deg, #1677FF, #0E5FD8); color: #fff;
    padding: .82rem 1.55rem; border-radius: 8px;
    font-size: .89rem; font-weight: 650; text-decoration: none;
    box-shadow: 0 10px 24px -12px rgba(22,119,255,.8);
    transition: transform .26s cubic-bezier(.22,1,.36,1), box-shadow .26s ease;
}
.about-cta:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 16px 32px -12px rgba(22,119,255,.92); }
.about-cta i { transition: transform .26s cubic-bezier(.22,1,.36,1); }
.about-cta:hover i { transform: translateX(3px); }

.about-video {
    position: relative; aspect-ratio: 16/9;
    border-radius: 18px; overflow: hidden;   /* larger radius: major container */
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 34px 70px -30px rgba(7,26,51,.55);
}
.about-video.no-thumb { background: linear-gradient(135deg, #071A33 0%, #0B3B73 100%); }
.about-video-preview {
    position: absolute; inset: 0;
    width: 100%; height: 100%;
    object-fit: cover;
    background: #071A33;
}
.about-thumb { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.about-scrim {
    position: absolute; inset: 0;
    background: linear-gradient(160deg, rgba(7,26,51,.42) 0%, rgba(11,59,115,.62) 100%);
}

/* Elegant play control: thin ring, soft glass fill, expanding halo. */
.about-play {
    position: relative; z-index: 2;
    width: 82px; height: 82px; border-radius: 50%;
    background: rgba(255,255,255,.14);
    border: 1.5px solid rgba(255,255,255,.55);
    backdrop-filter: blur(10px);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.28rem; text-decoration: none; padding-left: 5px;
    transition: transform .35s cubic-bezier(.22,1,.36,1), background .3s ease, border-color .3s ease;
}
.about-play:hover { color: #fff; background: rgba(255,255,255,.24); border-color: #fff; transform: scale(1.07); }
.play-ring {
    position: absolute; inset: -1.5px; border-radius: 50%;
    border: 1.5px solid rgba(255,255,255,.5);
    animation: playHalo 2.8s ease-out infinite;
}
@keyframes playHalo {
    0%   { transform: scale(1);    opacity: .65; }
    100% { transform: scale(1.42); opacity: 0; }
}

.about-caption { position: absolute; left: 1.6rem; right: 1.6rem; bottom: 1.5rem; z-index: 2; }
.about-vtitle { color: #fff; font-weight: 700; font-size: 1.06rem; letter-spacing: -.014em; }
.about-vsub { color: rgba(255,255,255,.66); font-size: .82rem; margin-top: .15rem; }

.about-play:focus-visible, .about-cta:focus-visible { outline: 2px solid #18BFE8; outline-offset: 4px; }

/* Cinematic company-video lightbox. The close control floats over the frame so
   there is no empty Bootstrap header competing with the film. */
#videoModal {
    --bs-modal-width: min(92vw, 1280px);
}
#videoModal .modal-dialog {
    width: min(92vw, 1280px);
    max-width: min(92vw, 1280px);
    margin: 1rem auto;
}
#videoModal .modal-content {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 22px;
    background: transparent !important;
    box-shadow: none;
}
#videoModal .modal-header {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 5;
    padding: 0;
    border: 0;
}
#videoModal .btn-close {
    position: relative;
    width: 46px;
    height: 46px;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 1px solid rgba(255,255,255,.24);
    border-radius: 50%;
    background-color: rgba(5,16,31,.72) !important;
    background-image: none !important;
    box-shadow: 0 8px 28px rgba(0,0,0,.36);
    opacity: 1;
    filter: none !important;
    backdrop-filter: blur(14px);
    transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
#videoModal .btn-close::before,
#videoModal .btn-close::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 18px;
    height: 2px;
    border-radius: 2px;
    background: #fff;
    transform: translate(-50%,-50%) rotate(45deg);
}
#videoModal .btn-close::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}
#videoModal .btn-close:hover {
    transform: scale(1.06);
    background-color: rgba(20,113,238,.92);
    border-color: rgba(255,255,255,.62);
}
#videoModal .btn-close:focus-visible {
    outline: 3px solid rgba(66,165,245,.75);
    outline-offset: 3px;
    box-shadow: none;
}
#videoModal .modal-body {
    overflow: hidden;
    padding: 0 !important;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 22px;
    background: #020814;
    box-shadow: 0 34px 100px rgba(0,0,0,.66), 0 0 0 1px rgba(28,143,255,.08);
}
#videoModal .company-overview-video {
    display: block;
    width: 100%;
    max-height: calc(100vh - 2rem);
    aspect-ratio: 16/9;
    object-fit: contain;
    border-radius: 21px;
    background: #000;
}
#videoModal.fade .modal-dialog {
    transform: translateY(14px) scale(.975);
    transition: transform .3s cubic-bezier(.2,.8,.2,1);
}
#videoModal.show .modal-dialog { transform: none; }
.modal-backdrop.show {
    opacity: .88;
    background: radial-gradient(circle at 50% 45%, #123d6b 0%, #061426 42%, #01050c 100%);
    backdrop-filter: blur(12px) saturate(.72);
}

@media (max-width: 575.98px) {
    #videoModal .modal-dialog {
        width: calc(100vw - 20px);
        max-width: calc(100vw - 20px);
        margin: 10px auto;
    }
    #videoModal .modal-content,
    #videoModal .modal-body { border-radius: 15px; }
    #videoModal .company-overview-video {
        max-height: calc(100vh - 20px);
        border-radius: 14px;
    }
    #videoModal .modal-header { top: 9px; right: 9px; }
    #videoModal .btn-close { width: 40px; height: 40px; }
}

@media (max-width: 991.98px) {
    .about-split { grid-template-columns: 1fr; gap: 2.2rem; }
}
@media (max-width: 575.98px) {
    .about-play { width: 64px; height: 64px; font-size: 1.05rem; }
    .about-cta { width: 100%; justify-content: center; }
    .about-caption { left: 1.1rem; right: 1.1rem; bottom: 1.1rem; }
    .about-vtitle { font-size: .94rem; }
}
@media (prefers-reduced-motion: reduce) {
    .play-ring { animation: none; opacity: .5; }
    .about-play:hover, .about-cta:hover { transform: none; }
}
@media print { .play-ring { animation: none; } }

/* ============================================================================
   SECTION 9 — TESTIMONIALS
   ----------------------------------------------------------------------------
   CSS-ONLY redesign, deliberately. The live Google Reviews feature fetches
   /Home/LiveReviews after page load and REBUILDS .carousel-inner from
   JavaScript, emitting .review-card / .review-stars / .review-text /
   .review-author / .review-avatar / .review-author-name / .review-platform.
   Renaming or restructuring any of those in the Razor view would leave the
   server-rendered markup styled and the live-fetched markup unstyled — a
   break that only appears once real reviews load. So the structure is left
   untouched and the whole premium treatment is done here, which means it
   applies identically to both server-rendered and JS-injected cards.
   ========================================================================== */
.reviews-section { padding: clamp(72px, 8vw, 110px) 0; background: #F7F9FC; }

.reviews-section .section-label {
    display: inline-block;
    font-size: .7rem; font-weight: 700;
    letter-spacing: .15em; text-transform: uppercase;
    color: #1677FF; background: none; padding: 0; border: none;
    margin-bottom: .85rem;
}
.reviews-section .section-title {
    font-size: clamp(1.7rem, 3.2vw, 2.6rem);
    font-weight: 800; letter-spacing: -.03em; line-height: 1.15;
    color: #071A33; margin: 0 0 .8rem;
}
.reviews-section .section-subtitle {
    font-size: 1rem; line-height: 1.72; color: #64748B;
    max-width: 580px; margin-left: auto; margin-right: auto;
}

/* Review card — editorial quote block rather than a plain bordered box. */
.reviews-section .review-card {
    position: relative; isolation: isolate;
    display: flex; flex-direction: column;
    height: 100%;
    background: #FFFFFF;
    border: 1px solid #E8EEF6;
    border-radius: 16px;
    padding: clamp(1.6rem, 2.6vw, 2.15rem);
    transition: transform .34s cubic-bezier(.22,1,.36,1),
                box-shadow .34s cubic-bezier(.22,1,.36,1),
                border-color .3s ease;
}
/* Oversized quote mark, set behind the text as a watermark. */
.reviews-section .review-card::before {
    content: '\201C';
    position: absolute; top: .35rem; right: 1.15rem; z-index: -1;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 6.5rem; line-height: 1; color: #EEF4FF;
    pointer-events: none;
}
.reviews-section .review-card:hover {
    transform: translateY(-5px);
    border-color: #D6E3F5;
    box-shadow: 0 28px 54px -26px rgba(7,26,51,.26);
}

.reviews-section .review-stars {
    color: #F59E0B; font-size: .95rem; letter-spacing: .1em;
    margin-bottom: 1rem;
}
.reviews-section .review-text {
    font-size: .945rem; line-height: 1.78; color: #334155;
    margin: 0 0 1.65rem; flex: 1;
    font-weight: 450;
}

.reviews-section .review-author {
    display: flex; align-items: center; gap: .85rem;
    padding-top: 1.35rem; border-top: 1px solid #EEF2F7;
}
.reviews-section .review-avatar {
    flex-shrink: 0;
    width: 42px; height: 42px; border-radius: 50%;
    background: linear-gradient(145deg, #1677FF, #0B3B73);
    color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .02em;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid #fff;
    box-shadow: 0 4px 12px -4px rgba(7,26,51,.35);
}
.reviews-section .review-author-name {
    font-size: .89rem; font-weight: 700; color: #071A33; letter-spacing: -.012em;
    line-height: 1.3;
}
.reviews-section .review-platform {
    font-size: .755rem; color: #64748B; margin-top: .14rem; line-height: 1.4;
}
.reviews-section .review-platform a { color: inherit; text-decoration: none; }
.reviews-section .review-platform a:hover { color: #1677FF; }

/* Carousel controls */
.reviews-section .carousel-inner { padding: .5rem 0 1rem; }
.reviews-section [data-bs-slide] {
    border-radius: 8px; font-size: .82rem; font-weight: 600;
    padding: .5rem 1.05rem;
    transition: transform .25s cubic-bezier(.22,1,.36,1);
}
.reviews-section [data-bs-slide]:hover { transform: translateY(-2px); }

/* Summary + source links under the heading */
.reviews-section .btn-outline-secondary {
    border-radius: 8px; border-color: #DCE5F0; color: #334155;
    font-weight: 600; font-size: .8rem;
    transition: border-color .25s ease, color .25s ease, background .25s ease;
}
.reviews-section .btn-outline-secondary:hover {
    background: #fff; border-color: #B9C9DD; color: #071A33;
}

@media (max-width: 575.98px) {
    .reviews-section .review-card { padding: 1.4rem; }
    .reviews-section .review-card::before { font-size: 5rem; }
}
@media (prefers-reduced-motion: reduce) {
    .reviews-section .review-card:hover,
    .reviews-section [data-bs-slide]:hover { transform: none; }
}

/* ============================================================================
   SECTION 10 — CONSULTATION CTA
   ----------------------------------------------------------------------------
   CSS-ONLY, for the same reason as Section 9 but with higher stakes: this
   form is live conversion infrastructure. #contactForm is read by site.js via
   FormData, so every input `name` (firstName, lastName, email, phone, company,
   service, message, smsConsent) feeds ContactController.Submit directly, the
   `website` input is a honeypot that must stay hidden and unnamed-changed, and
   the reCAPTCHA widget is bound by id. Restructuring the markup risks breaking
   submission, spam filtering or consent capture in ways that wouldn't show up
   until a real lead was lost — so the markup is untouched and every change
   below is presentational.
   ========================================================================== */
.cta-section {
    position: relative; overflow: hidden;
    background: linear-gradient(125deg, #050F1F 0%, #071A33 48%, #0B3B73 100%);
    padding: clamp(72px, 8vw, 112px) 0;
}
.cta-section::before {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(660px circle at 12% 8%, rgba(24,191,232,.15), transparent 58%),
        radial-gradient(600px circle at 88% 92%, rgba(22,119,255,.15), transparent 58%);
}
.cta-section::after {
    content: ''; position: absolute; inset: 0; pointer-events: none;
    background-image:
        linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
    background-size: 58px 58px;
    mask-image: radial-gradient(ellipse 70% 70% at 25% 40%, #000 15%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse 70% 70% at 25% 40%, #000 15%, transparent 70%);
}
.cta-section > .container { position: relative; z-index: 1; }

.cta-section h2 { letter-spacing: -.03em !important; line-height: 1.13 !important; font-weight: 800 !important; }
.cta-section .section-label {
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.16);
    color: rgba(255,255,255,.88);
    padding: .4rem .9rem; border-radius: 6px;
    font-size: .7rem; font-weight: 700; letter-spacing: .13em; text-transform: uppercase;
}

/* Benefit list — check chips rather than plain icons. */
.cta-section .d-flex.align-items-center.gap-3 > div:first-child {
    border-radius: 8px !important;
    background: rgba(24,191,232,.14) !important;
    border: 1px solid rgba(24,191,232,.28);
}

/* ── Form panel ──────────────────────────────────────────────────────── */
.cta-form {
    background: rgba(255,255,255,.055);
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 18px;                       /* larger radius: major container */
    padding: clamp(1.6rem, 3vw, 2.4rem);
    backdrop-filter: blur(16px);
    box-shadow: 0 34px 70px -32px rgba(0,0,0,.7);
}
.cta-form > h3, .cta-form > .h5, .cta-form > div:first-child {
    letter-spacing: -.018em;
}

.cta-section .form-label,
.cta-form label:not(.form-check-label) {
    font-size: .755rem !important; font-weight: 650 !important;
    letter-spacing: .05em; text-transform: uppercase;
    color: rgba(255,255,255,.62) !important;
    margin-bottom: .4rem !important;
}

.cta-section .form-control,
.cta-section .form-select {
    background: rgba(255,255,255,.05) !important;
    border: 1px solid rgba(255,255,255,.16) !important;
    color: #fff !important;
    border-radius: 9px !important;
    padding: .78rem .95rem !important;
    font-size: .9rem !important;
    transition: border-color .24s ease, box-shadow .24s ease, background .24s ease;
}
.cta-section .form-control::placeholder { color: rgba(255,255,255,.38) !important; }
.cta-section .form-control:focus,
.cta-section .form-select:focus {
    background: rgba(255,255,255,.09) !important;
    border-color: rgba(24,191,232,.65) !important;
    box-shadow: 0 0 0 4px rgba(24,191,232,.15) !important;
    color: #fff !important;
}
/* Native select dropdowns render dark-on-dark on some platforms otherwise. */
.cta-section .form-select option { background: #0B1D33; color: #fff; }

.cta-section .form-check-input {
    background-color: rgba(255,255,255,.08);
    border-color: rgba(255,255,255,.3);
}
.cta-section .form-check-input:checked { background-color: #1677FF; border-color: #1677FF; }
.cta-section .form-check-input:focus { box-shadow: 0 0 0 3px rgba(24,191,232,.25); }
.cta-section .form-check-label,
.cta-section label.form-check-label { color: rgba(255,255,255,.62); line-height: 1.6; }

/* Submit — the single highest-priority action on the page. */
.cta-section .btn-gold {
    background: linear-gradient(120deg, #F59E0B 0%, #F0731A 55%, #EF4444 100%) !important;
    border: none !important; border-radius: 10px !important;
    font-weight: 700 !important; font-size: .97rem !important;
    letter-spacing: -.005em;
    box-shadow: 0 14px 32px -12px rgba(240,115,26,.8);
    position: relative; overflow: hidden; isolation: isolate;
    transition: transform .26s cubic-bezier(.22,1,.36,1), box-shadow .26s ease;
}
.cta-section .btn-gold::after {
    content: ''; position: absolute; top: 0; bottom: 0; left: -85%; width: 55%;
    background: linear-gradient(100deg, transparent, rgba(255,255,255,.38), transparent);
    transform: skewX(-18deg); transition: left .65s cubic-bezier(.22,1,.36,1);
    pointer-events: none;
}
.cta-section .btn-gold:hover::after { left: 135%; }
.cta-section .btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px -12px rgba(240,115,26,.92);
}

.cta-section a { color: #7CD4EE; }
.cta-section a:hover { color: #A8E4F7; }
.cta-section .form-control:focus-visible,
.cta-section .btn-gold:focus-visible { outline: 2px solid #18BFE8; outline-offset: 3px; }

@media (max-width: 575.98px) {
    .cta-form { padding: 1.3rem; border-radius: 14px; }
    .cta-section .form-control, .cta-section .form-select { font-size: 16px !important; } /* stops iOS zoom-on-focus */
}
@media (prefers-reduced-motion: reduce) {
    .cta-section .btn-gold:hover { transform: none; }
    .cta-section .btn-gold::after { display: none; }
}

/* ============================================================================
   SECTION 7B — LOOP SUITE
   ----------------------------------------------------------------------------
   Deliberately dark, immediately after the light "Our Products" section, so
   it reads as a distinct product family rather than more of the same list.
   Reuses the same card anatomy (chip icon, name, description, actions) as
   .prod-card for consistency, restyled for a dark surface under new class
   names so nothing here can be overridden by .prod-* rules or vice versa.
   ========================================================================== */
.loop-v2 {
    position: relative; overflow: hidden;
    background: linear-gradient(150deg, #050F1F 0%, #071A33 55%, #0B3B73 100%);
    padding: clamp(64px, 7.5vw, 96px) 0;
}
.loop-glow {
    position: absolute; inset: 0; pointer-events: none;
    background:
        radial-gradient(620px circle at 12% 0%, rgba(24,191,232,.14), transparent 60%),
        radial-gradient(560px circle at 92% 100%, rgba(22,119,255,.14), transparent 60%);
}
.loop-v2 > .container { position: relative; z-index: 1; }

.loop-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }

.loop-card {
    --accent: #18BFE8;
    display: flex; flex-direction: column;
    background: rgba(255,255,255,.045);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 18px; overflow: hidden;
    backdrop-filter: blur(10px);
    transition: transform .34s cubic-bezier(.22,1,.36,1),
                box-shadow .34s cubic-bezier(.22,1,.36,1),
                border-color .3s ease, background .3s ease;
}
.loop--social { --accent: #18BFE8; }
.loop--seo    { --accent: #1677FF; }
.loop--ads    { --accent: #F59E0B; }
.loop--dev    { --accent: #8B7CFF; }

.loop-card:hover {
    transform: translateY(-6px);
    background: rgba(255,255,255,.07);
    border-color: rgba(255,255,255,.2);
    box-shadow: 0 30px 58px -28px rgba(0,0,0,.5);
}

.loop-visual {
    height: 92px; display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 22%, transparent), transparent 70%);
    border-bottom: 1px solid rgba(255,255,255,.08);
}
.loop-chip {
    width: 52px; height: 52px; border-radius: 13px;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.18);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); font-size: 1.25rem;
    transition: transform .4s cubic-bezier(.34,1.56,.64,1);
}
.loop-card:hover .loop-chip { transform: translateY(-3px) scale(1.07); }

.loop-body { padding: 1.4rem 1.4rem 0; flex: 1; }
.loop-name {
    font-size: 1.08rem; font-weight: 750; letter-spacing: -.018em;
    color: #fff; margin: 0 0 .5rem;
}
.loop-desc { font-size: .85rem; line-height: 1.65; color: rgba(255,255,255,.62); margin: 0 0 .8rem; }
.loop-domain {
    display: inline-block; font-family: 'SFMono-Regular', Consolas, monospace;
    font-size: .74rem; color: var(--accent);
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12);
    padding: .2rem .6rem; border-radius: 6px;
    max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

.loop-actions { display: flex; gap: .6rem; padding: 1.2rem 1.4rem 1.4rem; }
.loop-btn-primary, .loop-btn-ghost {
    flex: 1; text-align: center; text-decoration: none;
    padding: .62rem .9rem; border-radius: 8px;
    min-height: 42px; font-size: .8rem; font-weight: 700;
    display: inline-flex; align-items: center; justify-content: center; gap: .4rem;
    transition: transform .25s cubic-bezier(.22,1,.36,1), background .25s ease, border-color .25s ease;
}
.loop-btn-primary {
    background: var(--accent); color: #071A33; border: 1px solid transparent;
}
.loop-btn-primary:hover { color: #071A33; transform: translateY(-2px); filter: brightness(1.08); }
.loop-btn-primary i { font-size: .7rem; }
.loop-btn-ghost {
    background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.16); color: #fff;
}
.loop-btn-ghost:hover { color: #fff; background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.3); transform: translateY(-2px); }

@media (max-width: 1199.98px) {
    .loop-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 767.98px) {
    .loop-grid { grid-template-columns: 1fr; max-width: 440px; margin-inline: auto; }
}
.loop-btn-primary:focus-visible, .loop-btn-ghost:focus-visible {
    outline: 2px solid #18BFE8; outline-offset: 3px;
}
@media (prefers-reduced-motion: reduce) {
    .loop-card:hover, .loop-btn-primary:hover, .loop-btn-ghost:hover { transform: none; }
    .loop-card:hover .loop-chip { transform: none; }
}

/* ============================================================================
   HOMEPAGE UNIFIED HERO THEME
   Extends the hero's deep-navy grid, luminous cyan accents and glass surfaces
   through every public homepage section. Content and conversion behavior stay
   untouched; this layer only creates one coherent visual story.
   ========================================================================== */
:root {
    --home-ink: #f7fbff;
    --home-muted: #9fb3c9;
    --home-line: rgba(134, 184, 232, .16);
    --home-panel: rgba(12, 35, 63, .74);
    --home-panel-strong: rgba(9, 28, 52, .94);
    --home-blue: #1677ff;
    --home-cyan: #28c7f3;
}

body:has(.hero-v2) {
    background: #061426;
    color: var(--home-ink);
}

body:has(.hero-v2) main {
    overflow: hidden;
    background:
        radial-gradient(900px circle at 8% 18%, rgba(22,119,255,.13), transparent 58%),
        radial-gradient(760px circle at 94% 52%, rgba(40,199,243,.09), transparent 58%),
        #061426;
}

body:has(.hero-v2) main > section:not(.hero-v2) {
    position: relative;
    isolation: isolate;
    background-color: transparent;
    border-top: 1px solid var(--home-line);
}

body:has(.hero-v2) main > section:not(.hero-v2)::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -2;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(93,153,211,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(93,153,211,.055) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 12%, #000 88%, transparent);
}

body:has(.hero-v2) .eyebrow,
body:has(.hero-v2) .section-label,
body:has(.hero-v2) .svc-cat {
    color: #4bd8ff !important;
}

body:has(.hero-v2) .trust-heading,
body:has(.hero-v2) .partners-title,
body:has(.hero-v2) .svc-title,
body:has(.hero-v2) .cap-title,
body:has(.hero-v2) .prod-title,
body:has(.hero-v2) .about-heading,
body:has(.hero-v2) .reviews-section .section-title {
    color: var(--home-ink) !important;
    text-shadow: 0 12px 38px rgba(0,0,0,.24);
}

body:has(.hero-v2) .trust-body,
body:has(.hero-v2) .partners-sub,
body:has(.hero-v2) .svc-sub,
body:has(.hero-v2) .cap-sub,
body:has(.hero-v2) .prod-sub,
body:has(.hero-v2) .about-desc,
body:has(.hero-v2) .reviews-section .section-subtitle {
    color: var(--home-muted) !important;
}

/* Header: a compact glass command bar that belongs to the hero. */
body:has(.hero-v2) .navbar-s4 {
    background: rgba(4, 17, 33, .76) !important;
    border-bottom: 1px solid rgba(135,190,238,.14);
    backdrop-filter: blur(20px) saturate(1.25);
    box-shadow: 0 12px 40px rgba(0,0,0,.16);
}
body:has(.hero-v2) .navbar-s4.scrolled {
    background: rgba(4, 17, 33, .94) !important;
    box-shadow: 0 16px 46px rgba(0,0,0,.3);
}
body:has(.hero-v2) .navbar-s4 .navbar-brand {
    position: relative;
    display: block;
    width: 170px;
    min-width: 170px;
    height: 64px;
    padding: 0;
    overflow: hidden;
}
body:has(.hero-v2) .navbar-s4 .navbar-brand img,
body:has(.hero-v2) .navbar-s4 .brand-logo {
    position: absolute;
    top: -50px;
    left: 0;
    width: 170px !important;
    height: 170px !important;
    max-width: none;
    margin: 0 !important;
    object-fit: contain;
    object-position: left center;
    filter: drop-shadow(0 8px 18px rgba(40,199,243,.12));
}

/* Intro and partner ecosystem become dark editorial/glass bands. */
.trust-intro {
    background:
        radial-gradient(620px circle at 78% 42%, rgba(40,199,243,.08), transparent 65%),
        #07182d;
}
.trust-body strong { color: #f7fbff; }
.trust-body a { color: #8fe6ff; border-color: rgba(75,216,255,.35); }
.trust-body a:hover { color: #fff; border-color: #4bd8ff; }
.trust-pills { border-color: var(--home-line); }
.trust-pills li { color: #c8d9e9; }
.trust-pills i { color: #4bd8ff; }

.partners-strip {
    background:
        radial-gradient(700px circle at 50% 120%, rgba(22,119,255,.13), transparent 62%),
        #061426;
}
.partners-rail,
.cap-grid {
    background: var(--home-line);
    border-color: var(--home-line);
    box-shadow: 0 34px 90px -50px rgba(0,0,0,.88);
}
.partner-item,
.partner-link {
    background: rgba(10,31,57,.82);
}
a.partner-link:hover { background: rgba(18,50,86,.92); }
.partner-logo {
    box-sizing: border-box;
    width: 170px !important;
    height: 72px !important;
    max-width: calc(100% - 12px) !important;
    max-height: 72px !important;
    padding: 10px 15px;
    border: 1px solid rgba(203, 219, 235, .82);
    border-radius: 10px;
    background: rgba(255,255,255,.96);
    object-fit: contain;
    filter: none !important;
    opacity: 1;
    box-shadow: 0 8px 22px -16px rgba(0,0,0,.75);
}
.partner-item:nth-child(5) .partner-logo {
    padding: 5px 30px;
}
a.partner-link:hover .partner-logo {
    filter: none !important;
    opacity: 1;
    transform: translateY(-2px) scale(1.025);
    box-shadow: 0 12px 28px -17px rgba(40,199,243,.68);
}
.partner-name { color: #aabed2; }
a.partner-link:hover .partner-name { color: #fff; }
.partner-initials {
    background: rgba(22,119,255,.13);
    border-color: rgba(75,216,255,.2);
    color: #bdefff;
}

/* Services and capabilities: luminous glass panels on the same grid plane. */
.svc-v2 {
    background:
        radial-gradient(740px circle at 8% 8%, rgba(22,119,255,.1), transparent 62%),
        #08192e;
}
.svc-panel,
.cap-item {
    background: linear-gradient(145deg, rgba(15,43,75,.92), rgba(8,28,52,.92));
    border-color: rgba(122,179,230,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.svc-panel:hover,
.cap-item:hover {
    background: linear-gradient(145deg, rgba(20,55,94,.96), rgba(9,34,64,.96));
    border-color: rgba(75,216,255,.34);
    box-shadow: 0 28px 70px -32px rgba(0,0,0,.78), inset 0 1px 0 rgba(255,255,255,.06);
}
.svc-num { -webkit-text-stroke-color: rgba(106,170,226,.42); }
.svc-panel--alt .svc-num { -webkit-text-stroke-color: rgba(75,216,255,.46); }
.svc-panel-title,
.cap-item-title { color: #f4f9ff; }
.svc-panel-desc,
.cap-item-desc { color: #9fb3c9; }
.svc-list { border-color: var(--home-line); }
.svc-list li { color: #c3d2e2; }
.svc-list li::before { box-shadow: 0 0 14px rgba(40,199,243,.75); }

.cap-v2 {
    background:
        radial-gradient(720px circle at 92% 30%, rgba(40,199,243,.085), transparent 62%),
        #061426;
}
.cap-icon { color: #50d9ff; }
.cap-banner {
    border: 1px solid rgba(75,216,255,.2);
    background:
        linear-gradient(120deg, rgba(12,42,76,.96), rgba(8,30,56,.96)),
        #071a33;
    box-shadow: 0 30px 75px -42px rgba(0,0,0,.9);
}

/* Metrics remain the visual punctuation mark, now with evidence context. */
.proof-v2 {
    border-block: 1px solid rgba(75,216,255,.2) !important;
    background: linear-gradient(120deg, #04101e 0%, #092645 50%, #073662 100%) !important;
}
.proof-note {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: .55rem;
    margin: 1.8rem auto 0;
    color: rgba(220,238,255,.64);
    font-size: .78rem;
    letter-spacing: .02em;
}
.proof-note i { color: #50d9ff; }

/* Product cards retain their identifying accent but use the shared dark shell. */
.prod-v2 {
    background:
        radial-gradient(760px circle at 50% -10%, rgba(22,119,255,.14), transparent 62%),
        #08192e;
}
.prod-card {
    background: linear-gradient(155deg, rgba(15,43,75,.96), rgba(7,25,47,.98));
    border-color: rgba(122,179,230,.18);
    box-shadow: 0 25px 70px -42px rgba(0,0,0,.85);
}
.prod-card:hover { border-color: rgba(75,216,255,.28); box-shadow: 0 34px 78px -34px rgba(0,0,0,.9); }
.prod-name { color: #f5faff; }
.prod-desc { color: #9fb3c9; }
.prod-features { border-color: var(--home-line); }
.prod-features li { color: #c4d3e2; }
.prod-btn-ghost { background: rgba(255,255,255,.035); border-color: rgba(157,196,230,.2); color: #c6d7e8; }
.prod-btn-ghost:hover { color: #fff; border-color: rgba(75,216,255,.42); background: rgba(75,216,255,.08); }

/* Product polish: consistent geometry, clearer type and calmer accent colour. */
body:has(.hero-v2) .prod-card,
body:has(.hero-v2) .loop-card {
    border-color: rgba(124, 181, 232, .24);
    box-shadow: 0 24px 62px -42px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.045);
}
body:has(.hero-v2) .prod-card:hover,
body:has(.hero-v2) .loop-card:hover {
    border-color: color-mix(in srgb, var(--accent) 58%, rgba(255,255,255,.22));
    box-shadow: 0 34px 78px -35px rgba(0,0,0,.95), 0 0 38px -24px var(--accent);
}
body:has(.hero-v2) .prod-card .prod-visual { height: 122px; }
body:has(.hero-v2) .prod-name,
body:has(.hero-v2) .loop-name { letter-spacing: -.025em; }
body:has(.hero-v2) .prod-desc,
body:has(.hero-v2) .loop-desc { color: #b4c5d7; }
body:has(.hero-v2) .prod-features li { color: #d0dcea; }
body:has(.hero-v2) .prod-btn-primary,
body:has(.hero-v2) .prod-btn-ghost {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
}
body:has(.hero-v2) .loop-visual {
    height: 106px;
    background: linear-gradient(135deg,
        color-mix(in srgb, var(--accent) 20%, rgba(255,255,255,.035)),
        rgba(255,255,255,.018) 72%);
}
body:has(.hero-v2) .prod-card .prod-chip,
body:has(.hero-v2) .loop-card .loop-chip {
    display: flex;
    background: transparent;
    border: 0;
    border-radius: 0;
    backdrop-filter: none;
    box-shadow: none;
}
body:has(.hero-v2) .prod-card .prod-chip {
    width: 104px;
    height: 104px;
}
body:has(.hero-v2) .loop-card .loop-chip {
    width: 88px;
    height: 88px;
}
body:has(.hero-v2) .prod-chip img,
body:has(.hero-v2) .loop-chip img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, .32));
    user-select: none;
    pointer-events: none;
}
body:has(.hero-v2) .prod-v2.products-combined {
    padding-block: clamp(64px, 6vw, 86px);
}
body:has(.hero-v2) .products-combined .prod-head {
    margin-bottom: clamp(1.8rem, 3vw, 2.6rem);
}
body:has(.hero-v2) .products-suite-divider {
    position: relative;
    margin: clamp(2rem, 3.5vw, 2.8rem) 0 1.25rem;
    padding-top: 1.4rem;
    text-align: center;
    border-top: 1px solid rgba(75,216,255,.16);
}
body:has(.hero-v2) .products-suite-divider span {
    display: block;
    margin-bottom: .35rem;
    color: #4bd8ff;
    font-size: .68rem;
    font-weight: 800;
    letter-spacing: .16em;
}
body:has(.hero-v2) .products-suite-divider h3 {
    margin: 0 0 .3rem;
    color: var(--home-ink);
    font-size: clamp(1.35rem, 2vw, 1.75rem);
    letter-spacing: -.025em;
}
body:has(.hero-v2) .products-suite-divider p {
    margin: 0;
    color: var(--home-muted);
    font-size: .94rem;
}
body:has(.hero-v2) .products-combined .loop-grid {
    margin: 0;
}
body:has(.hero-v2) .prod-card .prod-motif { display: flex; }
body:has(.hero-v2) .loop-domain {
    color: color-mix(in srgb, var(--accent) 82%, #fff);
    border-color: color-mix(in srgb, var(--accent) 28%, rgba(255,255,255,.12));
    background: color-mix(in srgb, var(--accent) 8%, rgba(255,255,255,.035));
}

/* Company video and testimonials share the cinematic treatment. */
.about-v2 {
    background:
        radial-gradient(620px circle at 82% 50%, rgba(40,199,243,.1), transparent 62%),
        #061426;
}
.about-points { border-color: var(--home-line); }
.about-points li { color: #c5d4e3; }
.about-points i { background: rgba(40,199,243,.12); border-color: rgba(75,216,255,.2); color: #50d9ff; }
.about-video {
    border: 1px solid rgba(75,216,255,.2);
    box-shadow: 0 38px 90px -36px rgba(0,0,0,.9), 0 0 55px rgba(22,119,255,.1);
}

.reviews-section {
    background:
        radial-gradient(700px circle at 12% 70%, rgba(22,119,255,.1), transparent 64%),
        #08192e;
}

/* Verified Google review snapshot. The source link remains visible on every
   card so excerpts can be checked against the public Business Profile. */
.google-reviews-v2 {
    padding: clamp(72px, 8vw, 104px) 0;
    background:
        radial-gradient(circle at 86% 14%, rgba(22,119,255,.16), transparent 32%),
        linear-gradient(180deg, #07192f 0%, #061426 100%);
    border-block: 1px solid rgba(91,168,255,.16);
}
.google-reviews-head { display: flex; justify-content: space-between; align-items: end; gap: 2rem; margin-bottom: 2rem; }
.google-reviews-head > div { max-width: 720px; }
.google-reviews-head .section-label { display: inline-flex; align-items: center; gap: .5rem; color: #65dcfa; }
.google-reviews-head h2 { margin: .75rem 0 .65rem; color: #f6f9ff; font-size: clamp(2rem, 4vw, 3.15rem); line-height: 1.08; letter-spacing: -.04em; font-weight: 900; }
.google-reviews-head p { margin: 0; color: #aebfd2; line-height: 1.7; }
.google-rating-card { display: flex; align-items: center; gap: .8rem; min-width: 250px; padding: 1rem 1.15rem; border: 1px solid rgba(91,168,255,.24); border-radius: 17px; background: rgba(15,45,79,.72); text-decoration: none; box-shadow: 0 18px 50px rgba(0,0,0,.17); }
.google-rating-score { color: #fff; font-size: 2rem; font-weight: 900; letter-spacing: -.04em; }
.google-rating-card > span:nth-child(2) { display: grid; }
.google-rating-stars { color: #fbbc04; font-size: .9rem; letter-spacing: .08em; }
.google-rating-card small { color: #b7c7d9; font-size: .75rem; }
.google-rating-card > i { margin-left: auto; color: #65dcfa; }
.google-review-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.google-review-card { display: flex; flex-direction: column; min-height: 260px; padding: 1.4rem; border: 1px solid rgba(91,168,255,.2); border-radius: 20px; background: linear-gradient(145deg, rgba(19,52,89,.92), rgba(8,29,54,.96)); box-shadow: 0 22px 60px rgba(0,0,0,.16); transition: transform .25s ease, border-color .25s ease; }
.google-review-card:hover { transform: translateY(-4px); border-color: rgba(101,220,250,.45); }
.google-review-top { display: grid; grid-template-columns: auto 1fr auto; gap: .8rem; align-items: center; }
.google-review-avatar { display: grid; place-items: center; width: 48px; height: 48px; overflow: hidden; border: 2px solid rgba(101,220,250,.5); border-radius: 50%; background: #fff; box-shadow: 0 7px 20px rgba(0,0,0,.22); }
.google-review-avatar > img { display: block; width: 100%; height: 100%; object-fit: cover; }
.google-review-avatar-fallback { place-items: center; width: 100%; height: 100%; color: #061426; background: linear-gradient(135deg, #65dcfa, #4f8cff); font-size: .78rem; font-weight: 900; }
.google-review-avatar-fallback:not([hidden]) { display: grid; }
.google-review-top h3 { margin: 0 0 .12rem; color: #f6f9ff; font-size: .96rem; font-weight: 800; }
.google-review-top > div > span { color: #8fa7bf; font-size: .75rem; }
.google-review-top > i { color: #fff; font-size: 1.05rem; }
.google-review-card blockquote { margin: 1.4rem 0 1.3rem; color: #d9e4ef; font-size: 1rem; line-height: 1.7; font-style: normal; }
.google-review-card > a { margin-top: auto; color: #65dcfa; font-size: .82rem; font-weight: 750; text-decoration: none; }
.google-review-card > a i { margin-left: .25rem; font-size: .72rem; }
.google-reviews-foot { display: flex; justify-content: space-between; align-items: center; gap: 1rem; margin-top: 1.25rem; color: #8fa7bf; font-size: .82rem; }
.google-reviews-foot span i { color: #34d399; margin-right: .35rem; }
.google-reviews-foot a { color: #65dcfa; font-weight: 750; text-decoration: none; }
@media (max-width: 991.98px) { .google-reviews-head { align-items: start; flex-direction: column; } .google-review-grid { grid-template-columns: 1fr; } .google-rating-card { width: 100%; } }
@media (max-width: 575.98px) { .google-reviews-foot { align-items: start; flex-direction: column; } .google-review-card { min-height: auto; } }
@media (prefers-reduced-motion: reduce) { .google-review-card { transition: none; } .google-review-card:hover { transform: none; } }
.reviews-section .review-card {
    background: linear-gradient(145deg, rgba(15,43,75,.94), rgba(8,28,52,.96));
    border-color: rgba(122,179,230,.18);
    box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
}
.reviews-section .review-card::before { color: rgba(79,170,255,.1); }
.reviews-section .review-card:hover { border-color: rgba(75,216,255,.3); box-shadow: 0 30px 70px -34px rgba(0,0,0,.9); }
.reviews-section .review-text { color: #c6d5e4; }
.reviews-section .review-author { border-color: var(--home-line); }
.reviews-section .review-author-name { color: #f5faff; }
.reviews-section .review-platform { color: #8fa8bf; }
.reviews-section .btn-outline-secondary { background: rgba(255,255,255,.035); border-color: rgba(157,196,230,.2); color: #bed0e1; }
.reviews-section .btn-outline-secondary:hover { background: rgba(75,216,255,.08); border-color: rgba(75,216,255,.4); color: #fff; }
.review-proof {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    margin-top: .8rem;
    color: #8fa8bf;
    font-size: .78rem;
}
.review-proof i { color: #50d9ff; }

/* Conversion section and footer finish the same continuous scene. */
.cta-section {
    border-top-color: rgba(75,216,255,.22) !important;
    background: linear-gradient(125deg, #030d19 0%, #071d36 46%, #073a68 100%) !important;
}
.cta-form { background: rgba(7,25,47,.78); border-color: rgba(105,184,244,.22); }

body:has(.hero-v2) footer {
    position: relative;
    background:
        radial-gradient(680px circle at 12% 0%, rgba(22,119,255,.14), transparent 60%),
        #030c17 !important;
    border-top: 1px solid rgba(75,216,255,.18);
}
body:has(.hero-v2) footer::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(93,153,211,.035) 1px, transparent 1px),
        linear-gradient(90deg, rgba(93,153,211,.035) 1px, transparent 1px);
    background-size: 56px 56px;
    mask-image: linear-gradient(to bottom, #000, transparent 74%);
    -webkit-mask-image: linear-gradient(to bottom, #000, transparent 74%);
}
body:has(.hero-v2) footer > * { position: relative; z-index: 1; }
body:has(.hero-v2) footer img {
    width: 175px !important;
    height: 76px !important;
    max-width: 100%;
    height: auto !important;
    object-fit: fill !important;
    object-position: left center;
}
.brand-clarifier {
    display: none !important;
    align-items: center;
    gap: .48rem;
    margin-top: .85rem;
    width: fit-content;
    max-width: 320px;
    padding: .48rem .7rem;
    border: 1px solid rgba(75,216,255,.18);
    border-radius: 7px;
    background: rgba(75,216,255,.055);
    color: #9fb9d0;
    font-size: .69rem;
    line-height: 1.45;
    white-space: normal;
}
.brand-clarifier i { color: #4bd8ff; }

@media (max-width: 991.98px) {
    body:has(.hero-v2) .navbar-s4 .navbar-brand { width: 160px; min-width: 160px; height: 60px; }
    body:has(.hero-v2) .navbar-s4 .navbar-brand img,
    body:has(.hero-v2) .navbar-s4 .brand-logo { top: -47px; width: 160px !important; height: 160px !important; max-width: none; }
}
@media (max-width: 575.98px) {
    body:has(.hero-v2) main > section:not(.hero-v2)::after { background-size: 38px 38px; }
    body:has(.hero-v2) .navbar-s4 .navbar-brand img,
    body:has(.hero-v2) .navbar-s4 .brand-logo { top: -43px; width: 148px !important; height: 148px !important; max-width: none; }
    body:has(.hero-v2) .navbar-s4 .navbar-brand { width: 148px; min-width: 148px; height: 56px; }
    body:has(.hero-v2) footer img { width: 160px !important; height: 70px !important; }
    .brand-clarifier { max-width: 100%; }
    .proof-note { text-align: center; padding-inline: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
    body:has(.hero-v2) .svc-panel,
    body:has(.hero-v2) .cap-item,
    body:has(.hero-v2) .prod-card,
    body:has(.hero-v2) .review-card { transition: none !important; }
}
