/* ============================================================
   Stackinova Element – Main Stylesheet
   ============================================================ */

/* ============================================================
   1. MARQUEE STATS CARDS
   ============================================================ */

.sn-marquee-wrapper {
	overflow: hidden;
	background-color: #111111;
	position: relative;
}

.sn-marquee-overflow {
	overflow: hidden;
	width: 100%;
}

.sn-marquee-track {
	display: flex;
	flex-wrap: nowrap;
	will-change: transform;
	/* Fallback duration — JS sets --sn-speed and unique keyframe name */
	animation: sn-marquee-left var(--sn-speed, 35s) linear infinite;
}

/* Fallback keyframes — JS injects pixel-perfect ones at runtime */
@keyframes sn-marquee-left {
	0%   { transform: translateX(0); }
	100% { transform: translateX(var(--sn-translate, -50%)); }
}

@keyframes sn-marquee-right {
	0%   { transform: translateX(var(--sn-translate, -50%)); }
	100% { transform: translateX(0); }
}

/* Card */
.sn-marquee-card {
	flex-shrink: 0;
	width: 380px;
	min-width: 380px;
	margin-right: var(--sn-gap, 16px);
	height: 420px;
	background-color: #1a1a1a;
	border-radius: 12px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sn-marquee-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

/* Card top area */
.sn-card-top {
	padding: 24px 24px 0;
	flex-shrink: 0;
}

.sn-card-stat-row {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 12px;
}

/* Number + suffix */
.sn-card-stat-num {
	display: flex;
	align-items: baseline;
	flex-shrink: 0;
	line-height: 1;
}

.sn-card-number {
	font-size: clamp(2.4rem, 5vw, 3.5rem);
	font-weight: var(--fw-bold);
	color: #ffffff;
	letter-spacing: -0.02em;
	line-height: 1;
}

.sn-card-suffix {
	font-size: clamp(2.4rem, 5vw, 3.5rem);
	font-weight: var(--fw-bold);
	color: #ffffff;
	line-height: 1;
}

/* Label */
.sn-card-label {
	font-size: 0.7rem;
	font-weight: var(--fw-semibold);
	color: #ffffff;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	line-height: 1.4;
	padding-top: 6px;
}

/* Description */
.sn-card-desc {
	font-size: 0.82rem;
	color: #888888;
	line-height: 1.6;
	margin: 0;
}

/* Card image area */
.sn-card-image {
	flex: 1;
	overflow: hidden;
	margin-top: 16px;
	height: 58%;
}

.sn-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.5s ease;
}

.sn-marquee-card:hover .sn-card-image img {
	transform: scale(1.04);
}

.sn-card-image--empty {
	background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.08) 100%);
}

/* ============================================================
   2. EXPERTISE GRID
   ============================================================ */

.sn-expertise-section {
	background-color: #0a0a0a;
	padding: 80px 40px;
}

.sn-expertise-heading {
	color: #ffffff;
	font-size: clamp(1.8rem, 4vw, 3rem);
	font-weight: var(--fw-medium);
	text-align: center;
	line-height: 1.25;
	margin-bottom: 60px;
	letter-spacing: -0.02em;
}

.sn-expertise-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 40px;
	row-gap: 50px;
}

/* Item */
.sn-expertise-item {
	padding: 16px 10px 22px 10px !important;
	border-radius: 12px;
	transition: all 0.3s ease;
	cursor: default;
	border: 1px solid transparent;
}

/* ── Hover: Lift ── */
.sn-expertise-item.sn-hover-lift:hover {
	transform: translateY(-6px);
	background-color: rgba(255,255,255,0.04);
	border-color: rgba(255,255,255,0.08);
}

/* ── Hover: Glow ── */
.sn-expertise-item.sn-hover-glow {
	position: relative;
}
.sn-expertise-item.sn-hover-glow:hover {
	border-color: rgba(255,255,255,0.25);
	box-shadow: 0 0 0 1px rgba(255,255,255,0.1), 0 8px 32px rgba(255,255,255,0.05);
	background-color: rgba(255,255,255,0.03);
}

/* ── Hover: Icon Scale ── */
.sn-expertise-item.sn-hover-icon-spin:hover .sn-item-icon {
	transform: scale(1.15);
}

