:root {
  --blue: #3b82f6;
  --blue-d: #2563eb;
  --blue-dd: #1d4ed8;
  --teal: #14b8a6;
  --teal-d: #0d9488;
  --navy: #1e293b;
  --navy-2: #334155;
  --tint: #eff6ff;
  --soft: #f8fafc;
  --body: #475569;
  --muted: #94a3b8;
  --line: #e2e8f0;
  --bg: #ffffff;
  --bg-2: #f8fafc;
  --ok: #22c55e;
  --shadow: 0 22px 60px -22px rgba(30, 41, 59, 0.28);
  --shadow-sm: 0 10px 30px -14px rgba(30, 41, 59, 0.2);
  --r: 18px;
  --r-lg: 26px;
  --r-pill: 999px;
  --maxw: 1180px;
  /* inprogress */
  --ip-color: #ea580c;
  --ip-bg: #fff7ed;
  --ip-border: #fed7aa;
  --ip-card-bg: #fefcf9;
  --ip-shadow: rgba(234, 88, 12, 0.12);
  --ip-shadow-hover: rgba(234, 88, 12, 0.18);
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Assistant", system-ui, Arial, sans-serif;
  color: var(--body);
  background: var(--bg);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
h1,
h2,
h3,
h4 {
  font-family: "Rubik", system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.2;
  font-weight: 800;
}
a {
  color: inherit;
  text-decoration: none;
}
img,
svg {
  display: block;
  max-width: 100%;
}
.wrap {
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 22px;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--blue);
  background: var(--tint);
  padding: 7px 16px;
  border-radius: var(--r-pill);
}
.sec-head {
  max-width: 680px;
  margin-bottom: 48px;
}
.sec-head.center {
  margin-inline: auto;
  text-align: center;
}
.sec-head h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  margin: 16px 0 14px;
}
.sec-head p {
  font-size: 1.08rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: "Rubik", sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: var(--r-pill);
  border: none;
  cursor: pointer;
  transition:
    transform 0.2s,
    box-shadow 0.2s,
    background 0.2s,
    color 0.2s;
  white-space: nowrap;
}
.btn svg {
  width: 18px;
  height: 18px;
}
.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: 0 14px 30px -12px rgba(59, 130, 246, 0.65);
}
.btn-primary:hover {
  background: var(--blue-d);
  transform: translateY(-2px);
}
.btn-ghost {
  background: #fff;
  color: var(--navy);
  border: 1.5px solid var(--line);
}
.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue-d);
  transform: translateY(-2px);
}

.topbar {
  background: var(--navy);
  color: var(--muted);
  font-size: 0.86rem;
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  height: 40px;
}
.topbar a {
  color: var(--muted);
  transition: color 0.2s;
}
.topbar a:hover {
  color: #fff;
}
.topbar .ti {
  display: flex;
  align-items: center;
  gap: 22px;
}
.topbar .ti span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}
.topbar svg {
  width: 15px;
  height: 15px;
  color: var(--teal);
}
.topbar .lang {
  display: flex;
  gap: 4px;
  align-items: center;
}
.topbar .lang a {
  padding: 2px 9px;
  border-radius: 7px;
  font-weight: 600;
  cursor: pointer;
}
.topbar .lang a.on {
  background: rgba(255, 255, 255, 0.14);
  color: #fff;
}
@media (max-width: 680px) {
  .topbar .ti span.hsm {
    display: none;
  }
}

header.site {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow 0.3s;
}
header.site.scrolled {
  box-shadow: 0 6px 26px -18px rgba(30, 41, 59, 0.4);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 18px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
}
.brand .lm {
  width: 44px;
  height: 44px;
  flex: none;
}
.brand .lt {
  font-family: "Rubik", sans-serif;
  font-weight: 800;
  font-size: 1.5rem;
  color: var(--navy);
  letter-spacing: -0.01em;
}
.brand .lt b {
  color: var(--blue);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
}
.nav-links a {
  font-weight: 600;
  font-size: 1rem;
  color: var(--navy-2);
  transition: color 0.2s;
}
.nav-links a:hover {
  color: var(--blue);
}
.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.burger span {
  width: 26px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 3px;
}
@media (max-width: 980px) {
  .nav-links,
  .nav-actions .btn {
    display: none;
  }
  .burger {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: #fff;
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.5, 0, 0.1, 1);
  display: flex;
  flex-direction: column;
  padding: 22px;
  visibility: hidden;
}
.mobile-menu.open {
  transform: translateX(0);
  visibility: visible;
}
.mm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 28px;
}
.mm-close {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--navy);
}
.mm-close svg {
  width: 30px;
  height: 30px;
}
.mobile-menu nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.mobile-menu nav a {
  font-family: "Rubik", sans-serif;
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--navy);
  padding: 13px 6px;
  border-bottom: 1px solid var(--line);
}
.mobile-menu .btn {
  margin-top: 24px;
}

