@font-face {
    font-family: 'BespokeStencil-Extrabold';
    src: url('./assets/fonts/BespokeStencil-Extrabold.woff2') format('woff2'),
         url('./assets/fonts/BespokeStencil-Extrabold.woff') format('woff');
    font-weight: 800;
    font-style: normal;
    font-display: swap;
}

:root {
    --clr-bg: #f8fafc;
    --clr-surface: rgba(255, 255, 255, 0.88);
    --clr-surface-solid: #ffffff;
    --clr-primary: #0a66c2;
    --clr-accent: #00b4d8;
    --clr-text-main: #0f172a;
    --clr-text-sec: #475569;
    --clr-border: #dbe7f2;
    --clr-hover: #eef6fb;
    --grad-primary: linear-gradient(135deg, var(--clr-primary), var(--clr-accent));
    --grad-glow: radial-gradient(circle at top right, rgba(0, 180, 216, 0.2), transparent 45%);
    --font-heading: 'Space Grotesk', sans-serif;
    --font-body: 'Inter', sans-serif;
    --max-width: 100%;
    --section-spacing: 112px;
    --shadow-sm: 0 10px 30px rgba(15, 23, 42, 0.05);
    --shadow-md: 0 18px 60px rgba(15, 23, 42, 0.1);
    --shadow-lg: 0 32px 90px rgba(15, 23, 42, 0.16);
    --shadow-glow: 0 0 30px rgba(0, 180, 216, 0.25);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    scrollbar-width: none; /* Firefox */
    overflow-x: hidden; /* prevent horizontal scroll at root level */
}
html::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Edge */
}

body {
    font-family: var(--font-body);
    background: linear-gradient(180deg, #f8fbfe 0%, #f4f8fc 100%);
    color: var(--clr-text-main);
    line-height: 1.6;
    overflow-x: hidden;
    max-width: 100vw;
}

main {
    overflow-x: hidden;
}

a {
    color: inherit;
}

img {
    display: block;
    max-width: 100%;
}

section {
    position: relative;
    z-index: 1;
    overflow-x: hidden;
}

.container {
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    line-height: 1.08;
    letter-spacing: -0.03em;
}

h1 {
    font-size: clamp(2.9rem, 7vw, 5.5rem);
}

h2 {
    font-size: clamp(2.2rem, 4vw, 3.8rem);
}

h3 {
    font-size: clamp(1.35rem, 2vw, 1.65rem);
}

p {
    color: var(--clr-text-sec);
    font-size: 1rem;
}

.gradient-text {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    margin-bottom: 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.86);
}

.eyebrow.dark {
    color: var(--clr-primary);
}

.section-header {
    max-width: 760px;
    margin: 0 auto 3.5rem;
    text-align: center;
}

.section-header p {
    margin-top: 1rem;
    font-size: 1.05rem;
}

.section-actions {
    margin-top: 2rem;
    text-align: center;
}

.intro-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    background: transparent;
    text-align: center;
}

.intro-logo {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
    letter-spacing: 0.24em;
    color: #fff;
    margin: 0;
}

.intro-progress-bar {
    width: min(260px, 70vw);
    height: 4px;
    border-radius: 999px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
}

.intro-progress {
    width: 0;
    height: 100%;
    background: var(--grad-primary);
}

#bg-canvas {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.navbar {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10000;
    width: min(1140px, calc(100% - 28px));
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.08);
    border-radius: 999px;
    backdrop-filter: blur(22px);
    transition: transform 0.35s ease, box-shadow 0.35s ease, background 0.35s ease;
}

.navbar.scrolled {
    background: rgba(255, 255, 255, 0.82);
    box-shadow: 0 24px 70px rgba(15, 23, 42, 0.12);
    transform: translateX(-50%) translateY(-4px);
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 0.45rem 0.75rem 0.45rem 1rem;
}

.logo {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    font-family: var(--font-heading);
    font-weight: 700;
    text-decoration: none;
}

.logo img {
    height: 64px;
    width: auto;
    display: block;
}

.logo-icon {
    stroke: var(--clr-primary);
}


.menu {
    display: flex;
    align-items: center;
    gap: 1.4rem;
    padding: 0.6rem 1.3rem;
    border-radius: 999px;
    background: transparent;
    border: none;
}

.menu a {
    position: relative;
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--clr-text-main);
}

.menu a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -0.35rem;
    width: 100%;
    height: 2px;
    transform: scaleX(0);
    transform-origin: center;
    background: var(--grad-primary);
    transition: transform 0.25s ease;
}

.menu a:hover::after,
.menu a.active::after {
    transform: scaleX(1);
}

.menu a.active {
    color: var(--clr-primary);
}

/* ── Language toggle ── */
.lang-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0;
    background: rgba(15,23,42,0.06);
    border: 1px solid rgba(15,23,42,0.1);
    border-radius: 999px;
    padding: 0.22rem 0.28rem;
    cursor: pointer;
    flex-shrink: 0;
    transition: border-color 0.2s;
}
.lang-toggle:hover { border-color: rgba(15,23,42,0.2); }
.lang-opt-en,
.lang-opt-ar {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 0.22rem 0.62rem;
    border-radius: 999px;
    color: rgba(15,23,42,0.4);
    transition: background 0.2s, color 0.2s;
    user-select: none;
    line-height: 1.4;
}
.lang-opt-en.lang-active,
.lang-opt-ar.lang-active {
    background: #fff;
    color: var(--clr-primary);
    box-shadow: 0 1px 4px rgba(15,23,42,0.12);
}
/* Mobile nav lang toggle — slightly larger */
.mobile-nav .lang-toggle {
    margin: 0.5rem auto 0;
    background: rgba(255,255,255,0.08);
    border-color: rgba(255,255,255,0.12);
}
.mobile-nav .lang-opt-en,
.mobile-nav .lang-opt-ar { color: rgba(255,255,255,0.45); }
.mobile-nav .lang-opt-en.lang-active,
.mobile-nav .lang-opt-ar.lang-active {
    background: rgba(255,255,255,0.15);
    color: #fff;
    box-shadow: none;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.88rem 1.45rem;
    border-radius: 999px;
    border: 1px solid transparent;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, color 0.25s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: #fff;
    background: var(--grad-primary);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    color: var(--clr-text-main);
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--clr-border);
}

.btn-ghost {
    padding: 0;
    color: var(--clr-primary);
    background: transparent;
    border: none;
    border-radius: 0;
}

.btn-large {
    padding: 1rem 2.2rem;
}

.btn-glow:hover {
    box-shadow: var(--shadow-glow);
}


.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 110px;
    background: #080f1c;
}

.page-hero {
    min-height: 82vh;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.44;
    filter: saturate(1.25) contrast(1.05);
}

.bg-scroller-container {
    position: absolute;
    inset: 0;
    overflow: hidden;
    z-index: 1;
    opacity: 0.76;
    mix-blend-mode: screen;
    transform: translateZ(0);
}

.bg-scroller-container::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, rgba(8, 15, 28, 0.84), rgba(8, 15, 28, 0.5));
}

.scroller-track {
    position: relative;
    top: -50%;
    display: flex;
    gap: 1rem;
    width: 124vw;
    height: 200%;
    margin-left: -12vw;
}

.scroller-column {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    flex: 1;
}

.scroller-up {
    animation: scroll-up 32s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.scroller-down {
    animation: scroll-down 32s linear infinite;
    will-change: transform;
    backface-visibility: hidden;
}

.scroll-card {
    flex-shrink: 0;
    width: 360px;
    height: 220px;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: var(--shadow-lg);
    background: #020617;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.scroll-card img,
.scroll-card video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

@keyframes scroll-up {
    from { transform: translate3d(0, 0, 0); }
    to   { transform: translate3d(0, -50%, 0); }
}

@keyframes scroll-down {
    from { transform: translate3d(0, -50%, 0); }
    to   { transform: translate3d(0, 0, 0); }
}

.hero-content {
    position: relative;
    z-index: 5;
    width: min(var(--max-width), calc(100% - 40px));
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
}

.hero-copy {
    max-width: 100%;
    margin-top: 100px;
}

.hero-title {
    color: #fff;
    text-transform: uppercase;
    margin-bottom: 1rem;
    line-height: 1;
    letter-spacing: -0.03em;
}

/* ── Hero title segments ─────────────────────────────── */
.ht-main {
    display: block;
    margin-bottom: 0.05em;
}

.ht-bridge {
    display: block;
    font-size: 0.26em;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.48);
    margin-bottom: 0.3em;
}

.ht-actions {
    display: block;
    line-height: 1.02;
}

/* SELL — animated gradient shimmer */
.ht-sell {
    background: linear-gradient(90deg,
        #38bdf8 0%,
        #0a66c2 25%,
        #00b4d8 50%,
        #38bdf8 75%,
        #0a66c2 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ht-shimmer 3.5s linear infinite;
}

/* OPERATE — hollow outline stroke */
.ht-operate {
    -webkit-text-stroke: 2px rgba(255, 255, 255, 0.75);
    -webkit-text-fill-color: transparent;
}

/* AND SCALE. — solid white with cyan radial glow */
.ht-scale {
    color: #fff;
    filter: drop-shadow(0 0 22px rgba(0, 180, 216, 0.75))
            drop-shadow(0 0 60px rgba(0, 180, 216, 0.35));
}

.ht-punct {
    color: rgba(255, 255, 255, 0.28);
    margin-right: 0.15em;
}

@keyframes ht-shimmer {
    0%   { background-position: 200% center; }
    100% { background-position: -200% center; }
}

.hero-subtitle {
    max-width: 640px;
    color: rgba(255, 255, 255, 0.78);
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    margin-bottom: 2rem;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.9rem;
    flex-wrap: wrap;
    margin-bottom: 1.6rem;
}

/* ── Hero primary button ─────────────────────────────── */
.hero-btn-primary {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0;
    padding: 0.95rem 1rem 0.95rem 1.7rem;
    border-radius: 999px;
    background: var(--grad-primary);
    background-size: 200% 100%;
    background-position: 0% 0%;
    color: #fff;
    font-weight: 700;
    font-size: 0.97rem;
    letter-spacing: 0.01em;
    text-decoration: none;
    overflow: hidden;
    border: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease, background-position 0.5s ease;
    box-shadow: 0 8px 32px rgba(10, 102, 194, 0.45), 0 0 0 1px rgba(255,255,255,0.12) inset;
}
.hero-btn-primary::before {
    content: '';
    position: absolute;
    top: 0; left: -75%;
    width: 55%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.22), transparent);
    transform: skewX(-18deg);
    animation: hbp-shimmer 3.2s ease-in-out infinite;
}
@keyframes hbp-shimmer {
    0%, 100% { left: -75%; opacity: 0; }
    20%       { opacity: 1; }
    60%       { left: 140%; opacity: 0; }
}
.hero-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 44px rgba(10, 102, 194, 0.55), 0 0 0 1px rgba(255,255,255,0.18) inset;
    background-position: 100% 0%;
}
.hbp-label { position: relative; z-index: 1; }
.hbp-arrow {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin-left: 0.65rem;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.18);
    transition: transform 0.28s ease, background 0.28s ease;
    flex-shrink: 0;
}
.hero-btn-primary:hover .hbp-arrow {
    transform: translateX(3px);
    background: rgba(255, 255, 255, 0.28);
}

/* ── Hero secondary button ───────────────────────────── */
.hero-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.95rem 1.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
    font-size: 0.97rem;
    text-decoration: none;
    transition: background 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}
.hero-btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

/* ── Hero badges (replaces pill-row) ─────────────────── */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.6rem;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 1rem 0.45rem 0.7rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.07);
    backdrop-filter: blur(10px);
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.01em;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    cursor: default;
}
.hero-badge:hover {
    background: rgba(255, 255, 255, 0.13);
    border-color: rgba(0, 180, 216, 0.45);
    color: #fff;
}
.hero-badge i {
    width: 13px;
    height: 13px;
    opacity: 0.7;
    flex-shrink: 0;
}
.badge-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--clr-accent);
    box-shadow: 0 0 6px rgba(0, 180, 216, 0.9);
    flex-shrink: 0;
    animation: badge-pulse 2.8s ease-in-out infinite;
}
@keyframes badge-pulse {
    0%, 100% { box-shadow: 0 0 5px rgba(0, 180, 216, 0.9); }
    50%       { box-shadow: 0 0 12px rgba(0, 180, 216, 1), 0 0 20px rgba(0, 180, 216, 0.4); }
}

