:root {
  color-scheme: dark;
  --bg: #0d0e10;
  --panel: rgba(246, 241, 229, 0.08);
  --panel-strong: rgba(246, 241, 229, 0.14);
  --text: #f6f1e5;
  --muted: rgba(246, 241, 229, 0.66);
  --line: rgba(246, 241, 229, 0.16);
  --lime: #3b82f6; /* Blue replacement */
  --cyan: #06b6d4; /* Darker cyan */
  --coral: #8b5cf6; /* Purple replacement */
  --pink: #ec4899; 
  --ink: #151515;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: clip;
  background:
    radial-gradient(circle at 10% 15%, rgba(59, 130, 246, 0.1), transparent 35rem),
    radial-gradient(circle at 85% 15%, rgba(6, 182, 212, 0.1), transparent 32rem),
    radial-gradient(circle at 50% 80%, rgba(139, 92, 246, 0.08), transparent 40rem),
    linear-gradient(135deg, #050608 0%, #0a0b0d 48%, #030406 100%);
  color: var(--text);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI",
    sans-serif;
}

h1, h2, h3, .brand-text strong, .eyebrow, .button, .contact-link, .brand-mark, .portrait-tag, .ticker-track span, .service-index, .process-list span, .badge {
  font-family: "Outfit", sans-serif;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -3;
  pointer-events: none;
  content: "";
  opacity: 0.28;
  background-image:
    linear-gradient(rgba(246, 241, 229, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(246, 241, 229, 0.08) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

/* ── Language switch animations ── */
.lang-exit {
  animation: langOut 0.25s cubic-bezier(0.4, 0, 1, 1) forwards;
}

.lang-enter {
  animation: langIn 0.35s cubic-bezier(0, 0, 0.2, 1) forwards;
}

@keyframes langOut {
  0%   { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
  100% { opacity: 0; transform: translateY(-8px) scale(0.97); filter: blur(3px); }
}

@keyframes langIn {
  0%   { opacity: 0; transform: translateY(10px) scale(0.97); filter: blur(3px); }
  100% { opacity: 1; transform: translateY(0) scale(1); filter: blur(0px); }
}

#motion-canvas {
  position: fixed;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.site-header {
  position: sticky;
  top: 16px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(var(--max) + 24px), calc(100% - 16px));
  margin: 0 auto 12px;
  padding: 12px 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  background: rgba(13, 14, 16, 0.55);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(24px);
}

.brand,
.site-nav {
  display: flex;
  align-items: center;
}

.brand {
  gap: 12px;
  font-size: 14px;
  font-weight: 760;
  letter-spacing: 0;
}

.brand-mark {
  position: relative;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  font-family: inherit;
  font-size: 16px;
  font-weight: 800;
  transition: all 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.brand-mark img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 10px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  gap: 1px;
}

.brand-text strong {
  font-family: "Outfit", sans-serif;
  font-size: 20px;
  font-weight: 900;
  line-height: 0.9;
  color: var(--text);
  letter-spacing: -0.01em;
  text-transform: uppercase;
  -webkit-font-smoothing: antialiased;
}

.brand-text small {
  font-family: "Outfit", sans-serif;
  color: var(--cyan);
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.9;
  margin-top: 2px;
  white-space: nowrap;
}

/* Specific fix for longer Ukrainian title */
html[lang="uk"] .brand-text small {
  font-size: 7.5px;
  letter-spacing: 0.02em;
}

.brand:hover .brand-mark {
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.brand:hover .brand-text strong {
  color: #fff;
}

.site-nav {
  position: relative;
  gap: 2px;
  overflow: hidden;
  padding: 4px;
  background: rgba(246, 241, 229, 0.06);
  border-radius: 100px;
}

.site-nav::before {
  position: absolute;
  inset: 4px auto 4px 4px;
  width: 86px;
  background: rgba(59, 130, 246, 0.2);
  border-radius: 100px;
  content: "";
  transition: transform 220ms ease, width 220ms ease;
}

.site-nav a {
  position: relative;
  z-index: 1;
  min-width: 86px;
  padding: 12px 14px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 760;
  text-align: center;
  text-transform: uppercase;
  transition: color 180ms ease, background 180ms ease;
  border-radius: 100px;
}

.site-nav a:hover {
  color: var(--text);
}

.site-nav:has(a:nth-child(2):hover)::before {
  transform: translateX(88px);
}

.site-nav:has(a:nth-child(3):hover)::before {
  transform: translateX(176px);
}

.site-nav:has(a:nth-child(4):hover)::before {
  transform: translateX(264px);
}

main,
.site-footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.hero-dash {
  display: grid;
  height: calc(100dvh - 80px);
  min-height: 620px;
  grid-template-columns: minmax(0, 1.1fr) minmax(400px, 1fr);
  grid-template-rows: 1fr auto;
  gap: 24px;
  align-items: center;
  padding: 16px 0 0;
}

@media (max-width: 900px) {
  .hero-dash {
    grid-template-columns: 1fr;
  }
}

.hero-copy-dash {
  display: flex;
  grid-column: 1;
  grid-row: 1;
  flex-direction: column;
  min-width: 0;
}

.eyebrow-dash {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--cyan);
  font-family: inherit;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: var(--cyan);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--cyan);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0% {
    transform: scale(0.9);
    opacity: 0.7;
  }
  50% {
    transform: scale(1.2);
    opacity: 1;
  }
  100% {
    transform: scale(0.9);
    opacity: 0.7;
  }
}

.title-dash {
  font-size: clamp(3.2rem, 6.5vw, 6.5rem);
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  line-height: 0.9;
  letter-spacing: -0.01em;
  color: var(--text);
  margin-bottom: 24px;
  text-transform: uppercase;
}

.title-dash .grad {
  background: linear-gradient(135deg, #fff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-lead-dash {
  max-width: 500px;
  color: var(--muted);
  font-size: clamp(1rem, 1.5vw, 1.25rem);
  line-height: 1.6;
  margin-bottom: 40px;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
  max-width: 340px;
}

.contact-link-dash {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px 24px;
  border-radius: 16px;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.2, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
  width: 100%;
}

.hero-actions-dash {
  display: flex;
  gap: 16px;
  margin-bottom: 40px;
}

.btn-dash {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 54px;
  padding: 0 32px;
  border-radius: 100px;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.1em;
  transition: all 300ms ease;
}

.btn-dash.primary {
  background: linear-gradient(135deg, #1d4ed8, #3b82f6);
  border: 1px solid rgba(59, 130, 246, 0.6);
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.4), inset 0 0 20px rgba(59, 130, 246, 0.8);
  color: #fff;
}

.btn-dash.primary:hover {
  background: linear-gradient(135deg, #2563eb, #60a5fa);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.6), inset 0 0 30px rgba(59, 130, 246, 1);
  transform: translateY(-2px);
}

.btn-dash.secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: transparent;
  color: var(--text);
  padding: 0 24px;
}

.btn-dash.secondary:hover {
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-stats {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  flex-wrap: wrap;
}

.hero-stats div {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.hero-stats strong {
  font-family: "Outfit", sans-serif;
  font-size: 28px;
  font-weight: 800;
  color: var(--text);
  line-height: 1;
}

.hero-stats span {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.1em;
}

.hero-visual-dash {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  height: min(90%, 680px);
  align-self: center;
}

.hero-ticker {
  grid-column: 1 / -1;
  grid-row: 2;
  align-self: end;
  margin-top: 0;
}

.quick-offer {
  display: grid;
  grid-template-columns: minmax(220px, 0.42fr) minmax(0, 1fr);
  gap: 26px;
  align-items: stretch;
  margin-top: 56px;
  padding: 28px;
  border: 1px solid rgba(246, 241, 229, 0.12);
  border-radius: 24px;
  background:
    radial-gradient(circle at 14% 14%, rgba(59, 130, 246, 0.18), transparent 16rem),
    linear-gradient(135deg, rgba(246, 241, 229, 0.075), rgba(246, 241, 229, 0.025));
  box-shadow: 0 22px 54px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.quick-offer-head {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-start;
  gap: 22px;
  min-height: 100%;
}

.quick-offer-head h2 {
  max-width: 360px;
  margin: 0;
  color: var(--text);
  font-family: "Outfit", sans-serif;
  font-size: clamp(2rem, 3.2vw, 3rem);
  font-weight: 900;
  line-height: 0.96;
  letter-spacing: -0.01em;
}

.quick-offer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
}

.quick-offer-card {
  position: relative;
  min-height: 190px;
  overflow: hidden;
  padding: 22px;
  border: 1px solid rgba(246, 241, 229, 0.12);
  border-radius: 20px;
  background: rgba(13, 14, 16, 0.42);
  transition: transform 260ms ease, border-color 260ms ease, background 260ms ease;
}

.quick-offer-card::before {
  position: absolute;
  inset: auto -34px -40px auto;
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(6, 182, 212, 0.16);
  content: "";
  filter: blur(4px);
}

.quick-offer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(6, 182, 212, 0.48);
  background: rgba(246, 241, 229, 0.07);
}

.quick-offer-card span {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--cyan);
  font-family: "Outfit", sans-serif;
  font-size: 12px;
  font-weight: 900;
}

.quick-offer-card h3 {
  position: relative;
  margin: 0 0 12px;
  color: var(--text);
  font-size: clamp(1.08rem, 1.5vw, 1.35rem);
  line-height: 1.05;
}

.quick-offer-card p {
  position: relative;
  margin: 0;
  color: rgba(246, 241, 229, 0.7);
  font-size: 0.94rem;
  line-height: 1.5;
}

.services-combo {
  margin-top: 76px;
  padding: 0;
}

.services-combo .quick-offer {
  margin-top: 0;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
}

.service-formats {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid rgba(246, 241, 229, 0.12);
}

.service-formats .section-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 26px;
}

.service-formats .section-heading h2 {
  margin: 0;
}

@media (max-width: 900px) {
  .hero-dash {
    height: auto;
    min-height: unset;
    grid-template-rows: auto;
    padding-bottom: 0;
  }

  .hero-copy-dash,
  .hero-visual-dash,
  .hero-ticker {
    grid-column: 1;
    grid-row: auto;
  }

  .quick-offer {
    grid-template-columns: 1fr;
    margin-top: 34px;
  }

  .services-combo {
    margin-top: 48px;
    padding: 28px;
  }

  .services-combo .quick-offer {
    margin-top: 0;
  }

  .quick-offer-head h2 {
    max-width: 680px;
  }

  .quick-offer-grid {
    grid-template-columns: 1fr;
  }

  .hero-visual-dash {
    width: 100%;
    height: 380px;
    margin-left: 0;
    margin-top: 24px;
  }
}

.dash-card {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  overflow: hidden;
  background: rgba(13, 14, 16, 0.6);
  backdrop-filter: blur(24px);
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255,255,255,0.05);
  display: flex;
  flex-direction: column;
}

.dash-bg {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.dash-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.5;
  filter: grayscale(1) contrast(1.2);
}

.dash-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(6, 182, 212, 0.25), transparent 40%, rgba(139, 92, 246, 0.25)),
              linear-gradient(to top, rgba(13, 14, 16, 1) 0%, rgba(13, 14, 16, 0.2) 100%);
}