.hero {
  position: relative;
  background:
    radial-gradient(1100px 540px at 88% -10%, var(--tint), transparent 60%),
    linear-gradient(180deg, #fff, var(--bg-2));
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  top: -140px;
  inset-inline-end: -120px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(20, 184, 166, 0.12),
    transparent 70%
  );
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 48px;
  align-items: center;
  padding-block: 64px 78px;
  position: relative;
}
.hero h1 {
  font-size: clamp(2.1rem, 5.2vw, 3.5rem);
  font-weight: 900;
  margin: 20px 0 18px;
  letter-spacing: -0.01em;
}
.hero h1 .hl {
  background: linear-gradient(90deg, var(--blue), var(--teal));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero .lead {
  font-size: 1.16rem;
  max-width: 520px;
  margin-bottom: 28px;
}
.hero .cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-trust {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  margin-top: 26px;
  font-weight: 600;
  color: var(--navy-2);
  font-size: 0.95rem;
}
.hero-trust span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.hero-trust svg {
  width: 18px;
  height: 18px;
  color: var(--blue);
}
@media (max-width: 980px) {
  .hero .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
    text-align: center;
    padding-block: 46px 56px;
  }
  .hero .lead {
    margin-inline: auto;
  }
  .hero .cta-row,
  .hero-trust {
    justify-content: center;
  }
  .hero-art {
    max-width: 480px;
    margin-inline: auto;
    order: -1;
  }
}

.clients {
  padding-block: 46px;
  background: #fff;
  border-bottom: 1px solid var(--line);
}
.clients .ttl {
  text-align: center;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 26px;
  font-size: 0.96rem;
}
.client-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px 50px;
}
.client-row svg {
  height: 30px;
  width: auto;
  opacity: 0.62;
  transition:
    opacity 0.2s,
    transform 0.2s;
}
.client-row a:hover svg {
  opacity: 1;
  transform: translateY(-2px);
}

section.block {
  padding-block: 88px;
}
.bg-soft {
  background: var(--bg-2);
}

.about .wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 54px;
  align-items: center;
}
.about p {
  font-size: 1.06rem;
  margin-bottom: 16px;
}
.about .stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 30px;
}
.about .stat {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 18px 12px;
  text-align: center;
}
.about .stat .n {
  font-family: "Rubik", sans-serif;
  font-weight: 800;
  font-size: 1.7rem;
  color: var(--blue);
}
.about .stat .l {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 2px;
  line-height: 1.4;
}
@media (max-width: 980px) {
  .about .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .about-art {
    max-width: 480px;
    margin-inline: auto;
  }
}
@media (max-width: 520px) {
  .about .stats {
    grid-template-columns: repeat(2, 1fr);
  }
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.svc {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: 32px 28px;
  transition:
    transform 0.25s,
    box-shadow 0.25s,
    border-color 0.25s;
  position: relative;
  overflow: hidden;
}
.svc::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  height: 4px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--teal));
  transition: width 0.3s;
}
.svc:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: transparent;
}
.svc:hover::before {
  width: 100%;
}
.svc .ic {
  width: 62px;
  height: 62px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--tint);
  margin-bottom: 20px;
  transition: 0.25s;
}
.svc:hover .ic {
  background: var(--blue);
  transform: rotate(-6deg);
}
.svc .ic svg {
  width: 30px;
  height: 30px;
  color: var(--blue);
  transition: 0.25s;
}
.svc:hover .ic svg {
  color: #fff;
}
.svc h3 {
  font-size: 1.26rem;
  margin-bottom: 9px;
  font-weight: 700;
}
.svc p {
  font-size: 0.99rem;
}
@media (max-width: 880px) {
  .svc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 560px) {
  .svc-grid {
    grid-template-columns: 1fr;
  }
}