/* ── Hover: BG Reveal ── */
.sn-expertise-item.sn-hover-bg-reveal {
	position: relative;
	overflow: hidden;
}
.sn-expertise-item.sn-hover-bg-reveal::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.06), rgba(255,255,255,0.01));
	opacity: 0;
	transition: opacity 0.35s ease;
	border-radius: inherit;
}
.sn-expertise-item.sn-hover-bg-reveal:hover::before {
	opacity: 1;
}

/* Reset browser anchor defaults */
a.sn-expertise-item {
    display: block;
    text-decoration: none;
    color: inherit;
}

/* Title underline on hover */
a.sn-expertise-item:hover .sn-item-title {
    text-decoration: underline;
    text-decoration-color: rgba(255,255,255,0.7);
    text-underline-offset: 4px;
    text-decoration-thickness: 1px;
}

/* Icon box */
.sn-item-icon {
	width: 48px;
	height: 48px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 20px;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.sn-item-icon i {
	font-size: 20px;
}

.sn-item-icon svg {
	width: 20px;
	height: 20px;
}

.sn-expertise-item:hover .sn-item-icon {
	box-shadow: 0 0 18px rgba(255,255,255,0.08);
}

/* Item title */
.sn-item-title {
	color: #ffffff;
	font-size: 1.05rem;
	font-weight: var(--fw-semibold);
	margin: 0 0 12px 0;
	line-height: 1.3;
}

/* Item description */
.sn-item-desc {
	color: #888888;
	font-size: 0.875rem;
	line-height: 1.65;
	margin: 0;
	transition: color 0.3s ease;
}

.sn-expertise-item:hover .sn-item-desc {
	color: #aaaaaa;
}

/* → see Mobile Responsive section below */

/* ============================================================
   3. CTA BANNER
   ============================================================ */

.sn-cta-wrapper {
	display: flex;
	align-items: stretch;
	overflow: hidden;
	background-color: #ffffff;
	min-height: 220px;
	position: relative;
}

/* Content side */
.sn-cta-content-side {
	width: 45%;
	display: flex;
	align-items: center;
	position: relative;
	z-index: 2;
	flex-shrink: 0;
}

.sn-cta-content {
	padding: 40px 48px;
	width: 100%;
}

/* Logo */
.sn-cta-logo {
	margin-bottom: 20px;
}

.sn-cta-logo img {
	width: 160px;
	height: auto;
	display: block;
}

/* Pre-title */
.sn-cta-pre-title {
	font-size: 0.8rem;
	font-weight: var(--fw-semibold);
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #6b7280;
	margin: 0 0 8px 0;
}

/* Title */
.sn-cta-title {
	font-family: var(--font-heading);
	font-size: 55px;
	font-weight: var(--fw-medium);
	color: var(--color-heading);
	line-height: 1.2;
	letter-spacing: 0;
	margin: 0 0 25px;
}

/* Description */
.sn-cta-desc {
	font-size: 0.88rem;
	color: #444444;
	line-height: 1.65;
	margin: 0 0 24px 0;
}

/* CTA Button */
.sn-cta-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #2563eb;
	color: #ffffff !important;
	padding: 14px 32px;
	border-radius: 50px;
	font-size: 0.875rem;
	font-weight: var(--fw-semibold);
	text-decoration: none !important;
	transition: background-color 0.25s ease, transform 0.2s ease, box-shadow 0.25s ease;
	border: none;
	cursor: pointer;
	white-space: nowrap;
}

.sn-cta-btn:hover {
	background-color: #1d4ed8;
	transform: translateY(-2px);
	box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
	text-decoration: none !important;
	color: #ffffff !important;
}

/* Visual side */
.sn-cta-visual-side {
	flex: 1;
	position: relative;
	overflow: hidden;
	min-height: 220px;
}

/* Shapes */
.sn-cta-shapes {
	position: absolute;
	inset: 0;
	pointer-events: none;
}

.sn-shape {
	position: absolute;
}

/* Left yellow triangle – big center */
.sn-shape-1 {
	left: -5%;
	top: 0;
	width: 55%;
	height: 100%;
}

/* Right dark blue sliver */
.sn-shape-2 {
	right: 0;
	top: 0;
	width: 30%;
	height: 100%;
}

/* Sky blue large right */
.sn-shape-3 {
	right: 0;
	top: 0;
	width: 75%;
	height: 100%;
	opacity: 0.7;
}