.hero-visual {
    display: none;
}

.hero-panel-card {
    padding: 1.6rem;
    border-radius: 28px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(16px);
}

.panel-topline {
    margin-bottom: 1rem;
    font-size: 0.78rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.76);
}

.mini-stat-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.mini-stat-grid div {
    padding: 1rem;
    border-radius: 20px;
    background: rgba(255, 255, 255, 0.08);
}

.mini-stat-grid strong {
    display: block;
    color: #fff;
    font-family: var(--font-heading);
    margin-bottom: 0.35rem;
}

.mini-stat-grid span {
    color: rgba(255, 255, 255, 0.75);
    font-size: 0.95rem;
}

.trust-strip {
    padding: 1.6rem 0;
    border-top: 1px solid rgba(219, 231, 242, 0.55);
    border-bottom: 1px solid rgba(219, 231, 242, 0.55);
    background: rgba(255, 255, 255, 0.46);
    overflow: hidden;
}

.marquee-wrap {
    overflow: hidden;
    -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-inner {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-scroll 32s linear infinite;
}

.marquee-inner:hover { animation-play-state: paused; }

.logo-item {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    padding: 0 2rem;
    white-space: nowrap;
    color: var(--clr-text-sec);
    font-weight: 600;
    font-size: 0.93rem;
}

.marquee-sep {
    color: rgba(10, 102, 194, 0.35);
    font-size: 1.1rem;
    flex-shrink: 0;
}

@keyframes marquee-scroll {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}

.grid-3,
.grid-4,
.service-grid,
.case-grid,
.testimonial-grid,
.comparison-grid,
.detail-grid,
.pricing-grid,
.contact-grid {
    display: grid;
    gap: 1.5rem;
}

.grid-3,
.service-grid,
.comparison-grid,
.detail-grid,
.contact-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

.case-grid,
.testimonial-grid,
.pricing-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.value-card,
.service-card,
.case-card,
.testimonial-card,
.comparison-card,
.detail-block,
.pricing-card,
.faq-item,
.contact-card,
.form-shell {
    background: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(219, 231, 242, 0.85);
    border-radius: 24px;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(16px);
}

.value-card,
.service-card,
.case-card,
.testimonial-card,
.comparison-card,
.detail-block,
.pricing-card,
.faq-item,
.contact-card {
    padding: 1.8rem;
}

.service-card,
.pricing-card {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
}

/* Service card ghost number + hover */
.service-card {
    position: relative;
    overflow: hidden;
    transition: transform 0.28s ease, box-shadow 0.28s ease, border-color 0.28s ease;
}
.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 102, 194, 0.22);
}
.svc-num {
    position: absolute;
    top: -0.12em;
    right: 0.6rem;
    font-size: 5.5rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: rgba(10, 102, 194, 0.055);
    line-height: 1;
    pointer-events: none;
    user-select: none;
    transition: color 0.28s ease, transform 0.28s ease;
}
.service-card:hover .svc-num {
    color: rgba(10, 102, 194, 0.1);
    transform: scale(1.06) translateY(-4px);
}

/* Value card hover */
.value-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.value-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.icon-box {
    width: 62px;
    height: 62px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.14), rgba(0, 180, 216, 0.12));
    color: var(--clr-primary);
}

.icon-box i {
    width: 30px;
    height: 30px;
}

.systems-overview {
    padding-top: 0;
}

.z-row {
    display: grid;
    grid-template-columns: 1fr 1.05fr;
    gap: 3rem;
    align-items: center;
    margin-bottom: 4rem;
}

.z-row.reverse {
    grid-template-columns: 1.05fr 1fr;
}

.z-row.reverse .z-text {
    order: 2;
}

.z-row.reverse .z-image {
    order: 1;
}

.mockup-frame {
    min-height: 330px;
    padding: 1.4rem;
    border-radius: 28px;
    border: 1px solid rgba(219, 231, 242, 0.85);
    background: rgba(255, 255, 255, 0.82);
    box-shadow: var(--shadow-md);
}

.dashboard-mockup .mockup-header {
    height: 20px;
    border-radius: 999px;
    background: var(--clr-hover);
    margin-bottom: 1rem;
}

.dashboard-mockup .mockup-body {
    display: flex;
    gap: 1rem;
    height: calc(100% - 36px);
}

.mockup-card {
    flex: 1;
    border-radius: 20px;
    background: linear-gradient(180deg, #edf5fb, #dfeef9);
}

.mockup-card.line-chart {
    flex: 1.5;
}

.network-mockup {
    display: flex;
    align-items: center;
    justify-content: center;
}

.nodes {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.node {
    position: relative;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #cbd8e5;
}

.node::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: 2rem;
    height: 2px;
    background: #cbd8e5;
}

.node:last-child::after {
    display: none;
}

.node.active {
    background: var(--clr-primary);
    box-shadow: var(--shadow-glow);
}

.interactive-highlight {
    min-height: 52vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: var(--hl-bg);
    background-size: cover;
    background-position: center;
    isolation: isolate;
    position: relative;
}
.interactive-highlight::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(10, 102, 194, 0.82), rgba(0, 180, 216, 0.7));
    z-index: -1;
}
.interactive-highlight h2 {
    color: #fff;
    text-shadow: 0 2px 24px rgba(0, 0, 0, 0.28);
}
.hl-gradient-text {
    background: linear-gradient(90deg, rgba(255,255,255,1) 0%, rgba(162,230,255,0.85) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.timeline-flow {
    position: relative;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.4rem;
}

.timeline-flow::before {
    content: '';
    position: absolute;
    top: 52px;
    left: 14%;
    right: 14%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(10, 102, 194, 0.25) 20%, rgba(10, 102, 194, 0.25) 80%, transparent);
}

.timeline-step {
    position: relative;
    text-align: center;
    padding: 0 0.8rem;
}

.step-num-label {
    font-size: 0.7rem;
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 0.14em;
    color: var(--clr-primary);
    margin-bottom: 0.55rem;
    opacity: 0.7;
}

.step-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--clr-surface-solid);
    border: 1px solid var(--clr-border);
    color: var(--clr-primary);
    box-shadow: var(--shadow-sm);
    transition: background 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.timeline-step:hover .step-icon {
    background: linear-gradient(135deg, rgba(10,102,194,0.08), rgba(0,180,216,0.06));
    border-color: rgba(10, 102, 194, 0.3);
    box-shadow: var(--shadow-glow);
}

/* ── Dark stats section ───────────────────────────────── */
.results-dark {
    background: #0f172a;
    padding: var(--section-spacing) 0;
}
.results-dark .section-header h2 { color: #fff; }
.results-dark .section-header p  { color: rgba(255, 255, 255, 0.58); }

.stat-card {
    text-align: center;
    padding: 2.4rem 1rem;
    border-radius: 24px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.09);
    box-shadow: none;
    transition: background 0.25s ease, border-color 0.25s ease;
}
.stat-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 180, 216, 0.28);
}

.stat-number {
    display: inline-block;
    font-size: clamp(2.8rem, 5.5vw, 4.4rem);
    font-family: var(--font-heading);
    font-weight: 700;
    color: #fff;
}

.modifier {
    color: var(--clr-accent);
    font-size: 1.85rem;
    font-family: var(--font-heading);
}

.stat-card p { color: rgba(255, 255, 255, 0.52); margin-top: 0.4rem; }

.testimonial-card p,
.case-card p,
.comparison-card p,
.faq-item p,
.contact-card p,
.pricing-card p,
.detail-block p,
.service-card p {
    margin-top: 0.2rem;
}

.testimonial-card {
    position: relative;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.t-quote {
    display: block;
    font-size: 4.5rem;
    font-family: Georgia, serif;
    line-height: 0.8;
    color: var(--clr-primary);
    opacity: 0.18;
    margin-bottom: 0.6rem;
    font-style: normal;
}
.testimonial-card strong {
    display: block;
    margin-top: 1rem;
}

.founder-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    overflow: hidden;
    background: #0f172a;
    border-radius: 30px;
    box-shadow: var(--shadow-lg);
}

.founder-image {
    min-height: 360px;
    background: var(--grad-primary);
    position: relative;
}

.placeholder-portrait {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.2);
}

.placeholder-portrait i {
    width: 140px;
    height: 140px;
}

.founder-text {
    padding: 3.5rem;
    color: #fff;
}

.quote-icon {
    width: 40px;
    height: 40px;
    color: var(--clr-accent);
    margin-bottom: 1.2rem;
}

.authority-statement {
    color: #fff;
    font-size: 1.5rem;
    margin-bottom: 1.6rem;
    font-family: var(--font-heading);
}

.founder-text span {
    color: rgba(255, 255, 255, 0.65);
}

.faq-list {
    display: grid;
    gap: 1rem;
}

.faq-item h3 {
    margin-bottom: 0.5rem;
}

.final-cta {
    padding-top: 0;
}

.cta-card {
    width: min(860px, calc(100% - 40px));
    margin: 0 auto;
    text-align: center;
    padding: 3rem 2rem;
    border-radius: 30px;
    background: rgba(255, 255, 255, 0.84);
    border: 1px solid rgba(219, 231, 242, 0.82);
    box-shadow: var(--shadow-md);
}

.cta-card p {
    margin: 1rem auto 1.8rem;
    max-width: 620px;
}

.page-copy {
    max-width: 680px;
}

.page-hero .hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
}

.page-hero .hero-subtitle {
    max-width: 640px;
}

.stack-list,
.check-list {
    display: grid;
    gap: 0.8rem;
    margin-top: 1.2rem;
}

.stack-list li,
.check-list li {
    list-style: none;
    padding-left: 1.4rem;
    position: relative;
    color: var(--clr-text-sec);
}

.stack-list li::before,
.check-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.72rem;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--grad-primary);
}

.contact-grid {
    grid-template-columns: 1fr 1.1fr;
}

.contact-card,
.form-shell {
    height: 100%;
}

.form-shell {
    padding: 2rem;
}

.input-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.input-field {
    display: grid;
    gap: 0.45rem;
    margin-bottom: 1rem;
}

.input-field label {
    font-weight: 600;
    color: var(--clr-text-main);
}

.input-field input,
.input-field select,
.input-field textarea {
    width: 100%;
    padding: 0.95rem 1rem;
    border-radius: 18px;
    border: 1px solid var(--clr-border);
    background: rgba(255, 255, 255, 0.85);
    font: inherit;
    color: var(--clr-text-main);
}

.input-field textarea {
    min-height: 140px;
    resize: vertical;
}

.pricing-card.featured {
    position: relative;
    background: linear-gradient(180deg, rgba(10, 102, 194, 0.08), rgba(255, 255, 255, 0.88));
    border-color: rgba(10, 102, 194, 0.22);
}

.price {
    font-size: 2.4rem;
    font-family: var(--font-heading);
    color: var(--clr-text-main);
}

.price small {
    font-size: 1rem;
    color: var(--clr-text-sec);
}

/* ═══════════════════════════════════════
   FOOTER — Ultra Premium Dark
═══════════════════════════════════════ */
footer {
    background: #060d1a;
    border-top: none;
    position: relative;
    overflow: hidden;
}
footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(to right, transparent, rgba(0,180,216,0.4) 30%, rgba(10,102,194,0.5) 50%, rgba(0,180,216,0.4) 70%, transparent);
}
footer::after {
    content: '';
    position: absolute;
    top: -180px; left: 50%;
    transform: translateX(-50%);
    width: 700px; height: 360px;
    background: radial-gradient(ellipse at center, rgba(10,102,194,0.07) 0%, transparent 70%);
    pointer-events: none;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 4rem;
    padding: 5rem 0 4rem;
    position: relative;
    z-index: 1;
}

/* Brand column */
.footer-brand {}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    margin-bottom: 1.4rem;
    text-decoration: none;
}
.footer-logo img {
    height: 36px;
    width: auto;
    display: block;
}
.footer-brand-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.75;
    max-width: 280px;
    margin-bottom: 2rem;
}
.footer-socials {
    display: flex;
    gap: 0.6rem;
}
.footer-social-btn {
    width: 36px; height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.07);
    display: flex; align-items: center; justify-content: center;
    color: rgba(255,255,255,0.75);
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s, color 0.2s;
}
.footer-social-btn:hover {
    border-color: rgba(0,180,216,0.45);
    background: rgba(0,180,216,0.08);
    color: #00b4d8;
}
.footer-social-btn svg { width: 15px; height: 15px; }