.process .wrap {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 54px;
  align-items: center;
}
.process .intro p {
  font-size: 1.08rem;
  margin-bottom: 24px;
}
.steps {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.pstep {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 20px 22px;
  transition: 0.25s;
}
.pstep:hover {
  box-shadow: var(--shadow-sm);
  transform: translateX(-6px);
}
.pstep .num {
  font-family: "Rubik", sans-serif;
  font-weight: 900;
  font-size: 1.3rem;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  width: 46px;
  height: 46px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  flex: none;
}
.pstep h4 {
  font-size: 1.12rem;
  margin-bottom: 2px;
}
.pstep p {
  font-size: 0.95rem;
}
@media (max-width: 980px) {
  .process .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
  .process-art {
    /* max-width: 440px; */
    margin-inline: auto;
    order: -1;
  }
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.proj {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  overflow: hidden;
  transition: 0.25s;
  display: flex;
  flex-direction: column;
}
.proj:hover {
  box-shadow: var(--shadow);
  transform: translateY(-5px);
}
.proj .top {
  height: 130px;
  display: grid;
  place-items: center;
  border-bottom: 1px solid var(--line);
  position: relative;
}
.proj .body {
  padding: 24px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.proj h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
}
.proj p {
  font-size: 0.97rem;
  flex: 1;
}
.proj .more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.94rem;
  background-color: transparent;
  border: none;
  cursor: pointer;
}
.proj .more svg {
  width: 16px;
  height: 16px;
  transition: transform 0.2s;
}
.proj:hover .more svg {
  transform: translateX(-4px);
}
@media (max-width: 880px) {
  .proj-grid {
    grid-template-columns: 1fr;
    max-width: 460px;
    margin-inline: auto;
  }
}

.reasons {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.reason {
  text-align: center;
  padding: 14px 10px;
}
.reason .ic {
  width: 84px;
  height: 84px;
  border-radius: 24px;
  margin: 0 auto 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: 0.25s;
}
.reason:hover .ic {
  transform: translateY(-6px);
  background: linear-gradient(135deg, var(--blue), var(--teal));
}
.reason .ic svg {
  width: 38px;
  height: 38px;
  color: var(--blue);
  transition: 0.25s;
}
.reason:hover .ic svg {
  color: #fff;
}
.reason b {
  font-family: "Rubik", sans-serif;
  color: var(--navy);
  font-weight: 700;
  font-size: 1.05rem;
  display: block;
  margin-bottom: 3px;
}
.reason span {
  font-size: 0.92rem;
  color: var(--body);
}
@media (max-width: 880px) {
  .reasons {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px 18px;
  }
}
@media (max-width: 520px) {
  .reasons {
    grid-template-columns: repeat(2, 1fr);
  }
}

.contact .wrap {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: start;
}
.c-info h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  margin: 16px 0 14px;
}
.c-info > p {
  font-size: 1.06rem;
  margin-bottom: 26px;
}
.c-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}
.c-card {
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px 18px;
}

.c-card:hover {
  border-color: var(--blue);
  box-shadow: 0 6px 16px -8px rgba(37, 211, 102, 0.35);
  transform: translateY(-1px);
}

