/* ============================================================================
   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: .7rem;
    min-height: 124px; padding: 1.5rem 1rem;
    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 {
    font-size: .78rem; font-weight: 650; color: #475569;
    letter-spacing: .01em; text-align: center;
    transition: color .25s ease;
}
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;
}
.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: 16px; 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: 132px;
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-2) 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,.16);
    border: 1px solid rgba(255,255,255,.3);
    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-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; }

@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; }
}
