/* =========================================================
   Raisin: the-raisin.com
   Brand: #190B3B deep · #54497C indigo · #E60050 pink · #71888A slate
   Type: Outfit
   ========================================================= */

@font-face { font-family: "Outfit"; src: url("../fonts/outfit-light.woff2") format("woff2"); font-weight: 300; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-regular.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-semibold.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Outfit"; src: url("../fonts/outfit-bold.woff2") format("woff2"); font-weight: 700; font-display: swap; }

:root {
  --bg: #FDFCFF;
  --surface: #FFFFFF;
  --ink: #190B3B;
  --indigo: #54497C;
  --pink: #E60050;
  --pink-600: #C80046;
  --slate: #71888A;
  --line: rgba(25, 11, 59, .10);
  --dark: #190B3B;
  --on-dark: #F3F1FA;
  --on-dark-2: rgba(243, 241, 250, .74);
  --wrap: 1240px;
  --gutter: clamp(16px, 4vw, 40px);
  --round: clamp(28px, 4vw, 56px);
  --ease: cubic-bezier(.2, .7, .2, 1);
  --font: "Outfit", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-weight: 300;
  font-size: 18px;
  line-height: 1.6;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; line-height: 1.05; letter-spacing: -.02em; }
p { margin: 0 0 1em; }
button { font: inherit; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
.skip { position: absolute; left: -9999px; top: 12px; z-index: 100; background: #fff; color: var(--ink); padding: 10px 16px; border-radius: 10px; font-weight: 600; }
.skip:focus { left: 12px; }
:focus-visible { outline: 3px solid var(--pink); outline-offset: 3px; border-radius: 6px; }

.pink { color: var(--pink); }
.ic { width: 1.15em; height: 1.15em; flex: none; }

.eyebrow {
  display: inline-flex; align-items: center; gap: .7em;
  margin: 0 0 1.3rem;
  font-weight: 600; font-size: .82rem; letter-spacing: .16em; text-transform: uppercase;
  color: var(--indigo);
}
.eyebrow::before { content: ""; width: 26px; height: 2px; background: var(--pink); border-radius: 2px; }
.hero .eyebrow::before { display: none; }
.eyebrow-light { color: #C4BCE6; }

.h2 { font-size: clamp(2.3rem, 5.4vw, 4.6rem); letter-spacing: -.035em; line-height: 1; }
.lead { font-size: clamp(1.05rem, 1.35vw, 1.22rem); color: var(--indigo); max-width: 34em; margin-top: 1.4rem; }
.lead-light { color: var(--on-dark-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  height: 56px; padding: 0 1.7em; border-radius: 999px;
  font-family: var(--font); font-weight: 600; font-size: 1rem; line-height: 1;
  text-decoration: none; white-space: nowrap; cursor: pointer;
  border: 1.5px solid transparent;
  transition: transform .35s var(--ease), background-color .25s, color .25s, border-color .25s, box-shadow .35s var(--ease);
}
.btn .ic { transition: transform .35s var(--ease); }
.btn:hover .ic { transform: translateX(4px); }
.btn-pink { background: var(--pink); color: #fff; box-shadow: 0 14px 34px -14px rgba(230, 0, 80, .7); }
.btn-pink:hover { background: var(--pink-600); transform: translateY(-2px); box-shadow: 0 20px 40px -14px rgba(230, 0, 80, .75); }
.btn-ghost { color: var(--ink); border-color: rgba(25, 11, 59, .2); background: rgba(255, 255, 255, .7); }
.btn-ghost:hover { border-color: var(--ink); transform: translateY(-2px); }
.btn-sm { height: 44px; padding: 0 1.25em; font-size: .95rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: .6; cursor: wait; }

/* ---------- Smooth scrolling (Lenis) ---------- */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-stopped { overflow: clip; }
.lenis [data-lenis-prevent] { overscroll-behavior: contain; }

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

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  padding: 14px 0; color: var(--ink);
  transition: background-color .35s, color .35s, box-shadow .35s, padding .35s;
}
.nav { padding-top: calc(14px + env(safe-area-inset-top, 0px)); }
.nav.is-scrolled { padding: calc(10px + env(safe-area-inset-top, 0px)) 0 10px; background: var(--bg); box-shadow: 0 1px 0 var(--line); }
.nav.is-dark { color: #fff; }
.nav.is-dark.is-scrolled { background: var(--dark); box-shadow: 0 1px 0 rgba(255, 255, 255, .08); }
.nav.is-dark .btn-pink { box-shadow: none; }
.nav.menu-open { color: var(--ink); background: transparent; box-shadow: none; }
.nav-inner { display: flex; align-items: center; gap: 32px; }
.nav-logo { display: block; line-height: 0; color: inherit; }
.nav-logo svg { width: 106px; height: 35px; }
.nav-links { display: flex; gap: 30px; margin-left: auto; }
.nav-links a { position: relative; text-decoration: none; font-weight: 400; font-size: .98rem; opacity: .85; transition: opacity .2s; }
.nav-links a::after { content: ""; position: absolute; left: 0; right: 0; bottom: -4px; height: 1.5px; background: var(--pink); transform: scaleX(0); transform-origin: right; transition: transform .35s var(--ease); }
.nav-links a:hover { opacity: 1; }
.nav-links a:hover::after { transform: scaleX(1); transform-origin: left; }

.burger { display: none; }
.menu { position: fixed; inset: 0; z-index: 45; background: var(--bg); padding: 104px var(--gutter) calc(40px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 28px; overflow-y: auto; }
.menu[hidden] { display: none; }
.menu nav a { display: block; padding: 6px 0; font-weight: 700; font-size: clamp(2rem, 9vw, 2.8rem); line-height: 1.15; letter-spacing: -.03em; text-decoration: none; color: var(--ink); }
.menu .btn { align-self: flex-start; }
.menu-mail a { color: var(--indigo); }

@media (max-width: 899px) {
  .nav-links, .nav-cta { display: none; }
  .burger {
    display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 6px;
    margin-left: auto; width: 46px; height: 46px; border-radius: 50%;
    border: 1.5px solid currentColor; background: transparent; color: inherit; cursor: pointer; opacity: .9;
  }
  .burger span { width: 18px; height: 2px; border-radius: 2px; background: currentColor; transition: transform .3s var(--ease); }
  .burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
  .burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }
}

/* =========================================================
   1. HERO
   ========================================================= */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: center; padding: 110px 0 104px; overflow: hidden; text-align: center; }
.hero-glow { position: absolute; inset: 0; pointer-events: none; -webkit-mask-image: linear-gradient(#000 60%, transparent); mask-image: linear-gradient(#000 60%, transparent);
  background:
    radial-gradient(44% 42% at 50% 16%, rgba(230, 0, 80, .09), transparent 70%),
    radial-gradient(36% 40% at 90% 85%, rgba(84, 73, 124, .06), transparent 70%);
}
.hero-inner { position: relative; display: flex; flex-direction: column; align-items: center; }
/* the flat brand R: starts here, then glides into the logo in the top bar */
.hero-mark { position: relative; z-index: 55; width: clamp(68px, 7vw, 104px); margin: 0 auto clamp(26px, 4vh, 42px); transform-origin: 50% 50%; will-change: transform; container-type: inline-size; }
.hero-mark-in { position: relative; display: block; perspective: 620px; }
.hero-mark svg { display: block; width: 100%; height: auto; aspect-ratio: 138.5 / 182.6; }
/* solid 3D R: the flat brand R pushed back into a block (no balloon), gently turning */
.r3d { --tilt: 1; --sway: -16; --mx: 0; --my: 0; --depth: 1;
  position: relative; display: block; transform-style: preserve-3d;
  transform: rotateX(calc(var(--tilt) * (9deg + var(--my) * 1deg))) rotateY(calc(var(--tilt) * (var(--sway) * 1deg + var(--mx) * 1deg))); }
.r3d-face { position: relative; transform: translateZ(.5px); }
.hero-mark .r3d-side { position: absolute; inset: 0; transform: translateZ(calc(var(--i) * var(--depth) * -1.45cqw)); }
.hero-mark .r3d-flat { position: absolute; inset: 0; color: var(--ink); opacity: 0; }
.r3d-shadow { position: absolute; left: 4%; right: 4%; bottom: -16%; height: 14%; border-radius: 50%; background: radial-gradient(closest-side, rgba(25, 11, 59, .22), rgba(25, 11, 59, 0)); }
.hero-copy { position: relative; z-index: 4; width: 100%; }
.pulse { position: relative; width: 9px; height: 9px; border-radius: 50%; background: var(--pink); }
.pulse::after { content: ""; position: absolute; inset: -5px; border-radius: 50%; border: 2px solid var(--pink); opacity: 0; animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0% { transform: scale(.4); opacity: .8; } 100% { transform: scale(1.4); opacity: 0; } }

.hero-title { font-size: clamp(3.2rem, 8.4vw, 8rem); line-height: .95; letter-spacing: -.05em; margin: 0 0 1.8rem; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: .06em; }
.hero-title .line > span { display: inline-block; }
.rotator { position: relative; height: 1.08em; overflow: visible !important; color: var(--pink); }
.rot { position: absolute; left: 50%; translate: -50% 0; top: 0; display: inline-block; white-space: nowrap; opacity: 0; }
.rot.is-on { opacity: 1; }
.swoosh { position: absolute; left: 50%; translate: -50% 0; bottom: -.1em; width: 4.3em; height: .2em; overflow: visible; pointer-events: none; }
.swoosh path { fill: none; stroke: var(--pink); stroke-width: 5; stroke-linecap: round; stroke-dasharray: 1; stroke-dashoffset: 1; animation: draw 1.3s .9s var(--ease) forwards; opacity: .9; }
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-sub { font-size: clamp(1.08rem, 1.45vw, 1.28rem); color: var(--indigo); max-width: 34em; margin: 0 auto 2.2rem; font-weight: 300; }
.hero-ctas { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.hero-services { list-style: none; padding: 0; margin: clamp(30px, 5vh, 52px) 0 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.hero-services a { display: inline-block; padding: 9px 17px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-size: .92rem; font-weight: 400; color: var(--indigo); text-decoration: none; transition: border-color .2s, color .2s, transform .3s var(--ease); }
.hero-services a:hover { border-color: var(--pink); color: var(--ink); transform: translateY(-2px); }

.scroll-cue { position: absolute; left: 50%; bottom: 20px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; gap: 8px; font-size: .72rem; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--indigo); text-decoration: none; z-index: 4; }
.scroll-cue i { width: 1.5px; height: 38px; background: linear-gradient(var(--indigo), transparent); transform-origin: top; animation: cue 2s var(--ease) infinite; }
@keyframes cue { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* hide hero pieces until JS decides how to animate them (safety timeout in <head>) */
.js:not(.ready) .hero-in,
.js:not(.ready) .hero-mark-in { opacity: 0; }

@media (max-width: 899px) {
  .hero { min-height: 92vh; min-height: 92svh; padding: 96px 0 64px; }
  .hero-ctas .btn { flex: 1 1 auto; }
  .scroll-cue { display: none; }
}

/* =========================================================
   2. INTRO
   ========================================================= */
.intro { padding: clamp(110px, 18vh, 220px) 0 clamp(120px, 20vh, 240px); }
.intro-text { font-size: clamp(1.75rem, 4.1vw, 3.6rem); font-weight: 600; line-height: 1.16; letter-spacing: -.03em; margin: 0; max-width: 21em; }
.intro-text em { font-style: normal; color: var(--pink); }

/* =========================================================
   3. SERVICES (dark, pinned)
   ========================================================= */
.services { position: relative; z-index: 1; color: var(--on-dark); }
.services-shell { position: relative; background: var(--dark); border-radius: var(--round) var(--round) 0 0; overflow: hidden; padding-top: clamp(90px, 13vh, 150px); padding-bottom: 60px; }
.services-shell::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(40% 35% at 90% 8%, rgba(230, 0, 80, .16), transparent 70%); }
.services-head, .svc-pin { position: relative; z-index: 1; }
.services-head .h2 { color: #fff; max-width: 12em; }

.svc-pin { height: 100vh; height: 100svh; display: flex; flex-direction: column; justify-content: center; padding-top: 72px; }
.svc-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: clamp(32px, 5vw, 80px); align-items: center; }
.svc-steps { position: relative; min-height: 360px; }
.svc-step { position: absolute; inset: 0 0 auto 0; opacity: 0; will-change: transform, opacity; }
.svc-step.is-on { opacity: 1; }
.svc-num { display: block; font-weight: 600; font-size: .85rem; letter-spacing: .18em; color: #FF4D8A; }
.svc-step h3 { font-size: clamp(2.1rem, 3.8vw, 3.4rem); letter-spacing: -.035em; color: #fff; margin: .5rem 0 1rem; }
.svc-lead { font-weight: 600; font-size: clamp(1.1rem, 1.5vw, 1.3rem); color: #fff; margin: 0 0 .5rem; }
.svc-step p { color: var(--on-dark-2); max-width: 28em; }
.svc-step p:not(.svc-lead) { margin-bottom: 1.4rem; }
.tags { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tags li { padding: 6px 14px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .2); font-size: .85rem; font-weight: 400; color: #E6E2F5; }
.tags-dark li { border-color: var(--line); color: var(--indigo); background: var(--bg); }

.svc-stage { position: relative; width: 100%; aspect-ratio: 16 / 11; }
.scene { position: absolute; inset: 0; opacity: 0; visibility: hidden; will-change: transform, opacity; }
.scene:not(.is-on) .hub-lines line { animation-play-state: paused; }
.scene.is-on { opacity: 1; visibility: visible; }

/* Browser frame */
.browser { position: absolute; inset: 3% 0; display: flex; flex-direction: column; overflow: hidden; background: #fff; color: var(--ink); border-radius: 18px; box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .08); container-type: inline-size; }
.browser-bar { flex: none; height: 38px; display: flex; align-items: center; gap: 7px; padding: 0 14px; background: #EFEDF6; border-bottom: 1px solid var(--line); }
.browser-bar i { width: 11px; height: 11px; border-radius: 50%; background: #F0788F; }
.browser-bar i:nth-child(2) { background: #F5C26B; }
.browser-bar i:nth-child(3) { background: #8BCF9B; }
.url { margin: 0 auto; transform: translateX(-20px); padding: 4px 36px; border-radius: 8px; background: #fff; font-size: 12px; font-weight: 400; color: var(--indigo); }
.browser-body { flex: 1; min-height: 0; position: relative; overflow: hidden; }

/* Mock: website */
.mock-site { padding: 3.6cqw 5cqw; }
.ms-nav { display: flex; align-items: center; gap: 3cqw; margin-bottom: 4.6cqw; }
.ms-nav b { width: 10cqw; height: 2.4cqw; border-radius: 1cqw; background: var(--ink); }
.ms-nav span { width: 6cqw; height: 1.2cqw; border-radius: 1cqw; background: #DDD8EC; }
.ms-nav span:first-of-type { margin-left: auto; }
.ms-nav em { width: 11cqw; height: 3.8cqw; border-radius: 2cqw; background: var(--pink); }
.ms-hero { display: grid; grid-template-columns: 1.1fr .9fr; gap: 4cqw; align-items: center; }
.sk { height: 1.3cqw; margin-bottom: 1.3cqw; border-radius: 1cqw; background: #E6E2F1; }
.sk-h { height: 3.8cqw; margin-bottom: 1.6cqw; background: var(--ink); }
.sk-70 { width: 70%; } .sk-80 { width: 80%; }
.ms-copy em { display: inline-block; margin-top: 2cqw; padding: 1.5cqw 3.2cqw; border-radius: 3cqw; background: var(--pink); color: #fff; font-style: normal; font-weight: 600; font-size: 1.7cqw; }
.ms-img { aspect-ratio: 1.1; border-radius: 3cqw; background: linear-gradient(135deg, #FFE6EF, #EFEAFF); display: grid; place-items: center; overflow: hidden; color: var(--pink); }
.ms-img svg { width: 32%; height: auto; aspect-ratio: 138.5 / 182.6; }
.ms-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.4cqw; margin-top: 4.4cqw; }
.ms-cards div { height: 13cqw; border-radius: 2cqw; background: #F4F2FA; border: 1px solid var(--line); }

.chip-float { position: absolute; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: .9rem; white-space: nowrap; box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .55); }
.chip-float .ic { color: var(--pink); }
.cf1 { left: -5%; top: 26%; } .cf2 { right: -4%; top: 48%; } .cf3 { left: 10%; bottom: -1%; }

/* Mock: dashboard */
.mock-dash { display: grid; grid-template-columns: 15cqw 1fr; }
.mock-dash aside { background: var(--ink); padding: 3cqw 2.4cqw; display: flex; flex-direction: column; gap: 2.2cqw; }
.mock-dash aside b { width: 5cqw; height: 5cqw; border-radius: 1.4cqw; background: var(--pink); margin-bottom: 1.6cqw; }
.mock-dash aside span { height: 1.3cqw; border-radius: 1cqw; background: rgba(255, 255, 255, .2); }
.mock-dash aside span.on { background: #fff; }
.md-main { background: #F7F6FB; padding: 3cqw; display: flex; flex-direction: column; gap: 2.2cqw; min-height: 0; }
.md-top { display: flex; justify-content: space-between; align-items: center; }
.md-top strong { font-size: 2.6cqw; font-weight: 700; }
.md-top i { width: 4.2cqw; height: 4.2cqw; border-radius: 50%; background: linear-gradient(135deg, var(--pink), var(--indigo)); }
.md-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2cqw; }
.md-kpis div { display: flex; flex-direction: column; padding: 2cqw 2.2cqw; border-radius: 1.6cqw; background: #fff; border: 1px solid var(--line); }
.md-kpis small { font-size: 1.35cqw; color: var(--indigo); font-weight: 400; }
.md-kpis strong { font-size: 3cqw; font-weight: 700; line-height: 1.25; }
.md-kpis em { font-style: normal; font-size: 1.3cqw; font-weight: 600; color: #1C9A5B; }
.md-chart { flex: 1; min-height: 0; display: flex; align-items: flex-end; gap: 1.4cqw; padding: 2.4cqw; border-radius: 1.6cqw; background: #fff; border: 1px solid var(--line); }
.md-chart span { flex: 1; height: var(--h); border-radius: .8cqw .8cqw .3cqw .3cqw; background: #D9D3EE; transform-origin: bottom; }
.md-chart span.hi { background: var(--pink); }
.md-rows div { height: 2.2cqw; margin-bottom: 1cqw; border-radius: 1cqw; background: #ECE9F5; }
.md-rows div:nth-child(2) { width: 86%; } .md-rows div:nth-child(3) { width: 64%; margin-bottom: 0; }

/* Mock: phones */
.phone { position: absolute; width: 30%; aspect-ratio: 9 / 19; padding: 1.6%; border-radius: 13% / 6.2%; background: #0E0726; box-shadow: 0 34px 60px -24px rgba(0, 0, 0, .75), inset 0 0 0 1.5px rgba(255, 255, 255, .15); container-type: inline-size; }
.p1 { left: 19%; top: 2%; rotate: -6deg; z-index: 2; }
.p2 { left: 50%; top: 6%; rotate: 5deg; }
.phone-screen { width: 100%; height: 100%; overflow: hidden; display: flex; flex-direction: column; gap: 4cqw; padding: 8cqw 7cqw 6cqw; border-radius: 11.5% / 5.4%; background: #fff; color: var(--ink); }
.ph-status { display: flex; justify-content: space-between; align-items: center; font-weight: 600; font-size: 4.6cqw; }
.ph-status i { width: 14cqw; height: 4cqw; border-radius: 2cqw; background: var(--ink); }
.ph-title { font-weight: 700; font-size: 9cqw; line-height: 1.1; letter-spacing: -.02em; }
.ph-search { padding: 3.4cqw 4cqw; border-radius: 4cqw; background: #F1EFF8; font-size: 4.4cqw; color: #8A83A8; font-weight: 400; }
.ph-chips { display: flex; gap: 2cqw; }
.ph-chips span { padding: 1.6cqw 3.4cqw; border-radius: 99px; background: #F1EFF8; font-size: 4cqw; font-weight: 400; color: var(--indigo); }
.ph-chips span.on { background: var(--ink); color: #fff; }
.ph-card { display: flex; align-items: center; gap: 3.4cqw; padding: 3cqw; border-radius: 5cqw; background: #F8F7FC; }
.ph-img { flex: none; width: 22cqw; aspect-ratio: 1; border-radius: 4cqw; }
.g1 { background: linear-gradient(135deg, #54497C, #E60050); }
.g2 { background: linear-gradient(135deg, #71888A, #C9D6D7); }
.ph-card b { display: block; font-weight: 600; font-size: 4.8cqw; line-height: 1.2; }
.ph-card small { font-size: 4.2cqw; font-weight: 600; color: var(--pink); }
.ph-tabs { margin-top: auto; display: flex; justify-content: space-around; padding-top: 3.4cqw; border-top: 1px solid var(--line); }
.ph-tabs i { width: 6cqw; height: 6cqw; border-radius: 2cqw; background: #DCD7EC; }
.ph-tabs i.on { background: var(--pink); }
.app-done { align-items: center; text-align: center; }
.app-done .ph-status { align-self: stretch; }
.ph-check { width: 26cqw; height: 26cqw; margin-top: 8cqw; border-radius: 50%; display: grid; place-items: center; background: var(--pink); box-shadow: 0 0 0 5cqw rgba(230, 0, 80, .12); color: #fff; }
.ph-check svg { width: 13cqw; height: 13cqw; }
.app-done > strong { margin-top: 4cqw; font-size: 7.4cqw; line-height: 1.1; font-weight: 700; }
.app-done > small { font-size: 4.4cqw; color: var(--indigo); }
.ph-rows { width: 100%; margin-top: 2cqw; padding: 1cqw 5cqw; border-radius: 5cqw; background: #F8F7FC; }
.ph-rows div { display: flex; justify-content: space-between; padding: 2.6cqw 0; font-size: 4.3cqw; border-bottom: 1px solid var(--line); }
.ph-rows div:last-child { border-bottom: 0; }
.ph-rows span { color: var(--indigo); font-weight: 400; }
.ph-rows b { font-weight: 600; }
.app-done > em { margin-top: auto; width: 100%; padding: 4cqw 0; border-radius: 99px; background: var(--ink); color: #fff; font-style: normal; font-weight: 600; font-size: 4.8cqw; }

/* Mock: integrations hub */
.hub-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hub-lines line { stroke: rgba(255, 255, 255, .3); stroke-width: 1.5; vector-effect: non-scaling-stroke; stroke-dasharray: 4 7; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -22; } }
.hub-core { position: absolute; left: 50%; top: 50%; width: 25%; aspect-ratio: 1; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6%; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 32% 28%, #FF4583, var(--pink) 48%, #A6003B);
  box-shadow: 0 0 0 14px rgba(230, 0, 80, .14), 0 0 0 30px rgba(230, 0, 80, .06), 0 30px 60px rgba(0, 0, 0, .45); }
.hub-core svg { width: 24%; aspect-ratio: 138.5 / 182.6; height: auto; }
.hub-core span { font-weight: 600; font-size: clamp(.68rem, 1vw, .95rem); }
.node { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); }
.node > span { display: flex; align-items: center; gap: .5em; padding: .62em 1.1em; border-radius: 999px; background: #fff; color: var(--ink); font-weight: 600; font-size: clamp(.74rem, 1.1vw, 1rem); white-space: nowrap; box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .55); }
.node .ic { color: var(--pink); }

/* progress dots */
.svc-dots { display: flex; gap: clamp(12px, 2.4vw, 28px); margin-top: clamp(24px, 5vh, 56px); }
.svc-dots button { flex: 1; max-width: 170px; display: flex; flex-direction: column; gap: 10px; padding: 10px 0; margin: -10px 0; border: 0; background: none; text-align: left; cursor: pointer; font-family: var(--font); font-size: .85rem; font-weight: 400; color: rgba(255, 255, 255, .5); transition: color .3s; }
.svc-dots button:hover { color: rgba(255, 255, 255, .85); }
.svc-dots button.is-on { color: #fff; }
.svc-dots i { display: block; width: 100%; position: relative; height: 2px; border-radius: 2px; overflow: hidden; background: rgba(255, 255, 255, .15); }
.svc-dots i::after { content: ""; position: absolute; inset: 0; background: var(--pink); transform-origin: left; transform: scaleX(var(--p, 0)); }

/* phones and touch tablets (iPad): a simple list, no pinned section */
@media (max-width: 899px), (hover: none), (pointer: coarse) {
  .svc-pin { height: auto; display: block; padding: 8px 0 32px; }
  .svc-grid { display: flex; flex-direction: column; gap: 0; }
  html .services .svc-steps, html .services .svc-stage { display: contents; }
  .svc-step { position: static; opacity: 1; margin: 20px 0 64px; }
  .svc-steps .svc-step:last-child { margin-bottom: 8px; }
  .scene { position: relative; inset: auto; width: 100%; aspect-ratio: 16 / 11; opacity: 1; visibility: visible; }
  .svc-stage .scene:nth-child(1) { order: 0; } .svc-steps .svc-step:nth-child(1) { order: 1; }
  .svc-stage .scene:nth-child(2) { order: 2; } .svc-steps .svc-step:nth-child(2) { order: 3; }
  .svc-stage .scene:nth-child(3) { order: 4; } .svc-steps .svc-step:nth-child(3) { order: 5; }
  .svc-stage .scene:nth-child(4) { order: 6; } .svc-steps .svc-step:nth-child(4) { order: 7; }
  .svc-dots { display: none; }
  .svc-step h3 { font-size: clamp(1.7rem, 7vw, 2.2rem); margin: .3rem 0 .6rem; }
  .svc-lead { font-size: 1.05rem; }
  .svc-step p { font-size: 1rem; }
  .svc-step p:not(.svc-lead) { margin-bottom: 1rem; }
  .tags li { font-size: .78rem; padding: 5px 11px; }
  .browser { border-radius: 12px; }
  .browser-bar { height: 26px; gap: 5px; padding: 0 10px; }
  .browser-bar i { width: 8px; height: 8px; }
  .url { font-size: 9px; padding: 2px 18px; }
  .chip-float { font-size: .72rem; padding: 7px 11px; gap: 5px; }
  .cf1 { left: -2%; } .cf2 { right: -2%; } .cf3 { display: none; }
  .hub-core { box-shadow: 0 0 0 8px rgba(230, 0, 80, .14), 0 0 0 18px rgba(230, 0, 80, .06), 0 20px 40px rgba(0, 0, 0, .45); }
}

/* =========================================================
   4. MARQUEE
   ========================================================= */
.marquee { position: relative; z-index: 2; margin-top: calc(var(--round) * -1); padding: clamp(90px, 13vh, 150px) 0; border-radius: var(--round) var(--round) 0 0; background: var(--bg); overflow: hidden; }
.mq-row { display: flex; align-items: center; gap: .35em; width: max-content; white-space: nowrap; font-weight: 700; font-size: clamp(3.2rem, 9vw, 8.6rem); line-height: 1.05; letter-spacing: -.04em; color: var(--ink); will-change: transform; }
.mq-row .o { color: #CBC3E6; }
.mq-row svg { flex: none; width: auto; height: .6em; aspect-ratio: 138.5 / 182.6; color: var(--pink); }
.mq-b { margin-top: .12em; transform: translateX(-30%); }

/* =========================================================
   5. WORK
   ========================================================= */
.work { position: relative; }
.work-pin { min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column; justify-content: center; gap: clamp(28px, 5vh, 56px); padding: 96px 0 48px; overflow: hidden; overflow: clip; }
.work-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; }
.work-head .h2 { max-width: 10em; }
.work-note .touch { display: none; }
.work-note { display: flex; align-items: center; gap: 8px; margin: 0; color: var(--indigo); font-weight: 400; }
.work-track { display: flex; gap: clamp(16px, 2vw, 28px); width: max-content; padding-inline: max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))); will-change: transform; }
.case { flex: none; width: clamp(290px, 33vw, 470px); display: flex; flex-direction: column; overflow: hidden; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: 0 40px 70px -50px rgba(25, 11, 59, .45); text-decoration: none; color: var(--ink); }
.case-media { position: relative; aspect-ratio: 4 / 3; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.c-pink .case-media { background: linear-gradient(140deg, #FF4A86, #E60050 55%, #9C0040); }
.c-indigo .case-media { background: linear-gradient(140deg, #9489C8, #54497C 60%, #2E2560); }
.c-slate .case-media { background: linear-gradient(140deg, #B3C6C7, #71888A 60%, #4B5F61); }
.c-deep .case-media { background: linear-gradient(140deg, #4B3C8C, #190B3B 72%); }
.case-body { padding: 22px 26px 28px; }
.case-body h3 { font-size: clamp(1.3rem, 1.8vw, 1.6rem); margin: 14px 0 8px; letter-spacing: -.02em; }
.case-body p { margin: 0; font-size: 1rem; color: var(--indigo); }
.case:not(.case-cta) .case-media > * { transition: transform .6s var(--ease); }
.case:hover .case-media > * { transform: translateY(-6px) scale(1.02); }

.mini-phone { align-self: flex-end; width: 40%; aspect-ratio: 9 / 16; margin-bottom: -18%; padding: 16px 12px; display: flex; flex-direction: column; gap: 8px; border: 6px solid #0E0726; border-bottom: 0; border-radius: 28px 28px 0 0; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); container-type: inline-size; }
.mini-phone .ph-status { font-size: 5cqw; }
.mini-browser { width: 84%; aspect-ratio: 16 / 10.5; display: flex; flex-direction: column; overflow: hidden; border-radius: 12px; background: #fff; box-shadow: 0 30px 60px -20px rgba(0, 0, 0, .5); container-type: inline-size; }
.mini-browser .browser-bar { height: 22px; gap: 5px; padding: 0 10px; }
.mini-browser .browser-bar i { width: 8px; height: 8px; }
.mb-shop { flex: 1; display: grid; grid-template-columns: repeat(3, 1fr); gap: 3cqw; padding: 4cqw; }
.mb-shop span { border-radius: 2.4cqw; background: linear-gradient(160deg, #EEEAF8, #DCD6EE); }
.mb-shop span:nth-child(2), .mb-shop span:nth-child(6) { background: linear-gradient(160deg, #FDE3EC, #F7C2D5); }
.mb-cal { flex: 1; display: grid; grid-template-columns: repeat(5, 1fr); gap: 2.2cqw; padding: 4cqw; }
.mb-cal b { border-radius: 1.8cqw; background: #EEF2F2; }
.mb-cal b.on { background: var(--pink); }
.mb-chart { flex: 1; display: flex; align-items: flex-end; gap: 3cqw; padding: 5cqw 6cqw 0; }
.mb-chart span { flex: 1; height: var(--h); border-radius: 1.6cqw 1.6cqw 0 0; background: linear-gradient(var(--pink), var(--indigo)); }

.case-cta { justify-content: center; gap: 24px; padding: 40px; background: var(--ink); color: #fff; border: 0; }
.case-cta h3 { font-size: clamp(1.9rem, 2.8vw, 2.6rem); line-height: 1.05; letter-spacing: -.03em; max-width: 8em; }
.case-cta .btn { align-self: flex-start; }
.cta-r svg { width: 52px; height: 69px; color: var(--pink); }

@media (max-width: 899px) {
  .work-pin { min-height: 0; padding: 40px 0 90px; }
  .work-head { flex-direction: column; align-items: flex-start; }
  .work-note { display: none; }
  .work-track { width: auto; flex-direction: column; gap: 18px; padding-inline: var(--gutter); }
  .case { width: 100%; }
  .case-media { aspect-ratio: 16 / 10; }
  .case-cta { padding: 34px 28px; }
}
/* list layout on bigger touch screens: keep pictures a sensible size */
@media (min-width: 600px) and (max-width: 899px) {
  .svc-grid { max-width: 700px; }
}
@media (min-width: 900px) and (hover: none), (min-width: 900px) and (pointer: coarse) {
  .svc-grid { display: grid; grid-template-columns: 1.1fr .9fr; column-gap: clamp(32px, 5vw, 64px); row-gap: 80px; align-items: center; }
  .svc-step { margin: 0; }
  .svc-steps .svc-step:last-child { margin-bottom: 0; }
}
/* touch tablets in landscape (iPad): swipe the cards natively instead of a pinned sideways scroll */
@media (min-width: 900px) and (hover: none), (min-width: 900px) and (pointer: coarse) {
  .work-pin { min-height: 0; padding: 60px 0 100px; }
  .work-note .mouse { display: none; }
  .work-note .touch { display: inline; }
  .work-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; scroll-padding-inline: var(--gutter); padding-bottom: 14px; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
  .work-track::-webkit-scrollbar { display: none; }
  .case { scroll-snap-align: start; }
}

/* =========================================================
   6. WHY
   ========================================================= */
.why { padding: clamp(100px, 16vh, 180px) 0; }
.why-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.why-head { position: sticky; top: 120px; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.why-card { padding: 32px 28px; border-radius: 26px; background: #fff; border: 1px solid var(--line); transition: transform .4s var(--ease), box-shadow .4s var(--ease); }
.why-card:nth-child(even) { margin-top: 56px; }
.why-card:hover { transform: translateY(-5px); box-shadow: 0 40px 70px -40px rgba(25, 11, 59, .4); }
.why-ic { width: 54px; height: 54px; margin-bottom: 24px; display: grid; place-items: center; border-radius: 17px; color: var(--pink); background: linear-gradient(135deg, rgba(230, 0, 80, .12), rgba(84, 73, 124, .14)); }
.why-ic .ic { width: 25px; height: 25px; }
.why-card h3 { font-size: 1.35rem; letter-spacing: -.02em; margin: 0 0 10px; }
.why-card p { margin: 0; font-size: 1rem; color: var(--indigo); }

@media (max-width: 899px) {
  .why-grid { grid-template-columns: 1fr; }
  .why-head { position: static; }
  }
@media (max-width: 599px) {
  .why-cards { grid-template-columns: 1fr; gap: 14px; }
  .why-card:nth-child(even) { margin-top: 0; }
  .why-card { padding: 26px 24px; }
}

/* =========================================================
   7. PROCESS
   ========================================================= */
.process { padding: 0 0 clamp(130px, 20vh, 220px); }
.process-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.process-head { position: sticky; top: 120px; }
.tools { list-style: none; padding: 0; margin: 28px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.tools li { padding: 8px 16px; border-radius: 999px; background: #fff; border: 1px solid var(--line); font-size: .9rem; font-weight: 400; }
.timeline { position: relative; list-style: none; margin: 0; padding: 8px 0 0; }
.tl-line { position: absolute; left: 23px; top: 18px; bottom: 60px; width: 2px; background: rgba(25, 11, 59, .12); border-radius: 2px; }
.tl-line span { position: absolute; inset: 0; background: linear-gradient(var(--pink), var(--indigo)); transform-origin: top; }
.anim .tl-line span { transform: scaleY(0); }
.step { position: relative; padding: 0 0 clamp(52px, 9vh, 88px) 80px; }
.step:last-child { padding-bottom: 0; }
.step-dot { position: absolute; left: 12px; top: 6px; width: 24px; height: 24px; border-radius: 50%; background: var(--bg); border: 2px solid #CBC4E2; transition: background-color .4s, border-color .4s, box-shadow .4s; }
.step-num { font-weight: 600; font-size: .85rem; letter-spacing: .16em; color: var(--pink-600); }
.step h3 { font-size: clamp(1.6rem, 2.7vw, 2.3rem); letter-spacing: -.03em; margin: 6px 0 10px; }
.step p { margin: 0; color: var(--indigo); max-width: 30em; }
.anim .step { opacity: .35; transition: opacity .5s var(--ease); }
.anim .step.is-on { opacity: 1; }
.step.is-on .step-dot, .no-js .step-dot, .reduced .step-dot { background: var(--pink); border-color: var(--pink); box-shadow: 0 0 0 6px rgba(230, 0, 80, .15); }

@media (max-width: 899px) {
  .process-grid { grid-template-columns: 1fr; }
  .process-head { position: static; }
  .step { padding-left: 64px; }
  .tl-line { left: 15px; }
  .step-dot { left: 4px; }
}

/* =========================================================
   8. CONTACT + FOOTER
   ========================================================= */
.contact { position: relative; overflow: hidden; background: var(--dark); color: var(--on-dark); border-radius: var(--round) var(--round) 0 0; padding-top: clamp(96px, 15vh, 170px); }
.contact::before { content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(45% 55% at 88% 6%, rgba(230, 0, 80, .2), transparent 70%); }
.contact-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 6vw, 96px); align-items: start; padding-bottom: clamp(90px, 14vh, 150px); }
.contact .h2 { color: #fff; }
.contact-ways { list-style: none; padding: 0; margin: 36px 0 0; display: grid; gap: 16px; }
.contact-ways li { display: flex; align-items: center; gap: 12px; color: var(--on-dark-2); }
.contact-ways li[hidden] { display: none; }
.contact-ways .ic { width: 22px; height: 22px; color: var(--pink); }
.contact-ways a { color: #fff; text-decoration: none; border-bottom: 1px solid rgba(255, 255, 255, .3); transition: border-color .2s; }
.contact-ways a:hover { border-color: var(--pink); }

.form { display: grid; gap: 18px; padding: clamp(22px, 3vw, 38px); border-radius: 28px; background: #fff; color: var(--ink); box-shadow: 0 70px 120px -50px rgba(0, 0, 0, .7); }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.field { display: grid; gap: 8px; min-width: 0; margin: 0; padding: 0; border: 0; }
.field > span, .field legend { padding: 0; font-weight: 600; font-size: .9rem; color: var(--ink); }
.field em { font-style: normal; font-weight: 300; color: var(--indigo); }
.form input, .form select, .form textarea {
  width: 100%; padding: 14px 16px; border-radius: 14px; border: 1.5px solid #8E86AD; background: #F7F6FB;
  font-family: var(--font); font-weight: 400; font-size: 1rem; color: var(--ink);
  -webkit-appearance: none; appearance: none; transition: border-color .2s, background-color .2s;
}
.form input::placeholder, .form textarea::placeholder { color: #9A94B5; }
.form input:focus, .form select:focus, .form textarea:focus { outline: none; border-color: var(--pink); background: #fff; }
.form select { padding-right: 44px; cursor: pointer; background-repeat: no-repeat; background-position: right 16px center; background-size: 14px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2354497C' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.form textarea { resize: vertical; min-height: 120px; }
.field.invalid input, .field.invalid textarea { border-color: var(--pink); background: #FFF5F8; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pills label { position: relative; }
.pills input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; padding: 0; opacity: 0; cursor: pointer; }
.pills span { display: inline-block; padding: 10px 16px; border-radius: 999px; border: 1.5px solid #8E86AD; font-size: .92rem; font-weight: 400; transition: background-color .2s, color .2s, border-color .2s; }
.pills label:hover span { border-color: var(--indigo); }
.pills input:checked + span { background: var(--ink); border-color: var(--ink); color: #fff; }
.pills input:focus-visible + span { outline: 3px solid var(--pink); outline-offset: 2px; }
.form-note { margin: 0; font-size: .82rem; color: var(--indigo); }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.form-status { margin: 0; min-height: 1.4em; font-size: .95rem; font-weight: 400; }
.form-status.ok { color: #127A46; }
.form-status.err { color: var(--pink-600); }

.footer { position: relative; z-index: 1; background: var(--dark); color: var(--on-dark); border-top: 1px solid rgba(255, 255, 255, .1); padding: 34px 0 calc(34px + env(safe-area-inset-bottom)); }
.footer-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 20px 32px; }
.footer-logo { line-height: 0; color: #fff; }
.footer-logo svg { width: 100px; height: 33px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 10px 24px; margin-left: auto; }
.footer-links a { color: var(--on-dark-2); text-decoration: none; font-size: .95rem; font-weight: 400; transition: color .2s; }
.footer-links a:hover { color: #fff; }
.footer-copy { width: 100%; margin: 0; font-size: .85rem; color: rgba(243, 241, 250, .5); }

@media (max-width: 899px) {
  .contact-grid { grid-template-columns: 1fr; }
}
@media (max-width: 599px) {
  body { font-size: 17px; }
  .field-row { grid-template-columns: 1fr; }
  .footer-links { margin-left: 0; }
}

/* pause looping decorations in sections that are off screen */
.anim :is(.hero, .services, .contact):not(.in-view) *,
.anim :is(.hero, .services, .contact):not(.in-view) *::after { animation-play-state: paused !important; }
.no-js .burger { display: none; }

/* ---------- WhatsApp float ---------- */
.wa-float { position: fixed; right: 18px; bottom: calc(18px + env(safe-area-inset-bottom)); z-index: 40; width: 58px; height: 58px; display: grid; place-items: center; border-radius: 50%; background: #25D366; color: #fff; box-shadow: 0 16px 32px -10px rgba(0, 0, 0, .4); opacity: 0; transform: translateY(20px) scale(.8); pointer-events: none; transition: opacity .35s, transform .35s var(--ease); }
.wa-float.show { opacity: 1; transform: none; pointer-events: auto; }
.wa-float[hidden] { display: none; }
.wa-float svg { width: 30px; height: 30px; }

/* =========================================================
   Static fallback: no JavaScript, or "reduce motion" turned on
   ========================================================= */
.no-js .svc-pin, .reduced .svc-pin { height: auto; padding: 24px 0 40px; }
.no-js .svc-grid, .reduced .svc-grid { grid-template-columns: 1fr; }
.no-js .svc-steps, .reduced .svc-steps { min-height: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 48px 40px; }
.no-js .svc-step, .reduced .svc-step { position: static; opacity: 1; visibility: visible; }
.no-js .svc-stage, .reduced .svc-stage, .no-js .svc-dots, .reduced .svc-dots { display: none; }
.no-js .work-pin, .reduced .work-pin { min-height: 0; }
.no-js .work-track, .reduced .work-track { width: auto; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 14px; }
.no-js .case, .reduced .case { scroll-snap-align: start; }
.no-js .swoosh path, .reduced .swoosh path { stroke-dashoffset: 0; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  .swoosh path { stroke-dashoffset: 0; }
}