.c-card .ci {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: var(--tint);
  display: grid;
  place-items: center;
  flex: none;
}
.c-card .ci svg {
  width: 22px;
  height: 22px;
  color: var(--blue);
}
.c-card .k {
  font-size: 0.82rem;
  color: var(--muted);
}
.c-card .v {
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.06rem;
}
.form-card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow);
  padding: 30px;
}
.form-card .fg {
  margin-bottom: 16px;
}
.form-card label {
  display: block;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  font-size: 0.95rem;
}
.form-card input,
.form-card textarea {
  width: 100%;
  border: 1.5px solid var(--line);
  border-radius: 13px;
  padding: 13px 16px;
  font-family: inherit;
  font-size: 1rem;
  background: var(--soft);
  transition: border-color 0.2s;
  color: var(--navy);
}
.form-card textarea {
  min-height: 120px;
  resize: vertical;
}
.form-card input:focus,
.form-card textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-card .btn {
  width: 100%;
}
.form-msg {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-msg.show {
  display: block;
}
.form-msg svg {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
}
.form-msg h3 {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
@media (max-width: 980px) {
  .contact .wrap {
    grid-template-columns: 1fr;
    gap: 34px;
  }
}

footer.site {
  background: var(--navy);
  color: var(--muted);
  padding-block: 60px 0;
}
footer .grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 46px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
footer .fb .brand {
  margin-bottom: 16px;
}
footer .fb .lt {
  color: #fff;
}
footer .fb p {
  color: var(--muted);
  font-size: 0.96rem;
  max-width: 300px;
  margin-bottom: 18px;
}
footer .fsoc {
  display: flex;
  gap: 10px;
}
footer .fsoc a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.07);
  display: grid;
  place-items: center;
  transition: 0.2s;
}
footer .fsoc a:hover {
  background: var(--blue);
}
footer .fsoc svg {
  width: 17px;
  height: 17px;
}
footer h4 {
  color: #fff;
  font-size: 1.06rem;
  margin-bottom: 18px;
  font-weight: 600;
}
footer ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px;
}
footer ul a {
  color: var(--muted);
  font-size: 0.96rem;
  transition: color 0.2s;
}
footer ul a:hover {
  color: var(--teal);
}
footer .fc .ci {
  display: flex;
  gap: 11px;
  align-items: flex-start;
  margin-bottom: 13px;
  font-size: 0.96rem;
}
footer .fc .ci svg {
  width: 18px;
  height: 18px;
  color: var(--teal);
  flex: none;
  margin-top: 3px;
}
.fbot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding-block: 22px;
  font-size: 0.88rem;
  flex-wrap: wrap;
}
@media (max-width: 880px) {
  footer .grid {
    grid-template-columns: 1fr 1fr;
    gap: 34px 24px;
  }
}
@media (max-width: 520px) {
  footer .grid {
    grid-template-columns: 1fr;
  }
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition:
    opacity 0.7s ease,
    transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.reveal.in {
  opacity: 1;
  transform: none;
}
.reveal.d1 {
  transition-delay: 0.08s;
}
.reveal.d2 {
  transition-delay: 0.16s;
}
.reveal.d3 {
  transition-delay: 0.24s;
}
.reveal.d4 {
  transition-delay: 0.32s;
}
@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
  .reveal {
    opacity: 1 !important;
    transform: none !important;
  }
}
/* ── Hero-art SVG animations ── */
.hero-art.reveal.in svg .hero-ball {
  animation: hero-bounce 2.5s ease-in-out infinite;
}
@keyframes hero-bounce {
  0%,
  100% {
    /* Peak of the jump: normal shape, highest position */
    transform: translateY(-100px) scaleX(1) scaleY(1);
    animation-timing-function: cubic-bezier(
      0.4,
      0,
      1,
      1
    ); /* Accelerates downward */
  }
  45% {
    /* Just before hitting the floor: slightly stretched vertically due to speed */
    transform: translateY(60px) scaleX(0.95) scaleY(1.05);
    animation-timing-function: ease-out;
  }
  50% {
    /* Impact with the floor: squashed flat against the ground */
    transform: translateY(60px) scaleX(1.2) scaleY(0.8);
    animation-timing-function: ease-in; /* Rebounds quickly */
  }
  55% {
    /* Just after leaving the floor: stretches back out as it shoots up */
    transform: translateY(60px) scaleX(0.95) scaleY(1.05);
    animation-timing-function: cubic-bezier(
      0,
      0,
      0.6,
      1
    ); /* Decelerates upward */
  }
}
.skip {
  position: absolute;
  inset-inline-start: -9999px;
  background: var(--blue);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  z-index: 100;
}
.skip:focus {
  inset-inline-start: 14px;
  top: 14px;
}
:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 3px;
  border-radius: 6px;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  inset-inline: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 24px;
  background: #fff;
  border-top: 1px solid var(--line);
  box-shadow: 0 -10px 40px -16px rgba(30, 41, 59, 0.25);
  font-size: 0.95rem;
  transform: translateY(100%);
  transition: transform 0.5s cubic-bezier(0.22, 0.61, 0.36, 1);
  visibility: hidden;
}
.cookie-consent.show {
  transform: translateY(0);
  visibility: visible;
}
.cookie-consent p {
  max-width: 600px;
  color: var(--body);
}
.cookie-btns {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}
.cookie-btns .btn {
  padding: 10px 24px;
  font-size: 0.9rem;
}
@media (max-width: 640px) {
  .cookie-consent {
    flex-direction: column;
    text-align: center;
    padding: 16px 18px;
  }
  .cookie-btns {
    width: 100%;
  }
  .cookie-btns .btn {
    flex: 1;
  }
}

