/* ====================================================================
   MICROSSOFT COMPUTERS — SHARED DESIGN SYSTEM
   Used by: index.html, invosaas.html, services.html,
            portfolio.html, contact.html
==================================================================== */

/* ---- TOKENS ---- */
:root {
  --c-bg:          #f6f8ff;
  --c-surface:     #ffffff;
  --c-border:      rgba(99, 102, 241, 0.12);
  --c-border-h:    rgba(99, 102, 241, 0.35);
  --c-text:        #0f172a;
  --c-muted:       #64748b;
  --c-dim:         #94a3b8;
  --c-indigo:      #4f46e5;
  --c-indigo-d:    #4338ca;
  --c-cyan:        #06b6d4;
  --c-emerald:     #10b981;
  --c-amber:       #f59e0b;
  --c-rose:        #f43f5e;
  --c-purple:      #8b5cf6;
  --grad-primary:  linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%);
  --grad-alt:      linear-gradient(135deg, #7c3aed 0%, #ec4899 100%);
  --grad-warm:     linear-gradient(135deg, #f59e0b 0%, #f43f5e 100%);
  --grad-erp:      linear-gradient(135deg, #4A3AFD 0%, #7c3aed 50%, #ec4899 100%);
  --shadow-sm:     0 1px 3px rgba(0,0,0,.06);
  --shadow-md:     0 4px 16px rgba(99,102,241,.10);
  --shadow-lg:     0 12px 40px rgba(99,102,241,.15);
  --shadow-glow:   0 8px 24px rgba(79,70,229,.30);
  --radius-s:  8px; --radius-m: 16px;
  --radius-l:  24px; --radius-xl: 32px; --radius-f: 9999px;
  --font-head: 'Outfit', sans-serif;
  --font-body: 'Plus Jakarta Sans', sans-serif;
  --ease-out:    cubic-bezier(0.16,1,0.3,1);
  --ease-io:     cubic-bezier(0.4,0,0.2,1);
  --dur: 0.6s;

  /* Alias tokens for subagent code compatibility */
  --primary:       #4f46e5;
  --secondary:     #06b6d4;
  --text-main:     #0f172a;
  --text-muted:    #64748b;
  --dark-bg:       #0f172a;
  --bg-dark:       #0f172a;
  --bg-light:      #f6f8ff;
  --border-light:  rgba(99, 102, 241, 0.15);
  --border:        rgba(99, 102, 241, 0.15);
  --card-bg:       rgba(255, 255, 255, 0.85);
  --surface:       #ffffff;
  --accent:        #4f46e5;
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  background: var(--c-bg); color: var(--c-text);
  font-family: var(--font-body); line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; }

/* ---- PAGE TRANSITIONS ---- */
.page-curtain { display: none !important; }
body { opacity: 1 !important; }

/* ---- CURSOR REMOVED ---- */

/* ---- AMBIENT ORBS ---- */
.orb-layer { position: fixed; inset: 0; pointer-events: none !important; z-index: -10 !important; overflow: hidden; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: .16; pointer-events: none !important; }
.orb-1 { width: min(55vw,600px); height: min(55vw,600px); top: -15%; left: -10%; background: radial-gradient(circle,#4f46e5,transparent 70%); animation: orbF1 20s ease-in-out infinite alternate; }
.orb-2 { width: min(60vw,650px); height: min(60vw,650px); bottom: -20%; right: -10%; background: radial-gradient(circle,#06b6d4,transparent 70%); animation: orbF2 25s ease-in-out infinite alternate; }
.orb-3 { width: min(40vw,450px); height: min(40vw,450px); top: 40%; left: 35%; background: radial-gradient(circle,#ec4899,transparent 70%); animation: orbF1 30s ease-in-out 5s infinite alternate-reverse; }
@keyframes orbF1 { from { transform: translate(0,0) scale(1); } to { transform: translate(80px,60px) scale(1.1); } }
@keyframes orbF2 { from { transform: translate(0,0) scale(1); } to { transform: translate(-80px,-80px) scale(1.12); } }

/* ---- CANVAS ---- */
#particles { position: fixed; inset: 0; z-index: -5 !important; pointer-events: none !important; opacity: .7; }

/* ---- LAYOUT ---- */
.container { width: 100%; max-width: 1240px; margin-inline: auto; padding-inline: clamp(16px,5vw,40px); }
section { position: relative; z-index: 1; }

/* ---- SCROLL REVEAL ---- */
[data-reveal], .reveal { opacity: 0; will-change: opacity, transform; transform: translateY(30px); }
[data-reveal="up"]    { transform: translateY(40px); }
[data-reveal="left"]  { transform: translateX(-50px); }
[data-reveal="right"] { transform: translateX(50px); }
[data-reveal="scale"] { transform: scale(0.88); }
[data-reveal].in, [data-reveal].active, .reveal.in, .reveal.active {
  opacity: 1; transform: none;
  transition: opacity var(--dur) var(--ease-out), transform var(--dur) var(--ease-out);
}
.reveal.delay-1 { transition-delay: 0.15s; }
.reveal.delay-2 { transition-delay: 0.3s; }
.reveal.delay-3 { transition-delay: 0.45s; }

/* ---- TYPOGRAPHY ---- */
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); line-height: 1.2; }
.grad-text {
  background: var(--grad-primary); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
  background-size: 200%; animation: gradShift 5s linear infinite;
}
.grad-text-erp {
  background: var(--grad-erp); -webkit-background-clip: text;
  background-clip: text; -webkit-text-fill-color: transparent;
}
.grad-text-alt { background: var(--grad-alt); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
@keyframes gradShift { 0%{background-position:0% 50%} 50%{background-position:100% 50%} 100%{background-position:0% 50%} }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 16px; border-radius: var(--radius-f);
  border: 1px solid rgba(79,70,229,.2); background: rgba(79,70,229,.06);
  color: var(--c-indigo); font-size: .75rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 14px;
}
.pulse-dot { width: 7px; height: 7px; background: var(--c-indigo); border-radius: 50%; animation: pD 2s infinite; }
@keyframes pD { 0%{box-shadow:0 0 0 0 rgba(79,70,229,.6);transform:scale(.95)} 70%{box-shadow:0 0 0 8px rgba(79,70,229,0)} 100%{box-shadow:0 0 0 0 rgba(79,70,229,0)} }
.section-title { font-size: clamp(1.8rem,4vw,2.75rem); font-weight: 800; margin-bottom: 14px; letter-spacing: -.5px; }
.section-sub { color: var(--c-muted); font-size: clamp(.95rem,2vw,1.1rem); max-width: 620px; margin-inline: auto; line-height: 1.7; }
.section-head { margin-bottom: 56px; }
.text-center { text-align: center; }

/* ---- GLASS CARD ---- */
.card {
  background: rgba(255,255,255,.75); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px);
  border: 1px solid var(--c-border); border-radius: var(--radius-l);
  box-shadow: var(--shadow-md);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .3s;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); border-color: var(--c-border-h); }
.card-accent { overflow: hidden; position: relative; }
.card-accent::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-primary); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease-out); }
.card-accent:hover::before { transform: scaleX(1); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 13px 26px; border-radius: var(--radius-f);
  font-family: var(--font-body); font-weight: 700; font-size: .95rem;
  border: none; cursor: pointer;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out), background .25s;
  -webkit-tap-highlight-color: transparent; touch-action: manipulation; white-space: nowrap;
}
.btn:active { transform: scale(.97); }
.btn-primary { background: var(--grad-primary); color: #fff; box-shadow: var(--shadow-glow); }
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(79,70,229,.38); }
.btn-erp { background: var(--grad-erp); color: #fff; box-shadow: 0 8px 24px rgba(74,58,253,.35); }
.btn-erp:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(74,58,253,.5); }
.btn-outline { background: rgba(79,70,229,.06); border: 1.5px solid rgba(79,70,229,.25); color: var(--c-indigo); }
.btn-outline:hover { background: var(--c-indigo); color: #fff; }
.btn-wa { background: #22c55e; color: #fff; box-shadow: 0 8px 20px rgba(34,197,94,.28); }
.btn-wa:hover { background: #16a34a; transform: translateY(-2px); }
.btn-lg { padding: 15px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ''; position: absolute; inset: 0; background: linear-gradient(105deg,transparent 35%,rgba(255,255,255,.3) 50%,transparent 65%); transform: translateX(-100%); transition: transform .55s ease; }
.btn-shine:hover::after { transform: translateX(100%); }

/* ---- ICON BADGES ---- */
.icon-badge { width: 58px; height: 58px; border-radius: 16px; display: flex; align-items: center; justify-content: center; font-size: 1.65rem; flex-shrink: 0; transition: transform .3s var(--ease-out); }
.card:hover .icon-badge { transform: scale(1.1) rotate(6deg); }
.icon-indigo  { background: rgba(79,70,229,.08);  color: var(--c-indigo); }
.icon-cyan    { background: rgba(6,182,212,.08);  color: var(--c-cyan); }
.icon-emerald { background: rgba(16,185,129,.08); color: var(--c-emerald); }
.icon-amber   { background: rgba(245,158,11,.08); color: var(--c-amber); }
.icon-rose    { background: rgba(244,63,94,.08);  color: var(--c-rose); }
.icon-purple  { background: rgba(139,92,246,.08); color: var(--c-purple); }
.tc-indigo  { color: var(--c-indigo); } .tc-cyan    { color: var(--c-cyan); }
.tc-emerald { color: var(--c-emerald); } .tc-amber   { color: var(--c-amber); }
.tc-rose    { color: var(--c-rose); }   .tc-purple  { color: var(--c-purple); }

/* ---- HEADER ---- */
.header {
  position: fixed; inset-block-start: 0; inset-inline: 0; z-index: 500;
  padding: 18px 0;
  transition: background .3s, box-shadow .3s, padding .3s;
}
.header.stuck {
  padding: 10px 0;
  background: rgba(246,248,255,.9);
  -webkit-backdrop-filter: saturate(180%) blur(18px); backdrop-filter: saturate(180%) blur(18px);
  box-shadow: 0 1px 0 rgba(99,102,241,.1), var(--shadow-sm);
}
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo { display: flex; align-items: center; gap: 11px; flex-shrink: 0; -webkit-tap-highlight-color: transparent; }
.logo-img { height: 60px; width: auto; filter: drop-shadow(0 2px 8px rgba(79,70,229,.2)); transition: transform .35s var(--ease-out); }
.logo:hover .logo-img { transform: rotate(6deg) scale(1.05); }
.logo-text { font-family: var(--font-head); font-size: 1.05rem; font-weight: 800; }
.logo-sub  { font-size: .65rem; color: var(--c-muted); font-weight: 500; }
.nav { display: flex; align-items: center; gap: 4px; margin-inline: auto; }
.nav-link {
  display: flex; align-items: center; gap: 5px; padding: 7px 14px;
  border-radius: var(--radius-f); font-weight: 600; font-size: .88rem;
  color: var(--c-muted); transition: color .2s, background .2s;
  -webkit-tap-highlight-color: transparent; white-space: nowrap;
}
.nav-link:hover, .nav-link.active { color: var(--c-indigo); background: rgba(79,70,229,.07); }
.nav-link.nav-erp { color: #fff; background: var(--grad-erp); border-radius: var(--radius-f); padding: 7px 16px; }
.nav-link.nav-erp:hover { opacity: .9; box-shadow: 0 4px 16px rgba(74,58,253,.3); }
.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; border: none; background: none; cursor: pointer; -webkit-tap-highlight-color: transparent; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--c-text); border-radius: 2px; transition: transform .3s, opacity .3s, width .3s; }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; width: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }
.mobile-nav {
  position: fixed; inset: 0; z-index: 490; display: flex; flex-direction: column;
  background: rgba(246,248,255,.98); -webkit-backdrop-filter: blur(24px); backdrop-filter: blur(24px);
  padding-top: 90px; padding-inline: 24px; gap: 8px;
  transform: translateX(100%); transition: transform .4s var(--ease-out);
  overflow-y: auto; -webkit-overflow-scrolling: touch;
}
.mobile-nav.open { transform: translateX(0); }
.mobile-nav .nav-link { font-size: 1.1rem; padding: 14px 20px; border-radius: var(--radius-m); border: 1px solid transparent; }
.mobile-nav .nav-link:hover { border-color: var(--c-border); }
.mobile-nav-footer { margin-top: 24px; display: flex; flex-direction: column; gap: 12px; padding-bottom: 40px; }

/* ---- TICKER ---- */
.ticker { overflow: hidden; white-space: nowrap; padding: 15px 0; position: relative; z-index: 2; }
.ticker-1 { background: var(--grad-primary); }
.ticker-2 { background: var(--grad-erp); }
.ticker-track { display: inline-flex; animation: tickerScroll 30s linear infinite; }
.ticker-2 .ticker-track { animation-direction: reverse; }
.ticker-track span { font-family: var(--font-head); font-size: 1rem; font-weight: 800; letter-spacing: 2px; text-transform: uppercase; color: #fff; padding-right: 48px; flex-shrink: 0; }
@keyframes tickerScroll { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ---- HERO ---- */
.hero-section {
  min-height: 100svh; min-height: -webkit-fill-available;
  padding-block: clamp(120px,18vh,180px) clamp(60px,8vh,100px);
  display: flex; align-items: center;
}
.hero-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.hero-title { font-size: clamp(2.2rem,5.5vw,3.8rem); font-weight: 900; line-height: 1.1; letter-spacing: -1.5px; margin-bottom: 22px; }
.hero-desc { color: var(--c-muted); font-size: clamp(.98rem,1.8vw,1.15rem); line-height: 1.75; margin-bottom: 34px; max-width: 520px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 48px; }
.stats-row { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; padding-top: 32px; border-top: 1px solid var(--c-border); }
.stat-num { font-family: var(--font-head); font-size: clamp(1.6rem,3.5vw,2.4rem); font-weight: 900; color: var(--c-indigo); line-height: 1; margin-bottom: 4px; }
.stat-lbl { font-size: .78rem; color: var(--c-muted); font-weight: 600; }
.hero-img-card { border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-xl); }
.hero-badge { position: absolute; z-index: 10; display: flex; align-items: center; gap: 12px; background: rgba(255,255,255,.92); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); border: 1px solid var(--c-border); border-radius: var(--radius-m); padding: 12px 18px; box-shadow: var(--shadow-md); }
.hero-badge strong { font-size: .9rem; display: block; }
.hero-badge span { font-size: .73rem; color: var(--c-muted); }
.badge-tl { top: 24px; left: -20px; animation: floatB 4s ease-in-out infinite; }
.badge-br { bottom: 24px; right: -20px; animation: floatB 4s ease-in-out 2s infinite; }
@keyframes floatB { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

/* ---- SECTIONS ---- */
.section-pad { padding-block: 100px; }
.section-pad-sm { padding-block: 70px; }

/* ---- SERVICES ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(320px,1fr)); gap: 26px; }
.svc-card { padding: 32px; display: flex; flex-direction: column; }
.svc-title { font-size: 1.25rem; font-weight: 700; margin: 18px 0 10px; }
.svc-desc  { color: var(--c-muted); font-size: .9rem; line-height: 1.65; margin-bottom: 20px; flex: 1; }
.svc-feats li { display: flex; align-items: flex-start; gap: 9px; font-size: .875rem; margin-bottom: 8px; }
.svc-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .9rem; color: var(--c-indigo); margin-top: auto; transition: gap .25s; }
.svc-cta:hover { gap: 14px; }

/* ---- TABS ---- */
.tabs-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 48px; }
.tab { display: flex; align-items: center; gap: 7px; padding: 10px 20px; border-radius: var(--radius-f); border: 1.5px solid var(--c-border); background: rgba(255,255,255,.7); color: var(--c-muted); font-weight: 600; font-size: .875rem; cursor: pointer; transition: all .25s var(--ease-io); -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.tab:hover { border-color: var(--c-indigo); color: var(--c-indigo); }
.tab.active { background: var(--grad-primary); border-color: transparent; color: #fff; box-shadow: var(--shadow-glow); }

/* ---- FAQ ---- */
.faq-list { max-width: 800px; margin-inline: auto; display: flex; flex-direction: column; gap: 14px; }
.faq-item { border-radius: var(--radius-m); border: 1.5px solid var(--c-border); overflow: hidden; background: rgba(255,255,255,.8); transition: border-color .3s, box-shadow .3s; }
.faq-item.open { border-color: var(--c-indigo); box-shadow: var(--shadow-md); }
.faq-btn { width: 100%; padding: 20px 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; background: none; border: none; cursor: pointer; text-align: left; font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; -webkit-tap-highlight-color: transparent; }
.faq-chevron { width: 28px; height: 28px; border-radius: 50%; background: rgba(79,70,229,.08); display: flex; align-items: center; justify-content: center; color: var(--c-indigo); flex-shrink: 0; font-size: .8rem; transition: transform .35s var(--ease-out), background .25s; }
.faq-item.open .faq-chevron { transform: rotate(180deg); background: var(--c-indigo); color: #fff; }
.faq-body { max-height: 0; overflow: hidden; transition: max-height .4s var(--ease-out); }
.faq-body p { padding: 0 24px 22px; color: var(--c-muted); font-size: .925rem; line-height: 1.75; }

/* ---- PORTFOLIO GRID ---- */
.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(300px,1fr)); gap: 26px; }
.pf-card { padding: 0; overflow: hidden; }
.pf-thumb { width: 100%; aspect-ratio: 16/10; overflow: hidden; }
.pf-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease-out); }
.pf-card:hover .pf-thumb img { transform: scale(1.06); }
.pf-body { padding: 22px 24px; }
.pf-badge { display: inline-block; padding: 3px 12px; border-radius: var(--radius-f); background: rgba(79,70,229,.08); color: var(--c-indigo); font-size: .72rem; font-weight: 700; margin-bottom: 10px; }
.pf-title { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; }
.pf-desc  { color: var(--c-muted); font-size: .875rem; line-height: 1.65; margin-bottom: 14px; }
.pf-tags  { display: flex; flex-wrap: wrap; gap: 6px; }
.pf-tag   { padding: 3px 10px; background: rgba(6,182,212,.08); color: var(--c-cyan); border-radius: var(--radius-f); font-size: .75rem; font-weight: 700; }
.pf-card.hidden { display: none; }