/* Link columns */
.footer-col {}
.footer-col-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1.2rem;
    display: block;
}
.footer-col-links {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}
.footer-col-links a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.72);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}
.footer-col-links a:hover { color: #fff; }
.footer-col-links a::before {
    content: '';
    display: inline-block;
    width: 0;
    height: 1px;
    background: #00b4d8;
    transition: width 0.25s ease;
    flex-shrink: 0;
}
.footer-col-links a:hover::before { width: 12px; }

/* Divider */
.footer-divider {
    height: 1px;
    background: rgba(255,255,255,0.05);
    position: relative;
    z-index: 1;
}

/* Bottom bar */
.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.5rem 0 2rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}
.footer-bottom-copy {
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
}
.footer-bottom-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.3rem 0.85rem 0.3rem 0.55rem;
    border: 1px solid rgba(255,255,255,0.18);
    border-radius: 100px;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
}
.footer-bottom-badge-dot {
    width: 5px; height: 5px;
    border-radius: 50%;
    background: #00b4d8;
    box-shadow: 0 0 6px #00b4d8;
    animation: ft-pulse 2.4s ease-in-out infinite;
}
@keyframes ft-pulse { 0%,100%{opacity:1} 50%{opacity:0.3} }

/* Legacy classes — kept so old markup doesn't break */
.footer-grid { display: none; }
.footer-links { display: none; }

@media (max-width: 1024px) {
    .footer-main { grid-template-columns: 1fr 1fr; gap: 3rem; padding: 4rem 0 3rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-brand-desc { max-width: 420px; }
}
@media (max-width: 640px) {
    .footer-main { grid-template-columns: 1fr 1fr; gap: 2rem 1.5rem; padding: 3rem 0 2rem; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
}

[data-reveal] {
    opacity: 1;
}

@media (max-width: 1080px) {

    .z-row,
    .z-row.reverse,
    .founder-card,
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .grid-4 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .grid-3,
    .service-grid,
    .comparison-grid,
    .detail-grid,
    .case-grid,
    .testimonial-grid,
    .pricing-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline-flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .timeline-flow::before {
        display: none;
    }
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 40px;
    height: 40px;
    padding: 8px;
    background: transparent;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: background 0.2s ease;
}

.hamburger-btn:hover {
    background: transparent;
}

.hamburger-btn .bar {
    width: 100%;
    height: 2px;
    background: var(--clr-text-main);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease, width 0.3s ease;
    transform-origin: center;
}

.hamburger-btn.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-btn.open .bar:nth-child(2) {
    opacity: 0;
    width: 0;
}

.hamburger-btn.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

.mobile-nav {
    display: none;
    position: fixed;
    top: 70px;
    left: 10px;
    right: 10px;
    z-index: 98;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid rgba(219, 231, 242, 0.9);
    border-radius: 24px;
    backdrop-filter: blur(24px);
    box-shadow: var(--shadow-lg);
    padding: 1rem;
    flex-direction: column;
    gap: 0.25rem;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
}

.mobile-nav a:not(.btn) {
    display: block;
    padding: 0.85rem 1rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    color: var(--clr-text-main);
    border-radius: 14px;
    transition: background 0.18s ease, color 0.18s ease;
}

.mobile-nav a:not(.btn):hover,
.mobile-nav a.active {
    background: var(--clr-hover);
    color: var(--clr-primary);
}

.mobile-nav .btn {
    margin-top: 0.5rem;
    width: 100%;
    justify-content: center;
}

@media (max-width: 780px) {
    :root {
        --section-spacing: 88px;
    }

    body {
        overflow-x: hidden;
    }

    .menu {
        display: none;
    }

    .nav-cta {
        display: none;
    }

    .hamburger-btn {
        display: flex;
    }

    .mobile-nav {
        display: flex;
    }

    .navbar {
        width: calc(100% - 20px);
        top: 10px;
    }

    .nav-container {
        padding-left: 1rem;
    }

    .logo img { height: 44px; }

    .hero {
        min-height: auto;
        padding-top: 104px;
        padding-bottom: 90px;
    }

    .hero-copy {
        margin-top: 0;
    }

    .hero-title {
        margin-top: 0;
        font-size: clamp(2.15rem, 10vw, 2.6rem);
        line-height: 1.03;
        max-width: 100%;
        overflow-wrap: normal;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
        width: min(100%, 320px);
        margin-left: auto;
        margin-right: auto;
    }

    .hero-actions .btn,
    .hero-btn-primary,
    .hero-btn-secondary {
        width: 100%;
        justify-content: center;
    }

    .ht-bridge {
        font-size: 0.28em;
        letter-spacing: 0.22em;
    }

    .hero-badges {
        gap: 0.45rem;
        justify-content: center;
        max-width: 100%;
    }
    .hero-badge {
        flex: 0 0 auto;
        font-size: 0.78rem;
    }

    .grid-3,
    .grid-4,
    .service-grid,
    .comparison-grid,
    .detail-grid,
    .case-grid,
    .testimonial-grid,
    .pricing-grid,
    .timeline-flow,
    .input-row {
        grid-template-columns: 1fr;
    }

    .mini-stat-grid {
        grid-template-columns: 1fr;
    }

    .scroll-card {
        width: 240px;
        height: 160px;
    }

    .scroller-track {
        width: 190vw;
        margin-left: -45vw;
    }

    .rv-title {
        white-space: normal;
        font-size: clamp(1.9rem, 9vw, 3.5rem);
        word-break: break-word;
    }

    .cta-card {
        padding: 2.2rem 1.2rem;
    }

    .founder-text {
        padding: 2rem 1.5rem;
    }

    .authority-statement {
        font-size: 1.25rem;
    }
}

/* ═══════════════════════════════════════════════════════
   SECTION REDESIGNS — image-heavy, visually distinct
   ═══════════════════════════════════════════════════════ */

/* ── Services 2×2 image overlay grid ─────────────────── */
.svc-img-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 380px);
    gap: 1.5rem;
}

.svc-img-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
}

.svc-img-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.svc-img-card:hover img {
    transform: scale(1.06);
}

.svc-img-body {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 10, 25, 0.9) 0%, rgba(5, 10, 25, 0.35) 50%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: #fff;
    transition: background 0.4s ease;
}

.svc-img-card:hover .svc-img-body {
    background: linear-gradient(to top, rgba(5, 10, 25, 0.95) 0%, rgba(5, 10, 25, 0.5) 55%, transparent 100%);
}

.svc-img-num {
    font-family: var(--font-heading);
    font-size: 4.5rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.1);
    position: absolute;
    top: 1.4rem;
    right: 1.8rem;
    letter-spacing: -0.04em;
    pointer-events: none;
    transition: color 0.3s ease;
}

.svc-img-card:hover .svc-img-num {
    color: rgba(0, 180, 216, 0.22);
}

.svc-img-body h3 {
    color: #fff;
    font-size: clamp(1.2rem, 1.6vw, 1.45rem);
    margin-bottom: 0.5rem;
}

.svc-img-body p {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.92rem;
    line-height: 1.55;
    margin-bottom: 1rem;
}

.svc-img-link {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    color: var(--clr-accent);
    font-size: 0.88rem;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.01em;
    transition: gap 0.22s ease;
}

.svc-img-link:hover {
    gap: 0.75rem;
}

/* ── Core values asymmetric layout ───────────────────── */
.values-asymmetric {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.val-featured {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    min-height: 500px;
}

.val-featured img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.val-featured:hover img {
    transform: scale(1.04);
}

.val-featured-body {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5, 10, 30, 0.88) 0%, rgba(5, 10, 30, 0.22) 55%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.4rem;
    color: #fff;
}

.val-feat-icon {
    width: 48px;
    height: 48px;
    border-radius: 13px;
    background: rgba(0, 180, 216, 0.22);
    border: 1px solid rgba(0, 180, 216, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.1rem;
    color: var(--clr-accent);
}

.val-feat-icon i {
    width: 22px;
    height: 22px;
}

.val-featured-body h3 {
    color: #fff;
    font-size: clamp(1.3rem, 1.8vw, 1.6rem);
    margin-bottom: 0.5rem;
}

.val-featured-body p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.93rem;
}

.val-stack {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.val-stack-card {
    background: var(--clr-surface);
    border: 1px solid var(--clr-border);
    border-radius: 20px;
    overflow: hidden;
    backdrop-filter: blur(16px);
    flex: 1;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.val-stack-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}

.val-stack-img {
    height: 150px;
    overflow: hidden;
    flex-shrink: 0;
}

.val-stack-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.val-stack-card:hover .val-stack-img img {
    transform: scale(1.06);
}

.val-stack-body {
    padding: 1.6rem;
    flex: 1;
}

.val-stack-body .icon-box {
    margin-bottom: 0.8rem;
}

.val-stack-body h3 {
    margin-bottom: 0.4rem;
}

/* ── Process section dark + image cards ──────────────── */
.process {
    background: #0b1220;
}

.process .section-header h2 {
    color: #fff;
}

.process .section-header p {
    color: rgba(255, 255, 255, 0.52);
}

.process-img-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.proc-img-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 370px;
    cursor: default;
}

.proc-img-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.52) saturate(0.85);
    transition: transform 0.55s ease, filter 0.4s ease;
}

.proc-img-card:hover img {
    transform: scale(1.05);
    filter: brightness(0.62) saturate(1.05);
}

.proc-img-body {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.8rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.72) 0%, transparent 65%);
    color: #fff;
}

.proc-num {
    font-family: var(--font-heading);
    font-size: 3.8rem;
    font-weight: 700;
    line-height: 1;
    color: rgba(255, 255, 255, 0.12);
    position: absolute;
    top: 1.4rem;
    left: 1.6rem;
    letter-spacing: -0.04em;
    pointer-events: none;
}

.proc-icon {
    width: 40px;
    height: 40px;
    border-radius: 11px;
    background: rgba(0, 180, 216, 0.22);
    border: 1px solid rgba(0, 180, 216, 0.38);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.85rem;
    color: var(--clr-accent);
}

.proc-icon i {
    width: 18px;
    height: 18px;
}

.proc-img-body h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.35rem;
    font-family: var(--font-heading);
    letter-spacing: -0.02em;
}

.proc-img-body p {
    color: rgba(255, 255, 255, 0.62);
    font-size: 0.87rem;
    line-height: 1.52;
}

/* ── Case study cards with image tops ────────────────── */
.case-card {
    overflow: hidden;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
}

.case-img-top {
    position: relative;
    height: 210px;
    overflow: hidden;
    flex-shrink: 0;
}

.case-img-top img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.case-card:hover .case-img-top img {
    transform: scale(1.06);
}

.case-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 35%, rgba(5, 10, 25, 0.58) 100%);
}

.case-tag {
    position: absolute;
    bottom: 0.9rem;
    left: 1.1rem;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--clr-accent);
    background: rgba(5, 10, 25, 0.7);
    backdrop-filter: blur(8px);
    padding: 0.28rem 0.75rem;
    border-radius: 100px;
    border: 1px solid rgba(0, 180, 216, 0.32);
}

.case-body {
    padding: 1.6rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.case-body h3 {
    font-size: clamp(1.05rem, 1.4vw, 1.22rem);
    line-height: 1.3;
}

/* ── Testimonial cards with photo backdrop ───────────── */
.t-bg {
    position: absolute;
    inset: 0;
    background-image: var(--tbg);
    background-size: cover;
    background-position: center top;
    opacity: 0.09;
    filter: blur(6px) saturate(1.3);
    z-index: 0;
    border-radius: inherit;
    transform: scale(1.12);
    transition: opacity 0.35s ease;
    pointer-events: none;
}

.testimonial-card:hover .t-bg {
    opacity: 0.16;
}

.testimonial-card > *:not(.t-bg) {
    position: relative;
    z-index: 1;
}

/* ── Comparison cards with gradient icons ────────────── */
.comp-icon-wrap {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--grad-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    color: #fff;
    flex-shrink: 0;
    box-shadow: 0 6px 20px rgba(10, 102, 194, 0.3);
}

.comp-icon-wrap i {
    width: 24px;
    height: 24px;
}

.comparison-card {
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.comparison-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(10, 102, 194, 0.25);
}

/* ── Responsive adjustments for new sections ─────────── */
@media (max-width: 1080px) {
    .svc-img-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: repeat(2, 320px);
    }

    .values-asymmetric {
        grid-template-columns: 1fr;
    }

    .val-featured {
        min-height: 380px;
    }

    .process-img-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 680px) {
    .svc-img-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }

    .svc-img-card {
        height: 300px;
    }

    .process-img-grid {
        grid-template-columns: 1fr;
    }

    .proc-img-card {
        height: 280px;
    }
}