/* ── Rocket Animation ── */

@keyframes shake {
  0%,
  100% {
    transform: translate(0, 0);
  }
  20% {
    transform: translate(-1.5px, 1px);
  }
  40% {
    transform: translate(1.5px, -1px);
  }
  60% {
    transform: translate(-1px, -1.5px);
  }
  80% {
    transform: translate(1px, 1.5px);
  }
}
@keyframes flameOuter {
  0%,
  100% {
    transform: scaleY(1) scaleX(1);
  }
  50% {
    transform: scaleY(1.25) scaleX(0.85);
  }
}
@keyframes flameInner {
  0%,
  100% {
    transform: scaleY(1);
  }
  50% {
    transform: scaleY(1.35);
  }
}

@keyframes spark {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(70px);
    opacity: 0;
  }
}
.rocket-body {
  animation: shake 0.25s infinite linear;
  transform-origin: 240px 200px;
}
.f-outer {
  animation: flameOuter 0.18s infinite ease-in-out;
  transform-origin: 240px 300px;
}
.f-inner {
  animation: flameInner 0.22s infinite ease-in-out;
  transform-origin: 240px 300px;
}

.sp1 {
  animation: spark 0.7s infinite linear;
}
.sp2 {
  animation: spark 0.9s infinite linear;
  animation-delay: 0.3s;
}
.sp3 {
  animation: spark 0.8s infinite linear;
  animation-delay: 0.55s;
}

/* ── WhatsApp card ── */
.c-card-wa {
  transition:
    border-color 0.2s,
    box-shadow 0.2s,
    transform 0.2s;
  cursor: pointer;
}
.c-card-wa:hover {
  border-color: #25d366;
}
.ci-wa {
  background: #e8f5e9 !important;
}
.ci-wa svg {
  color: #25d366 !important;
}
.c-card-wa .v {
  color: #1b5e20;
}
.c-card-wa:hover .ci-wa {
  background: #25d366 !important;
}
.c-card-wa:hover .ci-wa svg {
  color: #fff !important;
}

/* ── WhatsApp float button ── */
.wa-float {
  position: fixed;
  bottom: 24px;
  inset-inline-end: 24px;
  z-index: 1000;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 24px rgba(37, 211, 102, 0.4);
  transition:
    transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275),
    box-shadow 0.2s;
  animation: wa-float-up 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
  animation-delay: 2s;
  opacity: 0;
}
@keyframes wa-float-up {
  0% {
    opacity: 0;
    transform: scale(0) translateY(20px);
  }
  100% {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}
@keyframes wa-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5);
  }
  70% {
    box-shadow: 0 0 0 14px rgba(37, 211, 102, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}
.wa-float:hover {
  background: linear-gradient(135deg, var(--blue), var(--blue-dd));
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  transform: scale(1.08);
}
.wa-float:active {
  transform: scale(0.96);
}
.wa-float svg {
  width: 28px;
  height: 28px;
  margin-top: 2px;
}
.wa-float::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  animation: wa-pulse 2s ease-in-out infinite;
}
.wa-float.hidden {
  display: none;
}