/* ---- FORM ---- */
.field { margin-bottom: 20px; }
.field label { display: block; font-weight: 700; font-size: .85rem; margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 16px;
  background: rgba(255,255,255,.7); border: 1.5px solid var(--c-border); border-radius: var(--radius-m);
  color: var(--c-text); font-family: var(--font-body); font-size: 1rem;
  outline: none; transition: border-color .25s, box-shadow .25s;
  -webkit-appearance: none; appearance: none;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--c-indigo); box-shadow: 0 0 0 3px rgba(79,70,229,.12); }
.field select { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%236b7280' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='M6 8l4 4 4-4'/%3e%3c/svg%3e"); background-repeat: no-repeat; background-position: right 12px center; background-size: 20px; padding-right: 40px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-feedback { margin-top: 12px; font-weight: 700; font-size: .875rem; text-align: center; }

/* ---- FOOTER ---- */
.footer { background: #0f172a; color: #e2e8f0; padding-top: 80px; position: relative; z-index: 2; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1.2fr; gap: 48px; padding-bottom: 56px; }
.footer-desc { color: #94a3b8; font-size: .875rem; margin-block: 16px; line-height: 1.7; }
.socials { display: flex; gap: 10px; }
.social-btn { width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: .875rem; transition: background .25s, transform .25s, color .25s; -webkit-tap-highlight-color: transparent; }
.social-btn:hover { background: var(--grad-primary); color: #fff; transform: translateY(-3px); }
.footer-heading { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: 20px; }
.footer-links li { margin-bottom: 10px; }
.footer-links a { color: #94a3b8; font-size: .875rem; transition: color .2s, padding-left .2s; }
.footer-links a:hover { color: var(--c-cyan); padding-left: 4px; }
.seo-tags { display: flex; flex-wrap: wrap; gap: 7px; }
.seo-tag { padding: 3px 10px; background: rgba(255,255,255,.06); border-radius: 6px; color: #94a3b8; font-size: .75px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.07); padding-block: 22px; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px; font-size: .82rem; color: #64748b; }

/* ---- FAB ---- */
.fab-wa { position: fixed; bottom: 28px; right: 28px; z-index: 400; width: 58px; height: 58px; border-radius: 50%; background: #22c55e; color: #fff; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; box-shadow: 0 8px 24px rgba(34,197,94,.4); transition: transform .25s, box-shadow .25s; -webkit-tap-highlight-color: transparent; }
.fab-wa:hover { transform: scale(1.1); }
.fab-tooltip { position: absolute; right: 68px; white-space: nowrap; background: #0f172a; color: #fff; padding: 7px 14px; border-radius: 10px; font-size: .78rem; font-weight: 600; opacity: 0; pointer-events: none; transition: opacity .25s; }
.fab-wa:hover .fab-tooltip { opacity: 1; }
.back-top { position: fixed; bottom: 98px; right: 34px; z-index: 400; width: 42px; height: 42px; border-radius: 50%; background: #fff; border: 1.5px solid var(--c-border); color: var(--c-indigo); display: flex; align-items: center; justify-content: center; font-size: .95rem; cursor: pointer; box-shadow: var(--shadow-sm); opacity: 0; pointer-events: none; transition: opacity .3s, transform .25s, background .25s; -webkit-tap-highlight-color: transparent; }
.back-top.show { opacity: 1; pointer-events: all; }
.back-top:hover { background: var(--c-indigo); color: #fff; transform: translateY(-3px); }

/* ---- INFO CARDS ---- */
.info-card { display: flex; align-items: flex-start; gap: 16px; padding: 18px 20px; border-radius: var(--radius-m); background: rgba(255,255,255,.8); border: 1px solid var(--c-border); transition: border-color .3s; }
.info-card:hover { border-color: var(--c-border-h); }
.info-card strong { display: block; font-size: .88rem; margin-bottom: 2px; }
.info-card p, .info-card a { color: var(--c-muted); font-size: .85rem; }

/* ---- PILL TECH ---- */
.tech-pills { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 44px; }
.pill { display: flex; align-items: center; gap: 9px; padding: 11px 22px; background: rgba(255,255,255,.85); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); border: 1px solid var(--c-border); border-radius: var(--radius-f); font-weight: 600; font-size: .88rem; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s, border-color .25s; }
.pill:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--c-border-h); animation: none; }
.pill:nth-child(odd)  { animation: pillBob 3.5s ease-in-out infinite; }
.pill:nth-child(even) { animation: pillBob 3.5s ease-in-out 1.75s infinite; }
@keyframes pillBob { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .hero-title, .hero-desc { text-align: center; }
  .hero-desc, .hero-btns { margin-inline: auto; }
  .hero-btns { justify-content: center; }
  .stats-row { grid-template-columns: repeat(2,1fr); }
  .stat-item { text-align: center; }
  .hero-visual { order: -1; max-width: 520px; margin-inline: auto; }
  .footer-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 768px) {
  .logo-img { height: 38px; }
  .nav { display: none; }
  .header-phone:nth-of-type(2) { display: none; }
  .header-phone:nth-of-type(1) { display: flex; padding: 6px 10px !important; font-size: 0.75rem !important; margin-right: 10px !important; }
  .hamburger { display: flex; }
  .hero-badge { display: none; }
  .services-grid, .portfolio-grid { grid-template-columns: 1fr; }
  .field-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
@media (max-width: 480px) {
  .hero-btns { flex-direction: column; align-items: stretch; }
  .hero-btns .btn { justify-content: center; }
  .tabs-row .tab { font-size: .8rem; padding: 9px 14px; }
}