/* --- Section 1: Insta UI Services --- */
.s1-glass-services {
    position: relative;
    z-index: 10;
    margin-top: 100px;
    padding-top: 60px;
    padding-bottom: 60px;
    overflow-x: visible;
}
.s1-insta-header-layout {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 4rem;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.s1-huge-heading {
    font-size: clamp(3.5rem, 6vw, 5.5rem);
    line-height: 1;
    font-family: var(--font-heading);
    letter-spacing: -0.04em;
    color: var(--clr-text-main);
    flex: 1;
}
.s1-heading-accent {
    color: #ef4444; /* matching the dark card gradient/badge */
    font-style: italic;
    font-weight: 300;
}
.s1-small-desc {
    flex: 0 0 38%;
    font-size: 1.05rem;
    color: var(--clr-text-sec);
    line-height: 1.6;
    text-align: right;
    padding-bottom: 0.5rem;
}
@media (max-width: 900px) {
    .s1-insta-header-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
    }
    .s1-small-desc {
        text-align: left;
    }
}
.s1-insta-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    max-width: 900px;
    margin: 0 auto;
}
.s1-insta-card {
    position: relative;
    border-radius: 36px;
    overflow: hidden;
    padding: 2.5rem;
    box-shadow: 0 30px 60px rgba(15,23,42,0.06);
    display: flex;
    flex-direction: column;
}
.s1-insta-card.light {
    background: #ffffff;
}
.s1-insta-card.dark {
    /* Gradient handles background natively in HTML */
    color: #ffffff;
    box-shadow: 0 30px 60px rgba(15,23,42,0.15);
}
.s1-insta-header {
    position: relative;
    border-radius: 20px;
    margin-bottom: 2rem;
}
.s1-insta-card.light .s1-insta-bg {
    height: 100px;
    background-size: cover;
    background-position: center;
    border-radius: 24px 24px 0 0;
    margin: -2.5rem -2.5rem 1rem -2.5rem;
    filter: saturate(1.5) blur(10px);
    transform: scale(1.1);
}
.s1-insta-profile-row {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    position: relative;
    z-index: 2;
}
.s1-insta-card.light .s1-insta-profile-row {
    margin-top: -4.5rem;
}
.s1-insta-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: 4px solid #fff;
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    object-fit: cover;
}
.s1-insta-card.dark .s1-insta-avatar {
    border-color: rgba(255,255,255,0.2);
}
.s1-insta-badge {
    background: #fff;
    color: var(--clr-text-main);
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 8px 16px rgba(0,0,0,0.08);
}
.s1-insta-badge i { width: 14px; height: 14px; color: #ef4444; }
.s1-insta-badge.glass {
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    color: #fff;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: none;
}
.s1-insta-title-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 2rem;
}
.s1-insta-title-row h3 {
    font-size: 1.4rem;
    margin-bottom: 0.2rem;
    font-weight: 700;
    color: var(--clr-text-main);
}
.s1-insta-card.dark .s1-insta-title-row h3 { color: #fff; }
.s1-insta-title-row p {
    font-size: 0.95rem;
    color: var(--clr-text-sec);
}
.s1-insta-card.dark .s1-insta-title-row p { color: rgba(255,255,255,0.8); }

.s1-insta-bookmark {
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 40px; height: 40px;
    display: flex; align-items: center; justify-content: center;
    color: var(--clr-text-sec);
    cursor: pointer;
    transition: background 0.2s;
}
.s1-insta-bookmark:hover { background: #e2e8f0; }
.s1-insta-bookmark.glass {
    background: rgba(255,255,255,0.15);
    color: #fff;
    backdrop-filter: blur(10px);
}
.s1-insta-bookmark.glass:hover { background: rgba(255,255,255,0.3); }

.s1-insta-stats {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2.5rem;
}
.s1-stat {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}
.s1-stat i { width: 18px; height: 18px; }
.s1-stat div { display: flex; flex-direction: column; line-height: 1.2; }
.s1-stat strong { font-size: 0.95rem; font-weight: 700; color: var(--clr-text-main); }
.s1-insta-card.dark .s1-stat strong { color: #fff; }
.s1-stat span { font-size: 0.75rem; color: var(--clr-text-sec); font-weight: 500; }
.s1-insta-card.dark .s1-stat span { color: rgba(255,255,255,0.7); }

.s1-insta-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    border-radius: 999px;
    background: #0f172a;
    color: #fff;
    text-align: center;
    font-weight: 700;
    text-decoration: none;
    font-size: 0.95rem;
    transition: transform 0.2s, box-shadow 0.2s;
}
.s1-insta-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 20px rgba(15,23,42,0.2); }
.s1-insta-btn.light {
    background: #fff;
    color: #0f172a;
}
.s1-insta-btn.light:hover { box-shadow: 0 10px 20px rgba(255,255,255,0.2); }

@media (max-width: 900px) {
    .s1-insta-grid { grid-template-columns: 1fr; max-width: 440px; }
}

/* --- Section 2: Core Values Dynamic Vector Motion --- */
.s2-core-values {
    position: relative;
    padding: 160px 0;
    overflow: hidden;
}
.s2-bg-blob {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.15) 0%, rgba(255,255,255,0) 70%);
    border-radius: 50%;
    filter: blur(60px);
    z-index: 0;
    animation: pulse-blob 8s ease-in-out infinite alternate;
}
@keyframes pulse-blob {
    0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
    100% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.4; }
}
.s2-values-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}
.s2-val-card {
    background: #ffffff;
    border-radius: 40px;
    padding: 3rem;
    box-shadow: 0 40px 100px rgba(15,23,42,0.06);
    border: 1px solid rgba(219, 231, 242, 0.6);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.s2-val-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 40px 100px rgba(10,102,194,0.12);
}
.s2-val-card.feature {
    grid-row: span 2;
    min-height: 600px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.s2-val-card.stack {
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.lottie-container {
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
}
.s2-val-card.feature .lottie-container {
    width: 200px;
    height: 200px;
}
.s2-body h3 {
    font-size: 2.4rem;
    margin-bottom: 1rem;
    color: var(--clr-text-main);
    overflow: hidden;
}
.s2-body h3.anime-text .letter {
    display: inline-block;
}
.s2-body p {
    font-size: 1.15rem;
    color: var(--clr-text-sec);
}
@media (max-width: 900px) {
    .s2-values-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Values cards v2 — three visual universes ─────────── */
.s2-values-grid.v2 {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.4rem;
    align-items: stretch;
    min-height: 620px;
}

/* BASE CARD */
.vc {
    border-radius: 28px;
    overflow: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.2rem;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

/* ── CARD 1: THE VOID ─── */
.vc-void {
    grid-row: span 2;
    background: #020509;
    border: 1px solid rgba(255,255,255,0.05);
    cursor: default;
}
.vc-void:hover { transform: translateY(-6px); box-shadow: 0 40px 80px rgba(0,0,0,0.5); }

.vc-void-cosmos {
    position: absolute;
    top: 38%; left: 50%;
    transform: translate(-50%, -50%);
    width: 300px; height: 300px;
    pointer-events: none;
}
.vc-ring {
    position: absolute;
    border-radius: 50%;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    animation: ring-breathe 4s ease-in-out infinite;
}
.vc-ring.r1 { width: 110px; height: 110px; border: 1px solid rgba(59,130,246,0.35); animation-delay: 0s; }
.vc-ring.r2 { width: 200px; height: 200px; border: 1px solid rgba(59,130,246,0.15); animation-delay: 0.7s; }
.vc-ring.r3 { width: 300px; height: 300px; border: 1px solid rgba(59,130,246,0.07); animation-delay: 1.4s; }
.vc-dot {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 6px; height: 6px;
    border-radius: 50%;
    background: #60a5fa;
    box-shadow: 0 0 12px 4px rgba(96,165,250,0.5);
}
@keyframes ring-breathe {
    0%, 100% { opacity: 0.8; transform: translate(-50%, -50%) scale(1); }
    50%       { opacity: 0.3; transform: translate(-50%, -50%) scale(1.05); }
}
.vc-void-ghost {
    position: absolute;
    top: -0.28em; left: -0.07em;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 11rem;
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
    -webkit-text-stroke: 1px rgba(255,255,255,0.055);
    -webkit-text-fill-color: transparent;
    pointer-events: none;
    user-select: none;
}
.vc-void .vc-icon-orbit {
    position: absolute;
    top: 38%; left: 50%;
    transform: translate(-50%, -50%);
    width: 56px; height: 56px;
    display: flex; align-items: center; justify-content: center;
    color: #60a5fa;
    filter: drop-shadow(0 0 14px rgba(96,165,250,0.7));
    z-index: 1;
}
.vc-void .vc-icon-orbit .vc-icon { width: 30px; height: 30px; }
.vc-void .vc-body { position: relative; z-index: 1; }
.vc-void .vc-body h3 { color: #fff; font-size: clamp(1.1rem,1.6vw,1.35rem); line-height: 1.3; }
.vc-void .vc-label { color: rgba(96,165,250,0.7); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.6rem; }

/* ── CARD 2: PAPER CUT ─── */
.vc-paper {
    background: #fff;
    border: none;
    border-top: 4px solid #0f172a;
    border-left: 4px solid #0f172a;
    border-radius: 0 24px 24px 0;
    box-shadow: none;
    padding-top: 2.8rem;
    justify-content: flex-end;
}
.vc-paper:hover {
    transform: translate(5px, -5px);
    box-shadow: -6px 6px 0 0 rgba(10,102,194,0.18);
}
.vc-paper-ghost {
    position: absolute;
    bottom: -0.3em; right: -0.05em;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 7rem;
    font-weight: 700;
    letter-spacing: -0.06em;
    line-height: 1;
    color: rgba(15,23,42,0.05);
    pointer-events: none;
    user-select: none;
}
.vc-paper-stripe {
    position: absolute;
    top: 0; left: 0;
    width: 48px; height: 4px;
    background: linear-gradient(90deg, #0a66c2, #00b4d8);
}
.vc-paper .vc-icon {
    width: 32px; height: 32px;
    color: #0a66c2;
    margin-bottom: 1.2rem;
    flex-shrink: 0;
}
.vc-paper .vc-body h3 { color: #0f172a; font-size: clamp(1rem,1.4vw,1.2rem); line-height: 1.35; }
.vc-paper .vc-label { color: #0a66c2; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.6rem; }
.vc-paper-corner {
    position: absolute;
    bottom: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 0 36px 36px;
    border-color: transparent transparent rgba(15,23,42,0.07) transparent;
}

/* ── CARD 3: NEON TERMINAL ─── */
.vc-neon {
    background: #020a10;
    border: 1px solid rgba(0,180,216,0.25);
    position: relative;
}
.vc-neon:hover {
    border-color: rgba(0,180,216,0.55);
    box-shadow: 0 0 40px rgba(0,180,216,0.12), inset 0 0 40px rgba(0,180,216,0.04);
    transform: translateY(-5px);
}
.vc-scan {
    position: absolute; inset: 0;
    background: repeating-linear-gradient(
        to bottom,
        transparent 0px, transparent 3px,
        rgba(0,180,216,0.025) 3px, rgba(0,180,216,0.025) 4px
    );
    pointer-events: none; z-index: 0;
}
.vc-bracket {
    position: absolute;
    width: 14px; height: 14px;
    pointer-events: none; z-index: 1;
}
.vc-bracket.tl { top: 12px; left: 12px; border-top: 2px solid #00b4d8; border-left: 2px solid #00b4d8; }
.vc-bracket.tr { top: 12px; right: 12px; border-top: 2px solid #00b4d8; border-right: 2px solid #00b4d8; }
.vc-bracket.bl { bottom: 12px; left: 12px; border-bottom: 2px solid #00b4d8; border-left: 2px solid #00b4d8; }
.vc-bracket.br { bottom: 12px; right: 12px; border-bottom: 2px solid #00b4d8; border-right: 2px solid #00b4d8; }
.vc-neon-glow {
    position: absolute;
    bottom: -40px; left: 50%;
    transform: translateX(-50%);
    width: 180px; height: 80px;
    border-radius: 50%;
    background: radial-gradient(ellipse, rgba(0,180,216,0.2) 0%, transparent 70%);
    pointer-events: none; z-index: 0;
}
.vc-neon .vc-icon {
    width: 32px; height: 32px;
    color: #00b4d8;
    margin-bottom: 1.2rem;
    flex-shrink: 0;
    position: relative; z-index: 1;
    filter: drop-shadow(0 0 8px rgba(0,180,216,0.6));
}
.vc-neon .vc-body { position: relative; z-index: 1; }
.vc-neon .vc-body h3 {
    color: #e0f7ff;
    font-size: clamp(1rem,1.4vw,1.2rem);
    line-height: 1.35;
    text-shadow: 0 0 24px rgba(0,180,216,0.4);
}
.vc-neon .vc-label { color: rgba(0,180,216,0.65); font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; margin-bottom: 0.6rem; }

@media (max-width: 900px) {
    .s2-values-grid.v2 { grid-template-columns: 1fr; grid-template-rows: auto; min-height: auto; }
    .vc-void { grid-row: span 1; min-height: 400px; }
}
/* --- Section 3: Editorial Grid --- */
.s3-editorial {
    background:
        linear-gradient(180deg, rgba(244,247,252,0.94), rgba(244,247,252,0.98)),
        url('assets/images/hero-product-system.jpeg') center / cover fixed;
    padding: 80px 0;
    position: relative;
    z-index: 1;
}
.s3-wrap { width: min(1220px, calc(100% - 40px)); margin: 0 auto; display: flex; flex-direction: column; gap: 1.2rem; }
.s3-top { display: grid; grid-template-columns: 1.45fr 1fr; gap: 1.2rem; align-items: stretch; }
.s3-hero { background: #fff; border-radius: 28px; border: 1px solid rgba(219,231,242,0.8); overflow: hidden; display: flex; min-height: 360px; }
.s3-hero-content { padding: 2.6rem; flex: 0 0 52%; display: flex; flex-direction: column; justify-content: center; gap: 1.1rem; }
.s3-tag { font-size: 0.7rem; font-weight: 700; letter-spacing: 0.16em; text-transform: uppercase; color: var(--clr-primary); background: rgba(10,102,194,0.08); padding: 0.26rem 0.72rem; border-radius: 100px; display: inline-block; width: fit-content; }
.s3-headline { font-family: var(--font-heading); font-size: clamp(1.5rem,2.8vw,2.3rem); line-height: 1.1; letter-spacing: -0.03em; color: #0f172a; }
.s3-hero-stats { display: flex; gap: 1.4rem; align-items: center; flex-wrap: wrap; }
.s3-hstat { display: flex; align-items: center; gap: 0.4rem; }
.s3-hstat i { width: 15px; height: 15px; color: var(--clr-accent); }
.s3-hstat strong { font-size: 0.95rem; color: #0f172a; font-family: var(--font-heading); }
.s3-hstat span { font-size: 0.78rem; color: #64748b; display: block; }
.s3-hstat div { display: flex; flex-direction: column; }
.s3-cta-btn { display: inline-flex; align-items: center; gap: 0.45rem; background: #0f172a; color: #fff; padding: 0.72rem 1.35rem; border-radius: 100px; font-size: 0.88rem; font-weight: 600; text-decoration: none; width: fit-content; transition: background 0.22s ease, transform 0.22s ease; }
.s3-cta-btn:hover { background: var(--clr-primary); transform: translateY(-2px); }
.s3-cta-btn i { width: 15px; height: 15px; }
.s3-hero-float { flex: 1; position: relative; overflow: hidden; }
.s3-hero-float img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.s3-hero:hover .s3-hero-float img { transform: scale(1.05); }
.s3-float-pill { position: absolute; bottom: 1rem; left: 1rem; background: rgba(255,255,255,0.92); backdrop-filter: blur(10px); border-radius: 100px; padding: 0.38rem 0.85rem; font-size: 0.78rem; font-weight: 700; display: flex; align-items: center; gap: 0.3rem; color: #0f172a; }
.s3-float-pill i { width: 13px; height: 13px; color: #fbbf24; }
.s3-cats { background: #fff; border-radius: 28px; border: 1px solid rgba(219,231,242,0.8); padding: 2rem; display: flex; flex-direction: column; gap: 1rem; }
.s3-cats-title { font-family: var(--font-heading); font-size: 1rem; font-weight: 700; color: #0f172a; letter-spacing: -0.02em; }
.s3-cats-list { display: flex; flex-direction: column; gap: 0; flex: 1; }
.s3-cat { display: flex; align-items: center; gap: 0.85rem; padding: 0.7rem 0.6rem; border-radius: 12px; text-decoration: none; color: #0f172a; transition: background 0.18s ease; border-bottom: 1px solid #f1f5f9; }
.s3-cat:last-child { border-bottom: none; }
.s3-cat:hover { background: #f0f5ff; }
.s3-cat-thumb { width: 48px; height: 36px; border-radius: 8px; overflow: hidden; flex-shrink: 0; }
.s3-cat-thumb img { width: 100%; height: 100%; object-fit: cover; }
.s3-cat span { flex: 1; font-size: 0.9rem; font-weight: 600; }
.s3-cat i { width: 15px; height: 15px; color: #94a3b8; flex-shrink: 0; transition: color 0.18s ease, transform 0.18s ease; }
.s3-cat:hover i { color: var(--clr-primary); transform: translateX(2px); }
.s3-signature { background: #fff; border-radius: 28px; border: 1px solid rgba(219,231,242,0.8); padding: 2rem; display: flex; align-items: center; gap: 2rem; }
.s3-sig-head { flex: 0 0 auto; max-width: 130px; }
.s3-sig-head h3 { font-size: 1rem; line-height: 1.25; color: #0f172a; letter-spacing: -0.03em; }
.s3-sig-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 0.85rem; flex: 1; }
.s3-sig-card { border-radius: 16px; overflow: hidden; position: relative; aspect-ratio: 3/4; cursor: pointer; text-decoration: none; display: block; }
.s3-sig-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.s3-sig-card:hover img { transform: scale(1.08); }
.s3-sig-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 0.7rem; background: linear-gradient(to top, rgba(5,10,25,0.88), transparent); color: #fff; display: flex; flex-direction: column; gap: 0.1rem; }
.s3-sig-body strong { font-size: 0.8rem; font-weight: 700; color: #fff; }
.s3-sig-body span { font-size: 0.7rem; color: rgba(255,255,255,0.62); }
.s3-bottom { display: grid; grid-template-columns: 1fr 0.6fr; gap: 1.2rem; align-items: stretch; }
.s3-editorial-card { background: #0f172a; border-radius: 28px; overflow: hidden; display: flex; min-height: 260px; }
.s3-ed-text { padding: 2.6rem; flex: 0 0 55%; display: flex; flex-direction: column; justify-content: center; gap: 0.9rem; }
.s3-ed-text h3 { color: #fff; font-size: clamp(1.1rem,1.8vw,1.4rem); line-height: 1.3; }
.s3-ed-text p { color: rgba(255,255,255,0.52); font-size: 0.88rem; }
.s3-ed-btn { display: inline-block; color: var(--clr-accent); font-size: 0.88rem; font-weight: 700; text-decoration: none; }
.s3-ed-btn:hover { color: #38bdf8; }
.s3-ed-img { flex: 1; overflow: hidden; }
.s3-ed-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; filter: brightness(0.82) saturate(0.85); }
.s3-editorial-card:hover .s3-ed-img img { transform: scale(1.05); }
.s3-right-stack { display: flex; flex-direction: column; gap: 1.2rem; }
.s3-stat-card { background: #fff; border-radius: 24px; border: 1px solid rgba(219,231,242,0.8); padding: 1.8rem; display: flex; flex-direction: column; gap: 0.5rem; flex: 1; }
.s3-big-stat { font-family: var(--font-heading); font-size: clamp(2.6rem,5vw,4rem); font-weight: 700; letter-spacing: -0.04em; color: #0f172a; line-height: 1; }
.s3-stat-card p { font-size: 0.88rem; color: #64748b; }
.s3-cta-card { border-radius: 24px; overflow: hidden; position: relative; flex: 1; min-height: 130px; }
.s3-cta-card img,
.s3-cta-card video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.s3-cta-card:hover img,
.s3-cta-card:hover video { transform: scale(1.06); }
.s3-cta-body { position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,10,25,0.88), rgba(5,10,25,0.22)); padding: 1.4rem; display: flex; flex-direction: column; justify-content: flex-end; gap: 0.45rem; }
.s3-cta-body strong { color: #fff; font-size: 0.9rem; }
.s3-cta-link { display: inline-flex; align-items: center; gap: 0.3rem; color: var(--clr-accent); font-size: 0.82rem; font-weight: 700; text-decoration: none; transition: gap 0.2s ease; }
.s3-cta-link:hover { gap: 0.55rem; }
.s3-cta-link i { width: 13px; height: 13px; }
@media (max-width: 1000px) {
    .s3-top { grid-template-columns: 1fr; }
    .s3-hero { flex-direction: column; min-height: auto; }
    .s3-hero-float { min-height: 220px; }
    .s3-signature { flex-direction: column; }
    .s3-sig-cards { grid-template-columns: repeat(2,1fr); }
    .s3-sig-head { max-width: 100%; }
    .s3-bottom { grid-template-columns: 1fr; }
    .s3-editorial-card { flex-direction: column; }
    .s3-ed-img { min-height: 200px; }
}

/* --- Section 4: Immersive WebGL --- */
.s4-immersive-webgl {
    position: relative;
    height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #050a15;
}
.s4-webgl-container {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.s4-webgl-container canvas {
    display: block;
    width: 100%;
    height: 100%;
}
.s4-content {
    position: relative;
    z-index: 1;
    max-width: 1000px;
    padding: 0 2rem;
    pointer-events: none;
}
.s4-content h2 {
    color: rgba(255,255,255,0.9);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
}
.s4-neon-text {
    color: #fff;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.8), 0 0 20px rgba(0, 180, 216, 0.6), 0 0 40px rgba(10, 102, 194, 0.8), 0 0 80px rgba(10, 102, 194, 0.6);
}

/* --- Section 5: Cyberpunk Stats --- */
.s5-cyber-stats {
    background: #020617;
    padding: 100px 0;
    color: #fff;
    position: relative;
    border-top: 1px solid rgba(0,255,255,0.1);
    border-bottom: 1px solid rgba(0,255,255,0.1);
}
.s5-header h2 {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 180, 216, 0.5);
}
.s5-stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-top: 4rem;
}
.s5-stat-card {
    position: relative;
    text-align: center;
    padding: 3rem 1rem;
    background: rgba(15,23,42,0.6);
    border: 1px solid rgba(0, 180, 216, 0.2);
    border-radius: 20px;
    box-shadow: inset 0 0 20px rgba(0, 180, 216, 0.05);
}
.s5-ring {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-90deg);
    width: 140px; height: 140px;
    fill: none;
    stroke: rgba(0, 180, 216, 0.8);
    stroke-width: 2;
    stroke-dasharray: 283;
    stroke-dashoffset: 283;
    filter: drop-shadow(0 0 8px rgba(0, 180, 216, 0.8));
}
.s5-stat-content {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3.5rem;
    font-family: var(--font-heading);
    color: #fff;
    text-shadow: 0 0 15px rgba(0, 180, 216, 0.8);
    margin-bottom: 1rem;
}
.s5-mod {
    font-size: 2rem;
    color: var(--clr-accent);
}

/* --- Section 6: Glowing Timeline --- */
.s6-glowing-timeline {
    background: #020617;
    color: #fff;
    padding: 100px 0 160px;
}
.s6-header h2 {
    color: #fff;
}
.s6-timeline-wrapper {
    position: relative;
    max-width: 800px;
    margin: 4rem auto 0;
}
.s6-timeline-line {
    position: absolute;
    left: 50%;
    top: 0; bottom: 0;
    width: 2px;
    background: rgba(255,255,255,0.1);
    transform: translateX(-50%);
}
.s6-timeline-line-glow {
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 0;
    background: #00b4d8;
    transform: translateX(-50%);
    box-shadow: 0 0 15px #00b4d8, 0 0 30px #0a66c2;
}
.s6-timeline-item {
    position: relative;
    width: 50%;
    padding-right: 3rem;
    padding-bottom: 4rem;
    text-align: right;
    perspective: 1000px;
}
.s6-timeline-item.right {
    left: 50%;
    padding-right: 0;
    padding-left: 3rem;
    text-align: left;
}
.s6-node {
    position: absolute;
    top: 0;
    right: -24px;
    width: 48px;
    height: 48px;
    background: #0f172a;
    border: 2px solid #00b4d8;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-family: var(--font-heading);
    box-shadow: 0 0 15px rgba(0, 180, 216, 0.4);
    z-index: 2;
}
.s6-timeline-item.right .s6-node {
    right: auto;
    left: -24px;
}
.s6-content {
    background: rgba(15,23,42,0.8);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(0, 180, 216, 0.2);
    transform-origin: center right;
}
.s6-timeline-item.right .s6-content {
    transform-origin: center left;
}
.s6-content h4 {
    font-size: 1.5rem;
    color: var(--clr-accent);
    margin-bottom: 0.5rem;
}
@media (max-width: 768px) {
    .s5-stats-container { grid-template-columns: 1fr 1fr; }
    .s6-timeline-line, .s6-timeline-line-glow { left: 30px; }
    .s6-timeline-item, .s6-timeline-item.right { width: 100%; left: 0; padding-left: 80px; padding-right: 0; text-align: left; }
    .s6-node, .s6-timeline-item.right .s6-node { left: 6px; right: auto; }
}

/* --- Section 7: Horizontal Scroll --- */
.s7-horizontal-scroll {
    position: relative;
    background: #f8fafc;
    color: var(--clr-text-main);
    /* For horizontal pinning, we need a tall container managed by JS */
    height: 300vh;
}
.s7-sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
}
.s7-header {
    margin-bottom: 2rem;
    padding-left: max(20px, calc((100% - var(--max-width)) / 2));
}
.s7-scroll-track {
    display: flex;
    gap: 40px;
    padding-left: max(20px, calc((100% - var(--max-width)) / 2));
    width: max-content;
}
.s7-card {
    width: 600px;
    height: 480px;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transform: skewX(-5deg);
    transition: transform 0.3s ease;
}
.s7-card img {
    height: 60%;
    object-position: top;
}
.s7-card-body {
    padding: 2rem;
    transform: skewX(5deg);
}

/* --- Section 8: 3D Testimonials Carousel --- */
.s8-3d-testimonials {
    position: relative;
    background: linear-gradient(135deg, #0f172a, #0a66c2);
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #fff;
    perspective: 1500px;
    overflow: hidden;
}
.s8-header {
    margin-bottom: 4rem;
    z-index: 5;
}
.s8-header h2 {
    color: #fff;
}
.s8-carousel-container {
    position: relative;
    width: 320px;
    height: 380px;
}
.s8-carousel {
    width: 100%;
    height: 100%;
    position: absolute;
    transform-style: preserve-3d;
    animation: rotateCarousel 30s infinite linear;
}
.s8-carousel:hover {
    animation-play-state: paused;
}
.s8-item {
    position: absolute;
    width: 340px;
    height: 380px;
    left: -10px;
    top: 0;
    padding: 3rem 2rem;
    transform-style: preserve-3d;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    backface-visibility: hidden;
}
.s8-item:nth-child(1) { transform: rotateY(0deg) translateZ(450px); }
.s8-item:nth-child(2) { transform: rotateY(72deg) translateZ(450px); }
.s8-item:nth-child(3) { transform: rotateY(144deg) translateZ(450px); }
.s8-item:nth-child(4) { transform: rotateY(216deg) translateZ(450px); }
.s8-item:nth-child(5) { transform: rotateY(288deg) translateZ(450px); }

.s8-item-glass {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.06);
    backdrop-filter: blur(14px);
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.2);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
    z-index: -1;
}
.s8-item p {
    color: rgba(255,255,255,0.9);
    font-size: 1.15rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}
@keyframes rotateCarousel {
    from { transform: rotateY(0deg); }
    to { transform: rotateY(-360deg); }
}
@media (max-width: 900px) {
    .s7-horizontal-scroll { height: auto; }
    .s7-sticky-container { height: auto; position: relative; padding: 4rem 0;}
    .s7-scroll-track { flex-direction: column; width: 100%; padding: 0 20px; }
    .s7-card { width: 100%; height: auto; transform: none; margin-bottom: 2rem;}
    .s7-card-body { transform: none; }
    .s8-item:nth-child(n) { transform: rotateY(0) translateZ(0); position: relative; left: 0; top: 0; margin-bottom: 2rem;}
    .s8-carousel { animation: none; position: relative; }
    .s8-carousel-container { width: 100%; height: auto; padding: 0 20px;}
    .s8-3d-testimonials { height: auto; padding: 4rem 0; }
}

/* ── Services section big hero-style title ────────────── */
.s1-glass-services .s1-insta-header-layout {
    flex-direction: column;
    align-items: flex-start;
    gap: 1.4rem;
}

.s1-glass-services .s1-small-desc {
    flex: none;
    max-width: 100%;
}

.svc-big-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 12.5vw, 12rem);
    line-height: 1;
    letter-spacing: -0.04em;
    text-transform: uppercase;
    color: var(--clr-text-main);
    white-space: nowrap;
    flex: none;
}

.sbt-bridge {
    display: block;
    font-size: 0.26em;
    font-family: var(--font-body);
    font-weight: 600;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--clr-text-sec);
    margin-bottom: 0.32em;
}

.sbt-main {
    display: block;
    margin-bottom: 0.05em;
}

.sbt-actions {
    display: block;
    line-height: 1.02;
}

.sbt-sell {
    background: linear-gradient(90deg,
        #38bdf8 0%,
        #0a66c2 25%,
        #00b4d8 50%,
        #38bdf8 75%,
        #0a66c2 100%
    );
    background-size: 250% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ht-shimmer 3.5s linear infinite;
}

.sbt-operate {
    -webkit-text-stroke: 2px rgba(15, 23, 42, 0.6);
    -webkit-text-fill-color: transparent;
}

.sbt-punct {
    -webkit-text-fill-color: rgba(15, 23, 42, 0.2);
    color: rgba(15, 23, 42, 0.2);
    margin-right: 0.14em;
}

/* ══════════════════════════════════════════════════════
   R4: IMMERSIVE EDITORIAL BANNER
══════════════════════════════════════════════════════ */
.r4-banner {
    position: relative;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    color: #fff;
}
.r4-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    filter: saturate(1.12) contrast(1.08);
}
.r4-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(10,15,30,0.88) 0%, rgba(10,15,30,0.6) 60%, rgba(10,15,30,0.4) 100%);
}
.r4-content {
    position: relative;
    z-index: 2;
    padding: 80px 0 40px;
}
.r4-split {
    display: flex;
    align-items: flex-end;
    gap: 4rem;
}
.r4-left { flex: 1.3; }
.r4-right { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 1.5rem; padding-bottom: 0.4em; }
.r4-eyebrow {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.55);
    margin-bottom: 1rem;
}
.r4-big {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 6vw, 6rem);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
}
.r4-sub {
    font-size: clamp(1.4rem, 2.8vw, 2.2rem);
    font-weight: 500;
    color: rgba(255,255,255,0.75);
    line-height: 1.3;
    margin: 0;
    font-style: italic;
}
.r4-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #fff;
    color: #0f172a;
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 2rem;
    border-radius: 100px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
}
.r4-btn:hover { background: #e2e8f0; transform: translateY(-2px); }
.r4-bar {
    position: relative;
    z-index: 2;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    border-top: 1px solid rgba(255,255,255,0.12);
    margin-top: 60px;
}
.r4-bar-inner {
    display: flex;
    align-items: center;
    padding: 2rem 0;
    gap: 0;
}
.r4-bstat {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}
.r4-bstat strong {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.03em;
}
.r4-bstat span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }
.r4-bdiv {
    width: 1px;
    height: 2.5rem;
    background: rgba(255,255,255,0.15);
}
@media (max-width: 768px) {
    .r4-split { flex-direction: column; gap: 2rem; }
    .r4-bar-inner { flex-wrap: wrap; gap: 1.5rem; }
    .r4-bstat { flex: 40%; }
    .r4-bdiv { display: none; }
}

/* ══════════════════════════════════════════════════════
   R5: RESULTS BENTO
══════════════════════════════════════════════════════ */
.r5-results {
    background:
        linear-gradient(180deg, rgba(241,245,249,0.96), rgba(241,245,249,0.98)),
        url('assets/images/hero-analytics-dashboard.jpeg') center / cover fixed;
    padding: 100px 0;
}
.r5-eyebrow {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--clr-text-sec);
}
.r5-ey-line {
    flex: 1;
    height: 1px;
    background: #cbd5e1;
}
.r5-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 16px;
}
.r5-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}
.r5-hero-stat {
    grid-row: span 2;
    min-height: 480px;
    background: #0f172a;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2.5rem;
}
.r5-bg-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.35;
}
.r5-img-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,30,0.95) 30%, rgba(10,15,30,0.4));
}
.r5-hs-body { position: relative; z-index: 1; }
.r5-big-num {
    font-family: var(--font-heading);
    font-size: clamp(4rem, 9vw, 8rem);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}
.r5-big-num span { color: var(--clr-accent); }
.r5-hs-body p { color: rgba(255,255,255,0.7); margin-top: 0.5rem; font-size: 1rem; }
.r5-stat-b {
    background: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.r5-sb-num {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #0f172a;
    line-height: 1;
}
.r5-sb-label {
    font-size: 0.95rem;
    color: var(--clr-text-sec);
    margin: 0.5rem 0 1.2rem;
    line-height: 1.5;
}
.r5-sb-bar {
    height: 4px;
    background: #e2e8f0;
    border-radius: 2px;
    overflow: hidden;
}
.r5-sb-fill {
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, var(--clr-accent), #0a66c2);
    border-radius: 2px;
    animation: fill-bar 2s ease forwards;
}
@keyframes fill-bar { from { width: 0; } to { width: 100%; } }
.r5-stat-c {
    background: #0a66c2;
    color: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.4rem;
}
.r5-sc-icon { margin-bottom: 0.5rem; }
.r5-sc-icon svg { width: 28px; height: 28px; color: rgba(255,255,255,0.8); }
.r5-sc-num {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1;
}
.r5-stat-c p { font-size: 0.9rem; color: rgba(255,255,255,0.75); margin: 0; }
.r5-img-card {
    position: relative;
    min-height: 200px;
    background: #0f172a;
}
.r5-img-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7;
}
.r5-img-pill {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 0.4rem 1rem;
    border-radius: 100px;
    z-index: 1;
}
.r5-stat-d {
    background: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.r5-sd-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--clr-accent);
    background: rgba(0,180,216,0.1);
    padding: 0.25rem 0.75rem;
    border-radius: 100px;
    margin-bottom: 0.8rem;
    width: fit-content;
}
.r5-sd-num {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4vw, 3.8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #0f172a;
    line-height: 1;
    margin-bottom: 0.5rem;
}
.r5-stat-d p { font-size: 0.9rem; color: var(--clr-text-sec); margin: 0; }
@media (max-width: 900px) {
    .r5-grid { grid-template-columns: 1fr 1fr; }
    .r5-hero-stat { grid-row: span 1; min-height: 280px; }
}
@media (max-width: 600px) {
    .r5-grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════
   R6: APPROACH EDITORIAL STEPS
══════════════════════════════════════════════════════ */
.r6-approach {
    background:
        linear-gradient(180deg, rgba(2,6,23,0.94), rgba(2,6,23,0.98)),
        url('assets/images/process.png') center / cover fixed;
    color: #fff;
    padding: 100px 0;
}
.r6-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 4rem;
    gap: 2rem;
}
.r6-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.8rem;
}
.r6-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.05;
    color: #fff;
    margin: 0;
}
.r6-title em {
    font-style: italic;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.5);
    -webkit-text-fill-color: transparent;
}
.r6-steps {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.r6-step {
    display: grid;
    grid-template-columns: 80px 1fr 40px;
    gap: 2rem;
    padding: 2.5rem 0;
    border-top: 1px solid rgba(255,255,255,0.08);
    transition: background 0.2s;
}
.r6-step:last-child { border-bottom: 1px solid rgba(255,255,255,0.08); }
.r6-step:hover { background: rgba(255,255,255,0.02); border-radius: 12px; }
.r6-step-num {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: rgba(255,255,255,0.25);
    letter-spacing: 0.1em;
    padding-top: 0.3rem;
}
.r6-step-body {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 2.5rem;
    align-items: center;
}
.r6-step-body img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;
    opacity: 0.75;
    transition: opacity 0.3s;
}
.r6-step:hover .r6-step-body img { opacity: 1; }
.r6-step-text h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2.2rem);
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
}
.r6-step-text p {
    color: rgba(255,255,255,0.55);
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}
a.r6-step {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: grid;
}
.r6-step-arrow {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    color: rgba(255,255,255,0.25);
    transition: color 0.25s, transform 0.25s;
}
.r6-step-arrow svg { width: 22px; height: 22px; }
a.r6-step:hover .r6-step-arrow {
    color: #38bdf8;
    transform: translateX(4px);
}
@media (max-width: 900px) {
    .r6-head { flex-direction: column; align-items: flex-start; }
    .r6-step { grid-template-columns: 50px 1fr; gap: 1rem; }
    .r6-step-body { grid-template-columns: 1fr; }
    .r6-step-body img { height: 180px; }
    .r6-step-arrow { display: none; }
}

/* ══════════════════════════════════════════════════════
   R7: PROJECTS MAGAZINE BENTO
══════════════════════════════════════════════════════ */
.r7-projects {
    background:
        linear-gradient(180deg, rgba(255,255,255,0.95), rgba(255,255,255,0.98)),
        url('assets/images/hero-glowing-wave.jpeg') center / cover fixed;
    padding: 100px 0;
}
.r7-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    margin-bottom: 2rem;
    gap: 1rem;
}
.r7-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--clr-text-sec);
    margin-bottom: 0.5rem;
}
.r7-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0f172a;
    margin: 0;
}
.r7-see-all {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #0f172a;
    text-decoration: none;
    border-bottom: 1.5px solid #0f172a;
    padding-bottom: 0.15rem;
    white-space: nowrap;
    transition: color 0.2s;
}
.r7-see-all:hover { color: var(--clr-accent); border-color: var(--clr-accent); }
.r7-bento {
    display: grid;
    grid-template-columns: 1.6fr 1fr;
    grid-template-rows: 340px 340px auto;
    gap: 14px;
}
.r7-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: #0f172a;
    cursor: pointer;
    text-decoration: none;
    display: block;
    color: inherit;
}
.r7-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.r7-card:hover img { transform: scale(1.04); }
.r7-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,30,0.92) 0%, rgba(10,15,30,0.3) 60%, transparent 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 2rem;
    color: #fff;
}
.r7-tag {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.6);
    margin-bottom: 0.5rem;
}
.r7-card-overlay h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 2vw, 1.7rem);
    font-weight: 700;
    margin: 0 0 0.4rem;
    color: #fff;
}
.r7-card-overlay p { font-size: 0.88rem; color: rgba(255,255,255,0.65); margin: 0; }
.r7-feat { grid-column: 1; grid-row: 1; }
.r7-port { grid-column: 2; grid-row: 1; }
.r7-saas { grid-column: 1; grid-row: 2; }
.r7-dark-card {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to top, rgba(10,15,30,0.94) 0%, rgba(10,15,30,0.76) 48%, rgba(30,58,95,0.28) 100%);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    color: #fff;
}
.r7-tag-dark {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: auto;
}
.r7-dark-card h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 3vw, 2.5rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin: 1rem 0 0.5rem;
    color: #fff;
}
.r7-dark-card p { font-size: 0.92rem; color: rgba(255,255,255,0.65); margin: 0 0 1.5rem; }
.r7-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.88rem;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    border-bottom: 1px solid rgba(255,255,255,0.4);
    width: fit-content;
    padding-bottom: 0.1rem;
}
.r7-mob { grid-column: 2; grid-row: 2; }
.r7-eng-strip {
    grid-column: 1 / -1;
    grid-row: 3;
    background: #f8fafc;
    border-radius: 18px;
    display: flex;
    align-items: center;
    padding: 2rem 3rem;
    gap: 0;
}
.r7-eng { flex: 1; display: flex; flex-direction: column; gap: 0.4rem; padding: 0 2rem; }
.r7-eng:first-child { padding-left: 0; }
.r7-eng-icon {
    width: 40px;
    height: 40px;
    background: #0f172a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.4rem;
}
.r7-eng-icon svg { width: 20px; height: 20px; color: #fff; }
.r7-eng strong { font-size: 1rem; font-weight: 700; color: #0f172a; }
.r7-eng p { font-size: 0.85rem; color: var(--clr-text-sec); margin: 0; line-height: 1.4; }
.r7-eng-div {
    width: 1px;
    height: 3rem;
    background: #e2e8f0;
    flex-shrink: 0;
}
@media (max-width: 900px) {
    .r7-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
    .r7-feat, .r7-port, .r7-saas, .r7-mob { grid-column: 1; grid-row: auto; min-height: 280px; position: relative; }
    .r7-eng-strip { flex-direction: column; align-items: flex-start; padding: 1.5rem; }
    .r7-eng { padding: 0; }
    .r7-eng-div { width: 100%; height: 1px; margin: 1rem 0; }
}

/* ══════════════════════════════════════════════════════
   R8: TESTIMONIALS PULL-QUOTE EDITORIAL
══════════════════════════════════════════════════════ */
.r8-testimonials {
    background:
        linear-gradient(180deg, rgba(15,23,42,0.95), rgba(2,6,23,0.98)),
        url('assets/images/hero-product-system.jpeg') center / cover fixed;
    color: #fff;
    padding: 100px 0;
}
.r8-head {
    margin-bottom: 3rem;
}
.r8-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--clr-accent);
    margin-bottom: 0.8rem;
}
.r8-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #fff;
    margin: 0;
    line-height: 1.05;
}
.r8-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 14px;
}
.r8-quote {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}
.r8-quote:hover { background: rgba(255,255,255,0.07); }
.r8-qmark {
    font-family: Georgia, serif;
    font-size: 5rem;
    line-height: 0.7;
    color: rgba(255,255,255,0.12);
    font-style: normal;
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    pointer-events: none;
}
.r8-quote p {
    font-size: 1.05rem;
    line-height: 1.65;
    color: rgba(255,255,255,0.8);
    margin: 0;
    padding-top: 2rem;
    flex: 1;
}
.r8-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.r8-author img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    opacity: 0.85;
}
.r8-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    color: #fff;
    flex-shrink: 0;
    letter-spacing: 0.05em;
}
.r8-author div { display: flex; flex-direction: column; gap: 0.1rem; }
.r8-author strong { font-size: 0.9rem; color: #fff; font-weight: 600; }
.r8-author span { font-size: 0.78rem; color: rgba(255,255,255,0.4); }
.r8-q-featured { grid-column: 1; grid-row: 1 / 3; }
.r8-q-featured p { font-size: 1.2rem; padding-top: 3rem; }
.r8-q-b { grid-column: 2; grid-row: 1; }
.r8-q-c { grid-column: 3; grid-row: 1; }
.r8-q-d { grid-column: 2; grid-row: 2; }
.r8-founder-card {
    grid-column: 3;
    grid-row: 2;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    min-height: 240px;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}
.r8-founder-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}
.r8-founder-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10,15,30,0.96) 30%, rgba(10,15,30,0.5) 100%);
}
.r8-founder-body {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    padding: 2rem;
    color: #fff;
    gap: 0.3rem;
}
.r8-founder-ico { width: 24px; height: 24px; color: var(--clr-accent); margin-bottom: 0.5rem; }
.r8-founder-body p { font-size: 0.92rem; color: rgba(255,255,255,0.75); font-style: italic; line-height: 1.5; margin: 0 0 0.5rem; }
.r8-founder-body strong { font-size: 0.9rem; color: #fff; font-weight: 700; }
.r8-founder-body span { font-size: 0.78rem; color: rgba(255,255,255,0.45); }
@media (max-width: 1100px) {
    .r8-grid { grid-template-columns: 1fr 1fr; }
    .r8-q-featured { grid-column: 1 / -1; grid-row: 1; }
    .r8-q-b { grid-column: 1; grid-row: 2; }
    .r8-q-c { grid-column: 2; grid-row: 2; }
    .r8-q-d { grid-column: 1; grid-row: 3; }
    .r8-founder-card { grid-column: 2; grid-row: 3; }
}
@media (max-width: 700px) {
    .r8-grid { grid-template-columns: 1fr; }
    .r8-q-featured, .r8-q-b, .r8-q-c, .r8-q-d, .r8-founder-card { grid-column: 1; grid-row: auto; }
}

/* ══════════════════════════════════════════════════════
   R9: SPLIT EDITORIAL CTA
══════════════════════════════════════════════════════ */
.r9-cta {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 80vh;
}
.r9-left {
    background: #020617;
    padding: clamp(3rem, 8vw, 7rem);
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
}
.r9-label {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--clr-accent);
}
.r9-big {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 6vw, 6.5rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: #fff;
    margin: 0;
}
.r9-big em {
    font-style: italic;
    -webkit-text-stroke: 1.5px rgba(255,255,255,0.5);
    -webkit-text-fill-color: transparent;
}
.r9-tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
    margin-top: 0.5rem;
}
.r9-tag-row span {
    font-size: 0.8rem;
    font-weight: 600;
    color: rgba(255,255,255,0.5);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
}
.r9-right {
    position: relative;
    background: #f8fafc;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.r9-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.3;
    filter: saturate(1.2) contrast(1.04);
}
.r9-card {
    position: relative;
    z-index: 1;
    background: #fff;
    margin: 2rem;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0,0,0,0.12);
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.r9-card p {
    font-size: 1.05rem;
    color: var(--clr-text-sec);
    line-height: 1.6;
    margin: 0;
}
.r9-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #0f172a;
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    padding: 1rem 2.2rem;
    border-radius: 12px;
    text-decoration: none;
    transition: background 0.2s, transform 0.2s;
    width: fit-content;
}
.r9-btn:hover { background: #0a66c2; transform: translateY(-2px); }
.r9-meta {
    font-size: 0.8rem;
    color: var(--clr-text-sec);
    font-style: italic;
}
@media (max-width: 900px) {
    .r9-cta { grid-template-columns: 1fr; min-height: auto; }
    .r9-left { padding: 4rem 2rem; }
    .r9-right { min-height: 400px; }
}

/* ══════════════════════════════════════════════════════
   RF: FAQ SPLIT ACCORDION
══════════════════════════════════════════════════════ */
.rf-faq {
    /* background: #fff; */
    padding: 100px clamp(2rem, 5vw, 5rem);
    border-bottom: 1px solid #e2e8f0;
}
.rf-wrap {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 6rem;
    align-items: start;
}
/* Left sticky heading */
.rf-left {
    position: sticky;
    top: 6rem;
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}
.rf-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--clr-accent);
    background: rgba(0,180,216,0.08);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    width: fit-content;
}
.rf-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 4.5vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: #0f172a;
    margin: 0;
}
.rf-sub {
    font-size: 1rem;
    color: var(--clr-text-sec);
    line-height: 1.6;
    margin: 0;
    max-width: 28ch;
}
.rf-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #0f172a;
    text-decoration: none;
    border-bottom: 1.5px solid #0f172a;
    padding-bottom: 0.15rem;
    width: fit-content;
    margin-top: 0.5rem;
    transition: color 0.2s, border-color 0.2s;
}
.rf-link:hover { color: var(--clr-accent); border-color: var(--clr-accent); }
/* Accordion items */
.rf-right {
    display: flex;
    flex-direction: column;
}
.rf-item {
    border-top: 1px solid #e2e8f0;
}
.rf-item:last-child {
    border-bottom: 1px solid #e2e8f0;
}
.rf-q {
    width: 100%;
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    padding: 1.6rem 0;
    text-align: left;
    transition: color 0.2s;
}
.rf-q span {
    font-family: var(--font-heading);
    font-size: clamp(1rem, 1.6vw, 1.25rem);
    font-weight: 700;
    color: #0f172a;
    line-height: 1.3;
    transition: color 0.2s;
}
.rf-item.rf-open .rf-q span { color: var(--clr-accent); }
.rf-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid #cbd5e1;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.25s, border-color 0.25s, transform 0.3s;
    background: #fff;
}
.rf-icon svg { width: 16px; height: 16px; color: #64748b; transition: color 0.2s; }
.rf-item.rf-open .rf-icon {
    background: #0f172a;
    border-color: #0f172a;
    transform: rotate(45deg);
}
.rf-item.rf-open .rf-icon svg { color: #fff; }
/* Answer panel */
.rf-a {
    overflow: hidden;
    max-height: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.rf-item.rf-open .rf-a {
    max-height: 300px;
}
.rf-a p {
    font-size: 1rem;
    color: var(--clr-text-sec);
    line-height: 1.7;
    margin: 0;
    padding-bottom: 1.8rem;
}
@media (max-width: 900px) {
    .rf-faq { padding: 80px 0; }
    .rf-wrap { grid-template-columns: 1fr; gap: 2.5rem; }
    .rf-left { position: static; }
    .rf-title { font-size: clamp(2rem, 6vw, 3.5rem); }
}

/* ══════════════════════════════════════════════════════
   RV: VALUES EDITORIAL BENTO
══════════════════════════════════════════════════════ */
.rv-values {
    background:
        linear-gradient(180deg, rgba(241,245,249,0.96), rgba(241,245,249,0.98)),
        url('assets/images/hero-glowing-wave.jpeg') center / cover fixed;
    padding: 100px 0;
}
.rv-head {
    margin-bottom: 2.5rem;
}
.rv-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--clr-accent);
    background: rgba(0,180,216,0.1);
    padding: 0.3rem 0.9rem;
    border-radius: 100px;
    white-space: nowrap;
}
.rv-title {
    font-family: 'BespokeStencil-Extrabold', var(--font-heading);
    font-size: clamp(2.2rem, 7.5vw, 8rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    line-height: 1.0;
    color: #0f172a;
}
.rv-t-grad {
    background: linear-gradient(90deg, #0a66c2 0%, #38bdf8 50%, #00b4d8 100%);
    background-size: 200% 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: ht-shimmer 4s linear infinite;
}
.rv-t-outline {
    -webkit-text-stroke: 3px #0f172a;
    -webkit-text-fill-color: transparent;
    color: transparent;
    margin: 0;
}

/* ── Bento Grid ── */
.rv-bento {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    grid-template-rows: 300px 260px;
    gap: 14px;
}

/* Base card */
.rv-card {
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    display: block;
}

/* ── Hero card: col 1, rows 1+2, dark image ── */
.rv-hero {
    grid-column: 1;
    grid-row: 1 / 3;
    background: #0f172a;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.rv-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.4s;
}
.rv-hero:hover .rv-bg { opacity: 0.55; }
.rv-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(5,10,25,0.97) 25%, rgba(5,10,25,0.55) 70%, rgba(5,10,25,0.2) 100%);
}
.rv-hero-body {
    position: relative;
    z-index: 1;
    padding: 2.5rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.rv-num {
    font-family: var(--font-heading);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: rgba(255,255,255,0.35);
    margin-bottom: 0.2rem;
}
.rv-num.light { color: rgba(255,255,255,0.45); }
.rv-icon-wrap {
    width: 44px;
    height: 44px;
    background: rgba(255,255,255,0.12);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.4rem;
}
.rv-icon-wrap svg { width: 22px; height: 22px; color: #fff; }
.rv-icon-wrap.dark {
    background: #0f172a;
}
.rv-icon-wrap.dark svg { color: #fff; }
.rv-icon-wrap.light {
    background: rgba(255,255,255,0.2);
}
.rv-hero-body h3 {
    font-family: var(--font-heading);
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.2;
}
.rv-hero-body p {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
    line-height: 1.6;
}

/* ── Editorial card: col 2, row 1, white with ghost number ── */
.rv-editorial {
    grid-column: 2;
    grid-row: 1;
    background: #fff;
    display: flex;
    align-items: flex-end;
}
.rv-ghost {
    position: absolute;
    top: -0.15em;
    right: 0.1em;
    font-family: var(--font-heading);
    font-size: 7rem;
    font-weight: 900;
    color: #f1f5f9;
    line-height: 1;
    pointer-events: none;
    letter-spacing: -0.05em;
}
.rv-ed-body {
    position: relative;
    z-index: 1;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.rv-ed-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
}
.rv-ed-body p {
    font-size: 0.9rem;
    color: var(--clr-text-sec);
    margin: 0;
    line-height: 1.6;
}
.rv-tag-pill {
    display: inline-block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #0a66c2;
    background: rgba(10,102,194,0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 100px;
    width: fit-content;
    margin-top: 0.3rem;
}

/* ── Accent card: col 3, row 1, blue ── */
.rv-accent {
    grid-column: 3;
    grid-row: 1;
    background: #0a66c2;
    color: #fff;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.4rem;
}
.rv-ac-body {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
.rv-ac-body h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
    line-height: 1.3;
}
.rv-ac-body p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.7);
    margin: 0;
    line-height: 1.6;
}

/* ── Image value card: col 2, row 2, dark image ── */
.rv-img-val {
    grid-column: 2;
    grid-row: 2;
    background: #0f172a;
}
.rv-img-val img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.4;
    transition: opacity 0.4s;
}
.rv-img-val:hover img { opacity: 0.55; }
.rv-iv-body {
    position: relative;
    z-index: 1;
    padding: 2rem;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 100%;
    gap: 0.4rem;
}
.rv-iv-body h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin: 0;
}
.rv-iv-body p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

/* ── Pull stat card: col 3, row 2, light ── */
.rv-pull {
    grid-column: 3;
    grid-row: 2;
    background: #0f172a;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0.6rem;
}
.rv-pull-num {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 4.5vw, 4rem);
    font-weight: 900;
    letter-spacing: -0.04em;
    color: #fff;
    line-height: 1;
}
.rv-pull p {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    margin: 0;
    line-height: 1.5;
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .rv-bento {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 280px 220px 220px;
    }
    .rv-hero { grid-column: 1 / -1; grid-row: 1; }
    .rv-editorial { grid-column: 1; grid-row: 2; }
    .rv-accent { grid-column: 2; grid-row: 2; }
    .rv-img-val { grid-column: 1; grid-row: 3; }
    .rv-pull { grid-column: 2; grid-row: 3; }
}
@media (max-width: 640px) {
    .rv-head { flex-direction: column; align-items: flex-start; gap: 1rem; }
    .rv-title { font-size: clamp(1.8rem, 10vw, 2.8rem); }
    .rv-bento { grid-template-columns: 1fr; grid-template-rows: auto; }
    .rv-hero, .rv-editorial, .rv-accent, .rv-img-val, .rv-pull {
        grid-column: 1; grid-row: auto; min-height: 240px;
    }
    .rf-faq { padding: 60px 0; }
}

