/* ==========================================================
   Vantrix360 – motion & extra components
   ========================================================== */

/* Scroll progress bar */
.scroll-progress { position: fixed; top: 0; left: 0; right: 0; height: 3px; z-index: 200; pointer-events: none; }
.scroll-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(var(--p, 0)); background: linear-gradient(90deg, var(--brand), var(--accent)); }

/* Floating gradient blobs */
.blob { position: absolute; border-radius: 50%; filter: blur(60px); opacity: .55; pointer-events: none; z-index: 0; will-change: transform; }
.blob--1 { width: 460px; height: 460px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(47,107,255,.8), transparent 65%); animation: drift 18s ease-in-out infinite; }
.blob--2 { width: 520px; height: 520px; left: -200px; bottom: -220px; background: radial-gradient(circle, rgba(47,107,255,.5), transparent 65%); animation: drift 22s ease-in-out infinite reverse; }
.blob--3 { width: 380px; height: 380px; left: 20%; bottom: -200px; background: radial-gradient(circle, rgba(255,122,69,.55), transparent 65%); animation: drift 20s ease-in-out infinite 2s; }
@keyframes drift { 0%,100% { transform: translate(0,0) scale(1); } 33% { transform: translate(40px,-30px) scale(1.08); } 66% { transform: translate(-30px,25px) scale(.95); } }
.section--dark { overflow: hidden; }
.section--dark > .wrap, .page-hero > .wrap { position: relative; z-index: 2; }

.hero__particles { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 1; pointer-events: none; }