/* ── WhatsApp dialog ── */
.wa-dialog {
  position: fixed;
  bottom: 96px;
  inset-inline-end: 24px;
  z-index: 999;
  width: 350px;
  max-width: calc(100vw - 32px);
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition:
    opacity 0.3s,
    visibility 0.3s,
    transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  pointer-events: none;
}
.wa-dialog.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  pointer-events: auto;
}
.wa-dialog-inner {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 20px 60px -12px rgba(0, 0, 0, 0.3);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.wa-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
}
.wa-header-icon {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 50%;
  display: grid;
  place-items: center;
  flex: none;
}
.wa-header-icon svg {
  width: 24px;
  height: 24px;
}
.wa-header-info {
  flex: 1;
  min-width: 0;
}
.wa-header-name {
  font-family: "Rubik", sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
}
.wa-header-status {
  font-size: 0.82rem;
  opacity: 0.8;
}
.wa-close {
  background: none;
  border: none;
  cursor: pointer;
  color: #fff;
  font-size: 1.2rem;
  opacity: 0.8;
  transition:
    opacity 0.2s,
    transform 0.2s;
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  border-radius: 50%;
}
.wa-close:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.15);
  transform: rotate(90deg);
}
.wa-body {
  padding: 20px;
  background: #eef2f5;
  min-height: 120px;
  position: relative;
}
.wa-bubble {
  display: inline-block;
  max-width: 85%;
  padding: 8px 12px;
  border-radius: 12px;
  font-size: 0.95rem;
  line-height: 1.5;
  position: relative;
}
.wa-bubble p {
  margin: 0 0 6px;
  color: #333;
}
.wa-bubble-in {
  background: #fff;
  border-bottom-left-radius: 4px;
  float: left;
}
body.lang-he .wa-bubble-in {
  float: right;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 4px;
  text-align: right;
}
.wa-time {
  font-size: 0.7rem;
  color: #999;
  display: block;
  text-align: right;
}
body.lang-he .wa-time {
  text-align: left;
}
.wa-footer {
  display: flex;
  align-items: center;
  padding: 8px 12px;
  border-top: 1px solid var(--line);
  background: #fff;
}
.wa-input {
  flex: 1;
  border: none;
  background: #f5f5f5;
  border-radius: 30px;
  padding: 10px 16px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--navy);
  outline: none;
  min-width: 0;
  transition: background 0.2s;
}
.wa-input:focus {
  background: #eee;
}

body.lang-he .wa-send {
  rotate: 180deg;
}

.wa-send {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  color: #fff;
  border: none;
  cursor: pointer;
  display: grid;
  place-items: center;
  margin-inline-start: 8px;
  flex: none;
  transition:
    background 0.2s,
    transform 0.2s;
}
.wa-send:hover {
  background: var(--blue);
  transform: scale(1.08);
}
.wa-send:active {
  transform: scale(0.95);
}
.wa-send.hidden {
  opacity: 0.4;
  pointer-events: none;
}
.wa-send svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 480px) {
  .wa-dialog {
    inset-inline: 10px;
    bottom: 90px;
    width: auto;
  }
  .wa-float {
    bottom: 16px;
    inset-inline-end: 16px;
  }
}

