/* ==========================================================================
   Digizyn Studio – style.css
   Minimal custom styling (brand theme, components, animations).
   Layout & spacing are handled with Tailwind CSS utility classes in the HTML.
   ========================================================================== */

:root {
  --header-h: 72px;
  --navy-950: #050824;
  --navy-900: #080d33;
  --navy-850: #0b1240;
  --navy-800: #101a52;
  --navy-700: #16236b;
  --navy-600: #1f2f95;
  --navy-500: #2d45d1;
  --blue-300: #9fb0ff;
  --blue-400: #7388ff;
  --red-600: #b9313b;
  --red-500: #d63a46;
  --red-300: #ff7a85;
  --gold: #f5c11b;
  --text: #e8ecff;
  --muted: #a9b3dd;
  --line: rgba(143, 162, 255, 0.18);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  color: var(--text);
  overflow-x: clip;
  background:
    radial-gradient(1100px 620px at 85% -8%, rgba(45, 69, 209, 0.38), transparent 62%),
    radial-gradient(900px 520px at -8% 18%, rgba(185, 49, 59, 0.14), transparent 60%),
    radial-gradient(900px 600px at 50% 110%, rgba(31, 47, 149, 0.35), transparent 60%),
    linear-gradient(180deg, #080d38 0%, #070b2e 55%, #060a28 100%);
  background-color: var(--navy-900);
}

h1, h2, h3, h4, .font-display { font-family: 'Sora', 'Inter', system-ui, sans-serif; letter-spacing: -0.02em; }
h1, h2 { text-wrap: balance; }
::selection { background: var(--navy-500); color: #fff; }
:focus-visible { outline: 2px solid var(--blue-400); outline-offset: 3px; }

/* ---------- Text helpers ---------- */
.text-muted { color: var(--muted); }
.text-grad {
  background: linear-gradient(90deg, #8fa2ff 0%, #d5dcff 48%, #ff7a85 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.text-grad-gold { background: linear-gradient(90deg, #ffe08a, #f5c11b); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: .55rem; padding: .35rem .85rem;
  font-size: .75rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--blue-300);
  border: 1px solid var(--line); border-radius: 999px; background: rgba(45, 69, 209, 0.14);
}
.eyebrow::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 10px var(--red-500); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .8rem 1.5rem; border-radius: 999px; font-weight: 600; font-size: .95rem; line-height: 1.2;
  cursor: pointer; border: 1px solid transparent; transition: transform .25s, box-shadow .25s, background .25s, border-color .25s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  color: #fff; background: linear-gradient(120deg, var(--navy-500) 0%, #5b3fc4 52%, var(--red-600) 100%);
  background-size: 160% 100%; box-shadow: 0 10px 30px rgba(45, 69, 209, 0.45);
}
.btn-primary:hover { background-position: 100% 0; box-shadow: 0 14px 40px rgba(185, 49, 59, 0.45); }
.btn-ghost { color: #fff; background: rgba(143, 162, 255, 0.08); border-color: rgba(143, 162, 255, 0.35); }
.btn-ghost:hover { background: rgba(143, 162, 255, 0.18); border-color: var(--blue-300); }
.btn-wa { color: #fff; background: #1faa52; box-shadow: 0 10px 28px rgba(31, 170, 82, 0.35); }
.btn-wa:hover { background: #25c05f; }
.btn-sm { padding: .6rem 1.15rem; font-size: .88rem; }

/* ---------- Header & navigation ---------- */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  background: rgba(7, 12, 50, 0.55); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent; transition: background .3s, box-shadow .3s, border-color .3s;
}
.site-header.scrolled, .site-header.menu-open {
  background: rgba(8, 14, 62, 0.92); border-color: var(--line); box-shadow: 0 12px 40px rgba(2, 4, 24, 0.5);
}
.logo-tile {
  width: 60px; height: 60px; border-radius: 13px; background: #fff; display: grid; place-items: center;
  box-shadow: 0 6px 22px rgba(45, 69, 209, 0.55), 0 0 0 1px rgba(255, 255, 255, .5) inset; transition: transform .3s;
  margin: 10px 0px;
}
.logo-tile img { width: 55px; height: 55px; }
.brand:hover .logo-tile { transform: rotate(-6deg) scale(1.06); }
.brand-name { font-family: 'Sora', sans-serif; font-weight: 800; letter-spacing: .02em; line-height: 1; color: #fff; font-size: 1.22rem; }
.brand-sub { font-family: 'Sora', sans-serif; font-weight: 700; letter-spacing: .22em; color: var(--red-500); font-size: .75rem; margin-top: 0px; }

.nav-list { display: flex; align-items: center; gap: .15rem; }
.nav-list > li { height: var(--header-h); display: flex; align-items: center; }
.nav-link {
  position: relative; display: inline-flex; align-items: center; gap: .3rem; padding: .5rem .95rem; border-radius: .7rem;
  font-weight: 500; font-size: .95rem; color: #c9d1f5; transition: color .2s, background .2s; cursor: pointer;
}
.nav-link:hover, .has-mega:hover > .nav-link, .has-mega:focus-within > .nav-link { color: #fff; background: rgba(143, 162, 255, 0.1); }
.nav-link.active { color: #fff; }
.nav-link.active::after {
  content: ''; position: absolute; left: .95rem; right: .95rem; bottom: .12rem; height: 2px; border-radius: 2px;
  background: linear-gradient(90deg, var(--navy-500), var(--red-500));
}
.nav-link.services-label { cursor: default; user-select: none; }
.nav-link .chev { transition: transform .25s; }
.has-mega:hover .chev, .has-mega:focus-within .chev { transform: rotate(180deg); }

.has-mega { position: relative; }
.mega {
  position: absolute; top: 100%; left: 50%; width: min(800px, 94vw); padding-top: 10px;
  transform: translate(-50%, 12px); opacity: 0; visibility: hidden; transition: opacity .22s, transform .22s, visibility .22s;
}
.has-mega:hover .mega, .has-mega:focus-within .mega { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.mega-inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 4px; padding: 14px; border-radius: 22px;
  background: linear-gradient(180deg, #111d60 0%, #0a1244 100%); border: 1px solid rgba(143, 162, 255, 0.28);
  box-shadow: 0 34px 90px rgba(2, 4, 24, 0.75); max-height: calc(100vh - var(--header-h) - 30px); overflow-y: auto;
}
.mega-item { display: flex; gap: 13px; padding: 12px; border-radius: 15px; transition: background .2s, transform .2s; }
.mega-item:hover { background: rgba(45, 69, 209, 0.3); transform: translateX(3px); }
.mega-item h4 { font-size: .92rem; font-weight: 600; color: #fff; line-height: 1.25; }
.mega-item p { margin-top: 3px; font-size: .78rem; line-height: 1.45; color: var(--muted); }
.mega-foot {
  grid-column: 1 / -1; display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-top: 6px;
  padding: 12px 16px; border-radius: 15px; background: linear-gradient(100deg, rgba(45, 69, 209, .35), rgba(185, 49, 59, .25));
  font-size: .85rem; color: #dfe5ff;
}

.icon-box {
  --s: 3rem; width: var(--s); height: var(--s); flex: none; display: grid; place-items: center; border-radius: 14px; color: #fff; display: inline-block; align-content: center;
  background: linear-gradient(145deg, var(--navy-500), var(--navy-700)); box-shadow: 0 8px 22px rgba(45, 69, 209, 0.4);
}
.icon-box.sm { --s: 2.5rem; border-radius: 12px; }
.icon-box.lg { --s: 3.6rem; border-radius: 18px; }
.icon-box.xl { --s: 5rem; border-radius: 24px; }
.icon-box.red { background: linear-gradient(145deg, var(--red-500), #8a2030); box-shadow: 0 8px 22px rgba(185, 49, 59, 0.4); }
.icon-box.gold { background: linear-gradient(145deg, #f8cf4a, #d99a00); color: #2a1d00; box-shadow: 0 8px 22px rgba(245, 193, 27, 0.35); }

.menu-btn {
  width: 44px; height: 44px; display: grid; place-items: center; border-radius: 12px; color: #fff; cursor: pointer; margin-right: -18px;
  background: rgba(143, 162, 255, 0.12); border: 1px solid var(--line);
}
.mobile-panel {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49; padding: 1rem 1.25rem 2.5rem; overflow-y: auto;
  background: rgba(6, 10, 44, 0.985); backdrop-filter: blur(16px);
  opacity: 0; visibility: hidden; transform: translateY(-10px); transition: opacity .25s, transform .25s, visibility .25s;
}
.mobile-panel.open { opacity: 1; visibility: visible; transform: none; }
.m-link { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: .95rem .5rem; font-weight: 600; font-size: 1.05rem; color: #e8ecff; border-bottom: 1px solid var(--line); text-align: left; cursor: pointer; }
.m-link.active { color: var(--red-300); }
.m-sub { display: none; padding: .5rem 0 .75rem; }
.m-sub.open { display: block; }
.m-sub a { display: flex; gap: .8rem; padding: .65rem .4rem; border-radius: 12px; }
.m-sub a:hover { background: rgba(45, 69, 209, 0.25); }
.m-sub h4 { font-size: .92rem; font-weight: 600; color: #fff; }
.m-sub p { font-size: .76rem; color: var(--muted); line-height: 1.4; margin-top: 2px; }
.chev.flip { transform: rotate(180deg); }

/* ---------- Cards & sections ---------- */
.card {
  position: relative; border-radius: 22px; border: 1px solid rgba(143, 162, 255, 0.18); overflow: hidden;
  background: linear-gradient(160deg, rgba(26, 41, 128, 0.55), rgba(11, 18, 70, 0.72));
  transition: transform .35s, border-color .35s, box-shadow .35s;
}

#process-cards .icon-box{
  float: right;
}

#contact-cards .icon-box{
  float: right;
  margin-top: 0px;
}

.card::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 2px; opacity: 0; transition: opacity .35s;
  background: linear-gradient(90deg, transparent, var(--blue-400), var(--red-500), transparent);
}
.card:hover { transform: translateY(-6px); border-color: rgba(143, 162, 255, 0.5); box-shadow: 0 26px 60px rgba(2, 4, 24, 0.55), 0 0 40px rgba(45, 69, 209, 0.22); }
.card:hover::before { opacity: 1; }
.card-flat { transform: none !important; }

#map-bg {
  background-image: url('dz-contact-map.png');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.sec-band {
  background: linear-gradient(180deg, rgba(7, 12, 52, 0) 0%, rgba(18, 29, 98, 0.55) 18%, rgba(18, 29, 98, 0.55) 82%, rgba(7, 12, 52, 0) 100%);
}
.divider-line { height: 1px; background: linear-gradient(90deg, transparent, var(--line), transparent); }
.check { flex: none; width: 22px; height: 22px; display: grid; place-items: center; border-radius: 50%; background: rgba(45, 69, 209, .35); color: #b8c5ff; margin-top: 2px; }
.tag { display: inline-block; padding: .28rem .7rem; border-radius: 999px; font-size: .74rem; font-weight: 500; color: #c4cdf5; background: rgba(143, 162, 255, 0.1); border: 1px solid var(--line); }
.stat-num { font-family: 'Sora', sans-serif; font-weight: 800; background: linear-gradient(90deg, #fff, #9fb0ff); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Reveal on scroll (script adds .in) ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .8s ease, transform .8s cubic-bezier(.2, .7, .2, 1); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; padding-top: calc(var(--header-h) + 3rem); padding-bottom: 4rem; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.grid-bg {
  position: absolute; inset: 0; background-size: 56px 56px; animation: gridMove 24s linear infinite;
  background-image: linear-gradient(rgba(143, 162, 255, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(143, 162, 255, .08) 1px, transparent 1px);
  -webkit-mask-image: radial-gradient(ellipse at 65% 40%, #000 10%, transparent 72%); mask-image: radial-gradient(ellipse at 65% 40%, #000 10%, transparent 72%);
}
.blob { position: absolute; border-radius: 50%; filter: blur(90px); animation: drift 16s ease-in-out infinite alternate; }
.blob-1 { width: 520px; height: 520px; right: -120px; top: -80px; background: rgba(45, 69, 209, .5); }
.blob-2 { width: 380px; height: 380px; left: -120px; bottom: -60px; background: rgba(185, 49, 59, .3); animation-delay: -6s; }
.blob-3 { width: 320px; height: 320px; left: 40%; top: 30%; background: rgba(31, 47, 149, .45); animation-delay: -3s; }
.particles i {
  position: absolute; left: var(--x); top: var(--y); width: var(--s, 3px); height: var(--s, 3px); border-radius: 50%;
  background: #aebaff; opacity: 0; animation: twinkle var(--d) ease-in-out infinite; animation-delay: var(--dl);
}
.fade-up { opacity: 0; animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) forwards; animation-delay: var(--d, 0s); }
.word-slot { display: block; position: relative; min-height: 1.1em; }
.word-rotate { display: inline-block; animation: wordIn .55s cubic-bezier(.2, .7, .2, 1); }
.caret { display: inline-block; width: 3px; height: .85em; margin-left: 6px; background: var(--red-500); vertical-align: -0.05em; animation: blink 1s steps(1) infinite; }
.pill-stat { display: flex; align-items: center; gap: .65rem; padding: .6rem 1rem; border-radius: 16px; background: rgba(16, 26, 82, 0.7); border: 1px solid var(--line); }

/* Hero stage – animated graphic on the right (scales with its container) */
.hero-stage { --chip: clamp(36px, 11cqw, 60px); position: relative; width: 100%; max-width: 540px; aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.stage-glow { position: absolute; inset: 12%; border-radius: 50%; background: radial-gradient(circle, rgba(45, 69, 209, .6), rgba(45, 69, 209, 0) 68%); animation: pulse 5s ease-in-out infinite; }
.ring { position: absolute; border-radius: 50%; border: 1px solid rgba(143, 162, 255, .24); }
.ring-1 { inset: 3%; border-style: dashed; animation: spin 70s linear infinite; }
.ring-2 { inset: 19%; border-color: rgba(214, 58, 70, .32); animation: spin 46s linear infinite reverse; }
.ring-3 { inset: 33%; border-style: dotted; border-width: 2px; animation: spin 34s linear infinite; }
.orbit { position: absolute; border-radius: 50%; }
.orbit-a { inset: 3%; animation: spin 44s linear infinite; }
.orbit-b { inset: 19%; animation: spin 30s linear infinite reverse; }
.orb-pos { position: absolute; width: var(--chip); height: var(--chip); transform: translate(-50%, -50%); }
.orbit-b .orb-pos { width: calc(var(--chip) * .82); height: calc(var(--chip) * .82); }
.orb-chip {
  width: 100%; height: 100%; display: grid; place-items: center; border-radius: 28%; color: #fff;
  background: linear-gradient(145deg, rgba(37, 56, 170, .95), rgba(11, 18, 70, .96)); border: 1px solid rgba(143, 162, 255, .4);
  box-shadow: 0 12px 30px rgba(3, 5, 28, .6), 0 0 26px rgba(45, 69, 209, .4);
}
.orb-chip svg { width: 46%; height: 46%; }
.orb-chip.red { background: linear-gradient(145deg, #d63a46, #7e1d2b); border-color: rgba(255, 150, 160, .5); box-shadow: 0 12px 30px rgba(3, 5, 28, .6), 0 0 26px rgba(214, 58, 70, .45); }
.orb-chip.gold { background: linear-gradient(145deg, #f8cf4a, #c98f00); color: #2a1d00; border-color: rgba(255, 230, 150, .6); box-shadow: 0 12px 30px rgba(3, 5, 28, .6), 0 0 26px rgba(245, 193, 27, .4); }
.orbit-a .orb-chip { animation: spin 44s linear infinite reverse; }
.orbit-b .orb-chip { animation: spin 30s linear infinite; }
.core {
  position: absolute; inset: 35%; border-radius: 50%; background: #fff; display: grid; place-items: center;
  box-shadow: 0 0 0 7px rgba(45, 69, 209, .3), 0 0 0 16px rgba(45, 69, 209, .14), 0 20px 90px rgba(45, 69, 209, .75);
  animation: breathe 4.5s ease-in-out infinite;
}
.core img { width: 75%; height: 75%; }
.fcard {
  position: absolute; padding: 1.8cqw 2.2cqw; border-radius: 14px; font-size: clamp(9px, 2.4cqw, 12.5px); line-height: 1.35;
  background: rgba(9, 15, 62, .96);
  border: 1px solid rgba(143, 162, 255, .32); box-shadow: 0 22px 50px rgba(2, 4, 20, .6);
  translate: calc(var(--mx, 0) * var(--k, 10px)) calc(var(--my, 0) * var(--k, 10px));
  animation: floaty var(--fd, 6s) ease-in-out infinite; animation-delay: var(--fl, 0s);
}
.fc-code { top: 3%; left: -1%; width: 45%; --k: -14px; }
.fc-stats { bottom: 4%; right: -1%; width: 47%; --fd: 7s; --fl: -2s; --k: 16px; }
.fc-order { top: 15%; right: -3%; display: flex; align-items: center; gap: 1.6cqw; --fd: 5.5s; --fl: -1s; --k: 22px; }
.fc-rating { bottom: 17%; left: -3%; --fd: 6.5s; --fl: -3s; --k: -18px; }
.fc-dots { display: flex; gap: 4px; margin-bottom: 1.4cqw; }
.fc-dots i { width: 1.6cqw; height: 1.6cqw; min-width: 5px; min-height: 5px; border-radius: 50%; background: #ff7a85; }
.fc-dots i:nth-child(2) { background: #f5c11b; }
.fc-dots i:nth-child(3) { background: #3ddc84; }
.code-lines b { display: block; height: .55em; margin-top: .6em; border-radius: 99px; background: var(--c); opacity: .9; width: var(--w); animation: codeline 3.4s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .3s); }
.code-ok { margin-top: .8em; font-weight: 600; color: #7dffb0; font-size: .92em; }
.spark { fill: none; stroke: url(#sparkGrad); stroke-width: 2.5; stroke-linecap: round; stroke-dasharray: 220; stroke-dashoffset: 220; animation: draw 3.2s ease-in-out infinite alternate; }
.mini-bars { display: flex; align-items: flex-end; gap: 4%; height: 4.2em; margin-top: .5em; }
.mini-bars i { flex: 1; height: 100%; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #7388ff, #2d45d1); transform-origin: bottom; transform: scaleY(var(--h)); animation: bars 2.6s ease-in-out infinite; animation-delay: calc(var(--i, 0) * .22s); }
.mini-bars i:nth-child(even) { background: linear-gradient(180deg, #ff7a85, #b9313b); }
.live-dot { position: relative; width: 2.2cqw; height: 2.2cqw; min-width: 8px; min-height: 8px; border-radius: 50%; background: #3ddc84; flex: none; }
.live-dot::after { content: ''; position: absolute; inset: 0; border-radius: 50%; background: #3ddc84; animation: ping 1.8s ease-out infinite; }
.shape { position: absolute; animation: floaty var(--fd, 7s) ease-in-out infinite; animation-delay: var(--fl, 0s); }
.sh-1 { top: 2%; left: 52%; width: 3.2cqw; height: 3.2cqw; background: var(--gold); rotate: 45deg; box-shadow: 0 0 18px rgba(245, 193, 27, .8); }
.sh-2 { bottom: 10%; left: 28%; width: 2.6cqw; height: 2.6cqw; border-radius: 50%; background: var(--red-500); box-shadow: 0 0 16px rgba(214, 58, 70, .8); --fd: 5s; }
.sh-3 { top: 40%; left: -4%; width: 4.4cqw; height: 4.4cqw; border: 2px solid var(--blue-400); border-radius: 50%; --fd: 8s; }
.sh-4 { top: 60%; right: -3%; font-size: 5cqw; color: var(--blue-300); --fd: 6s; line-height: 1; }

/* ---------- Marquee ---------- */
.marquee { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
.marquee-track { display: flex; gap: 1rem; 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: .6rem; padding: .65rem 1.2rem; border-radius: 999px; font-weight: 600; font-size: .9rem; color: #cfd7ff; background: rgba(16, 26, 82, 0.7); border: 1px solid var(--line); white-space: nowrap; }
.marquee-item i { width: 8px; height: 8px; border-radius: 50%; background: var(--blue-400); }
.marquee-item:nth-child(3n) i { background: var(--red-500); }
.marquee-item:nth-child(5n) i { background: var(--gold); }

/* ---------- Process steps ---------- */
.step-num { font-family: 'Sora', sans-serif; font-weight: 800; font-size: 3.2rem; line-height: 1; background: linear-gradient(180deg, rgba(159, 176, 255, .9), rgba(159, 176, 255, .08)); -webkit-background-clip: text; background-clip: text; color: transparent; display: inline-block;}

/* ---------- Inner page hero & art ---------- */
.page-hero { position: relative; overflow: hidden; padding: calc(var(--header-h) + 3.5rem) 0 4rem; }
.art { --chip: clamp(40px, 15cqw, 62px); position: relative; width: 100%; max-width: 400px; aspect-ratio: 1; margin-inline: auto; container-type: inline-size; }
.art .core { inset: 33%; }
.art-chip { position: absolute; left: var(--x); top: var(--y); width: var(--chip); height: var(--chip); transform: translate(-50%, -50%); animation: floaty var(--fd, 6s) ease-in-out infinite; animation-delay: var(--fl, 0s); }
.art-big { position: absolute; inset: 33%; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, var(--navy-500), var(--navy-800)); box-shadow: 0 0 0 7px rgba(45, 69, 209, .28), 0 0 0 16px rgba(45, 69, 209, .12), 0 20px 80px rgba(45, 69, 209, .7); animation: breathe 4.5s ease-in-out infinite; }
.art-big svg { width: 42%; height: 42%; }
.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; font-size: .85rem; color: var(--muted); }
.crumbs a:hover { color: #fff; }

/* ---------- Service detail panel graphic ---------- */
.svc-panel { position: relative; border-radius: 28px; padding: 2rem; min-height: 340px; display: grid; place-items: center; overflow: hidden; border: 1px solid var(--line); background: radial-gradient(circle at 30% 20%, rgba(45, 69, 209, .45), transparent 60%), radial-gradient(circle at 80% 90%, rgba(185, 49, 59, .28), transparent 55%), linear-gradient(160deg, #14206a, #0a1244); }
.svc-panel .ring { border-color: rgba(143, 162, 255, .25); }
.svc-mini { position: absolute; padding: .5rem .85rem; border-radius: 12px; font-size: .78rem; font-weight: 600; background: rgba(8, 14, 62, .85); border: 1px solid rgba(143, 162, 255, .32); box-shadow: 0 14px 34px rgba(2, 4, 24, .55); animation: floaty 6s ease-in-out infinite; display: flex; gap: .45rem; align-items: center; }

/* ---------- Mockups (portfolio) ---------- */
.mock { --c1: #2d45d1; --c2: #7388ff; position: relative; aspect-ratio: 16 / 10; overflow: hidden; border-radius: 16px 16px 0 0; background: linear-gradient(140deg, #0e1850, #0a1244); }
.mock-bar { display: flex; gap: 5px; align-items: center; height: 22px; padding: 0 10px; background: rgba(255, 255, 255, .06); }
.mock-bar i { width: 7px; height: 7px; border-radius: 50%; background: rgba(255, 255, 255, .28); }
.mock-bar span { margin-left: 8px; height: 9px; width: 38%; border-radius: 6px; background: rgba(255, 255, 255, .1); }
.mock-body { position: absolute; inset: 22px 0 0 0; padding: 12px; display: flex; flex-direction: column; gap: 8px; }
.m-hero { flex: 1.2; border-radius: 10px; background: linear-gradient(120deg, var(--c1), var(--c2)); position: relative; overflow: hidden; }
.m-hero::after { content: ''; position: absolute; width: 38%; height: 70%; right: 6%; top: 15%; border-radius: 12px; background: rgba(255, 255, 255, .22); }
.m-hero::before { content: ''; position: absolute; left: 7%; top: 22%; width: 38%; height: 10px; border-radius: 6px; background: rgba(255, 255, 255, .85); box-shadow: 0 20px 0 -2px rgba(255, 255, 255, .5), 0 38px 0 -3px rgba(255, 255, 255, .35); }
.m-row { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.m-row i { border-radius: 8px; background: rgba(255, 255, 255, .09); border: 1px solid rgba(255, 255, 255, .08); }
.m-row i:first-child { background: linear-gradient(160deg, var(--c1), transparent); opacity: .7; }
.m-grid { flex: 1; display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.m-grid i { border-radius: 8px; background: linear-gradient(160deg, var(--c2), var(--c1)); opacity: .85; position: relative; }
.m-grid i:nth-child(2n) { background: linear-gradient(160deg, #f5c11b, #b9313b); opacity: .75; }
.m-grid i::after { content: ''; position: absolute; left: 12%; right: 12%; bottom: 10%; height: 6px; border-radius: 4px; background: rgba(255, 255, 255, .7); }
.m-phones { flex: 1; display: flex; justify-content: center; align-items: flex-end; gap: 14px; padding-top: 6px; }
.m-phones i { width: 26%; height: 100%; border-radius: 14px 14px 0 0; border: 3px solid rgba(255, 255, 255, .55); border-bottom: 0; background: linear-gradient(170deg, var(--c1), var(--c2)); position: relative; }
.m-phones i:nth-child(2) { height: 110%; background: linear-gradient(170deg, var(--c2), #0e1850); transform: translateY(0); }
.m-phones i::after { content: ''; position: absolute; left: 18%; right: 18%; top: 22%; height: 7px; border-radius: 5px; background: rgba(255, 255, 255, .75); box-shadow: 0 14px 0 rgba(255, 255, 255, .4), 0 28px 0 rgba(255, 255, 255, .25); }
.m-brand { flex: 1; display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.m-brand .logo { border-radius: 12px; background: #fff; display: grid; place-items: center; }
.m-brand .logo::before { content: ''; width: 46%; aspect-ratio: 1; border-radius: 50% 50% 50% 0; background: linear-gradient(135deg, var(--c1), var(--c2)); transform: rotate(-20deg); box-shadow: 14px 8px 0 -4px #f5c11b; }
.m-brand .sw { display: grid; grid-template-rows: repeat(3, 1fr); gap: 6px; }
.m-brand .sw i:nth-child(1) { background: var(--c1); border-radius: 8px; }
.m-brand .sw i:nth-child(2) { background: var(--c2); border-radius: 8px; }
.m-brand .sw i:nth-child(3) { background: #f5c11b; border-radius: 8px; }
.m-dash { flex: 1; display: grid; grid-template-columns: 22% 1fr; gap: 8px; }
.m-dash .side { border-radius: 8px; background: rgba(255, 255, 255, .08); }
.m-dash .main { display: grid; grid-template-rows: auto 1fr; gap: 8px; }
.m-dash .kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; height: 24px; }
.m-dash .kpis i { border-radius: 6px; background: linear-gradient(120deg, var(--c1), var(--c2)); opacity: .85; }
.m-dash .chart { border-radius: 8px; background: rgba(255, 255, 255, .06); display: flex; align-items: flex-end; gap: 5%; padding: 8px; }
.m-dash .chart i { flex: 1; border-radius: 3px 3px 0 0; background: linear-gradient(180deg, var(--c2), var(--c1)); height: var(--h); }
.m-seo { flex: 1; border-radius: 10px; background: rgba(255, 255, 255, .06); position: relative; overflow: hidden; }
.m-seo svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.m-seo b { position: absolute; right: 8%; top: 10%; padding: 3px 10px; border-radius: 999px; font-size: 11px; background: linear-gradient(120deg, var(--c1), var(--c2)); color: #fff; }
.card:hover .mock { filter: brightness(1.12); }
.filter-btn { padding: .55rem 1.15rem; border-radius: 999px; font-size: .88rem; font-weight: 600; color: #c4cdf5; background: rgba(143, 162, 255, 0.08); border: 1px solid var(--line); cursor: pointer; transition: all .25s; }
.filter-btn:hover { color: #fff; border-color: var(--blue-300); }
.filter-btn.active { color: #fff; border-color: transparent; background: linear-gradient(120deg, var(--navy-500), var(--red-600)); box-shadow: 0 8px 22px rgba(45, 69, 209, .4); }
.p-item.is-hidden { display: none; }
.p-item.pop { animation: popIn .5s ease both; }
.metric { padding: .35rem .75rem; border-radius: 10px; font-size: .8rem; font-weight: 700; color: #9dffc2; background: rgba(61, 220, 132, .12); border: 1px solid rgba(61, 220, 132, .25); }

/* ---------- Reviews ---------- */
.stars { display: inline-flex; gap: 2px; color: var(--gold); }
.quote-mark { position: absolute; right: 1.2rem; bottom: .1rem; font-family: 'Sora', serif; font-size: 5.5rem; line-height: 1; color: rgba(143, 162, 255, .22); pointer-events: none; }
.avatar { width: 46px; height: 46px; flex: none; border-radius: 50%; display: grid; place-items: center; font-weight: 700; color: #fff; background: linear-gradient(135deg, var(--navy-500), var(--red-600)); }
.bar { height: 8px; border-radius: 99px; background: rgba(143, 162, 255, .15); overflow: hidden; }
.bar i { display: block; height: 100%; width: 0; border-radius: 99px; background: linear-gradient(90deg, var(--navy-500), var(--gold)); transition: width 1.4s cubic-bezier(.2, .7, .2, 1); }
.in .bar i, .bar.in i { width: var(--w); }

/* ---------- Forms & modal ---------- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 100; display: flex; align-items: flex-start; justify-content: center; padding: 1rem; overflow-y: auto;
  background: rgba(3, 5, 26, 0.8); backdrop-filter: blur(7px); -webkit-backdrop-filter: blur(7px);
  opacity: 0; visibility: hidden; transition: opacity .3s, visibility .3s;
}
.modal-overlay.open { opacity: 1; visibility: visible; }
.modal {
  position: relative; width: 100%; max-width: 660px; margin: auto; padding: 1.6rem; border-radius: 26px;
  background: linear-gradient(170deg, #14206a 0%, #0a1246 60%, #0a0f38 100%); border: 1px solid rgba(143, 162, 255, 0.3);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .7), 0 0 80px rgba(45, 69, 209, .3);
  transform: translateY(24px) scale(.97); transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}
.modal-overlay.open .modal { transform: none; }
.modal-close { position: absolute; right: 14px; top: 14px; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; color: #fff; cursor: pointer; background: rgba(143, 162, 255, .14); transition: background .2s, transform .2s; }
.modal-close:hover { background: rgba(214, 58, 70, .6); transform: rotate(90deg); }
.label { display: block; margin-bottom: .35rem; font-size: .8rem; font-weight: 600; color: #c4cdf5; }
.field {
  width: 100%; padding: .75rem .95rem; border-radius: 12px; font-size: .95rem; color: #fff;
  background: rgba(5, 8, 36, 0.55); border: 1px solid rgba(143, 162, 255, 0.28); transition: border-color .2s, box-shadow .2s;
}
.field::placeholder { color: #7c88c2; }
.field:focus { outline: none; border-color: var(--blue-400); box-shadow: 0 0 0 3px rgba(115, 136, 255, .25); }
.field:user-invalid { border-color: var(--red-500); }
select.field {
  appearance: none; -webkit-appearance: none; padding-right: 2.4rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%239fb0ff' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .85rem center;
}
select.field option { background: #0b1240; color: #fff; }
textarea.field { resize: vertical; min-height: 110px; }
.chip-radio { position: relative; }
.chip-radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip-radio span { display: inline-flex; padding: .5rem .95rem; border-radius: 999px; font-size: .84rem; font-weight: 500; color: #c4cdf5; cursor: pointer; background: rgba(5, 8, 36, .45); border: 1px solid rgba(143, 162, 255, .28); transition: all .2s; }
.chip-radio span:hover { border-color: var(--blue-300); color: #fff; }
.chip-radio input:checked + span { color: #fff; border-color: transparent; background: linear-gradient(120deg, var(--navy-500), var(--red-600)); box-shadow: 0 6px 18px rgba(45, 69, 209, .45); }
.chip-radio input:focus-visible + span { outline: 2px solid #fff; outline-offset: 2px; }
.hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-msg { display: none; padding: .8rem 1rem; border-radius: 12px; font-size: .88rem; }
.form-msg.show { display: block; }
.form-msg.error { background: rgba(214, 58, 70, .15); border: 1px solid rgba(214, 58, 70, .5); color: #ffc2c8; }
.form-success { display: none; text-align: center; padding: 2rem 1rem; }
.form-success.show { display: block; animation: popIn .5s ease both; }
.spinner { width: 18px; height: 18px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .35); border-top-color: #fff; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
.is-loading { pointer-events: none; opacity: .85; }
body.modal-open { overflow: hidden; }

/* ---------- FAQ ---------- */
.faq { border-radius: 16px; border: 1px solid var(--line); background: rgba(16, 26, 82, .55); transition: border-color .25s; }
.faq[open] { border-color: rgba(143, 162, 255, .45); background: rgba(22, 35, 107, .6); }
.faq summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: 1.1rem 1.3rem; font-weight: 600; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { transition: transform .3s; flex: none; color: var(--blue-300); transform: rotate(45deg); }
.faq[open] summary .plus { transform: rotate(0deg); color: var(--red-300); }
.faq p { padding: 0 1.3rem 1.2rem; color: var(--muted); font-size: .95rem; line-height: 1.7; }

/* ---------- WhatsApp float & footer ---------- */
.wa-float { position: fixed; right: 1.1rem; bottom: 1.1rem; z-index: 60; display: flex; align-items: center; gap: .6rem; }
.wa-float a.wa-btn { position: relative; width: 58px; height: 58px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: linear-gradient(145deg, #2fe074, #14a049); box-shadow: 0 12px 34px rgba(20, 160, 73, .55); transition: transform .25s; }
.wa-float a.wa-btn:hover { transform: scale(1.1) rotate(-6deg); }
.wa-float a.wa-btn::before { content: ''; position: absolute; inset: 0; border-radius: 50%; background: rgba(47, 224, 116, .55); animation: ping 2.2s ease-out infinite; z-index: -1; }
.wa-tip { padding: .5rem .9rem; border-radius: 12px; font-size: .82rem; font-weight: 600; color: #fff; background: rgba(8, 14, 62, .95); border: 1px solid var(--line); opacity: 0; transform: translateX(10px); transition: all .25s; pointer-events: none; white-space: nowrap; }
.wa-float:hover .wa-tip { opacity: 1; transform: none; }
.site-footer { position: relative; border-top: 1px solid var(--line); background: linear-gradient(180deg, rgba(9, 14, 58, 0.2), #04061f 90%); }
.foot-link { color: var(--muted); font-size: .92rem; transition: color .2s, padding .2s; display: inline-block; }
.foot-link:hover { color: #fff; padding-left: 4px; }
.social { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; color: #c9d1f5; background: rgba(143, 162, 255, .1); border: 1px solid var(--line); transition: all .25s; }
.social:hover { color: #fff; background: linear-gradient(135deg, var(--navy-500), var(--red-600)); transform: translateY(-3px); }
.cta-band { position: relative; overflow: hidden; border-radius: 26px; border: 1px solid rgba(143, 162, 255, .3); background: radial-gradient(circle at 12% 20%, rgba(45, 69, 209, .6), transparent 55%), radial-gradient(circle at 92% 80%, rgba(185, 49, 59, .5), transparent 50%), linear-gradient(135deg, #14206a, #0b1348); }
img.footer-logo-tile { max-width: 400px;}

/* ---------- Keyframes ---------- */
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
@keyframes pulse { 0%, 100% { opacity: .75; transform: scale(1); } 50% { opacity: 1; transform: scale(1.08); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.045); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
@keyframes drift { from { transform: translate(0, 0) scale(1); } to { transform: translate(50px, 40px) scale(1.15); } }
@keyframes gridMove { to { background-position: 56px 56px; } }
@keyframes twinkle { 0%, 100% { opacity: 0; transform: scale(.6); } 50% { opacity: .9; transform: scale(1.4); } }
@keyframes marquee { to { transform: translateX(-50%); } }
@keyframes draw { from { stroke-dashoffset: 220; } to { stroke-dashoffset: 0; } }
@keyframes bars { 0%, 100% { transform: scaleY(var(--h)); } 50% { transform: scaleY(calc(var(--h) * .55)); } }
@keyframes codeline { 0%, 100% { width: var(--w); } 50% { width: calc(var(--w) * .55); } }
@keyframes ping { 0% { transform: scale(1); opacity: .7; } 80%, 100% { transform: scale(2.1); opacity: 0; } }
@keyframes blink { 50% { opacity: 0; } }
@keyframes wordIn { from { opacity: 0; transform: translateY(.5em); filter: blur(6px); } to { opacity: 1; transform: none; filter: none; } }
@keyframes popIn { from { opacity: 0; transform: scale(.94); } to { opacity: 1; transform: none; } }

/* ---------- Responsive tweaks ---------- */
@media (min-width: 1024px) {
  .menu-btn { display: none; }
}
@media (max-width: 1023px) {
  :root { --header-h: 66px; }
  .hero { padding-top: calc(var(--header-h) + 2rem); }
}
@media (max-width: 639px) {
  .hero-stage { max-width: 390px; }
  .fc-rating { display: none; }
  .fc-order { top: 12%; right: -1%; }
  .modal { padding: 1.25rem; border-radius: 22px; }
  .site-header .btn-sm { padding: .55rem .95rem; font-size: .82rem; }
  .pill-stat { flex-direction: column; text-align: center; gap: .45rem; padding: .75rem .35rem; }
  .wa-float { right: .8rem; bottom: .8rem; }
  .wa-float a.wa-btn { width: 54px; height: 54px; }
  .wa-tip { display: none; }
  .brand-name { font-size: 1.1rem; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
  .reveal, .fade-up { opacity: 1; transform: none; }
}