/* Person image */
.sn-cta-person {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	height: 100%;
	display: flex;
	align-items: flex-end;
	z-index: 2;
}

.sn-cta-person img {
	height: 100%;
	width: auto;
	max-width: none;
	display: block;
	object-fit: contain;
	object-position: center bottom;
	filter: drop-shadow(0 4px 12px rgba(0,0,0,0.2));
}

/* → see Mobile Responsive section below */

/* ============================================================
   4. ELEMENTOR EDITOR HELPERS
   ============================================================ */

.elementor-editor-active .sn-marquee-track {
	animation-play-state: paused !important;
}

/* ══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE – All Widgets
   ══════════════════════════════════════════════════════════ */

/* ============================================================
   Widget 1 · Marquee Cards – Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
	.sn-marquee-card {
		width: 300px;
		min-width: 300px;
		height: 380px;
	}
	.sn-card-number,
	.sn-card-suffix {
		font-size: 2.8rem;
	}
}

/* ============================================================
   Widget 1 · Marquee Cards – Mobile (≤767px)
   ============================================================ */
@media (max-width: 767px) {
	.sn-marquee-card {
		/* Responsive card: 80% of viewport, min 240px, max 320px */
		width: clamp(240px, 80vw, 320px);
		min-width: clamp(240px, 80vw, 320px);
		height: 340px;
		margin-right: 12px;
	}
	.sn-card-top {
		padding: 18px 18px 0;
	}
	.sn-card-number,
	.sn-card-suffix {
		font-size: 2.4rem;
	}
	.sn-card-label {
		font-size: 0.65rem;
	}
	.sn-card-desc {
		font-size: 0.78rem;
	}
	.sn-card-image {
		height: 50%;
	}
}

/* ============================================================
   Widget 2 · Expertise Grid – Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
	.sn-expertise-grid {
		grid-template-columns: repeat(2, 1fr);
		column-gap: 28px;
		row-gap: 36px;
	}
	.sn-expertise-heading {
		margin-bottom: 40px;
	}
}

/* ============================================================
   Widget 2 · Expertise Grid – Mobile (≤767px)
   ============================================================ */
@media (max-width: 767px) {
	.sn-expertise-section {
		padding: 48px 20px;
	}
	.sn-expertise-grid {
		grid-template-columns: 1fr;
		row-gap: 32px;
	}
	.sn-expertise-heading {
		font-size: 36px;
		margin-bottom: 32px;
	}
	.sn-item-title {
		font-size: 1rem;
	}
	.sn-item-desc {
		font-size: 0.85rem;
	}
	.sn-item-icon {
		margin-bottom: 14px;
	}
}

/* ============================================================
   Widget 3 · CTA Banner – Tablet (≤1024px)
   ============================================================ */
@media (max-width: 1024px) {
	.sn-cta-content {
		padding: 36px 32px;
	}
	.sn-cta-title {
		font-size: clamp(1.4rem, 3vw, 1.8rem);
	}
}

/* ============================================================
   Widget 3 · CTA Banner – Mobile (≤767px)
   ============================================================ */
@media (max-width: 767px) {
	.sn-cta-wrapper {
		flex-direction: column;
	}
	.sn-cta-content-side,
	.sn-cta-visual-side {
		width: 100% !important;
	}
	.sn-cta-content {
		padding: 32px 20px;
	}
	.sn-cta-title {
		font-size: 36px;
	}
	.sn-cta-desc {
		font-family: var(--font-default);
		font-size: 16px;
		max-width: 100%;
	}
	.sn-cta-btn {
		width: 100%;
		justify-content: center;
		padding: 14px 20px;
		font-size: 15px;
		white-space: normal;
		text-align: center;
	}
	.sn-cta-visual-side {
		/* Taller on mobile so person image has room */
		min-height: 300px;
	}
	.sn-cta-logo img {
		width: 120px;
	}
	/* Shapes behind person image still look good stacked */
	.sn-cta-person {
		left: 50%;
		transform: translateX(-50%);
	}
	.sn-cta-person img {
		max-height: 300px;
		height: 100%;
		width: auto;
	}
}

/* ============================================================
   Extra small (≤400px)
   ============================================================ */