/* ══════════════════════════════════════════
   GLOBAL MOBILE SAFETY — 640px and below
   ══════════════════════════════════════════ */
@media (max-width: 640px) {

    /* Hero subtitle clamp */
    .hero-subtitle { font-size: 1rem; }
    .hero-copy { margin-top: 0; }

    /* S3 editorial wrap */
    .s3-wrap { width: calc(100% - 2.5rem); }

    /* Section headings that use vw sizes */
    .s1-huge-heading { font-size: clamp(2.2rem, 10vw, 3.5rem); }
    .svc-big-title { font-size: clamp(2.5rem, 14vw, 6rem); white-space: normal; }

    /* Remove large padding on small screens */
    .s2-core-values { padding: 80px 0; }
    .s5-cyber-stats { padding: 60px 0; }
    .r6-approach { padding: 60px 0; }
}

/* ══════════════════════════════════════════
   GLOBAL MOBILE SAFETY — 480px and below
   Prevents overflow and cleans up spacing
   on all page types
══════════════════════════════════════════ */
@media (max-width: 480px) {
    /* Prevent any element from blowing past viewport */
    img, video, canvas { max-width: 100%; }

    /* Buttons full-width stacked on tiny screens */
    .btn { min-width: 0; }

    /* Nav container padding */
    .nav-container { padding: 0 1rem; }

    /* Smaller logo on mobile */
    .logo img { height: 40px; }

    /* Scroller track narrower */
    .scroller-track { width: 220vw; margin-left: -60vw; }
    .scroll-card { width: 200px; height: 140px; }

    /* Shared inner containers */
    .container { width: calc(100% - 2.5rem); }

    /* S5 stats: single col on tiny phones */
    .s5-stats-container { grid-template-columns: 1fr; }

    /* R4 bar wraps better */
    .r4-bar-inner { gap: 1rem; }
    .r4-bstat { flex: 1 1 45%; }
}