/* Entrance: fade up (hero) */
.fade-up { opacity: 0; transform: translateY(24px); animation: fadeUp .9s var(--ease) forwards; animation-delay: calc(var(--d, 0) * 1s + .1s); }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* Split-word headline reveal */
.split-in .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.split-in .w > span { display: inline-block; transform: translateY(110%); animation: wordUp .9s var(--ease) forwards; animation-delay: calc(var(--i) * 60ms + 150ms); }
@keyframes wordUp { to { transform: none; } }
.hero h1.split-in .w:nth-last-child(-n+3) > span { background: linear-gradient(90deg, #6E9BFF, #FF9A6C); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* Rotating words */
.hero__rotator { font-family: var(--font-head); font-size: clamp(1.15rem, 2vw, 1.45rem); color: #fff; font-weight: 600; margin-bottom: 18px; }
.rotator { display: inline-block; position: relative; color: var(--accent); min-width: 10ch; }
.rotator__word { display: inline-block; animation: rotIn .55s var(--ease); }
.rotator__word.out { animation: rotOut .4s var(--ease) forwards; }
.rotator::after { content: ""; display: inline-block; width: 2px; height: 1em; background: var(--accent); margin-left: 4px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes rotIn { from { opacity: 0; transform: translateY(60%); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes rotOut { to { opacity: 0; transform: translateY(-60%); filter: blur(6px); } }
@keyframes blink { 50% { opacity: 0; } }

/* Hero scroll cue */
.hero__scroll { position: absolute; left: 50%; bottom: 26px; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.3); border-radius: 14px; z-index: 3; }
.hero__scroll span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff; animation: scrollCue 1.8s ease-in-out infinite; }
@keyframes scrollCue { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* Dashboard extras */
.dash { transition: transform .4s var(--ease); transform-style: preserve-3d; }
.dash__float--2 { left: auto; right: -30px; bottom: auto; top: -26px; animation-delay: -2.5s; }
.dash__float .ico--blue { background: rgba(47,107,255,.12); color: var(--brand); }
.dash__float .ico svg { width: 22px; height: 22px; }
.chan__bar i { width: 0; transition: width 1.6s var(--ease) .6s; }
.is-visible .chan__bar i, .hero .chan__bar i.go { width: var(--w); }

/* Marquee */
.marquee-wrap { overflow: hidden; padding: 24px 0; margin: -38px 0 -14px; position: relative; z-index: 5; }
.marquee { background: var(--accent); color: #fff; overflow: hidden; padding: 16px 0; transform: rotate(-1.2deg) scale(1.02); box-shadow: 0 10px 30px rgba(255,122,69,.25); }
.marquee__track { display: flex; gap: 46px; width: max-content; animation: marquee 38s linear infinite; }
.marquee:hover .marquee__track { animation-play-state: paused; }
.marquee__item { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-head); font-weight: 700; font-size: 1.05rem; white-space: nowrap; text-transform: uppercase; letter-spacing: .04em; }
.marquee__item svg { width: 22px; height: 22px; }
.marquee__item::after { content: "✦"; margin-left: 34px; opacity: .7; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* Section head split */
.section-head--split { max-width: none; display: grid; grid-template-columns: 1.2fr .8fr; gap: 40px; align-items: end; }
.section-head--split h2 { margin: 0; }
.section-head--split p { margin-bottom: 8px; }

/* Staggered reveals */
.stagger > .reveal:nth-child(2) { transition-delay: .08s; }
.stagger > .reveal:nth-child(3) { transition-delay: .16s; }
.stagger > .reveal:nth-child(4) { transition-delay: .24s; }
.stagger > .reveal:nth-child(5) { transition-delay: .32s; }
.stagger > .reveal:nth-child(6) { transition-delay: .4s; }
.stagger > .reveal:nth-child(7) { transition-delay: .48s; }
.stagger > .reveal:nth-child(8) { transition-delay: .56s; }
.stagger > .reveal:nth-child(9) { transition-delay: .64s; }
.stagger > .reveal:nth-child(10) { transition-delay: .72s; }

/* Card spotlight follows cursor */
.svc, .plan, .industry, .value, .feature { --mx: 50%; --my: 50%; }
.svc::before, .industry::before, .value::before, .feature::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(360px circle at var(--mx) var(--my), rgba(47,107,255,.10), transparent 45%);
}
.svc--feature::before { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255,122,69,.18), transparent 45%); }
.svc:hover::before, .industry:hover::before, .value:hover::before, .feature:hover::before { opacity: 1; }
.tilt { transform-style: preserve-3d; will-change: transform; }

/* CTA card that completes the services grid */
.svc--cta { grid-column: span 2; background: linear-gradient(135deg, var(--brand), #5B8BFF); border: 0; color: #fff; justify-content: center; overflow: hidden; }
.svc--cta::after { content: ""; position: absolute; right: -80px; bottom: -80px; width: 260px; height: 260px; border-radius: 50%; background: radial-gradient(circle, rgba(255,122,69,.55), transparent 70%); }
.svc--cta h3 { color: #fff; font-size: 1.6rem; max-width: 460px; }
.svc--cta p { color: rgba(255,255,255,.85); max-width: 480px; }
.svc--cta .btn { align-self: flex-start; position: relative; z-index: 1; }
@media (max-width: 1080px) { .svc--cta { grid-column: 1 / -1; } }

/* Service card footer & price */
.svc { color: inherit; }
.svc:hover { color: inherit; }
.svc__foot { margin-top: auto; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 18px; border-top: 1px dashed var(--line); }
.svc--feature .svc__foot { border-top-color: var(--ink-3); }
.svc__price { font-size: .82rem; color: var(--muted); }
.svc__price .js-price { font-family: var(--font-head); font-weight: 700; color: var(--ink); font-size: 1.05rem; }
.svc--feature .svc__price, .svc--feature .svc__price .js-price { color: #fff; }
.svc__foot .svc__link { margin-top: 0; }

/* Price flip animation on currency change */
.js-price { display: inline-block; }
.js-price.flip { animation: flip .45s var(--ease); }
@keyframes flip { 0% { transform: rotateX(0); } 50% { transform: rotateX(90deg); opacity: .2; } 100% { transform: rotateX(0); } }
.currency-switch { position: relative; flex-wrap: wrap; justify-content: center; }
.currency-switch button { padding: 8px 14px; }

/* Featured plan animated border */
@property --ang { syntax: "<angle>"; initial-value: 0deg; inherits: false; }
.plan--pop {
  border: 2px solid transparent;
  background: linear-gradient(var(--ink), var(--ink)) padding-box, conic-gradient(from var(--ang), var(--brand), var(--accent), var(--mint), var(--brand)) border-box;
  animation: spinBorder 5s linear infinite;
}
@keyframes spinBorder { to { --ang: 360deg; } }

/* 360 ring orbit */
.ring { container-type: inline-size; }
.ring .spin--rev { animation-direction: reverse; animation-duration: 60s; }
.orbit { position: absolute; inset: 0; animation: spin 50s linear infinite; }
.orbit__item {
  position: absolute; left: 50%; top: 50%; width: 46px; height: 46px; margin: -23px 0 0 -23px;
  transform: rotate(calc(360deg / var(--n) * var(--i))) translateY(-38cqw);
}
.orbit__item > span {
  display: grid; place-items: center; width: 100%; height: 100%; border-radius: 14px; background: var(--ink-2); border: 1px solid var(--ink-3); color: #fff;
  transform: rotate(calc(-360deg / var(--n) * var(--i))); animation: counter 50s linear infinite; box-shadow: 0 10px 20px rgba(0,0,0,.25);
}
.orbit__item:nth-child(odd) > span { color: var(--accent); }
.orbit__item svg { width: 22px; height: 22px; }
@keyframes counter { from { rotate: 0deg; } to { rotate: -360deg; } }

/* Industries */
.industries { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.industry { position: relative; display: flex; gap: 18px; align-items: flex-start; padding: 26px; border-radius: var(--radius-lg); border: 1px solid var(--line); background: #fff; transition: transform .3s var(--ease), box-shadow .3s; }
.industry:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.industry__icon { flex: none; width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: linear-gradient(135deg, rgba(47,107,255,.12), rgba(255,122,69,.12)); color: var(--brand); }
.industry__icon svg { width: 24px; height: 24px; }
.industry h3 { font-size: 1.08rem; margin-bottom: 4px; }
.industry p { margin: 0; color: var(--muted); font-size: .93rem; }

/* Service page */
.page-hero__lead { font-size: 1.15rem; max-width: 640px; margin-top: 6px; }
.svc-hero { display: grid; grid-template-columns: 1.3fr .7fr; gap: 50px; align-items: center; }
.svc-hero__icon { display: grid; place-items: center; width: 66px; height: 66px; border-radius: 18px; background: var(--accent); color: #fff; margin: 22px 0 18px; box-shadow: 0 14px 30px rgba(255,122,69,.35); }
.svc-hero__icon svg { width: 32px; height: 32px; }
.svc-hero__card { background: #fff; color: var(--text); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-lg); }
.svc-hero__card small { text-transform: uppercase; letter-spacing: .1em; font-weight: 700; font-size: .75rem; color: var(--brand); }
.svc-hero__card .plan__price { margin: 8px 0 14px; }
.svc-hero__card ul { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; font-size: .95rem; }
.svc-hero__card li { display: flex; gap: 10px; align-items: center; }
.svc-hero__card li svg { width: 18px; height: 18px; color: var(--mint); }
.svc-hero__card .currency-switch { margin-top: 0; }
.svc-intro { max-width: 900px; }
.svc-intro__text { font-family: var(--font-head); font-size: clamp(1.25rem, 2.2vw, 1.65rem); line-height: 1.5; color: var(--ink); font-weight: 500; letter-spacing: -0.01em; }
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature { position: relative; padding: 30px; border-radius: var(--radius-lg); background: var(--mist); border: 1px solid transparent; transition: .3s var(--ease); }
.feature:hover { background: #fff; border-color: var(--line); box-shadow: var(--shadow); transform: translateY(-4px); }
.feature__num { display: block; font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: transparent; -webkit-text-stroke: 1.5px var(--brand); margin-bottom: 12px; }
.feature h3 { font-size: 1.12rem; }
.feature p { margin: 0; color: var(--muted); font-size: .95rem; }
.related { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.related__item { display: flex; align-items: center; gap: 14px; padding: 16px 18px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); color: var(--ink); font-weight: 700; font-family: var(--font-head); font-size: .95rem; transition: .25s var(--ease); }
.related__item .svc__icon { width: 42px; height: 42px; margin: 0; border-radius: 12px; flex: none; }
.related__item .svc__icon svg { width: 20px; height: 20px; }
.related__item > svg { width: 18px; height: 18px; margin-left: auto; color: var(--brand); transition: transform .2s; }
.related__item:hover { border-color: var(--brand); color: var(--ink); transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.related__item:hover > svg { transform: translateX(4px); }

/* Pricing table */
.price-table { max-width: 900px; margin: 0 auto; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden; }
.price-row { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 24px; border-top: 1px solid var(--line); color: var(--ink); transition: background .2s; }
.price-row:first-child { border-top: 0; }
.price-row:hover { background: var(--mist); color: var(--ink); }
.price-row__name { display: flex; align-items: center; gap: 14px; font-family: var(--font-head); font-weight: 600; }
.price-row__name .svc__icon { width: 40px; height: 40px; margin: 0; border-radius: 12px; }
.price-row__name .svc__icon svg { width: 20px; height: 20px; }
.price-row__price { color: var(--muted); font-size: .9rem; white-space: nowrap; }
.price-row__price strong { font-family: var(--font-head); color: var(--ink); font-size: 1.1rem; }

/* About */
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: start; }
.about-grid p { color: var(--muted); }
.values { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.value { position: relative; padding: 26px; border: 1px solid var(--line); border-radius: var(--radius-lg); background: #fff; }
.value .svc__icon { margin-bottom: 14px; }
.value h3 { font-size: 1.08rem; }
.value p { margin: 0; font-size: .93rem; }

/* Contact next steps */
.next-steps { list-style: none; padding: 0; margin: 24px 0 10px; display: grid; gap: 16px; }
.next-steps li { display: flex; gap: 16px; align-items: flex-start; }
.next-steps b { flex: none; width: 36px; height: 36px; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: #fff; font-family: var(--font-head); }
.next-steps strong { display: block; font-family: var(--font-head); color: var(--ink); }
.next-steps span { color: var(--muted); font-size: .95rem; }

/* Blog bits */
.post-card__ph { display: grid; place-items: center; width: 100%; height: 100%; color: rgba(255,255,255,.7); background: linear-gradient(135deg, var(--brand), var(--ink)), radial-gradient(circle at 80% 20%, var(--accent), transparent 50%); background-blend-mode: screen; }
.post-card__ph svg { width: 54px; height: 54px; }
.post-card__img img { transition: transform .6s var(--ease); }
.post-card:hover .post-card__img img { transform: scale(1.06); }
.entry-thumb { margin-bottom: 40px; }
.entry-thumb img { border-radius: var(--radius-lg); }
.author-box { display: flex; gap: 18px; align-items: center; margin-top: 60px; padding: 26px; border-radius: var(--radius-lg); background: var(--mist); }
.author-box .brand__mark { width: 56px; height: 56px; }
.author-box p { margin: 4px 0 0; color: var(--muted); font-size: .95rem; }
.post-nav { display: flex; justify-content: space-between; gap: 20px; margin-top: 40px; font-weight: 700; font-family: var(--font-head); font-size: .95rem; }
.search-form { display: flex; gap: 10px; max-width: 460px; margin: 20px auto 0; }
.search-form input[type="search"] { flex: 1; padding: 12px 16px; border: 1.5px solid var(--line); border-radius: 12px; font: inherit; }
.search-form input[type="submit"] { padding: 12px 20px; border: 0; border-radius: 12px; background: var(--ink); color: #fff; font-weight: 700; cursor: pointer; }

/* 404 glitch */
.glitch { position: relative; display: inline-block; }
.glitch::before, .glitch::after { content: attr(data-text); position: absolute; inset: 0; }
.glitch::before { color: var(--accent); animation: glitch 2.4s infinite; clip-path: inset(0 0 55% 0); }
.glitch::after { color: var(--mint); animation: glitch 2.4s infinite reverse; clip-path: inset(55% 0 0 0); }
@keyframes glitch { 0%, 88%, 100% { transform: none; } 90% { transform: translate(-4px, 2px); } 94% { transform: translate(4px, -2px); } 97% { transform: translate(-2px, 0); } }

/* Buttons shimmer */
.btn--primary { position: relative; overflow: hidden; }
.btn--primary::after { content: ""; position: absolute; top: 0; left: -120%; width: 60%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.35), transparent); transform: skewX(-20deg); animation: shimmer 4.5s ease-in-out infinite; }
@keyframes shimmer { 0%, 70% { left: -120%; } 100% { left: 140%; } }
.magnetic { transition: transform .25s var(--ease), box-shadow .2s, background .2s; }

/* ==========================================================
   Chatbot
   ========================================================== */
.bot { position: fixed; right: 22px; bottom: 22px; z-index: 300; font-size: .95rem; }
.bot__launcher {
  position: relative; width: 62px; height: 62px; border-radius: 50%; border: 0; cursor: pointer;
  background: linear-gradient(135deg, var(--brand), #5B8BFF); color: #fff; box-shadow: 0 14px 34px rgba(47,107,255,.45);
  display: grid; place-items: center; transition: transform .25s var(--ease);
}
.bot__launcher:hover { transform: scale(1.07); }
.bot__launcher-icon { grid-area: 1 / 1; display: grid; place-items: center; transition: transform .3s var(--ease), opacity .3s; }
.bot__launcher-icon svg { width: 26px; height: 26px; }
.bot__launcher-icon--close { opacity: 0; transform: rotate(-90deg) scale(.6); }
.bot.is-open .bot__launcher-icon--chat { opacity: 0; transform: rotate(90deg) scale(.6); }
.bot.is-open .bot__launcher-icon--close { opacity: 1; transform: none; }
.bot__ping { position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--brand); animation: ping 2.2s ease-out infinite; }
.bot.is-open .bot__ping { display: none; }
@keyframes ping { from { transform: scale(1); opacity: .7; } to { transform: scale(1.6); opacity: 0; } }
.bot__teaser {
  position: absolute; right: 74px; bottom: 12px; white-space: nowrap; background: #fff; color: var(--ink); font-weight: 700;
  padding: 11px 16px; border-radius: 14px 14px 4px 14px; box-shadow: var(--shadow); font-size: .9rem;
  opacity: 0; transform: translateX(10px); pointer-events: none; transition: .4s var(--ease);
}
.bot__teaser.show { opacity: 1; transform: none; pointer-events: auto; cursor: pointer; }
.bot.is-open .bot__teaser { display: none; }
.bot__panel {
  position: absolute; right: 0; bottom: 78px; width: 380px; max-width: calc(100vw - 32px); height: 560px; max-height: calc(100vh - 120px);
  background: #fff; border-radius: 22px; box-shadow: var(--shadow-lg); display: flex; flex-direction: column; overflow: hidden;
  transform-origin: bottom right; animation: botIn .35s var(--ease);
}
.bot__panel[hidden] { display: none; }
@keyframes botIn { from { opacity: 0; transform: translateY(16px) scale(.95); } to { opacity: 1; transform: none; } }
.bot__head { display: flex; align-items: center; gap: 12px; padding: 16px 18px; background: var(--ink); color: #fff; }
.bot__head strong { display: block; font-family: var(--font-head); }
.bot__head small { color: var(--muted-on-dark); font-size: .78rem; }
.bot__avatar .brand__mark { width: 40px; height: 40px; }
.bot__close { margin-left: auto; background: rgba(255,255,255,.08); border: 0; color: #fff; width: 34px; height: 34px; border-radius: 10px; cursor: pointer; display: grid; place-items: center; }
.bot__close svg { width: 18px; height: 18px; }
.bot__log { flex: 1; overflow-y: auto; padding: 18px; display: flex; flex-direction: column; gap: 10px; background: var(--mist); scroll-behavior: smooth; }
.msg { max-width: 86%; padding: 11px 14px; border-radius: 16px; line-height: 1.5; font-size: .93rem; animation: msgIn .3s var(--ease); white-space: pre-line; }
.msg a { font-weight: 700; }
.msg--bot { background: #fff; color: var(--text); border-bottom-left-radius: 4px; box-shadow: var(--shadow-sm); align-self: flex-start; }
.msg--user { background: var(--brand); color: #fff; border-bottom-right-radius: 4px; align-self: flex-end; }
.msg--typing { display: inline-flex; gap: 4px; padding: 14px; }
.msg--typing i { width: 7px; height: 7px; border-radius: 50%; background: var(--muted); animation: typing 1s infinite; }
.msg--typing i:nth-child(2) { animation-delay: .15s; }
.msg--typing i:nth-child(3) { animation-delay: .3s; }
@keyframes typing { 0%, 60%, 100% { transform: none; opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
@keyframes msgIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.bot__chips { display: flex; gap: 8px; padding: 10px 14px; overflow-x: auto; background: var(--mist); border-top: 1px solid var(--line); scrollbar-width: none; }
.bot__chips:empty { display: none; }
.bot__chips button { flex: none; border: 1.5px solid var(--brand); background: #fff; color: var(--brand); padding: 7px 13px; border-radius: 999px; font: inherit; font-size: .82rem; font-weight: 700; cursor: pointer; transition: .2s; }
.bot__chips button:hover { background: var(--brand); color: #fff; }
.bot__input { display: flex; gap: 8px; padding: 12px; border-top: 1px solid var(--line); background: #fff; }
.bot__input input { flex: 1; border: 1.5px solid var(--line); border-radius: 12px; padding: 11px 14px; font: inherit; font-size: .93rem; }
.bot__input input:focus { outline: none; border-color: var(--brand); }
.bot__input button { width: 44px; border: 0; border-radius: 12px; background: var(--accent); color: #fff; cursor: pointer; display: grid; place-items: center; }
.bot__input button svg { width: 18px; height: 18px; }
.bot-form { display: grid; gap: 8px; background: #fff; padding: 14px; border-radius: 16px; box-shadow: var(--shadow-sm); align-self: stretch; animation: msgIn .3s var(--ease); }
.bot-form input, .bot-form select { border: 1.5px solid var(--line); border-radius: 10px; padding: 10px 12px; font: inherit; font-size: .9rem; }
.bot-form button { border: 0; border-radius: 10px; padding: 11px; background: var(--accent); color: #fff; font-weight: 700; font-family: var(--font-head); cursor: pointer; }

.wa-float { position: fixed; left: 22px; bottom: 22px; z-index: 290; width: 56px; height: 56px; border-radius: 50%; background: #25D366; color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px rgba(37,211,102,.4); transition: transform .2s; }
.wa-float:hover { transform: scale(1.08); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 1080px) {
  .section-head--split, .svc-hero, .about-grid { grid-template-columns: 1fr; }
  .industries, .features, .related { grid-template-columns: repeat(2, 1fr); }
  .dash__float--2 { right: 10px; }
}
@media (max-width: 680px) {
  .industries, .features, .related, .values { grid-template-columns: 1fr; }
  .price-row { flex-direction: column; align-items: flex-start; }
  .dash__float--2 { display: none; }
  .orbit__item { width: 36px; height: 36px; margin: -18px 0 0 -18px; }
  .orbit__item svg { width: 18px; height: 18px; }
  .bot { right: 14px; bottom: 14px; }
  .bot__panel { height: 70vh; }
  .bot__teaser { display: none; }
  .marquee__item { font-size: .9rem; }
}
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1; transform: none; }
  .split-in .w > span { transform: none; }
  .chan__bar i { width: var(--w); }
}
.svc-hero__card .currency-switch button { padding: 6px 9px; font-size: .74rem; }
.svc-hero__card .currency-switch { flex-wrap: nowrap; }

/* Mobile grid safety */
.hero .wrap > *, .approach > *, .why > *, .contact > *, .svc-hero > *, .about-grid > * { min-width: 0; }
.hero__flags { flex-wrap: wrap; }
@media (max-width: 1080px) {
  .hero .wrap, .approach, .why, .contact, .svc-hero, .about-grid { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 680px) {
  .stats { grid-template-columns: 1fr 1fr; gap: 12px; }
  .stat { padding: 24px 14px; }
  .stat p { font-size: .85rem; }
  .hero__rotator { min-height: 2.6em; }
}

/* ==========================================================
   Portfolio
   ========================================================== */
.section--portfolio { background: linear-gradient(180deg, var(--paper), var(--mist)); }
.projects { display: grid; gap: 90px; }
.project { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.project--flip .project__shot { order: 2; }
.project > * { min-width: 0; }
.project__shot { position: relative; display: block; color: inherit; }
.project__shot::before {
  content: ""; position: absolute; inset: 8% -4% -6% 6%; border-radius: 28px; z-index: 0;
  background: linear-gradient(135deg, var(--brand), var(--accent)); opacity: .18; filter: blur(30px); transition: opacity .4s;
}
.project__shot:hover::before { opacity: .35; }
.browser { position: relative; z-index: 1; display: block; border-radius: 18px; overflow: hidden; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.browser__bar { display: flex; align-items: center; gap: 7px; padding: 12px 16px; background: #EEF2F8; border-bottom: 1px solid var(--line); }
.browser__bar > i { width: 11px; height: 11px; border-radius: 50%; background: #FF5F57; }
.browser__bar > i:nth-child(2) { background: #FEBC2E; }
.browser__bar > i:nth-child(3) { background: #28C840; }
.browser__url { display: inline-flex; align-items: center; gap: 6px; margin-left: 12px; flex: 1; max-width: 340px; background: #fff; border-radius: 8px; padding: 5px 12px; font-size: .78rem; color: var(--muted); font-weight: 600; overflow: hidden; white-space: nowrap; text-overflow: ellipsis; }
.browser__url svg { width: 13px; height: 13px; color: var(--mint); flex: none; }
.browser__screen { position: relative; display: block; aspect-ratio: 16 / 10.5; overflow: hidden; background: linear-gradient(135deg, var(--ink), var(--ink-3)); }
.browser__screen img { position: relative; z-index: 1; color: transparent; font-size: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: object-position 6s ease-in-out, transform .6s var(--ease); }
.project__shot:hover .browser__screen img { object-position: bottom center; }
.browser__ph { position: absolute; inset: 0; display: grid; place-items: center; color: rgba(255,255,255,.6); font-family: var(--font-head); font-weight: 700; font-size: 1.4rem; }
.project__live { position: absolute; z-index: 2; left: 18px; bottom: -16px; display: inline-flex; align-items: center; background: var(--ink); color: #fff; font-size: .8rem; font-weight: 700; padding: 9px 16px; border-radius: 999px; box-shadow: var(--shadow); }
.project__meta { display: block; font-size: .8rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brand); margin-bottom: 10px; }
.project__info h3 { font-size: clamp(1.6rem, 2.6vw, 2.1rem); margin-bottom: 12px; }
.project__info > p { color: var(--muted); }
.project__work { list-style: none; padding: 0; margin: 20px 0; display: grid; gap: 10px; }
.project__work li { display: grid; grid-template-columns: 22px 1fr; gap: 10px; font-size: .95rem; }
.project__work svg { width: 18px; height: 18px; color: var(--mint); margin-top: 3px; }
.project__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 26px; }
.project__tags a { font-size: .78rem; font-weight: 700; padding: 6px 12px; border-radius: 999px; background: rgba(47,107,255,.08); color: var(--brand); transition: .2s; }
.project__tags a:hover { background: var(--brand); color: #fff; }
.projects__more { text-align: center; margin-top: 70px; }
@media (max-width: 1080px) {
  .project { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .project--flip .project__shot { order: 0; }
  .projects { gap: 70px; }
}
@media (prefers-reduced-motion: reduce) { .project__shot:hover .browser__screen img { object-position: top center; } }
.nav-open .bot, .nav-open .wa-float { display: none; }

/* ==========================================================
   WhatsApp buttons
   ========================================================== */
.btn--wa { background: #25D366; color: #fff; box-shadow: 0 10px 24px rgba(37,211,102,.32); }
.btn--wa:hover { background: #1EBE5A; color: #fff; transform: translateY(-2px); }
.btn--wa svg { width: 20px; height: 20px; }
.btn--wa:hover svg { transform: none; }

.header-wa {
  display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%;
  background: #25D366; color: #fff; box-shadow: 0 8px 18px rgba(37,211,102,.35); transition: transform .2s;
}
.header-wa:hover { color: #fff; transform: scale(1.08); }
.header-wa svg { width: 22px; height: 22px; }
.main-nav .main-nav__wa { display: none; }
@media (max-width: 1180px) {
  .main-nav .main-nav__wa { display: flex !important; margin-top: 24px; color: #fff; border-radius: 999px; border: 0; }
  .main-nav .main-nav__wa + .main-nav__cta { margin-top: 12px; }
}

.wa-float {
  position: fixed; left: 22px; bottom: 22px; z-index: 290;
  display: flex; align-items: center; gap: 12px; padding: 7px 20px 7px 7px; border-radius: 999px;
  background: #25D366; color: #fff; box-shadow: 0 14px 32px rgba(37,211,102,.45);
  width: auto; height: auto; transition: transform .35s var(--ease), box-shadow .25s, opacity .35s;
  opacity: 0; transform: translateY(24px) scale(.9); pointer-events: none;
}
.wa-float.is-shown { opacity: 1; transform: none; pointer-events: auto; }
.wa-float.is-shown:hover { color: #fff; transform: translateY(-3px); box-shadow: 0 18px 38px rgba(37,211,102,.55); }
.wa-float__icon { position: relative; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: rgba(255,255,255,.18); }
.wa-float__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: ping 2.4s ease-out infinite; opacity: .6; }
.wa-float svg { width: 26px; height: 26px; }
.wa-float__text { display: flex; flex-direction: column; line-height: 1.15; font-family: var(--font-head); font-weight: 700; font-size: 1rem; }
.wa-float__text small { font-family: var(--font-body); font-weight: 600; font-size: .72rem; opacity: .9; }
@media (max-width: 680px) {
  .wa-float { left: 14px; bottom: 14px; padding: 6px; }
  .wa-float__text { display: none; }
  .wa-float__icon { width: 50px; height: 50px; background: transparent; }
  .wa-float svg { width: 30px; height: 30px; }
  .header-wa { width: 42px; height: 42px; }
}

/* Marketing consent checkbox */
.consent { display: flex; gap: 10px; align-items: flex-start; margin-top: 16px; font-size: .86rem; color: var(--muted); cursor: pointer; line-height: 1.45; }
.consent input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--brand); }
.consent--bot { margin: 2px 0; font-size: .8rem; }
.consent--bot input { width: 16px; height: 16px; }