@media (max-width: 400px) {
	.sn-marquee-card {
		width: clamp(220px, 85vw, 260px);
		min-width: clamp(220px, 85vw, 260px);
		height: 300px;
		margin-right: 10px;
	}
	.sn-card-number,
	.sn-card-suffix {
		font-size: 2rem;
	}
	.sn-expertise-section {
		padding: 36px 16px;
	}
	.sn-cta-content {
		padding: 24px 16px;
	}
}

/* ==========================================================================
   Proof CTA Widget  (snpcta)
   ========================================================================== */

.snpcta {
    --snpcta-bg-start: #0b1a3b;
    --snpcta-bg-end:   #061029;
    --snpcta-accent:   #4fc3f7;

    position:      relative;
    display:       grid;
    grid-template-columns: 1fr 1fr;
    align-items:   center;
    gap:           40px;
    padding:       52px 56px;
    background:    linear-gradient(135deg, var(--snpcta-bg-start) 0%, var(--snpcta-bg-end) 100%);
    border-radius: 20px;
    overflow:      hidden;
    box-sizing:    border-box;
}

.snpcta::before {
    content:          '';
    position:         absolute;
    inset:            0;
    background-image: radial-gradient(rgba(79,195,247,.07) 1px, transparent 1px);
    background-size:  28px 28px;
    pointer-events:   none;
}

.snpcta__glow {
    position:      absolute;
    top:           -80px;
    left:          -80px;
    width:         420px;
    height:        420px;
    background:    radial-gradient(circle, rgba(79,195,247,.18) 0%, transparent 68%);
    border-radius: 50%;
    pointer-events: none;
}

.snpcta__content {
    position:       relative;
    z-index:        1;
    display:        flex;
    flex-direction: column;
    gap:            20px;
}

.snpcta__heading {
    margin:      0;
    font-size:   clamp(1.4rem, 2.3vw, 2rem);
    font-weight: var(--fw-normal);
    line-height: 1.35;
    color:       #fff;
}

.snpcta__prefix,
.snpcta__clients,
.snpcta__suffix { display: inline; }

.snpcta__client {
    font-weight: var(--fw-bold);
    color:       #fff;
}

.snpcta__desc {
    margin:      0;
    font-size:   clamp(.875rem, 1.2vw, 1rem);
    line-height: 1.65;
    color:       #b0bec5;
}

.snpcta__desc strong {
    font-weight: var(--fw-bold);
    color:       #e0f7fa;
}

/* ==========================================================================
   Button — Ghost
   ========================================================================== */

.snpcta__btn--ghost {
    display:         inline-flex;
    align-items:     center;
    justify-content: center;
    align-self:      flex-start;
    padding:         14px 28px;
    font-size:       clamp(.8rem, 1.05vw, .92rem);
    font-weight: var(--fw-semibold);
    line-height:     1;
    color:           #fff;
    background:      transparent;
    border:          2px solid rgba(255,255,255,.8);
    border-radius:   50px;
    text-decoration: none;
    white-space:     nowrap;
    cursor:          pointer;
    transition:      background .25s ease, border-color .25s ease,
                     transform .2s ease, box-shadow .25s ease;
}

.snpcta__btn--ghost:hover,
.snpcta__btn--ghost:focus-visible {
    background:   rgba(255,255,255,.12);
    border-color: #fff;
    transform:    translateY(-2px);
    box-shadow:   0 6px 24px rgba(79,195,247,.25);
    outline:      none;
}

.snpcta__btn--ghost:active { transform: translateY(0); }

/* ==========================================================================
   Button — Swap Text + Icon
   ========================================================================== */

.snpcta__btn--swap {
    position:        relative;
    display:         inline-grid;
    grid-template-columns: 1fr auto;
    align-items:     center;
    gap:             10px;
    padding:         14px 28px;
    font-size:       clamp(.8rem, 1.05vw, .92rem);
    font-weight: var(--fw-semibold);
    line-height:     1;
    color:           #061029;
    background:      #4fc3f7;
    border:          none;
    border-radius:   50px;
    text-decoration: none;
    overflow:        hidden;
    cursor:          pointer;
    white-space:     nowrap;
    align-self:      flex-start;
    transition:      background .25s ease, transform .2s ease, box-shadow .25s ease;
}

.snpcta__btn--swap:hover,
.snpcta__btn--swap:focus-visible {
    transform:  translateY(-2px);
    box-shadow: 0 6px 24px rgba(79,195,247,.35);
    outline:    none;
}