/* ════════════════════════════════════════════════════════
   RB: BLOG PREVIEW SECTION (homepage)
════════════════════════════════════════════════════════ */
.rb-blog {
    padding: 7rem 0;
    background: #030810;
    border-top: 1px solid rgba(255,255,255,0.06);
}
.rb-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
}
.rb-head-left {}
.rb-label {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #00b4d8;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
.rb-label::before {
    content: '';
    width: 22px; height: 1px;
    background: #00b4d8;
    opacity: 0.6;
}
.rb-title {
    font-family: 'Outfit', sans-serif;
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.95;
    color: #fff;
    margin: 0 0 0.75rem;
}
.rb-sub {
    font-family: 'Inter', sans-serif;
    font-size: 0.88rem;
    color: rgba(255,255,255,0.35);
    line-height: 1.65;
    max-width: 360px;
    margin: 0;
}
.rb-see-all {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #00b4d8;
    text-decoration: none;
    white-space: nowrap;
    transition: gap 0.2s;
    flex-shrink: 0;
}
.rb-see-all svg { width: 14px; height: 14px; transition: transform 0.2s; }
.rb-see-all:hover { gap: 0.8rem; }
.rb-see-all:hover svg { transform: translateX(3px); }

/* Grid */
.rb-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 1px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 16px;
    overflow: hidden;
}

