/* =====================================================================
 * VARITO home page (2026 redesign) – loaded on the front page only
 * =================================================================== */
.vh-hero, .vh-trust, .vh-sec {
	--vh-blue: #2273f8; --vh-blue-d: #1a5fd0; --vh-teal: #00d4aa;
	--vh-navy: #0b1f3a; --vh-navy-2: #081426;
	--vh-text: #0b1f3a; --vh-body: #4a5568; --vh-muted: #6b778a;
	--vh-line: #e3e8f0; --vh-soft: #f5f7fb;
	--vh-head: var(--font-head, 'Rajdhani'), sans-serif;
	--vh-font: var(--font-body, 'DM Sans'), system-ui, sans-serif;
	font-family: var(--vh-font);
	color: var(--vh-body);
}
.vh-hero *, .vh-trust *, .vh-sec * { box-sizing: border-box; }
.vh-sec { padding: 96px 0; position: relative; }
.vh-sec a { text-decoration: none; }

/* shared */
.vh-eyebrow { display: inline-block; font-size: 12.5px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--vh-blue); margin-bottom: 10px; }
.vh-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 38px; flex-wrap: wrap; }
.vh-head h2 { font-family: var(--vh-head); font-size: clamp(30px, 3.2vw, 42px); line-height: 1.1; color: var(--vh-text); margin: 0 0 10px; font-weight: 700; }
.vh-head p { margin: 0; max-width: 620px; font-size: 16.5px; line-height: 1.7; }
.vh-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--vh-blue) !important; white-space: nowrap; }
.vh-link svg { width: 18px; height: 18px; transition: transform .2s; }
.vh-link:hover svg, a:hover .vh-link svg { transform: translateX(4px); }
.vh-btn { display: inline-flex; align-items: center; gap: 9px; height: 52px; padding: 0 28px; border-radius: 40px; font-weight: 700; font-size: 15.5px; text-decoration: none !important; transition: .2s; }
.vh-btn svg { width: 17px; height: 17px; }
.vh-btn-primary { background: var(--vh-blue); color: #fff !important; box-shadow: 0 10px 24px rgba(34,115,248,.35); }
.vh-btn-primary:hover { background: var(--vh-blue-d); transform: translateY(-2px); }
.vh-btn-ghost { border: 1px solid rgba(255,255,255,.4); color: #fff !important; background: rgba(255,255,255,.06); }
.vh-btn-ghost:hover { background: rgba(255,255,255,.14); }

/* 1 · HERO */
.vh-hero { position: relative; background: var(--vh-navy-2); color: #fff; overflow: hidden; isolation: isolate; }
/* slides stacked in one grid cell → height = tallest slide, no layout shift */
.vh-slides { display: grid; }
.vh-slide { grid-area: 1 / 1; position: relative; isolation: isolate; overflow: hidden; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; }
.vh-slide.is-on { opacity: 1; visibility: visible; transition: opacity .9s ease, visibility 0s; z-index: 1; }
.vh-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transform: scale(1.06); transition: transform 7.5s ease-out; }
.vh-slide.is-on .vh-hero-img { transform: scale(1); }
.vh-slide::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(8,20,38,.96) 0%, rgba(8,20,38,.88) 38%, rgba(8,20,38,.35) 70%, rgba(8,20,38,.12) 100%); }
.vh-hero-inner { min-height: 600px; display: flex; align-items: center; padding-top: 64px; padding-bottom: 130px; }
.vh-hero-copy { max-width: 640px; }
.vh-slide .vh-hero-copy > * { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.vh-slide.is-on .vh-hero-copy > * { opacity: 1; transform: none; }
.vh-slide.is-on .vh-hero-copy > :nth-child(2) { transition-delay: .12s; }
.vh-slide.is-on .vh-hero-copy > :nth-child(3) { transition-delay: .22s; }
.vh-slide.is-on .vh-hero-copy > :nth-child(4) { transition-delay: .32s; }
.vh-hero .vh-title { font-family: var(--vh-head); font-size: clamp(40px, 5vw, 66px); line-height: 1.02; margin: 18px 0; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.vh-hero .vh-title span { background: linear-gradient(90deg, #6aa5ff, var(--vh-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* slider controls (above the trust bar) */
.vh-slider-ui { position: absolute; left: 0; right: 0; bottom: 84px; z-index: 4; display: flex; align-items: center; justify-content: space-between; gap: 20px; pointer-events: none; }
.vh-slider-ui > * { pointer-events: auto; }
.vh-dots { display: flex; gap: 10px; }
.vh-dot { width: 46px; height: 22px; padding: 0; margin: 0; min-width: 0; border: 0; background: none; cursor: pointer; display: flex; align-items: center; }
.vh-dot span { position: relative; display: block; width: 100%; height: 4px; border-radius: 4px; background: rgba(255,255,255,.28); overflow: hidden; }
.vh-dot span::after { content: ""; position: absolute; inset: 0; background: #fff; transform-origin: left; transform: scaleX(0); }
.vh-dot.is-on span::after { transform: scaleX(1); }
.vh-hero.is-running .vh-dot.is-on span::after { animation: vh-progress 6.5s linear; }
.vh-hero.is-paused .vh-dot.is-on span::after { animation-play-state: paused; }
.vh-dot:hover span { background: rgba(255,255,255,.5); }
.vh-dot:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
@keyframes vh-progress { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.vh-arrows { display: flex; gap: 10px; }
.vh-arrow { width: 46px; height: 46px; padding: 0; margin: 0; min-width: 0; border-radius: 50%; border: 1px solid rgba(255,255,255,.3); background: rgba(8,20,38,.35); backdrop-filter: blur(6px); color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: .2s; }
.vh-arrow svg { width: 20px; height: 20px; }
.vh-arrow:hover { background: var(--vh-blue); border-color: var(--vh-blue); }
.vh-arrow:focus-visible { outline: 2px solid #fff; outline-offset: 3px; }
@media (prefers-reduced-motion: reduce) {
	.vh-slide, .vh-slide.is-on, .vh-hero-img, .vh-slide .vh-hero-copy > * { transition: none !important; }
	.vh-hero-img { transform: none; }
}
.vh-pill { display: inline-flex; align-items: center; gap: 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: #9cc3ff; background: rgba(34,115,248,.18); border: 1px solid rgba(127,178,255,.3); padding: 7px 14px; border-radius: 30px; }
.vh-pill i { width: 7px; height: 7px; border-radius: 50%; background: var(--vh-teal); box-shadow: 0 0 0 4px rgba(0,212,170,.2); }
.vh-hero h1 { font-family: var(--vh-head); font-size: clamp(40px, 5vw, 66px); line-height: 1.02; margin: 18px 0; font-weight: 700; color: #fff; letter-spacing: -.01em; }
.vh-hero h1 span { background: linear-gradient(90deg, #6aa5ff, var(--vh-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.vh-lead { font-size: 18px; line-height: 1.7; color: #c4d2e6; margin: 0 0 32px; max-width: 560px; }
.vh-ctas { display: flex; gap: 14px; flex-wrap: wrap; }
.vh-hero-cats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 34px; }
.vh-hero-cats a { font-size: 13.5px; color: #d7e2f2 !important; text-decoration: none; padding: 7px 13px; border-radius: 30px; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); transition: .2s; }
.vh-hero-cats a:hover { background: rgba(255,255,255,.16); color: #fff !important; }

/* 2 · TRUST */
.vh-trust { position: relative; z-index: 3; margin-top: -58px; }
.vh-trust-card { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); background: #fff; border-radius: 18px; box-shadow: 0 20px 50px rgba(11,31,58,.12); border: 1px solid var(--vh-line); }
.vh-trust-card li { display: flex; gap: 14px; align-items: center; padding: 26px 24px; margin: 0; }
.vh-trust-card li + li { border-left: 1px solid var(--vh-line); }
.vh-ic { flex: 0 0 48px; height: 48px; border-radius: 14px; background: rgba(34,115,248,.1); color: var(--vh-blue); display: flex; align-items: center; justify-content: center; }
.vh-ic svg { width: 22px; height: 22px; }
.vh-trust-card strong { display: block; color: var(--vh-text); font-size: 16px; margin-bottom: 2px; }
.vh-trust-card span { font-size: 13.5px; color: var(--vh-muted); line-height: 1.45; }

/* 3 · CATEGORIES */
.vh-cat-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-auto-rows: 250px; grid-auto-flow: dense; gap: 20px; }
.vh-cat { position: relative; border-radius: 18px; overflow: hidden; color: #fff !important; background: var(--vh-navy); isolation: isolate; display: block; }
.vh-cat.is-big { grid-column: span 2; grid-row: span 2; }
.vh-cat.is-big-r { grid-column: 3 / span 2; }
.vh-cat img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2,.7,.2,1); z-index: -2; }
.vh-cat::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,20,38,0) 30%, rgba(8,20,38,.9) 100%); z-index: -1; }
.vh-cat:hover img { transform: scale(1.06); }
.vh-cat-body { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px; display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }
.vh-cat h3 { font-family: var(--vh-head); font-size: 23px; line-height: 1.15; margin: 0 0 4px; font-weight: 700; color: #fff; }
.vh-cat.is-big h3 { font-size: 34px; }
.vh-cat small { font-size: 13px; color: #c4d2e6; }
.vh-cat-desc { display: block; font-size: 15px; line-height: 1.6; color: #d7e2f2; margin: 8px 0 0; max-width: 440px; }
.vh-go { flex: 0 0 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.16); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; transition: .25s; }
.vh-go svg { width: 18px; height: 18px; }
.vh-cat:hover .vh-go { background: var(--vh-blue); transform: rotate(-45deg); }

/* 4 · SOLUTIONS */
.vh-sol { background: var(--vh-soft); }
.vh-tabs { display: flex; gap: 10px; margin-bottom: 28px; flex-wrap: wrap; }
.vh-tab { border: 1px solid var(--vh-line); background: #fff; padding: 12px 22px; border-radius: 40px; font: 600 15px var(--vh-font); color: var(--vh-text); cursor: pointer; transition: .2s; margin: 0; min-width: 0; line-height: 1.3; }
.vh-tab:hover { border-color: var(--vh-blue); color: var(--vh-blue); }
.vh-tab.is-on { background: var(--vh-navy); color: #fff; border-color: var(--vh-navy); }
.vh-tab:focus-visible { outline: 3px solid rgba(34,115,248,.4); outline-offset: 2px; }
.vh-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #fff; border-radius: 22px; overflow: hidden; border: 1px solid var(--vh-line); box-shadow: 0 20px 50px rgba(11,31,58,.07); }
.vh-panel[hidden] { display: none; }
.vh-panel-media img { width: 100%; height: 100%; min-height: 420px; object-fit: cover; display: block; }
.vh-panel-copy { padding: 48px 48px 44px; display: flex; flex-direction: column; justify-content: center; }
.vh-panel-copy h3 { font-family: var(--vh-head); font-size: 32px; line-height: 1.15; color: var(--vh-text); margin: 0 0 16px; font-weight: 700; }
.vh-panel-copy p { font-size: 16px; line-height: 1.75; margin: 0 0 20px; }
.vh-panel-copy ul { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 10px; }
.vh-panel-copy li { display: flex; gap: 10px; align-items: center; font-size: 15px; color: var(--vh-text); margin: 0; }
.vh-panel-copy li svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--vh-teal); }

/* 5 · FEATURED (cards come from product-card.css) */
.vh-feat-row { row-gap: 0; }

/* 6 · PROCESS */
.vh-process { background: linear-gradient(160deg, #0f2c57, var(--vh-navy) 50%, var(--vh-navy-2)); color: #c4d2e6; overflow: hidden; }
.vh-process .vh-head h2 { color: #fff; }
.vh-process .vh-head p { color: #a9b8cf; }
.vh-process .vh-eyebrow { color: #7fb2ff; }
.vh-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; counter-reset: vhs; }
.vh-steps li { position: relative; padding: 30px 26px 28px; border-radius: 18px; background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09); transition: .25s; margin: 0; counter-increment: vhs; }
.vh-steps li:hover { background: rgba(255,255,255,.07); transform: translateY(-4px); }
.vh-steps li::before { content: "0" counter(vhs); font-family: var(--vh-head); font-size: 44px; font-weight: 700; line-height: 1; background: linear-gradient(90deg, #6aa5ff, var(--vh-teal)); -webkit-background-clip: text; background-clip: text; color: transparent; display: block; margin-bottom: 18px; }
.vh-steps h3 { color: #fff; font-family: var(--vh-font); font-size: 19px; font-weight: 700; margin: 0 0 8px; }
.vh-steps p { margin: 0; font-size: 14.5px; line-height: 1.65; color: #a9b8cf; }

/* 7 · APPLICATIONS */
.vh-app-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 230px; gap: 18px; }
.vh-app { position: relative; border-radius: 18px; overflow: hidden; color: #fff !important; isolation: isolate; display: block; background: var(--vh-navy); }
.vh-app.is-tall { grid-row: span 2; }
.vh-app.is-wide { grid-column: span 2; }
.vh-app img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s; }
.vh-app::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(8,20,38,.88)); z-index: -1; }
.vh-app:hover img { transform: scale(1.06); }
.vh-app-cap { position: absolute; left: 22px; right: 22px; bottom: 20px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.vh-app-cap strong { display: block; font-family: var(--vh-head); font-size: 23px; line-height: 1.15; }
.vh-app-cap em { font-style: normal; font-size: 13px; color: #c4d2e6; }
.vh-app-cap svg { width: 20px; height: 20px; flex: 0 0 20px; transition: transform .2s; }
.vh-app:hover .vh-app-cap svg { transform: translateX(4px); }

/* 8 · GUIDES */
.vh-blog { background: var(--vh-soft); }
.vh-blog-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
.vh-post-feature, .vh-post { background: #fff; border: 1px solid var(--vh-line); border-radius: 18px; overflow: hidden; color: inherit !important; transition: .25s; display: block; }
.vh-post-feature:hover, .vh-post:hover { box-shadow: 0 18px 40px rgba(11,31,58,.09); transform: translateY(-3px); }
.vh-post-feature img { width: 100%; aspect-ratio: 16 / 9; height: auto; object-fit: cover; display: block; }
.vh-post-feature .vh-post-body { display: block; padding: 26px 28px 28px; }
.vh-post-list { display: grid; gap: 16px; }
.vh-post { display: grid; grid-template-columns: 150px minmax(0, 1fr); }
.vh-post img { width: 100%; height: 100%; min-height: 118px; object-fit: cover; display: block; }
.vh-post .vh-post-body { display: block; padding: 16px 18px; align-self: center; }
.vh-meta { display: flex; gap: 10px; align-items: center; font-size: 12.5px; color: var(--vh-muted); margin-bottom: 8px; }
.vh-meta b { color: var(--vh-blue); background: rgba(34,115,248,.1); padding: 4px 10px; border-radius: 20px; font-size: 11.5px; font-weight: 700; }
.vh-post-feature h3 { font-family: var(--vh-head); font-size: 28px; line-height: 1.2; color: var(--vh-text); margin: 0 0 10px; font-weight: 700; }
.vh-post h3 { font-family: var(--vh-head); font-size: 19px; line-height: 1.25; color: var(--vh-text); margin: 0; font-weight: 700; }
.vh-post-ex { display: block; font-size: 15.5px; line-height: 1.7; margin: 0 0 16px; }

/* responsive */
@media (max-width: 1199px) {
	.vh-trust-card { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.vh-trust-card li:nth-child(3) { border-left: 0; }
	.vh-trust-card li:nth-child(n+3) { border-top: 1px solid var(--vh-line); }
	.vh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 991px) {
	.vh-sec { padding: 72px 0; }
	.vh-cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 210px; }
	.vh-cat.is-big, .vh-cat.is-big-r { grid-column: span 2; grid-row: span 1; }
	.vh-cat.is-big { min-height: 300px; grid-row: span 2; }
	.vh-cat-desc { display: none; }
	.vh-panel { grid-template-columns: minmax(0, 1fr); }
	.vh-panel-media img { min-height: 240px; max-height: 300px; }
	.vh-panel-copy { padding: 30px 26px; }
	.vh-blog-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 767px) {
	.vh-hero-inner { min-height: 0; padding-top: 48px; padding-bottom: 96px; }
	.vh-hero::after { background: linear-gradient(180deg, rgba(8,20,38,.78), rgba(8,20,38,.95)); }
	.vh-lead { font-size: 16px; }
	.vh-hero-cats { display: none; }
	.vh-btn { height: 48px; padding: 0 22px; font-size: 15px; }
	.vh-trust-card { grid-template-columns: minmax(0, 1fr); }
	.vh-trust-card li { padding: 18px 20px; }
	.vh-trust-card li + li { border-left: 0; border-top: 1px solid var(--vh-line); }
	.vh-sec { padding: 56px 0; }
	.vh-head { margin-bottom: 26px; }
	.vh-cat-grid { gap: 12px; grid-auto-rows: 170px; }
	.vh-cat-body { padding: 14px; }
	.vh-cat h3 { font-size: 18px; }
	.vh-cat.is-big h3 { font-size: 26px; }
	.vh-go { display: none; }
	.vh-steps { grid-template-columns: minmax(0, 1fr); }
	.vh-app-grid { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 200px; }
	.vh-app.is-tall { grid-row: auto; }
	.vh-app.is-wide { grid-column: auto; }
	.vh-post { grid-template-columns: 110px minmax(0, 1fr); }
	.vh-post-feature h3 { font-size: 23px; }
}
@media (max-width: 480px) {
	.vh-pill { font-size: 10.5px; letter-spacing: .06em; padding: 6px 12px; }
	.vh-panel-copy h3 { font-size: 26px; }
}
@media (max-width: 767px) {
	.vh-hero-inner { padding-bottom: 120px; }
	.vh-slider-ui { bottom: 76px; }
	.vh-dot { width: 30px; }
	.vh-arrow { width: 40px; height: 40px; }
}

/* tighter vertical rhythm between sections (was 96px top + bottom) */
.vh-sec { padding: 60px 0; }
.vh-cats { padding-top: 64px; }
.vh-head { margin-bottom: 30px; }
@media (max-width: 991px) { .vh-sec { padding: 48px 0; } }
@media (max-width: 767px) { .vh-sec { padding: 40px 0; } .vh-cats { padding-top: 44px; } .vh-head { margin-bottom: 22px; } }

/* ---------- mobile refinements ---------- */
@media (max-width: 767px) {
	/* featured products: swipeable row instead of 8 stacked cards */
	.vh-feat-row { flex-wrap: nowrap; overflow-x: auto; scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; scrollbar-width: none; margin-left: -12px; margin-right: -12px; padding: 4px 4px 16px; scroll-padding-left: 12px; }
	.vh-feat-row::-webkit-scrollbar { display: none; }
	.vh-feat-row > .vpc-col { flex: 0 0 80%; max-width: 80%; scroll-snap-align: start; margin-bottom: 0 !important; padding-left: 8px; padding-right: 8px; }
	.vh-feat-row .vpc { height: 100%; }
	.vh-swipe-hint { display: flex; }

	/* solutions: tabs in one swipeable row, shorter text */
	.vh-tabs { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; margin: 0 -12px 20px; padding: 0 12px 4px; }
	.vh-tabs::-webkit-scrollbar { display: none; }
	.vh-tab { flex: 0 0 auto; padding: 11px 18px; font-size: 14.5px; }
	.vh-panel-media img { min-height: 200px; max-height: 220px; }
	.vh-panel-copy { padding: 24px 20px 26px; }
	.vh-panel-copy p { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; overflow: hidden; font-size: 15px; }
	.vh-panel-copy ul { margin-bottom: 20px; }

	/* applications: 2 × 2 compact grid */
	.vh-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 170px; gap: 12px; }
	.vh-app.is-wide { grid-column: span 2; }
	.vh-app-cap { left: 14px; right: 14px; bottom: 14px; }
	.vh-app-cap strong { font-size: 18px; }
	.vh-app-cap svg { display: none; }

	/* bigger tap targets */
	.vh-dot { height: 44px; width: 34px; }
	.vh-slider-ui { bottom: 66px; }
	.vh-link { padding: 10px 0; }
	.vh-feat-row .vpc-btn { min-height: 42px; display: inline-flex; align-items: center; justify-content: center; }

	/* hero: both buttons on one line when they fit */
	.vh-ctas { gap: 10px; }
	.vh-ctas .vh-btn { flex: 1 1 auto; justify-content: center; }
}
.vh-swipe-hint { display: none; align-items: center; gap: 6px; font-size: 13px; color: var(--vh-muted); margin: -14px 0 14px; }
.vh-swipe-hint svg { width: 16px; height: 16px; }
@media (max-width: 767px) {
	.vh-swipe-hint { display: flex; }
	.vh-app.is-tall { grid-column: span 2; }
	.vh-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
	.vh-steps li { padding: 20px 16px; }
	.vh-steps li::before { font-size: 32px; margin-bottom: 10px; }
	.vh-steps h3 { font-size: 16px; }
	.vh-steps p { font-size: 13.5px; }
}