.snpcta__btn--swap:active { transform: translateY(0); }

/* Text stack */
.snpcta__btn--swap .text-original,
.snpcta__btn--swap .text-hover {
    grid-area: 1 / 1;
    overflow:  hidden;
}

.snpcta__btn--swap .text-original span,
.snpcta__btn--swap .text-hover span {
    display:    inline-block;
    transition: transform .2s ease;
}

.snpcta__btn--swap .text-hover span    { transform: translateY(1.3em); }

.snpcta__btn--swap:hover .text-original span { transform: translateY(-1.3em); }
.snpcta__btn--swap:hover .text-hover span    { transform: translateY(0); }

/* Icon */
.snpcta__btn--swap .icon-wrap {
    grid-area: 1 / 2;
    position:  relative;
    width:     16px;
    height:    16px;
    overflow:  hidden;  /* ← clips copy icon until hover */
}

.snpcta__btn--swap .button__icon-svg {
    position:   absolute;
    top:        0;
    left:       0;
    width:      16px;
    height:     16px;
    transition: transform .2s ease;
}

.snpcta__btn--swap .button__icon-svg--copy {
    transform:  translate(-100%, 100%);
    transition: transform .2s ease .1s;
}

.snpcta__btn--swap:hover .button__icon-svg:not(.button__icon-svg--copy) {
    transform: translate(100%, -100%);
}

.snpcta__btn--swap:hover .button__icon-svg--copy {
    transform: translate(0, 0);
}

/* ==========================================================================
   Chart — keyframes (shared, defined once)
   ========================================================================== */

@keyframes snpBarRise {
    from { transform: scaleY(0); opacity: 0; }
    to   { transform: scaleY(1); opacity: 1; }
}

@keyframes snpDraw {
    from { stroke-dashoffset: 500; opacity: 0; }
    to   { stroke-dashoffset: 0;   opacity: 1; }
}