/* Cards */
.rb-card {
    background: #030810;
    padding: 2.2rem 2rem;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    text-decoration: none;
    color: inherit;
    transition: background 0.25s;
    position: relative;
    overflow: hidden;
}
.rb-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: linear-gradient(to right, #0a66c2, #00b4d8);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}
.rb-card:hover { background: #07111f; }
.rb-card:hover::before { transform: scaleX(1); }

.rb-card-feat {
    grid-column: span 1;
}

.rb-card-tag {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.58rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: #00b4d8;
    background: rgba(0,180,216,0.07);
    border: 1px solid rgba(0,180,216,0.15);
    padding: 0.28rem 0.65rem;
    border-radius: 100px;
    width: fit-content;
}
.rb-card-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.2;
    color: #fff;
    flex: 1;
    transition: color 0.2s;
}
.rb-card:hover .rb-card-title { color: rgba(255,255,255,0.8); }
.rb-card-excerpt {
    font-family: 'Inter', sans-serif;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.32);
    line-height: 1.65;
}
.rb-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.05);
    margin-top: auto;
}
.rb-card-date {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.2);
}
.rb-card-read {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 0.6rem;
    font-weight: 600;
    color: rgba(255,255,255,0.18);
}

/* Responsive */
@media (max-width: 900px) {
    .rb-grid { grid-template-columns: 1fr 1fr; }
    .rb-card:last-child { display: none; }
}
@media (max-width: 600px) {
    .rb-blog { padding: 5rem 0; }
    .rb-grid { grid-template-columns: 1fr; }
    .rb-card:last-child { display: flex; }
    .rb-head { flex-direction: column; align-items: flex-start; gap: 1.25rem; }
}