/* ── Project popup ── */
.popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(30, 41, 59, 0.55);
  backdrop-filter: blur(4px);
  display: grid;
  place-items: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.3s,
    visibility 0.3s;
  padding: 20px;
  overscroll-behavior: contain;
}
.popup-overlay.open {
  opacity: 1;
  visibility: visible;
}
.popup {
  background: #fff;
  border-radius: var(--r-lg);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.35);
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: overlay;
  transform: scale(0.9) translateY(20px);
  transition: transform 0.35s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  position: relative;
}
.popup-overlay.open .popup {
  transform: scale(1) translateY(0);
}
.popup-x {
  position: absolute;
  top: 14px;
  inset-inline-end: 14px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-size: 1.1rem;
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.popup-x:hover {
  background: #fff;
  transform: rotate(90deg);
}
/* ── Popup carousel ── */
.popup-carousel {
  position: relative;
  height: 50%;
  background: var(--soft);
  overflow: hidden;
  border-radius: var(--r);
  margin-bottom: 18px;
}
.carousel-track {
  display: flex;
  height: 100%;
  transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}
.carousel-slide {
  flex: none;
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  position: relative;
}
.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}
.carousel-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  transform: translateY(-50%);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.85);
  color: var(--navy);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition:
    background 0.2s,
    transform 0.2s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
  opacity: 0;
}
.popup-carousel:hover .carousel-arrow {
  opacity: 1;
}
.carousel-arrow:hover {
  background: #fff;
  transform: translateY(-50%) scale(1.08);
}
.carousel-arrow svg {
  width: 20px;
  height: 20px;
}
.carousel-prev {
  inset-inline-start: 10px;
}
.carousel-next {
  inset-inline-end: 10px;
}
.carousel-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.carousel-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition:
    background 0.2s,
    transform 0.2s;
  padding: 0;
}
.carousel-dot.active {
  background: #fff;
  transform: scale(1.25);
}
.popup-carousel.no-screenshots {
  display: none;
}
.popup-badge {
  width: 72px;
  height: 72px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.15);
  position: relative;
}
.popup-badge.txt {
  width: auto;
  height: auto;
  padding: 8px 16px;
  border-radius: 10px;
}
.popup-badge img,
.popup-badge svg {
  max-width: 60%;
  max-height: 60%;
  object-fit: contain;
}
.popup-badge span {
  font-family: "Rubik", sans-serif;
  font-weight: 800;
  font-size: 1rem;
  color: var(--navy);
  text-align: center;
  line-height: 1.2;
}
/* ── Popup header ── */
.popup-top {
  height: 140px;
  display: grid;
  place-items: center;
  position: relative;
  overflow: hidden;
}
.popup-top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--blue), var(--teal));
  opacity: 0.08;
}
.popup-body {
  padding: 0 28px 28px;
  margin-top: -10px;
}
.popup-title {
  font-size: 1.5rem;
  margin-bottom: 14px;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.inprogress-badge {
  display: inline-flex;
  align-items: center;
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--ip-bg);
  color: var(--ip-color);
  padding: 3px 12px;
  border-radius: var(--r-pill);
  animation: pulse-dot 1.5s ease-in-out infinite;
}
@keyframes pulse-dot {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.5;
  }
}
/* ── In-progress project card ── */
.proj-inprogress {
  border-color: var(--line) !important;
  background: #fafafa !important;
  opacity: 0.85;
  transition:
    opacity 0.3s,
    box-shadow 0.3s,
    transform 0.3s;
}
.proj-inprogress .top {
  background: #f5f5f5 !important;
  border-color: var(--line) !important;
}
.proj-inprogress .top::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(148, 163, 184, 0.08);
  pointer-events: none;
  z-index: 1;
}
.proj-inprogress .top .proj-status-badge {
  z-index: 2;
}
.proj-inprogress .top a {
  filter: grayscale(0.7);
}
.proj-inprogress .top .proj-status-badge {
  filter: none;
}
.proj-inprogress .proj-status-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.7rem;
  font-weight: 700;
  background: var(--ip-bg);
  color: var(--ip-color);
  padding: 4px 10px;
  border-radius: var(--r-pill);
  box-shadow: 0 2px 6px var(--ip-shadow);
}
.proj .top .proj-status-badge {
  position: absolute;
  top: 10px;
  inset-inline-end: 10px;
}
.proj-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--ip-color);
  animation: pulse-dot 1.5s ease-in-out infinite;
  display: inline-block;
}
.proj-inprogress:hover {
  box-shadow: var(--shadow) !important;
}
.proj-inprogress .more {
  color: var(--ip-color) !important;
}
.proj-inprogress h3 {
  color: var(--navy) !important;
}
.top-ip {
  background: #f5f5f5 !important;
}
.ip-text {
  color: var(--muted) !important;
  font-weight: bold;
  font-size: 24px;
}
.popup-tools {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}
.popup-tools span {
  background: var(--tint);
  color: var(--blue-d);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--r-pill);
}
.popup-details {
  list-style: none;
  padding: 0;
  margin: 0 0 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.popup-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.5;
}
.popup-details li::before {
  content: "";
  flex: none;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal);
  margin-top: 8px;
}
.popup-desc {
  font-size: 0.95rem;
  color: var(--body);
  line-height: 1.65;
  margin-bottom: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}
.popup-cta {
  width: 100%;
  text-decoration: none;
}
.popup-cta svg {
  transition: transform 0.2s;
}
.popup-cta:hover svg {
  transform: translate(3px, -3px);
}
body.lang-he .popup-cta:hover svg {
  transform: translate(-3px, -3px);
}
@media (max-width: 600px) {
  .popup {
    max-height: 85vh;
  }
  .popup-body {
    padding: 0 18px 18px;
  }
  .popup-top {
    height: 110px;
  }
  .popup-badge {
    width: 58px;
    height: 58px;
    border-radius: 11px;
  }
  .popup-badge.txt {
    padding: 6px 12px;
  }
  .carousel-arrow {
    width: 30px;
    height: 30px;
  }
  .carousel-arrow svg {
    width: 16px;
    height: 16px;
  }
}