.dash-header {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px;
}

.badge-dash {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(13, 14, 16, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-family: inherit;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text);
  /* prevent stretching inside grid/flex containers */
  width: fit-content;
  align-self: start;
}

.status-dot.blue {
  background: #3b82f6;
  box-shadow: 0 0 10px #3b82f6;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
}

.globe-icon {
  color: var(--cyan);
}

.dash-center-content {
  position: relative;
  z-index: 2;
  flex-grow: 1;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 16px 24px;
  min-height: 200px;
}

.dash-editor-widget {
  width: min(100%, 260px);
  background: rgba(13, 14, 16, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 10px;
  backdrop-filter: blur(20px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
  align-self: flex-end;
  margin-bottom: 0;
}

.editor-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  font-size: 11px;
  font-weight: 700;
  color: var(--muted);
}

.editor-header .dots {
  display: flex;
  gap: 6px;
}
.editor-header .dots span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.editor-body {
  padding: 10px 14px;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 10.5px;
  line-height: 1.55;
  color: var(--muted);
}

.editor-body .kw { color: #8b5cf6; } 
.editor-body .str { color: #06b6d4; }
.editor-body .op { color: #ec4899; }
.editor-body .blue { color: #3b82f6; }
.editor-body .cursor { color: var(--text); animation: blink 1s step-end infinite; }

@keyframes blink { 50% { opacity: 0; } }

.dash-expertise {
  position: relative;
  z-index: 2;
  padding: 16px 24px;
  margin-bottom: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(13, 14, 16, 0.65);
  backdrop-filter: blur(12px);
}

.ex-title {
  display: block;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  color: var(--muted);
  margin-bottom: 8px;
}

.ex-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.ex-tags span {
  padding: 4px 10px;
  border-radius: 100px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 9px;
  font-weight: 700;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.03);
  transition: all 200ms ease;
}

.ex-tags span:hover {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text);
}

.dash-footer {
  position: relative;
  z-index: 2;
  margin: 0;
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 0 0 20px 20px;
  background: rgba(13, 14, 16, 0.75);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: nowrap;
}

.graph-anim {
  position: relative;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
}

.g-circle {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  animation: s-spin 10s linear infinite;
}
.g-circle.c2 { inset: 8px; border: 1px solid rgba(6, 182, 212, 0.4); animation-duration: 6s; animation-direction: reverse; }
.g-circle.c3 { inset: 16px; background: rgba(59, 130, 246, 0.2); border: none; }

.g-dot-pink {
  position: absolute; width: 6px; height: 6px; background: #ec4899; border-radius: 50%;
  top: -3px; left: 21px; box-shadow: 0 0 10px #ec4899;
}
.g-dot-blue {
  position: absolute; width: 6px; height: 6px; background: #06b6d4; border-radius: 50%;
  bottom: 5px; right: 5px; box-shadow: 0 0 10px #06b6d4;
}

@keyframes s-spin { 100% { transform: rotate(360deg); } }

.footer-desc {
  min-width: 0;
  flex: 1 1 auto;
  text-align: left;
}

.footer-desc strong {
  display: block;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--text);
  margin-bottom: 4px;
}

.footer-desc p {
  margin: 0;
  font-size: 11px;
  color: var(--muted);
}

.equalizer {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 24px;
}

.equalizer span {
  width: 2px;
  background: var(--cyan);
  animation: eq 1.5s ease-in-out infinite alternate;
}

@keyframes eq {
  0% { height: 4px; }
  100% { height: 24px; }
}

.equalizer span:nth-child(even) { animation-duration: 1.1s; background: var(--coral); }
.equalizer span:nth-child(3n) { animation-duration: 0.8s; background: var(--lime); }

.ticker {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  overflow: clip;
  border-block: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(13, 14, 16, 0.4);
  backdrop-filter: blur(12px);
  color: #fff;
  contain: paint;
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.ticker-track {
  display: flex;
  width: max-content;
  gap: 40px;
  padding: 22px 0;
  animation: ticker 26s linear infinite;
}

.ticker-track span {
  font-size: clamp(1.8rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.1);
  transition: all 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: default;
}

.ticker-track span:hover {
  color: var(--cyan);
  text-shadow: 0 0 20px rgba(6, 182, 212, 0.6);
  transform: scale(1.05);
}

.section {
  padding: 110px 0 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(180px, 0.34fr) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  justify-items: start;
  margin-bottom: 40px;
}

.section-lead {
  max-width: 720px;
  margin: 16px 0 0;
  color: rgba(246, 241, 229, 0.72);
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.55;
}

.work-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.featured-work-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.work-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 420px;
  overflow: hidden;
  border: 1px solid rgba(246, 241, 229, 0.18);
  background:
    linear-gradient(180deg, rgba(246, 241, 229, 0.08), rgba(246, 241, 229, 0.03)),
    rgba(246, 241, 229, 0.04);
  backdrop-filter: blur(12px);
  border-radius: 20px;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease;
}

.work-card.large {
  grid-column: span 1;
}

.work-card:hover {
  transform: translateY(-8px);
  border-color: rgba(6, 182, 212, 0.65);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.4), 0 0 34px rgba(6, 182, 212, 0.16);
}

.work-card:focus-visible {
  outline: 2px solid var(--cyan);
  outline-offset: 4px;
}

.card-media {
  position: relative;
  min-height: 250px;
  overflow: hidden;
}

.card-media::before,
.card-media::after {
  position: absolute;
  content: "";
}

.card-media::before {
  inset: 18px;
  z-index: 1;
  border: 1px solid rgba(246, 241, 229, 0.32);
  border-radius: 14px;
}

.card-media::after {
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(246, 241, 229, 0.11) 1px, transparent 1px),
    linear-gradient(rgba(246, 241, 229, 0.11) 1px, transparent 1px);
  background-size: 28px 28px;
  mix-blend-mode: screen;
  opacity: 0.42;
}