@keyframes snpPop {
    0%   { opacity: 0; transform: scale(0) rotate(-20deg); }
    65%  { opacity: 1; transform: scale(1.25) rotate(4deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}

@keyframes snpPulse {
    0%,100% { opacity: 1;   transform: scale(1);    }
    50%     { opacity: 0.5; transform: scale(0.85); }
}

/* Static fallback — when JS animations are OFF */
.snpcta__chart:not(.sn-ready):not(.sn-play):not(.sn-pulse) .snpcta__bar {
    transform-box:    fill-box;
    transform-origin: bottom;
    animation:        snpBarRise .65s cubic-bezier(.34,1.56,.64,1) both;
}

.snpcta__chart:not(.sn-ready):not(.sn-play):not(.sn-pulse) .snpcta__bar--1 { animation-delay: .05s; }
.snpcta__chart:not(.sn-ready):not(.sn-play):not(.sn-pulse) .snpcta__bar--2 { animation-delay: .15s; }
.snpcta__chart:not(.sn-ready):not(.sn-play):not(.sn-pulse) .snpcta__bar--3 { animation-delay: .25s; }
.snpcta__chart:not(.sn-ready):not(.sn-play):not(.sn-pulse) .snpcta__bar--4 { animation-delay: .35s; }
.snpcta__chart:not(.sn-ready):not(.sn-play):not(.sn-pulse) .snpcta__bar--5 { animation-delay: .45s; }

.snpcta__chart:not(.sn-ready):not(.sn-play):not(.sn-pulse) .snpcta__trendline,
.snpcta__chart:not(.sn-ready):not(.sn-play):not(.sn-pulse) .snpcta__arrowshaft {
    stroke-dasharray:  500;
    stroke-dashoffset: 500;
    animation:         snpDraw .9s .5s ease-out forwards;
}

.snpcta__chart:not(.sn-ready):not(.sn-play):not(.sn-pulse) .snpcta__arrowhead {
    transform-box:    fill-box;
    transform-origin: center;
    opacity:          0;
    animation:        snpPop .3s 1.35s ease-out forwards;
}

/* ==========================================================================
   Chart visual container
   ========================================================================== */

.snpcta__visual {
    position:        relative;
    z-index:         1;
    display:         flex;
    justify-content: center;
    align-items:     flex-end;
}

.snpcta__chart {
    width:     100%;
    max-width: 340px;
    height:    auto;
    overflow:  visible;
}

/* ==========================================================================
   Reduced motion
   ========================================================================== */

@media (prefers-reduced-motion: reduce) {
    .snpcta__btn--swap .text-original span,
    .snpcta__btn--swap .text-hover span,
    .snpcta__btn--swap .button__icon-svg,
    .snpcta__btn--swap .button__icon-svg--copy {
        transition: none;
        transform:  none;
    }
    .snpcta__btn--swap .text-hover { display: none; }
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
    .snpcta {
        grid-template-columns: 1fr;
        padding:    44px 40px;
        gap:        28px;
        text-align: center;
    }
    .snpcta__content  { align-items: center; }
    .snpcta__btn--ghost,
    .snpcta__btn--swap { align-self: center; }
    .snpcta__glow     { left: 50%; transform: translateX(-50%); }
    .snpcta__chart    { max-width: 280px; }
}

/* Mobile ≤ 640px */
@media (max-width: 640px) {
    .snpcta {
        padding:       32px 24px;
        border-radius: 14px;
        gap:           22px;
    }

    /* Ghost — free to wrap */
    .snpcta__btn--ghost {
        white-space: normal;
        text-align:  center;
        padding:     13px 20px;
    }

    /* ── Swap mobile — disable animation, show solid button ── */
    .snpcta__btn--swap {
        white-space: nowrap;
        font-size:   clamp(.62rem, 3vw, .78rem);
        padding:     13px 16px;
        gap:         6px;
        overflow:    visible;
        transition:  background .2s ease,
                     transform  .15s ease,
                     box-shadow .2s ease;
    }

    /* Always show original text */
    .snpcta__btn--swap .text-original span {
        transform:  none;
        transition: none;
    }

    /* Hide hover text on mobile */
    .snpcta__btn--swap .text-hover {
        display: none;
    }

    /* Primary icon only — static */
    .snpcta__btn--swap .icon-wrap {
        overflow: visible;
        width:    12px;
        height:   12px;
    }

    .snpcta__btn--swap .button__icon-svg {
        position:   static;
        width:      12px;
        height:     12px;
        transform:  none;
        transition: none;
    }

    .snpcta__btn--swap .button__icon-svg--copy {
        display: none;
    }

    /* Touch press feedback */
    .snpcta__btn--swap:active {
        transform:  scale(0.96);
        box-shadow: 0 2px 12px rgba(79,195,247,.5);
        background: #38b2e0;
    }

    /* JS .is-touched class feedback */
    .snpcta__btn--swap.is-touched {
        background:  #38b2e0;
        transform:   translateY(1px);
        box-shadow:  0 4px 20px rgba(79,195,247,.45);
    }

    .snpcta__btn--swap.is-touched .button__icon-svg {
        transform:  translate(2px, -2px);
        transition: transform .15s ease;
    }

    .snpcta__chart { max-width: 240px; }
}

/* Very small ≤ 400px */
@media (max-width: 400px) {
    .snpcta        { padding: 26px 18px; }
    .snpcta__chart { max-width: 200px; }

    .snpcta__btn--swap {
        font-size: clamp(.58rem, 2.8vw, .72rem);
        padding:   11px 12px;
        gap:       4px;
    }
}

/* ================================================================
   HEADING STANDARDISATION — element headings responsive
   Patch v2.0.0 (2026-05-22)
   ================================================================ */

.sn-expertise-heading,
.sn-cta-title {
  font-family: var(--font-heading);
  font-weight: var(--fw-medium);
  color: var(--color-heading);
  line-height: 1.2;
  letter-spacing: 0;
}

@media only screen and (min-width: 1200px) and (max-width: 1399px) {
  .sn-expertise-heading,
  .sn-cta-title { font-size: 48px; }
}

@media only screen and (min-width: 992px) and (max-width: 1399px) {
  .sn-expertise-heading,
  .sn-cta-title { font-size: 42px; }
}

@media only screen and (max-width: 767px) {
  .sn-expertise-heading,
  .sn-cta-title { font-size: 36px; }
}


/* ================================================================
   SNPCTA GLOW — mobile overflow fix
   Patch v1.0.0 (2026-05-23)
   ================================================================ */

@media (max-width: 767px) {
  .snpcta__glow {
    width: 100%;
    left: 0;
    overflow: hidden;
  }
}