.card-media span {
  position: absolute;
  right: 20px;
  bottom: 14px;
  z-index: 2;
  color: rgba(246, 241, 229, 0.88);
  font-size: 5rem;
  font-weight: 950;
  line-height: 1;
  text-shadow: 0 12px 36px rgba(0, 0, 0, 0.35);
}

.identity-media {
  background:
    radial-gradient(circle at 22% 26%, rgba(255, 255, 255, 0.9), transparent 0.9rem),
    conic-gradient(from 180deg at 60% 45%, var(--lime), var(--cyan), var(--pink), var(--coral), var(--lime));
}

.web-media {
  background:
    radial-gradient(circle at 26% 34%, rgba(246, 241, 229, 0.9), transparent 0.8rem),
    linear-gradient(135deg, rgba(6, 182, 212, 0.95), transparent 58%),
    repeating-linear-gradient(90deg, rgba(246, 241, 229, 0.92) 0 18px, #111 18px 36px);
}

.code-media {
  background:
    radial-gradient(circle at 28% 34%, rgba(246, 241, 229, 0.88), transparent 0.8rem),
    radial-gradient(circle at 36% 40%, var(--coral), transparent 34%),
    linear-gradient(135deg, #f6f1e5, var(--lime));
}

.smile-media {
  background:
    radial-gradient(circle at 24% 28%, #ffffff 0 0.75rem, transparent 0.8rem),
    radial-gradient(circle at 68% 34%, rgba(255, 255, 255, 0.78) 0 1rem, transparent 1.05rem),
    linear-gradient(135deg, #ffe66d 0%, #ff7ab6 48%, #42d9c8 100%);
}

.horizon-media {
  background:
    linear-gradient(90deg, rgba(246, 241, 229, 0.85) 0 1px, transparent 1px 36px),
    linear-gradient(135deg, #1f2937 0%, #64748b 48%, #f6f1e5 100%);
}

.synapse-media {
  background:
    radial-gradient(circle at 28% 34%, rgba(6, 182, 212, 0.95), transparent 1rem),
    radial-gradient(circle at 62% 58%, rgba(139, 92, 246, 0.85), transparent 1.1rem),
    linear-gradient(135deg, #07111f 0%, #0f172a 46%, #2563eb 100%);
}

.artisan-media {
  background:
    radial-gradient(circle at 22% 28%, rgba(255, 255, 255, 0.72), transparent 0.9rem),
    repeating-linear-gradient(45deg, rgba(246, 241, 229, 0.16) 0 12px, transparent 12px 24px),
    linear-gradient(135deg, #6b4f3a 0%, #c89b63 52%, #2f6f5e 100%);
}

.smile-custom-media {
  background:
    radial-gradient(circle at 24% 30%, #fff 0 0.7rem, transparent 0.75rem),
    radial-gradient(circle at 78% 26%, rgba(255, 255, 255, 0.78) 0 1.1rem, transparent 1.15rem),
    linear-gradient(135deg, #ffef8a 0%, #ff8ab3 50%, #7dd3fc 100%);
}

.edms-media {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.12) 0 1px, transparent 1px 34px),
    linear-gradient(rgba(255, 255, 255, 0.1) 0 1px, transparent 1px 34px),
    radial-gradient(circle at 28% 32%, rgba(6, 182, 212, 0.7), transparent 1.2rem),
    linear-gradient(135deg, #0f172a 0%, #1d4ed8 50%, #111827 100%);
}

.work-card-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px;
}

.work-card-body p,
.repo-meta,
.services-grid p,
.process-list p {
  color: var(--muted);
}

.work-card-body p {
  margin-bottom: 14px;
  font-size: 13px;
  font-weight: 820;
  text-transform: uppercase;
  color: var(--cyan);
}

.work-card-body h3 {
  margin: 0;
  font-size: clamp(1.25rem, 1.8vw, 1.65rem);
  line-height: 1.08;
}

.work-card-body .work-desc {
  margin: 16px 0 0;
  color: rgba(246, 241, 229, 0.68);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.45;
  text-transform: none;
}

.work-cta {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.behance-button {
  position: relative;
  display: inline-flex;
  min-height: 62px;
  max-width: 100%;
  align-items: center;
  justify-content: center;
  gap: 14px;
  overflow: hidden;
  border: none;
  border-radius: 999px;
  padding: 8px 24px 8px 10px;
  background:
    radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.34), transparent 7rem),
    linear-gradient(135deg, #93d928, #5dbf2f 58%, #21a85e);
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 20px 54px rgba(93, 191, 47, 0.28), inset 0 0 24px rgba(255, 255, 255, 0.18);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.behance-button::after {
  position: absolute;
  inset: -60% auto -60% -20%;
  width: 34%;
  content: "";
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transform: rotate(18deg);
  transition: transform 420ms ease;
}

.behance-button:hover {
  box-shadow: 0 26px 70px rgba(147, 217, 40, 0.38), inset 0 0 28px rgba(255, 255, 255, 0.22);
  transform: translateY(-4px);
}

.behance-button:hover::after {
  transform: translateX(360%) rotate(18deg);
}

.behance-mark {
  display: inline-flex;
  width: 44px;
  height: 44px;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  background: #fff;
  color: #1769ff;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.22);
}

.behance-button .arrow {
  position: relative;
  z-index: 1;
  font-size: 15px;
}

.behance-button span {
  position: relative;
  z-index: 1;
}

.services-grid,
.repo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.services-grid article,
.repo-card {
  min-height: 260px;
  border: 1px solid var(--line);
  padding: 22px;
  background: rgba(246, 241, 229, 0.04);
  backdrop-filter: blur(12px);
  border-radius: 20px;
}

.services-grid article {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(246, 241, 229, 0.08), rgba(246, 241, 229, 0.025)),
    rgba(246, 241, 229, 0.04);
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease, background 300ms ease;
}

.services-grid article::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  opacity: 0.72;
  background:
    radial-gradient(circle at 18% 12%, rgba(59, 130, 246, 0.26), transparent 9rem),
    radial-gradient(circle at 92% 88%, rgba(6, 182, 212, 0.2), transparent 8rem);
}

.services-grid article::after {
  position: absolute;
  right: -24px;
  bottom: -34px;
  color: rgba(246, 241, 229, 0.05);
  content: attr(data-service-mark);
  font-family: "Outfit", sans-serif;
  font-size: 86px;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
}

.services-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(6, 182, 212, 0.54);
  background:
    linear-gradient(145deg, rgba(59, 130, 246, 0.16), rgba(246, 241, 229, 0.035)),
    rgba(246, 241, 229, 0.06);
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.36), 0 0 34px rgba(6, 182, 212, 0.14);
}

.service-index {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(6, 182, 212, 0.28);
  border-radius: 999px;
  padding: 6px 10px;
  background: rgba(6, 182, 212, 0.1);
  color: var(--cyan);
  font-size: 12px;
  font-weight: 900;
  line-height: 1;
}

.services-grid article h3 {
  position: relative;
  z-index: 1;
  margin: 28px 0 18px;
  font-size: clamp(1.25rem, 1.8vw, 1.72rem);
  line-height: 1.05;
  color: var(--text);
}

.services-grid p {
  position: relative;
  z-index: 1;
  margin-bottom: 0;
  line-height: 1.55;
  color: rgba(246, 241, 229, 0.74);
}

.services-grid article:nth-child(1)::before {
  background:
    radial-gradient(circle at 20% 10%, rgba(236, 72, 153, 0.24), transparent 9rem),
    radial-gradient(circle at 88% 88%, rgba(59, 130, 246, 0.18), transparent 8rem);
}

.services-grid article:nth-child(2)::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(6, 182, 212, 0.24), transparent 9rem),
    radial-gradient(circle at 92% 86%, rgba(139, 92, 246, 0.2), transparent 8rem);
}

.services-grid article:nth-child(3)::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(59, 130, 246, 0.28), transparent 9rem),
    radial-gradient(circle at 92% 88%, rgba(6, 182, 212, 0.2), transparent 8rem);
}

.services-grid article:nth-child(4)::before {
  background:
    radial-gradient(circle at 18% 12%, rgba(139, 92, 246, 0.24), transparent 9rem),
    radial-gradient(circle at 92% 88%, rgba(236, 72, 153, 0.18), transparent 8rem);
}

.repo-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.repo-card {
  display: flex;
  min-height: 230px;
  flex-direction: column;
  gap: 18px;
  justify-content: space-between;
  border-radius: 20px;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 300ms ease, box-shadow 300ms ease;
}

.repo-card:hover {
  transform: translateY(-6px);
  border-color: rgba(114, 230, 255, 0.65);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.3), 0 0 25px rgba(114, 230, 255, 0.12);
}

.repo-card h3 {
  overflow-wrap: anywhere;
}

.repo-card p {
  margin-bottom: 0;
  color: var(--muted);
  line-height: 1.5;
}

.repo-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 13px;
}

.is-loading span {
  display: block;
  height: 16px;
  background: linear-gradient(90deg, var(--panel), var(--panel-strong), var(--panel));
  background-size: 220% 100%;
  animation: shimmer 1.4s linear infinite;
}

.is-loading span:first-child {
  width: 44%;
}

.is-loading span:nth-child(2) {
  width: 86%;
}

.is-loading span:nth-child(3) {
  width: 62%;
}

.workflow-wrap {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 32px;
  padding-left: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.section-heading-dash {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
  text-align: center;
  margin-bottom: 64px;
}

.title-dash-small {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-family: "Outfit", sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.01em;
  color: var(--text);
  text-transform: uppercase;
  background: linear-gradient(135deg, #fff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.step-connector {
  position: absolute;
  right: -20px;
  bottom: -64px;
  width: 40px;
  height: 80px;
  z-index: 3;
  pointer-events: none;
}

.step-connector svg {
  width: 100%;
  height: 100%;
  overflow: visible;
  filter: drop-shadow(0 0 6px rgba(6, 182, 212, 0.4));
}

.connector-path {
  stroke-dasharray: 120;
  stroke-dashoffset: 120;
  opacity: 0;
}

.process-section.visible .connector-path {
  animation: drawConnector 0.6s ease forwards;
}

.process-section.visible .c1 { animation-delay: 0.4s; }
.process-section.visible .c2 { animation-delay: 1s; }
.process-section.visible .c3 { animation-delay: 1.6s; }

@keyframes drawConnector {
  to { stroke-dashoffset: 0; opacity: 1; }
}

@keyframes fadeArrow {
  to { opacity: 1; transform: scale(1); }
}

.workflow-step {
  position: relative;
  display: flex;
  gap: 40px;
  padding: 32px;
  overflow: visible;
  background: rgba(13, 14, 16, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 20px;
  backdrop-filter: blur(12px);
  transition: all 400ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.workflow-step:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateX(12px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 30px rgba(59, 130, 246, 0.1);
}

.step-num {
  flex: 0 0 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--ink);
  border: 1px solid var(--cyan);
  border-radius: 50%;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 15px rgba(6, 182, 212, 0.3);
}

.step-num span {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 900;
  color: var(--cyan);
}

.step-content {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.step-tag {
  font-size: 10px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.step-title {
  font-size: 24px;
  font-weight: 900;
  color: var(--text);
  margin: 0;
  text-transform: uppercase;
}

.step-desc {
  max-width: 700px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--muted);
  margin: 0;
}

.workflow-step:hover .step-num {
  background: var(--cyan);
  box-shadow: 0 0 25px var(--cyan);
}

.workflow-step:hover .step-num span {
  color: var(--ink);
}

@media (max-width: 640px) {
  .workflow-step {
    padding: 24px;
    gap: 24px;
  }
  .workflow-line {
    left: 43px;
  }
}

.contact-section {
  margin: 120px 0 52px;
  padding: 0;
  background: transparent;
  border: none;
  box-shadow: none;
}

.contact-dash-wrap {
  position: relative;
  background: rgba(13, 14, 16, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 24px;
  padding: clamp(30px, 6vw, 60px);
  backdrop-filter: blur(24px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 48px;
  box-shadow: 0 40px 100px rgba(0, 0, 0, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.05);
}

.contact-dash-wrap::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 32px 32px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
  pointer-events: none;
  z-index: -1;
}

.contact-dash-wrap::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at -10% -10%, rgba(59, 130, 246, 0.15), transparent 40%),
              radial-gradient(circle at 110% 110%, rgba(6, 182, 212, 0.15), transparent 40%);
  pointer-events: none;
}

.contact-header-dash {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.contact-loc {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.1em;
  color: var(--muted);
  text-transform: uppercase;
}

.contact-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 60px;
  width: 100%;
}

.contact-main-text {
  display: flex;
  flex-direction: column;
  gap: 32px;
  flex: 1;
}

.contact-visual-feature {
  flex: 0 0 350px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 900px) {
  .contact-main {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 48px;
  }
  .contact-visual-feature {
    display: flex;
    justify-content: center;
    order: -1; /* Animation first on mobile */
    transform: scale(0.85);
  }
  .contact-actions {
    justify-content: center;
    width: 100%;
  }
}

/* Liquid Lava Lamp Animation Area */
.contact-visual-feature {
  position: relative;
  width: 320px;
  height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.liquid-contact-area {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

#liquid-canvas {
  width: 100%;
  height: 100%;
  background: transparent;
  filter: url('#goo') drop-shadow(0 0 30px rgba(6, 182, 212, 0.4));
}

@keyframes liquid-blob {
  0%, 100% { transform: scale(1) translate(0, 0); }
  33% { transform: scale(1.1) translate(10px, -10px); }
  66% { transform: scale(0.9) translate(-10px, 10px); }
}

.contact-title-dash {
  font-size: clamp(2.2rem, 5vw, 4.4rem);
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.02em;
  max-width: 800px;
  margin: 0;
  color: var(--text);
}

.contact-title-dash .grad {
  background: linear-gradient(135deg, var(--cyan), #3b82f6);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.contact-actions {
  display: flex;
  flex-direction: row;
  gap: 20px;
  flex-wrap: wrap;
}

.contact-link-dash {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  height: 58px;
  padding: 0 36px;
  border-radius: 100px;
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  transition: all 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
  text-decoration: none;
}

.contact-link-dash.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  border: 1px solid rgba(37, 211, 102, 0.4);
  box-shadow: 0 10px 30px rgba(37, 211, 102, 0.15);
}

.contact-link-dash.telegram {
  background: linear-gradient(135deg, #0088cc, #005580);
  color: #fff;
  border: 1px solid rgba(0, 136, 204, 0.4);
  box-shadow: 0 10px 30px rgba(0, 136, 204, 0.15);
}

.contact-link-dash.email {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.contact-link-dash:hover {
  transform: translateY(-5px) scale(1.02);
  filter: brightness(1.15);
}

.contact-link-dash.whatsapp:hover { box-shadow: 0 15px 45px rgba(37, 211, 102, 0.35); }
.contact-link-dash.telegram:hover { box-shadow: 0 15px 45px rgba(0, 136, 204, 0.35); }
.contact-link-dash.email:hover { background: rgba(255, 255, 255, 0.1); box-shadow: 0 15px 45px rgba(255, 255, 255, 0.1); }

.contact-footer-dash {
  display: flex;
  gap: 40px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.dash-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dash-stat .label {
  font-size: 9px;
  font-weight: 800;
  color: var(--muted);
  letter-spacing: 0.12em;
}

.dash-stat .val {
  font-family: "Outfit", sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
}

.site-footer {
  padding: 32px 0 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 14px;
}

.footer-logo {
  position: relative;
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: #fff;
  flex-shrink: 0;
  padding: 4px;
}

.footer-logo img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.footer-brand-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.footer-name {
  font-family: "Outfit", sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text);
  letter-spacing: -0.01em;
}

.footer-tagline {
  font-size: 10px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.footer-divider {
  height: 1px;
  background: linear-gradient(to right, rgba(255,255,255,0) 0%, rgba(255,255,255,0.06) 50%, rgba(255,255,255,0) 100%);
  margin: 20px 0;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-made {
  font-size: 12px;
  color: var(--muted);
  letter-spacing: 0.02em;
}

.footer-made::selection {
  color: var(--cyan);
}

.footer-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--cyan);
  padding: 5px 12px;
  border-radius: 100px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.2);
}

.site-footer div {
  display: flex;
  gap: 18px;
}

.footer-icons {
  display: flex;
  gap: 12px;
  align-items: center;
}

.footer-icons a {
  display: inline-flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--muted);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.footer-icons a svg {
  width: 20px;
  height: 20px;
}

.footer-icons a:hover {
  background: var(--lime);
  border-color: var(--lime);
  color: var(--ink);
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(59, 130, 246, 0.25);
}

@keyframes orbit {
  from {
    transform: rotate(8deg) scale(1);
  }

  to {
    transform: rotate(-5deg) scale(1.04);
  }
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@keyframes shimmer {
  to {
    background-position: -220% 0;
  }
}

@media (max-width: 920px) {
  .site-header {
    align-items: flex-start;
    gap: 14px;
  }

  .site-nav {
    max-width: 62vw;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .site-nav::before {
    display: none;
  }

  .site-nav a {
    min-width: auto;
  }

  .hero,
  .section-heading,
  .process-list li {
    grid-template-columns: 1fr;
  }

  .hero {
    gap: 28px;
    padding-top: 34px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .portrait-card {
    margin: 0 auto;
  }

  .signal-list {
    left: 0;
    right: auto;
    justify-content: flex-start;
  }

  .work-grid,
  .services-grid,
  .repo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  main,
  .site-footer,
  .site-header {
    width: min(100% - 24px, var(--max));
  }

  .site-header {
    position: relative;
    flex-direction: column;
    top: 0;
    margin-top: 12px;
  }

  .site-nav {
    max-width: none;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    justify-content: initial;
  }

  .site-nav a {
    min-width: 0;
    padding: 10px 4px;
    font-size: 10px;
  }

  .hero-dash {
    min-height: auto;
    gap: 22px;
    padding: 18px 0 24px;
  }

  .eyebrow-dash {
    margin-bottom: 18px;
  }

  .title-dash {
    margin-bottom: 18px;
  }

  .hero-lead-dash {
    margin-bottom: 28px;
  }

  .hero-actions-dash {
    margin-bottom: 42px;
  }

  .hero-ticker {
    margin-top: 0;
  }

  .ticker-track {
    padding: 16px 0;
  }

  .ticker-track span {
    font-size: clamp(1.55rem, 9vw, 2.45rem);
  }

  h1 {
    font-size: clamp(2.78rem, 13.2vw, 4.1rem);
    line-height: 0.9;
  }

  .hero-actions .button {
    flex: 1 1 42%;
    padding-inline: 12px;
  }

  .hero-visual {
    min-height: 0;
  }

  .portrait-card {
    width: min(100%, 342px);
    padding: 10px;
  }

  .portrait-card::before {
    inset: -8px;
  }

  .portrait-tag {
    top: 20px;
    left: 20px;
  }

  .portrait-frame {
    inset: 32px;
  }

  .portrait-code {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 10px;
    min-width: 0;
  }

  .portrait-glow {
    display: none;
  }

  .signal-list {
    position: relative;
    bottom: auto;
    margin-top: 20px;
  }

  .section {
    padding-top: 82px;
  }

  .work-grid,
  .services-grid,
  .repo-grid {
    grid-template-columns: 1fr;
  }

  .work-card,
  .services-grid article,
  .repo-card {
    min-height: auto;
  }

  .card-media {
    min-height: 210px;
  }

  .site-footer {
    align-items: center;
    flex-direction: column;
    text-align: center;
  }

  .footer-icons {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* --- Added UI/UX Improvements --- */

/* Lang Switcher */
.lang-switcher {
  display: flex;
  gap: 4px;
  background: rgba(246, 241, 229, 0.06);
  padding: 4px;
  border: none;
  align-items: center;
  border-radius: 100px;
}

.lang-switcher button {
  background: transparent;
  color: var(--muted);
  border: none;
  padding: 6px 12px;
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 11px;
  cursor: pointer;
  text-transform: uppercase;
  transition: all 180ms ease;
  border-radius: 100px;
}

.lang-switcher button:hover {
  color: var(--text);
}

.lang-switcher button.active {
  background: var(--lime);
  color: var(--ink);
}

/* Animations */
.reveal, .reveal-item {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
  will-change: opacity, transform;
}

.reveal.visible, .reveal-item.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-header {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal-header.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Text Gradients & Badges */
.grad-text {
  background: linear-gradient(135deg, #fff, var(--muted));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.badge {
  padding: 4px 8px;
  font-size: 10px;
  font-weight: 800;
  border: 1px solid;
  text-transform: uppercase;
  border-radius: 6px;
}

.lang-badge {
  background: rgba(114, 230, 255, 0.1);
  color: var(--cyan);
  border-color: rgba(114, 230, 255, 0.25);
}

.star-badge {
  background: rgba(215, 255, 66, 0.1);
  color: var(--lime);
  border-color: rgba(215, 255, 66, 0.25);
}

.contact-link {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 28px;
  background: rgba(13, 14, 16, 0.6);
  backdrop-filter: blur(12px);
  color: var(--text);
  font-family: inherit;
  font-weight: 800;
  letter-spacing: 0.05em;
  border-radius: 100px;
  transition: all 250ms cubic-bezier(0.2, 0.8, 0.2, 1);
  gap: 12px;
  text-decoration: none;
}

.contact-link.whatsapp {
  background: linear-gradient(135deg, #25D366, #128C7E);
  border: 1px solid #1EBE5D;
  color: #ffffff;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.contact-link.whatsapp:hover {
  background: linear-gradient(135deg, #128C7E, #075E54);
  box-shadow: 0 8px 25px rgba(37, 211, 102, 0.5);
  border-color: #128C7E;
  color: #ffffff;
  transform: translateY(-4px) scale(1.02);
}
