/* LPG DEV — premium responsive design system */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --ink: #101311;
  --ink-soft: #242a26;
  --paper: #f4f2ea;
  --white: #ffffff;
  --muted: #666d68;
  --line: #d8d9d1;
  --lime: #b8f34a;
  --lime-dark: #93cb26;
  --coral: #ff6b4a;
  --cyan: #60d6d2;
  --yellow: #f2ce56;
  --radius: 6px;
  --shadow: 0 18px 50px rgba(16, 19, 17, 0.1);
  --shadow-strong: 0 28px 80px rgba(16, 19, 17, 0.2);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --container: 1240px;
  --hero-gutter: clamp(18px, 5vw, 96px);
  --header-height: 76px;
  --color-primary: var(--ink);
}

html {
  width: 100%;
  max-width: 100%;
  scroll-behavior: smooth;
  background: var(--paper);
  overflow-x: clip;
}

body {
  width: 100%;
  max-width: 100%;
  min-width: 320px;
  overflow-x: clip;
  background: var(--paper);
  color: var(--ink-soft);
  font-family: "Aptos", "Inter", "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  text-align: start;
  -webkit-font-smoothing: antialiased;
}

body.lang-ar {
  font-family: "Cairo", "Inter", sans-serif;
}

body.menu-open {
  overflow: hidden;
}

main,
header,
footer,
section,
.container,
.navbar,
.section-heading,
.home-case,
.service-block,
.contact-grid {
  min-width: 0;
  max-width: 100%;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
  text-wrap: balance;
}

p {
  text-wrap: pretty;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 28px;
}

.skip-link {
  position: fixed;
  inset-block-start: 12px;
  inset-inline-start: 12px;
  z-index: 2000;
  padding: 10px 14px;
  background: var(--lime);
  color: var(--ink);
  font-weight: 700;
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.section-heading {
  margin-block-end: 52px;
}

.split-heading {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.7fr);
  gap: 72px;
  align-items: end;
}

.section-kicker,
.eyebrow {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-block-end: 16px;
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.section-kicker::before,
.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  flex: 0 0 auto;
  background: var(--coral);
}

.section-title {
  max-width: 760px;
  font-size: 3.35rem;
}

.section-subtitle {
  max-width: 650px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.center {
  margin-inline: auto;
  text-align: center;
}

section {
  padding-block: 112px;
}

section.alt {
  background: var(--white);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 23px;
  border: 1px solid transparent;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 800;
  line-height: 1.2;
  transition: color 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}

.btn::after {
  content: "↗";
  font-size: 1rem;
  transition: transform 0.25s var(--ease);
}

.btn:hover::after {
  transform: translate(3px, -3px);
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--lime);
  color: var(--ink);
  box-shadow: 0 12px 30px rgba(184, 243, 74, 0.14);
}

.btn-primary:hover {
  background: var(--white);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.18);
}

.btn-ghost,
.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(16, 19, 17, 0.24);
  color: var(--white);
}

.btn-ghost:hover,
.btn-outline:hover {
  border-color: var(--white);
  background: var(--white);
  color: var(--ink);
}

.btn-dark {
  background: var(--ink);
  color: var(--white);
}

.btn-dark:hover {
  background: var(--white);
  color: var(--ink);
}

.btn-outline-dark {
  border-color: var(--ink);
  background: transparent;
  color: var(--ink);
}

.btn-outline-dark:hover {
  background: var(--ink);
  color: var(--white);
}

.btn:focus-visible,
.lang-switch button:focus-visible,
.menu-toggle:focus-visible,
.social-links a:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible,
a:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

/* Header */
header {
  position: sticky;
  inset-block-start: 0;
  z-index: 1000;
  height: var(--header-height);
  border-block-end: 1px solid rgba(16, 19, 17, 0.09);
  background: var(--paper);
  transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

header.scrolled {
  background: var(--white);
  box-shadow: 0 10px 32px rgba(16, 19, 17, 0.08);
}

.home-page header {
  position: absolute;
  inset: 0 0 auto;
  width: 100%;
  border-block-end-color: rgba(255, 255, 255, 0.16);
  background: transparent;
  color: var(--white);
}

.home-page header.scrolled,
.home-page header.open {
  position: fixed;
  background: rgba(10, 13, 11, 0.97);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.22);
}

.home-page header .logo {
  color: var(--white);
}

.home-page header .logo-mark {
  background: var(--lime);
  color: var(--ink);
}

.home-page header .nav-links a {
  color: rgba(255, 255, 255, 0.82);
}

.home-page header .nav-links a:hover,
.home-page header .nav-links a.active,
.home-page header .nav-links a[aria-current="page"] {
  color: var(--white);
}

.home-page header .lang-switch {
  border-color: rgba(255, 255, 255, 0.3);
  background: rgba(10, 13, 11, 0.4);
}

.home-page header .lang-switch button {
  border-inline-end-color: rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.72);
}

.home-page header .lang-switch button:hover,
.home-page header .lang-switch button.active {
  background: var(--lime);
  color: var(--ink);
}

.home-page header .menu-toggle {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(10, 13, 11, 0.42);
}

.home-page header .menu-toggle span {
  background: var(--white);
}

.navbar {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}

.logo,
.footer-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
  color: var(--ink);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1;
}

.logo-mark {
  display: inline-grid;
  width: 32px;
  height: 32px;
  place-items: center;
  font-size: 0.68rem;
  letter-spacing: -0.05em;
  background: var(--ink);
  color: var(--lime);
  font-size: 0;
  font-weight: 900;
}

.logo-mark::after {
  content: "LD";
  font-size: 0.98rem;
  font-weight: 900;
  letter-spacing: -0.09em;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-links a {
  position: relative;
  padding-block: 10px;
  color: #424943;
  font-size: 0.88rem;
  font-weight: 700;
}

.nav-links a::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  inset-block-end: 4px;
  height: 2px;
  background: var(--coral);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.3s var(--ease);
}

.nav-links a:hover::after,
.nav-links a.active::after,
.nav-links a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 0 0 auto;
}

.lang-switch {
  display: flex;
  overflow: hidden;
  border: 1px solid #cfd1ca;
  border-radius: 4px;
  background: var(--white);
}

.lang-switch button {
  min-width: 34px;
  min-height: 32px;
  border: 0;
  border-inline-end: 1px solid #e3e4de;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-size: 0.67rem;
  font-weight: 900;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.lang-switch button:last-child {
  border-inline-end: 0;
}

.lang-switch button:hover,
.lang-switch button.active {
  background: var(--ink);
  color: var(--white);
}

.nav-cta {
  min-height: 42px;
  padding: 9px 16px;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #cfd1ca;
  border-radius: 4px;
  background: var(--white);
  cursor: pointer;
}

.menu-toggle span {
  width: 18px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.2s ease;
}

header.open .menu-toggle span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

header.open .menu-toggle span:nth-child(2) {
  opacity: 0;
}

header.open .menu-toggle span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Home hero */
.hero {
  position: relative;
  display: flex;
  width: 100%;
  height: 100svh;
  min-height: 640px;
  max-height: none;
  align-items: center;
  overflow: hidden;
  padding-block: calc(var(--header-height) + 36px) 72px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-soft) 100%);
  color: var(--white);
  isolation: isolate;
}

.home-page .service-overview {
  padding-block-start: 80px;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, 0.08);
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-color: #0a0d0b;
  background-image: url("../assets/lpg-dev-hero.png");
  background-position: right 72px center;
  background-repeat: no-repeat;
  background-size: auto 92%;
  opacity: var(--hero-media-opacity);
  filter: saturate(1.08) contrast(1.03);
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0);
  transition: transform 0.7s var(--ease);
  animation: heroBackdropReveal 1.5s var(--ease) both;
}

.hero-grid-lines {
  position: absolute;
  inset-block: 0;
  inset-inline-start: 5%;
  width: 1px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 30vw 0 rgba(255, 255, 255, 0.06), 60vw 0 rgba(255, 255, 255, 0.06), 90vw 0 rgba(255, 255, 255, 0.06);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  max-width: none;
  align-items: flex-start;
  flex-direction: column;
  padding-inline: var(--hero-gutter);
}

.hero .eyebrow {
  color: var(--lime);
}

.hero .eyebrow::before {
  background: var(--lime);
}

.hero h1 {
  max-width: 660px;
  color: var(--white);
  font-size: 4.75rem;
  line-height: 0.99;
}

.hero-lead {
  max-width: 590px;
  margin-block-start: 28px;
  color: #d4d9d5;
  font-size: 1.18rem;
  line-height: 1.7;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-block-start: 34px;
}

.hero-content > .eyebrow,
.hero-content > h1,
.hero-content > .hero-lead,
.hero-content > .hero-buttons {
  animation: heroCopyReveal 0.85s var(--ease) both;
}

.hero-content > .eyebrow { animation-delay: 0.12s; }
.hero-content > h1 { animation-delay: 0.24s; }
.hero-content > .hero-lead { animation-delay: 0.38s; }
.hero-content > .hero-buttons { animation-delay: 0.52s; }

.home-page header .navbar {
  max-width: none;
  padding-inline: var(--hero-gutter);
  animation: heroNavReveal 0.75s var(--ease) 0.06s both;
}

.hero-device-stage {
  position: absolute;
  inset-inline-end: 2.5vw;
  inset-block-start: 50%;
  z-index: 2;
  width: 52vw;
  max-width: 720px;
  height: 72%;
  max-height: 620px;
  pointer-events: none;
  transform: translateY(-46%);
}

.hero-monitor {
  position: absolute;
  inset-inline-end: 0;
  inset-block-start: 6%;
  width: 88%;
  animation: heroMonitorReveal 1.05s var(--ease) 0.32s both;
}

.hero-monitor-screen {
  overflow: hidden;
  border: 8px solid #252a27;
  border-radius: 6px;
  background: #101512;
  box-shadow: 0 36px 80px rgba(0, 0, 0, 0.42);
}

.hero-monitor-top {
  display: flex;
  height: 34px;
  align-items: center;
  gap: 6px;
  padding-inline: 13px;
  border-block-end: 1px solid #303833;
  background: #181d1a;
}

.hero-monitor-top span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #626a64;
}

.hero-monitor-top span:first-child { background: var(--coral); }

.hero-monitor-layout {
  display: grid;
  grid-template-columns: 54px 1fr;
  height: 330px;
}

.hero-monitor-sidebar {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  padding-block-start: 28px;
  border-inline-end: 1px solid #303833;
  background: #0d110f;
}

.hero-monitor-sidebar i {
  width: 13px;
  height: 13px;
  border: 1px solid #616b63;
}

.hero-monitor-sidebar i:first-child {
  border-color: var(--lime);
  background: var(--lime);
}

.hero-monitor-main {
  padding: 22px;
}

.hero-monitor-kpis {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-monitor-kpis span {
  height: 54px;
  border: 1px solid #354039;
  background: #1b221e;
}

.hero-monitor-chart {
  display: flex;
  height: 150px;
  align-items: flex-end;
  gap: 13px;
  margin-block-start: 14px;
  padding: 20px 22px 0;
  border: 1px solid #354039;
}

.hero-monitor-chart i {
  flex: 1;
  height: 72%;
  background: var(--lime);
  transform: scaleY(0);
  transform-origin: bottom;
  animation: heroDataGrow 0.72s var(--ease) 1.05s forwards;
}

.hero-monitor-chart i:nth-child(2) { height: 46%; background: var(--cyan); animation-delay: 1.12s; }
.hero-monitor-chart i:nth-child(3) { height: 86%; animation-delay: 1.2s; }
.hero-monitor-chart i:nth-child(4) { height: 58%; background: var(--coral); animation-delay: 1.28s; }
.hero-monitor-chart i:nth-child(5) { height: 94%; animation-delay: 1.36s; }
.hero-monitor-chart i:nth-child(6) { height: 68%; background: var(--cyan); animation-delay: 1.44s; }

.hero-monitor-rows {
  display: grid;
  gap: 7px;
  margin-block-start: 14px;
}

.hero-monitor-rows span {
  height: 7px;
  background: #343d37;
}

.hero-monitor-neck {
  width: 18%;
  height: 54px;
  margin-inline: auto;
  background: #2b312d;
}

.hero-monitor-base {
  width: 42%;
  height: 10px;
  margin-inline: auto;
  background: #3a413c;
}

.hero-phone {
  position: absolute;
  inset-inline-start: 2%;
  inset-block-end: 0;
  z-index: 3;
  display: flex;
  width: 150px;
  height: 308px;
  flex-direction: column;
  padding: 16px 13px;
  border: 7px solid #242925;
  border-radius: 28px;
  background: var(--paper);
  box-shadow: 0 28px 58px rgba(0, 0, 0, 0.46);
  animation: heroPhoneReveal 0.9s var(--ease) 0.72s both;
}

.hero-phone-speaker {
  width: 36px;
  height: 4px;
  margin: 0 auto 14px;
  border-radius: 4px;
  background: #4b514d;
}

.hero-phone-product {
  height: 124px;
  background: var(--coral);
  transform: scale(0.82);
  opacity: 0;
  animation: heroPhoneContent 0.7s var(--ease) 1.42s forwards;
}

.hero-phone-line {
  width: 58%;
  height: 7px;
  margin-block-start: 12px;
  background: #aeb5ad;
}

.hero-phone-line.wide {
  width: 86%;
  height: 10px;
  background: var(--ink);
}

.hero-phone-swatches {
  display: flex;
  gap: 7px;
  margin-block-start: 15px;
}

.hero-phone-swatches i {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--lime-dark);
}

.hero-phone-swatches i:nth-child(2) { background: var(--cyan); }
.hero-phone-swatches i:nth-child(3) { background: var(--coral); }
.hero-phone-swatches i:nth-child(4) { background: var(--ink); }

.hero-phone-cta {
  height: 32px;
  margin-block-start: auto;
  background: var(--lime);
}

.hero-device-stage.hero-real-devices {
  inset-block: var(--header-height) 54px;
  inset-inline: auto 0;
  z-index: 2;
  width: 68vw;
  max-width: none;
  height: auto;
  max-height: none;
  overflow: visible;
  opacity: 1;
  transform: none;
}

.hero-real-devices img {
  position: absolute;
  display: block;
  max-width: none;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  will-change: opacity, transform;
  filter: drop-shadow(-16px 24px 40px rgba(0, 0, 0, 0.6));
}

.hero-real-monitor {
  --device-opacity: 1;
  inset-block-start: auto;
  inset-block-end: -2%;
  inset-inline-end: -8vw;
  z-index: 1;
  width: min(64vw, 1100px);
  opacity: var(--device-opacity);
  animation: heroRealMonitorReveal 1.1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.28s both,
    heroRealMonitorFloat 7s ease-in-out 1.55s infinite alternate;
}

.hero-real-phone.hero-real-android {
  --device-opacity: 1;
  --android-rot: 3deg;
  --android-rot-hover: 4deg;
  inset-block-start: auto;
  inset-block-end: -2%;
  inset-inline-end: 35vw;
  z-index: 3;
  width: min(14vw, 240px);
  opacity: var(--device-opacity);
  animation: heroRealAndroidReveal 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.7s both,
    heroRealAndroidFloat 6s ease-in-out 1.8s infinite alternate;
}

.hero-real-phone.hero-real-iphone {
  --device-opacity: 1;
  inset-block-start: -6%;
  inset-block-end: auto;
  inset-inline-end: 36vw;
  z-index: 2;
  width: min(30vw, 550px);
  opacity: var(--device-opacity);
  animation: heroRealIphoneReveal 1s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s both,
    heroRealIphoneFloat 6.5s ease-in-out 2.05s infinite alternate;
}

.hero-next-preview {
  position: absolute;
  inset: auto 0 0;
  z-index: 5;
  display: grid;
  grid-template-columns: auto 1fr auto;
  min-height: 54px;
  align-items: center;
  gap: 22px;
  padding-inline: var(--hero-gutter);
  border-block-start: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(10, 13, 11, 0.72);
  color: var(--white);
  animation: heroPreviewReveal 0.75s var(--ease) 1.05s both;
}

.hero-next-preview span {
  color: var(--lime);
  font-size: 0.69rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.hero-next-preview strong {
  font-size: 0.9rem;
}

.hero-next-preview i {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.32);
  font-style: normal;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease);
}

.hero-next-preview:hover i {
  background: var(--lime);
  color: var(--ink);
  transform: translateY(3px);
}

@keyframes heroBackdropReveal {
  from { opacity: 0; transform: scale(1.035); }
  to { opacity: var(--hero-media-opacity); transform: scale(1); }
}

@keyframes heroBackdropRevealRtl {
  from { opacity: 0; transform: scaleX(-1) scale(1.035); }
  to { opacity: var(--hero-media-opacity); transform: scaleX(-1) scale(1); }
}

@keyframes heroNavReveal {
  from { opacity: 0; transform: translateY(-18px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes heroCopyReveal {
  from { opacity: 0; transform: translateX(-34px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes heroCopyRevealRtl {
  from { opacity: 0; transform: translateX(34px); }
  to { opacity: 1; transform: translateX(0); }
}

@keyframes heroMonitorReveal {
  from { opacity: 0; transform: translateX(90px) scale(0.9); }
  to { opacity: 1; transform: translateX(0) scale(1); }
}

@keyframes heroPhoneReveal {
  from { opacity: 0; transform: translate(34px, 80px) rotate(7deg); }
  to { opacity: 1; transform: translate(0, 0) rotate(-3deg); }
}

@keyframes heroDataGrow {
  to { transform: scaleY(1); }
}

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

@keyframes heroRealMonitorReveal {
  from { opacity: 0; transform: translate3d(-30px, 120px, 0) rotate(0deg) scale(0.92); }
  to { opacity: var(--device-opacity); transform: translate3d(0, 0, 0) rotate(3deg) scale(1); }
}

@keyframes heroRealMonitorFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(3deg); }
  50% { transform: translate3d(0, -12px, 0) rotate(3deg); }
}

@keyframes heroRealAndroidReveal {
  from { opacity: 0; transform: translate3d(36px, 120px, 0) rotate(5deg) scale(0.9); }
  to { opacity: var(--device-opacity); transform: translate3d(0, 0, 0) rotate(var(--android-rot, 3deg)) scale(1); }
}

@keyframes heroRealAndroidFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--android-rot, 3deg)); }
  50% { transform: translate3d(0, -10px, 0) rotate(var(--android-rot-hover, 4deg)); }
}

@keyframes heroRealIphoneReveal {
  from { opacity: 0; transform: translate3d(58px, 140px, 0) rotate(0deg) scale(0.88); }
  to { opacity: var(--device-opacity); transform: translate3d(0, 0, 0) rotate(0deg) scale(1); }
}

@keyframes heroRealIphoneFloat {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0deg); }
  50% { transform: translate3d(0, -8px, 0) rotate(0deg); }
}

@keyframes heroPreviewReveal {
  from { opacity: 0; transform: translateY(100%); }
  to { opacity: 1; transform: translateY(0); }
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  max-width: 820px;
  margin-block-start: 46px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.73rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-capabilities span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-capabilities span::before {
  content: "";
  width: 6px;
  height: 6px;
  flex: 0 0 auto;
  background: var(--coral);
}

.scroll-cue {
  position: absolute;
  inset-inline-end: 32px;
  inset-block-end: 28px;
  z-index: 3;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--white);
  transition: background-color 0.25s ease, color 0.25s ease;
  animation: cueMove 2s ease-in-out infinite;
}

.scroll-cue:hover {
  background: var(--lime);
  color: var(--ink);
}

@keyframes cueMove {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* Inner page hero */
.page-hero {
  position: relative;
  overflow: hidden;
  padding-block: 120px 102px;
  background: var(--ink);
  color: var(--white);
}

.page-hero::before,
.page-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
}

.page-hero::before {
  inset-block: 0;
  inset-inline-start: 16%;
  width: 1px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 28vw 0 rgba(255, 255, 255, 0.08), 56vw 0 rgba(255, 255, 255, 0.08);
}

.page-hero::after {
  width: 180px;
  height: 12px;
  inset-inline-end: 7%;
  inset-block-end: 42px;
  background: var(--lime);
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 900px;
  color: var(--white);
  font-size: 4.2rem;
}

.page-hero p {
  max-width: 700px;
  margin-block-start: 22px;
  color: #c8ceca;
  font-size: 1.16rem;
}

/* Home services */
.service-overview {
  background: var(--paper);
}

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

.service-card {
  position: relative;
  min-height: 360px;
  overflow: hidden;
  padding: 34px;
  border: 1px solid rgba(16, 19, 17, 0.12);
  border-radius: var(--radius);
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.service-card:hover {
  z-index: 2;
  transform: translateY(-6px);
  box-shadow: var(--shadow-strong);
}

.service-card-web {
  background: var(--white);
}

.service-card-api {
  background: var(--ink);
  color: #d4d9d5;
}

.service-card-cms {
  background: #ffd6cc;
}

.service-card-app {
  background: #dff0ed;
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.service-number {
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 900;
}

.service-symbol {
  display: grid;
  width: 84px;
  height: 84px;
  place-items: center;
  border: 1px solid currentColor;
  color: var(--ink);
  font-size: 0.8rem;
  font-weight: 900;
  transition: transform 0.5s var(--ease), background-color 0.3s ease, color 0.3s ease;
}

.service-card-api .service-number {
  color: #9fa6a1;
}

.service-card-api .service-symbol {
  color: var(--lime);
}

.service-card:hover .service-symbol {
  transform: rotate(6deg) scale(1.06);
  background: var(--lime);
  color: var(--ink);
}

.service-card h3 {
  max-width: 460px;
  margin-block-start: 52px;
  font-size: 2rem;
}

.service-card-api h3 {
  color: var(--white);
}

.service-card p {
  max-width: 500px;
  margin-block-start: 18px;
  color: #565e58;
}

.service-card-api p {
  color: #aeb5b0;
}

.service-link,
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-block-start: 28px;
  color: inherit;
  font-size: 0.83rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.service-link::after,
.text-link::after {
  content: "↗";
  font-size: 1rem;
  transition: transform 0.25s var(--ease);
}

.service-card:hover .service-link::after,
.text-link:hover::after {
  transform: translate(3px, -3px);
}

/* Selected work */
.selected-work {
  background: var(--white);
}

.heading-action .text-link {
  margin-block-start: 18px;
}

.home-case {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.2fr);
  min-height: 540px;
  overflow: hidden;
  border-radius: var(--radius);
}

.home-case + .home-case {
  margin-block-start: 18px;
}

.home-case-dark {
  background: var(--ink);
  color: #c8ceca;
}

.home-case-light {
  background: #e8eccf;
  color: #4f574f;
}

.home-case-copy {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  flex-direction: column;
  padding: 58px;
}

.home-case h3 {
  margin-block-start: 20px;
  font-size: 2.55rem;
}

.home-case-dark h3 {
  color: var(--white);
}

.home-case p {
  margin-block-start: 20px;
  line-height: 1.75;
}

.tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--coral);
  font-size: 0.74rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.09em;
}

.tag::before {
  content: "";
  width: 7px;
  height: 7px;
  background: currentColor;
}

.home-case-light .tag {
  color: #b33b22;
}

.case-points {
  display: grid;
  gap: 10px;
  margin-block-start: 26px;
  font-size: 0.9rem;
  font-weight: 700;
}

.case-points li {
  display: flex;
  gap: 10px;
}

.case-points li::before {
  content: "✓";
  color: var(--lime);
  font-weight: 900;
}

.home-case-light .case-points li::before {
  color: #448482;
}

.home-case-visual {
  min-height: 540px;
  border-radius: 0;
}

/* Product mockups */
.portfolio-thumb {
  position: relative;
  display: grid;
  min-height: 290px;
  overflow: hidden;
  place-items: center;
}

.portfolio-dashboard {
  background: #353d38;
}

.mock-window {
  width: 84%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  background: #171b19;
  box-shadow: 0 30px 70px rgba(0, 0, 0, 0.32);
  transform: perspective(950px) rotateY(-7deg) rotateX(2deg);
  transition: transform 0.7s var(--ease);
}

.home-case:hover .mock-window,
.portfolio-card:hover .mock-window {
  transform: perspective(950px) rotateY(0) rotateX(0) translateY(-4px);
}

.mock-topbar {
  display: flex;
  gap: 6px;
  padding: 12px 14px;
  border-block-end: 1px solid #303632;
}

.mock-topbar span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #58605b;
}

.mock-topbar span:first-child {
  background: var(--coral);
}

.mock-dashboard {
  display: grid;
  grid-template-columns: 58px 1fr;
  min-height: 300px;
}

.mock-sidebar {
  border-inline-end: 1px solid #303632;
  background: #111412;
}

.mock-panel {
  padding: 24px;
}

.mock-kpis {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.mock-kpis span {
  height: 54px;
  border: 1px solid #3a423d;
  background: #212723;
}

.mock-chart {
  display: flex;
  height: 125px;
  align-items: flex-end;
  gap: 16px;
  margin-block-start: 16px;
  padding: 16px 18px 0;
  border: 1px solid #3a423d;
}

.mock-chart i {
  flex: 1;
  height: 35%;
  background: var(--lime);
  transition: height 0.6s var(--ease);
}

.mock-chart i:nth-child(2) { height: 70%; background: var(--cyan); }
.mock-chart i:nth-child(3) { height: 48%; background: var(--coral); }
.mock-chart i:nth-child(4) { height: 86%; }

.home-case:hover .mock-chart i:nth-child(1),
.portfolio-card:hover .mock-chart i:nth-child(1) { height: 54%; }
.home-case:hover .mock-chart i:nth-child(2),
.portfolio-card:hover .mock-chart i:nth-child(2) { height: 84%; }

.mock-table {
  display: grid;
  gap: 8px;
  margin-block-start: 15px;
}

.mock-table span {
  height: 8px;
  background: #343b37;
}

.portfolio-commerce {
  background: #c6d3c7;
}

.store-preview {
  position: relative;
  width: 72%;
  height: 78%;
}

.store-phone {
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 12%;
  z-index: 2;
  display: flex;
  width: 190px;
  min-height: 380px;
  flex-direction: column;
  padding: 18px;
  border: 8px solid #1a1e1b;
  border-radius: 32px;
  background: var(--paper);
  box-shadow: 0 26px 48px rgba(16, 19, 17, 0.25);
  transform: rotate(-4deg);
  transition: transform 0.6s var(--ease);
}

.home-case:hover .store-phone,
.portfolio-card:hover .store-phone {
  transform: rotate(0) translateY(-7px);
}

.store-image {
  height: 190px;
  background: var(--coral);
}

.store-line {
  width: 58%;
  height: 9px;
  margin-block-start: 14px;
  background: #aeb5ad;
}

.store-line.wide {
  width: 88%;
  height: 12px;
  background: var(--ink);
}

.store-button {
  height: 38px;
  margin-block-start: auto;
  background: var(--lime);
}

.store-stats {
  position: absolute;
  inset-inline-end: 0;
  inset-block-end: 14%;
  z-index: 1;
  display: grid;
  width: 66%;
  gap: 12px;
  padding: 24px;
  border: 1px solid rgba(16, 19, 17, 0.2);
  background: rgba(255, 255, 255, 0.72);
}

.store-stats i {
  height: 44px;
  background: #f6f5ef;
  border-inline-start: 5px solid var(--coral);
}

.store-stats i:nth-child(2) { border-color: var(--cyan); }
.store-stats i:nth-child(3) { border-color: var(--lime-dark); }

/* Why / strengths */
.why-section {
  background: var(--paper);
}

.why-layout {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(0, 1.28fr);
  gap: 100px;
}

.why-intro {
  position: sticky;
  inset-block-start: 120px;
  align-self: start;
}

.why-intro .section-title {
  font-size: 3rem;
}

.why-intro .section-subtitle {
  margin-block-start: 24px;
}

.why-list {
  border-block-start: 1px solid #bdc0b9;
}

.why-item {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 22px;
  padding-block: 34px;
  border-block-end: 1px solid #bdc0b9;
}

.why-number {
  color: var(--coral);
  font-size: 0.75rem;
  font-weight: 900;
}

.why-item h3 {
  font-size: 1.35rem;
}

.why-item p {
  max-width: 560px;
  margin-block-start: 10px;
  color: var(--muted);
}

.trust-bar {
  padding-block: 0;
  background: var(--ink);
  color: var(--white);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding-inline: 28px;
}

.stats > div {
  min-width: 0;
  padding: 46px 30px;
  border-inline-start: 1px solid rgba(255, 255, 255, 0.12);
}

.stats > div:last-child {
  border-inline-end: 1px solid rgba(255, 255, 255, 0.12);
}

.stat-num {
  color: var(--lime);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.stat-label {
  margin-block-start: 10px;
  color: #aeb5b0;
  font-size: 0.85rem;
}

/* Process */
.home-process {
  background: var(--alt-bg);
}

.process-grid,
.steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
}

.steps {
  margin-block-start: 48px;
}

.process-card,
.step {
  position: relative;
  min-height: 280px;
  padding: 36px 28px;
  background: var(--ink);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.process-card:hover,
.step:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Glass/glow accent inside card */
.process-card::before,
.step::before {
  content: "";
  position: absolute;
  inset-block-start: 0;
  inset-inline-start: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, transparent 50%);
  pointer-events: none;
}

.process-card > span,
.step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: rgba(182, 255, 107, 0.1); /* lime tint */
  color: var(--lime);
  font-size: 1.15rem;
  font-weight: 800;
  margin-block-end: 24px;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
}

.process-card:hover > span,
.step:hover .step-num {
  background: var(--lime);
  color: var(--ink);
  transform: scale(1.1) rotate(5deg);
}

.process-card h3,
.step h4 {
  margin-block-start: 0;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
}

.process-card p,
.step p {
  margin-block-start: 12px;
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Services page */
.service-block {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.9fr);
  gap: 80px;
  align-items: center;
  padding-block: 88px;
  border-block-end: 1px solid var(--line);
}

.service-block:first-child {
  padding-block-start: 0;
}

.service-block:last-child {
  padding-block-end: 0;
  border-block-end: 0;
}

.service-block .num {
  margin-block-end: 18px;
  color: var(--coral);
  font-size: 0.78rem;
  font-weight: 900;
}

.service-block h3 {
  max-width: 650px;
  font-size: 2.65rem;
}

.service-block > div > p {
  max-width: 650px;
  margin-block-start: 20px;
  color: var(--muted);
  font-size: 1.05rem;
}

.service-block ul {
  display: grid;
  gap: 13px;
  margin-block-start: 28px;
}

.service-block li {
  display: flex;
  gap: 12px;
  font-size: 0.94rem;
  font-weight: 650;
}

.service-block li::before {
  content: "✓";
  color: var(--lime-dark);
  font-weight: 900;
}

.service-visual {
  position: relative;
  display: grid;
  min-height: 390px;
  overflow: hidden;
  place-items: center;
  border: 1px solid rgba(16, 19, 17, 0.14);
  border-radius: var(--radius);
  background: #dfe6df;
}

.visual-dashboard .mini-browser,
.visual-cms .mini-browser {
  width: 78%;
  overflow: hidden;
  border: 7px solid var(--ink);
  border-radius: 5px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.mini-browser-bar {
  height: 32px;
  border-block-end: 1px solid var(--line);
  background: var(--paper);
}

.mini-dashboard-body {
  display: grid;
  grid-template-columns: 50px 1fr;
  height: 230px;
}

.mini-dashboard-nav {
  background: var(--ink);
}

.mini-dashboard-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 18px;
}

.mini-dashboard-main span {
  height: 58px;
  background: #e7eae5;
}

.mini-dashboard-main span:last-child {
  grid-column: 1 / -1;
  height: 110px;
  border-block-end: 28px solid var(--lime);
}

.visual-api {
  background: var(--ink);
}

.visual-api .api-stage {
  position: relative;
  width: 75%;
  height: 260px;
}

.visual-api .api-stage span {
  position: absolute;
  display: grid;
  width: 78px;
  height: 78px;
  place-items: center;
  border: 1px solid #6f7871;
  background: #1e2420;
  color: var(--white);
  font-size: 0.72rem;
  font-weight: 900;
}

.visual-api .api-stage span:first-child {
  inset: 50% auto auto 50%;
  z-index: 2;
  background: var(--lime);
  color: var(--ink);
  transform: translate(-50%, -50%);
}

.visual-api .api-stage span:nth-child(2) { inset: 0 auto auto 0; }
.visual-api .api-stage span:nth-child(3) { inset: 0 0 auto auto; }
.visual-api .api-stage span:nth-child(4) { inset: auto 0 0 auto; }

.visual-api .api-stage::before,
.visual-api .api-stage::after {
  content: "";
  position: absolute;
  inset-inline-start: 50%;
  inset-block-start: 50%;
  width: 72%;
  height: 1px;
  background: #667069;
  transform: translate(-50%, -50%) rotate(32deg);
}

.visual-api .api-stage::after {
  transform: translate(-50%, -50%) rotate(-32deg);
}

.visual-cms {
  background: #ffd9d0;
}

.mini-cms-hero {
  height: 105px;
  margin: 14px;
  background: var(--coral);
}

.mini-cms-copy {
  width: 58%;
  height: 12px;
  margin: 0 14px 12px;
  background: var(--ink);
  box-shadow: 0 22px #c3c8c1, 0 42px #c3c8c1;
}

.app-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  background: #dcece8;
}

.app-phone {
  position: relative;
  display: flex;
  width: 150px;
  height: 300px;
  flex-direction: column;
  padding: 18px 14px;
  border: 7px solid var(--ink);
  border-radius: 26px;
  background: var(--paper);
  box-shadow: 0 22px 42px rgba(16, 19, 17, 0.2);
}

.app-phone + .app-phone {
  transform: translateY(24px);
}

.app-phone::before {
  content: "";
  width: 42px;
  height: 5px;
  margin: 0 auto 18px;
  border-radius: 4px;
  background: var(--ink);
}

.app-phone i {
  display: block;
  height: 105px;
  background: var(--coral);
}

.app-phone span {
  height: 9px;
  margin-block-start: 14px;
  background: #bbc0b9;
}

.app-phone span:last-child {
  height: 34px;
  margin-block-start: auto;
  background: var(--lime);
}

/* Portfolio page */
.portfolio-intro {
  max-width: 800px;
  margin-block-end: 52px;
}

.portfolio-intro .section-subtitle {
  margin-block-start: 18px;
}

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

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

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

.card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.portfolio-card {
  overflow: hidden;
  transition: transform 0.45s var(--ease), box-shadow 0.45s var(--ease);
}

.portfolio-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.portfolio-card .store-preview {
  width: 78%;
  height: 245px;
}

.portfolio-card .store-phone {
  width: 132px;
  min-height: 255px;
  padding: 13px;
  border-width: 6px;
  border-radius: 24px;
}

.portfolio-card .store-image {
  height: 112px;
}

.portfolio-card .store-button {
  height: 30px;
}

.portfolio-card .store-stats {
  width: 62%;
  padding: 16px;
}

.portfolio-card .store-stats i {
  height: 32px;
}

.portfolio-body {
  padding: 34px;
}

.portfolio-body h3 {
  margin-block-start: 18px;
  font-size: 1.75rem;
}

.portfolio-body > p {
  margin-block-start: 16px;
  color: var(--muted);
}

.portfolio-results {
  display: grid;
  gap: 9px;
  margin-block-start: 22px;
  color: #4c544e;
  font-size: 0.88rem;
  font-weight: 650;
}

.portfolio-results li {
  display: flex;
  gap: 10px;
}

.portfolio-results li::before {
  content: "✓";
  color: var(--lime-dark);
  font-weight: 900;
}

.portfolio-api {
  background: #202622;
}

.api-map {
  position: relative;
  width: 280px;
  height: 220px;
}

.api-node {
  position: absolute;
  z-index: 2;
  display: grid;
  width: 68px;
  height: 68px;
  place-items: center;
  border: 1px solid #626d65;
  background: #303833;
  color: var(--white);
  font-size: 0.66rem;
  font-weight: 900;
}

.api-node.core {
  inset: 50% auto auto 50%;
  background: var(--lime);
  color: var(--ink);
  transform: translate(-50%, -50%);
}

.api-node:nth-child(2) { inset-block-start: 0; inset-inline-start: 0; }
.api-node:nth-child(3) { inset-block-start: 0; inset-inline-end: 0; }
.api-node:nth-child(4) { inset-block-end: 0; inset-inline-end: 0; }

.api-line {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 210px;
  height: 1px;
  background: #5e6961;
  transform-origin: center;
}

.line-one { transform: translate(-50%, -50%) rotate(30deg); }
.line-two { transform: translate(-50%, -50%) rotate(-30deg); }
.line-three { transform: translate(-50%, -50%) rotate(90deg); }

[dir="rtl"] .line-one { transform: translate(-50%, -50%) rotate(-30deg); }
[dir="rtl"] .line-two { transform: translate(-50%, -50%) rotate(30deg); }

.portfolio-cms {
  background: #ffe0d7;
}

.cms-layout {
  width: 78%;
  padding: 18px;
  border: 6px solid var(--ink);
  background: var(--white);
  box-shadow: var(--shadow);
}

.cms-hero {
  height: 90px;
  background: var(--coral);
}

.cms-copy {
  display: grid;
  gap: 7px;
  width: 70%;
  margin-block: 15px;
}

.cms-copy span {
  height: 7px;
  background: #bcc2bb;
}

.cms-copy span:first-child {
  height: 10px;
  background: var(--ink);
}

.cms-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.cms-cards i {
  height: 54px;
  background: #e6e9e4;
}

/* About */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(360px, 1.1fr);
  gap: 90px;
  align-items: center;
}

.story-grid > div:first-child > p {
  margin-block-start: 26px;
  color: var(--muted);
  font-size: 1.12rem;
  line-height: 1.85;
}

.story-visual {
  position: relative;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  padding: 46px;
  place-items: center;
  background: var(--ink);
  color: var(--white);
}

.studio-board {
  width: 88%;
  border-block-start: 1px solid #657068;
}

.studio-board span {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  border-block-end: 1px solid #657068;
  color: #d9dedb;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.studio-board span::after {
  content: "↗";
  color: var(--lime);
  font-size: 1.2rem;
}

.mission-section {
  background: var(--coral);
}

.mission-copy {
  max-width: 880px;
  margin-inline: auto;
  text-align: center;
}

.mission-copy .section-title {
  margin-inline: auto;
}

.mission-copy p {
  margin-block-start: 24px;
  color: #4f1d13;
  font-size: 1.22rem;
  line-height: 1.8;
}

.value-card {
  min-height: 300px;
  padding: 28px;
}

.values-grid {
  margin-block-start: 48px;
}

.value-card .icon {
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
}

.value-card h3 {
  margin-block-start: 70px;
  font-size: 1.3rem;
}

.value-card p {
  margin-block-start: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.about-stats {
  background: var(--ink);
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(320px, 0.8fr);
  gap: 90px;
  align-items: start;
}

.contact-form {
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form [name="_honey"] {
  position: absolute;
  inset-inline-start: -9999px;
}

.consent-row {
  display: grid;
  grid-template-columns: 20px minmax(0, 1fr);
  gap: 10px;
  align-items: start;
  margin-block: 4px 22px;
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.55;
}

.consent-row input {
  width: 18px;
  height: 18px;
  margin-block-start: 2px;
  accent-color: var(--lime-dark);
}

.consent-row a {
  color: var(--ink);
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.form-group {
  margin-block-end: 22px;
}

.form-group label {
  display: block;
  margin-block-end: 8px;
  color: var(--ink);
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  border: 1px solid #c7cbc5;
  border-radius: 3px;
  background: #fafaf6;
  color: var(--ink);
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input,
.form-group select {
  height: 54px;
  padding-inline: 16px;
}

.form-group textarea {
  min-height: 165px;
  resize: vertical;
  padding: 15px 16px;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--ink);
  background: var(--white);
  box-shadow: 0 0 0 3px rgba(96, 214, 210, 0.22);
  outline: none;
}

.contact-info-title {
  margin-block-end: 28px;
  font-size: 1.75rem;
}

.contact-info-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 16px;
  padding-block: 20px;
  border-block-end: 1px solid var(--line);
}

.contact-info-item:first-of-type {
  border-block-start: 1px solid var(--line);
}

.icon-sm {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid var(--ink);
  color: var(--ink);
  font-size: 0.68rem;
  font-weight: 900;
}

.contact-info-item h4 {
  font-size: 0.95rem;
}

.contact-info-item p {
  margin-block-start: 5px;
  color: var(--muted);
}

.quick-links-title {
  margin-block-start: 34px;
}

.social-links {
  display: flex;
  gap: 10px;
  margin-block-start: 16px;
}

.social-links a {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--ink);
  border-radius: 3px;
  background: transparent;
  color: var(--ink);
  font-size: 0.72rem;
  font-weight: 900;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.social-links a:hover {
  background: var(--ink);
  color: var(--white);
}

.quick-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  margin-block-start: 16px;
}

/* Floating WhatsApp contact */
.whatsapp-float {
  position: fixed;
  inset-inline-end: clamp(16px, 2.5vw, 32px);
  inset-block-end: clamp(16px, 2.5vw, 32px);
  z-index: 1200;
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border: 2px solid rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 12px 30px rgba(16, 34, 23, 0.28);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.whatsapp-float img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  background: #38e577;
  box-shadow: 0 16px 38px rgba(16, 34, 23, 0.36);
  outline: none;
  transform: translateY(-3px) scale(1.04);
}

.whatsapp-float::before {
  content: "";
  position: absolute;
  inset: -7px;
  z-index: -1;
  border: 1px solid rgba(37, 211, 102, 0.42);
  border-radius: inherit;
}

@media (max-width: 600px) {
  .whatsapp-float {
    width: 54px;
    height: 54px;
    inset-inline-end: 14px;
    inset-block-end: 14px;
  }
}

@media print {
  .whatsapp-float { display: none; }
}

.quick-link-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 0.83rem;
  font-weight: 800;
}

.quick-link-list a::after {
  content: "↗";
  color: var(--coral);
  transition: transform 0.25s var(--ease);
}

.quick-link-list a:hover::after {
  transform: translate(3px, -3px);
}

#form-feedback {
  display: none;
  margin-block-start: 18px;
  color: #3d6b1c;
  font-weight: 700;
}

/* Privacy policy */
.privacy-content { padding-block: 90px; }
.privacy-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 0.34fr); gap: 72px; align-items: start; }
.privacy-article { max-width: 820px; }
.privacy-article section { padding-block: 0; margin-block-end: 44px; }
.privacy-article h2 { margin-block-end: 16px; font-size: clamp(1.45rem, 3vw, 2rem); }
.privacy-article p,
.privacy-article li { color: var(--muted); }
.privacy-article ul { display: grid; gap: 10px; padding-inline-start: 22px; list-style: disc; }
.privacy-article a,
.privacy-aside a { color: var(--ink); font-weight: 700; text-decoration: underline; text-decoration-color: var(--lime-dark); text-underline-offset: 4px; }
.privacy-aside { position: sticky; inset-block-start: calc(var(--header-height) + 24px); padding: 28px; border: 1px solid var(--line); background: var(--white); box-shadow: var(--shadow); }
.privacy-aside h2 { margin-block-end: 14px; font-size: 1.2rem; }
.privacy-aside p + p { margin-block-start: 12px; }
@media (max-width: 840px) {
  .privacy-layout { grid-template-columns: 1fr; gap: 28px; }
  .privacy-aside { position: static; order: -1; }
}
@media (max-width: 600px) {
  .privacy-content { padding-block: 64px; }
  .privacy-article section { margin-block-end: 34px; }
}

/* CTA */
.cta-banner {
  padding-block: 86px;
  background: var(--lime);
}

.cta-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 80px;
  align-items: end;
}

.cta-banner .section-kicker {
  color: #43551f;
}

.cta-banner .section-kicker::before {
  background: var(--ink);
}

.cta-banner h2 {
  max-width: 860px;
  font-size: 3.2rem;
}

.cta-banner p:not(.section-kicker) {
  max-width: 700px;
  margin-block-start: 18px;
  color: #43511f;
  font-size: 1.04rem;
}

/* Footer */
footer {
  padding-block: 82px 28px;
  background: var(--ink);
  color: #aeb5b0;
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(260px, 1.45fr) repeat(3, minmax(150px, 0.8fr));
  gap: 48px;
}

.footer-logo {
  color: var(--white);
}

.footer-logo .logo-mark {
  background: var(--lime);
  color: var(--ink);
}

.footer-brand p {
  max-width: 360px;
  margin-block-start: 24px;
}

.footer-grid > div:first-child > p {
  max-width: 360px;
  margin-block-start: 24px;
}

footer h4 {
  margin-block-end: 20px;
  color: var(--white);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

footer ul {
  display: grid;
  gap: 12px;
}

footer li,
footer a {
  font-size: 0.88rem;
}

footer a {
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--lime);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-block-start: 66px;
  padding-block-start: 24px;
  border-block-start: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 0.78rem;
}

/* Motion */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.75s var(--ease), transform 0.75s var(--ease);
}

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

.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }

/* RTL */
[dir="rtl"] .hero-media {
  background-position: left 72px center;
  transform: translate3d(var(--hero-x, 0), var(--hero-y, 0), 0) scaleX(-1);
  animation-name: heroBackdropRevealRtl;
}

[dir="rtl"] .hero-content > .eyebrow,
[dir="rtl"] .hero-content > h1,
[dir="rtl"] .hero-content > .hero-lead,
[dir="rtl"] .hero-content > .hero-buttons {
  animation-name: heroCopyRevealRtl;
}

[dir="rtl"] .hero-grid-lines {
  box-shadow: -30vw 0 rgba(255, 255, 255, 0.06), -60vw 0 rgba(255, 255, 255, 0.06), -90vw 0 rgba(255, 255, 255, 0.06);
}

[dir="rtl"] .btn::after,
[dir="rtl"] .service-link::after,
[dir="rtl"] .text-link::after,
[dir="rtl"] .studio-board span::after {
  transform: scaleX(-1);
}

[dir="rtl"] .visual-api .api-stage::before {
  transform: translate(50%, -50%) rotate(-32deg);
}

[dir="rtl"] .visual-api .api-stage::after {
  transform: translate(50%, -50%) rotate(32deg);
}

[dir="rtl"] .hero-real-devices img {
  scale: -1 1;
}

/* Responsive */
@media (max-height: 760px) and (min-width: 841px) {
  .hero {
    height: 100svh;
    min-height: 0;
    max-height: none;
    padding-block: calc(var(--header-height) + 22px) 66px;
  }
  .hero h1 {
    max-width: 650px;
    font-size: 3.55rem;
  }
  .hero-lead {
    margin-block-start: 20px;
    font-size: 1.04rem;
  }
  .hero-buttons {
    margin-block-start: 24px;
  }
  .hero-capabilities {
    margin-block-start: 22px;
  }
}

@media (max-height: 680px) and (min-width: 841px) {
  .hero {
    height: 100svh;
    min-height: 0;
  }
  .hero h1 {
    max-width: 600px;
    font-size: 3.2rem;
  }
  .hero-capabilities {
    display: none;
  }
  .hero-device-stage {
    height: 66%;
    opacity: 0.82;
  }
  .home-page .service-overview {
    padding-block-start: 42px;
  }
}

@media (max-width: 1080px) {
  .nav-links { gap: 18px; }
  .nav-cta { display: none; }
  .hero h1 { font-size: 4rem; max-width: 540px; }
  .hero-device-stage { inset-inline-end: -4vw; width: 54vw; opacity: 0.8; }
  .section-title { font-size: 2.9rem; }
  .home-case-copy { padding: 42px; }
  .home-case h3 { font-size: 2.15rem; }
  .why-layout { gap: 60px; }
  .grid-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1.2fr repeat(3, 0.8fr); gap: 28px; }
}

@media (max-width: 840px) {
  :root {
    --header-height: 70px;
    --hero-gutter: 22px;
  }
  .container { padding-inline: 22px; }
  section { padding-block: 86px; }
  .menu-toggle { display: flex; }
  .nav-links {
    position: fixed;
    inset: var(--header-height) 0 auto 0;
    z-index: 999;
    display: grid;
    max-height: 0;
    overflow: hidden;
    padding-inline: 22px;
    background: var(--paper);
    opacity: 0;
    transform: translateY(-12px);
    transition: max-height 0.45s var(--ease), opacity 0.25s ease, transform 0.35s var(--ease), padding 0.35s ease;
  }
  header.open .nav-links {
    height: calc(100svh - var(--header-height));
    max-height: calc(100svh - var(--header-height));
    overflow-y: auto;
    padding-block: 26px 34px;
    border-block-end: 1px solid var(--line);
    opacity: 1;
    transform: translateY(0);
  }
  .home-page .nav-links {
    background: #0a0d0b;
  }
  .home-page .nav-links a {
    border-block-end-color: rgba(255, 255, 255, 0.14);
    color: rgba(255, 255, 255, 0.82);
  }
  .nav-links a {
    padding-block: 13px;
    border-block-end: 1px solid var(--line);
    font-size: 1.1rem;
  }
  .nav-links a::after { display: none; }
  .hero {
    height: 100svh;
    min-height: 590px;
    max-height: none;
    padding-block: calc(var(--header-height) + 30px) 68px;
  }
  .hero-device-stage {
    inset-inline-end: -17%;
    inset-block-start: 52%;
    width: 88vw;
    max-width: 680px;
    opacity: 0.36;
    transform: translateY(-42%);
  }
  .hero { --hero-media-opacity: 0.72; }
  .hero-media {
    background-position: right 18px bottom 12px;
    background-size: auto 86%;
  }
  .hero::before { background: rgba(5, 7, 6, 0.28); }
  .hero h1 { max-width: 610px; font-size: 3.5rem; }
  .hero-lead { max-width: 560px; }
  .hero-capabilities { margin-block-start: 34px; }
  .scroll-cue { inset-inline-end: 22px; }
  .split-heading,
  .why-layout,
  .story-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .section-heading { margin-block-end: 40px; }
  .why-intro { position: static; }
  .service-grid,
  .portfolio-grid,
  .grid-2 { grid-template-columns: 1fr; }
  .service-card { min-height: 330px; }
  .home-case { grid-template-columns: 1fr; }
  .home-case-copy { min-height: 390px; }
  .home-case-visual { min-height: 440px; }
  .stats { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stats > div:nth-child(3) { border-block-start: 1px solid rgba(255, 255, 255, 0.12); }
  .stats > div:nth-child(4) { border-block-start: 1px solid rgba(255, 255, 255, 0.12); }
  .process-grid,
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .process-card:nth-child(3),
  .process-card:nth-child(4),
  .step:nth-child(3),
  .step:nth-child(4) { /* Removed grid border hacks */ }
  .service-block { grid-template-columns: 1fr; gap: 38px; }
  .service-block:nth-child(even) > .service-visual { order: 2; }
  .service-block:nth-child(even) > div:not(.service-visual) { order: 1; }
  .service-visual { min-height: 350px; }
  .page-hero { padding-block: 94px 82px; }
  .page-hero h1 { font-size: 3.45rem; }
  .cta-inner { grid-template-columns: 1fr; gap: 34px; align-items: start; }
  .cta-banner h2 { font-size: 2.65rem; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 44px; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 600px) {
  :root { --hero-gutter: 18px; }
  .container { padding-inline: 18px; }
  section { padding-block: 70px; }
  .logo { font-size: 0.98rem; }
  .logo-mark { width: 30px; height: 30px; }
  .nav-actions { gap: 8px; }
  .lang-switch button { min-width: 30px; }
  .hero {
    height: 100svh;
    min-height: 580px;
    max-height: none;
    padding-block: calc(var(--header-height) + 22px) 66px;
  }
  .hero-device-stage {
    inset-inline-end: -45%;
    inset-block-start: 51%;
    width: 116vw;
    opacity: 0.29;
  }
  .hero-monitor-layout { height: 280px; }
  .hero-monitor-chart { height: 118px; }
  .hero-phone { width: 128px; height: 260px; }
  .hero-phone-product { height: 96px; }
  .hero { --hero-media-opacity: 0.68; }
  .hero-media {
    background-position: right 18px bottom 12px;
    background-size: auto 82%;
  }
  .hero::before { background: rgba(5, 7, 6, 0.4); }
  .hero h1 { font-size: 2.72rem; line-height: 1.02; }
  .hero-lead { margin-block-start: 20px; font-size: 1rem; line-height: 1.55; }
  .hero-buttons { margin-block-start: 26px; }
  .hero-buttons .btn { width: 100%; }
  .hero-capabilities { display: none; }
  .scroll-cue { display: none; }
  .section-kicker,
  .eyebrow { font-size: 0.68rem; }
  .section-title { font-size: 2.35rem; }
  .section-subtitle { font-size: 1rem; }
  .service-card { min-height: 310px; padding: 26px; }
  .service-symbol { width: 66px; height: 66px; }
  .service-card h3 { margin-block-start: 44px; font-size: 1.62rem; }
  .home-case-copy { min-height: auto; padding: 36px 26px; }
  .home-case h3 { font-size: 1.85rem; }
  .home-case-visual { min-height: 350px; }
  .mock-window { width: 92%; }
  .mock-dashboard { min-height: 230px; }
  .mock-panel { padding: 14px; }
  .mock-chart { height: 95px; gap: 10px; }
  .store-preview { width: 88%; }
  .store-phone { width: 142px; min-height: 290px; inset-inline-start: 2%; }
  .store-image { height: 125px; }
  .store-stats { width: 64%; padding: 16px; }
  .why-intro .section-title { font-size: 2.35rem; }
  .why-item { grid-template-columns: 44px 1fr; }
  .stats { grid-template-columns: 1fr; padding-inline: 18px; }
  .stats > div { padding: 28px 12px; border-inline-end: 1px solid rgba(255, 255, 255, 0.12); border-block-start: 1px solid rgba(255, 255, 255, 0.12); }
  .stats > div:first-child { border-block-start: 0; }
  .process-grid,
  .steps { grid-template-columns: 1fr; }
  .process-card,
  .step { min-height: 220px; }
  .process-card:first-child,
  .step:first-child { /* no grid border hacks */ }
  .process-card h3,
  .step h4 { margin-block-start: 0; }
  .page-hero { padding-block: 78px 66px; }
  .page-hero h1 { font-size: 2.75rem; overflow-wrap: anywhere; }
  .page-hero p { font-size: 1rem; }
  .page-hero::after { width: 100px; }
  .service-block { padding-block: 62px; }
  .service-block h3 { font-size: 2.05rem; overflow-wrap: anywhere; }
  .service-visual { min-height: 310px; }
  .visual-dashboard .mini-browser,
  .visual-cms .mini-browser { width: 90%; }
  .app-visual { gap: 8px; }
  .app-phone { width: 126px; height: 260px; }
  .portfolio-body { padding: 26px; }
  .portfolio-body h3 { font-size: 1.52rem; }
  .story-grid { grid-template-columns: minmax(0, 1fr); }
  .story-visual { min-height: 340px; padding: 28px; }
  .grid-4,
  .grid-3 { grid-template-columns: 1fr; }
  .value-card { min-height: 250px; }
  .contact-grid { width: 100%; gap: 44px; }
  .contact-form { width: 100%; padding: 28px 20px; }
  .contact-info-item { grid-template-columns: 42px minmax(0, 1fr); gap: 12px; }
  .contact-info-item p,
  .contact-info-item a { overflow-wrap: anywhere; }
  .cta-banner { padding-block: 66px; }
  .cta-banner h2 { font-size: 2.25rem; }
  .cta-banner .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-brand { grid-column: auto; }
  .footer-bottom { align-items: flex-start; flex-direction: column; }
  .home-page .service-overview { padding-block-start: 40px; }
}

@media (max-width: 600px) and (max-height: 700px) {
  .hero {
    height: 100svh;
    min-height: 0;
    padding-block: calc(var(--header-height) + 10px) 60px;
  }
  .hero h1 {
    font-size: 2.2rem;
  }
  .hero-lead {
    margin-block-start: 14px;
    font-size: 0.88rem;
  }
  .hero-buttons { gap: 8px; margin-block-start: 18px; }
  .hero-buttons .btn { min-height: 44px; }
}

@media (max-width: 390px) {
  .lang-switch button { min-width: 27px; min-height: 30px; font-size: 0.6rem; }
  .menu-toggle { width: 38px; height: 38px; }
  .hero h1 { font-size: 2.38rem; }
  .hero .eyebrow { margin-block-end: 12px; }
  .btn { padding-inline: 16px; }
  .section-title { font-size: 2.08rem; }
  .service-card h3 { font-size: 1.48rem; }
  .page-hero h1 { font-size: 2.35rem; }
  .service-block h3 { font-size: 1.82rem; }
  .app-phone { width: 112px; height: 240px; padding: 14px 10px; }
}

@media (max-height: 760px) and (min-width: 841px) {
  .hero-real-monitor { width: min(52vw, 900px); inset-inline-end: -4vw; }
  .hero-real-phone.hero-real-android { width: min(12vw, 220px); inset-inline-end: 32vw; }
  .hero-real-phone.hero-real-iphone { width: min(13vw, 240px); inset-inline-end: 48vw; }
}

@media (max-width: 1080px) {
  .hero-device-stage.hero-real-devices {
    inset-block: var(--header-height) 54px;
    inset-inline: auto 0;
    width: 72vw;
    height: auto;
    opacity: 1;
  }
  .hero-real-monitor { width: min(60vw, 900px); inset-inline-end: -8vw; inset-block-start: auto; inset-block-end: -5%; }
  .hero-real-phone.hero-real-android { width: min(16vw, 280px); inset-inline-end: 34vw; inset-block-end: 0%; inset-block-start: auto; }
  .hero-real-phone.hero-real-iphone { width: min(18vw, 300px); inset-inline-end: 56vw; inset-block-end: auto; inset-block-start: 4%; }
}

@media (max-width: 840px) {
  .hero {
    height: auto;
    min-height: 100svh;
    padding-block-end: 360px;
  }
  .hero-device-stage.hero-real-devices {
    inset-block-start: auto;
    inset-block-end: 40px;
    height: 320px;
    inset-inline: auto 0;
    width: 100vw;
    opacity: 1;
  }
  .hero-real-monitor {
    inset-block-start: auto;
    inset-block-end: 5%;
    inset-inline-end: 15vw;
    width: 70vw;
  }
  .hero-real-phone.hero-real-iphone { /* Tablet */
    inset-block-start: auto;
    inset-block-end: 0%;
    inset-inline-end: 62vw;
    width: 32vw;
  }
  .hero-real-phone.hero-real-android { /* Phone */
    --android-rot: 0deg;
    --android-rot-hover: 0deg;
    inset-block-start: auto;
    inset-block-end: 0%;
    inset-inline-end: 12vw;
    width: 20vw;
  }
}

@media (max-width: 600px) {
  .hero-real-monitor {
    inset-block-start: auto;
    inset-block-end: 10%;
    inset-inline-end: 10vw;
    width: 80vw;
  }
  .hero-real-phone.hero-real-iphone { /* Tablet */
    inset-block-start: auto;
    inset-block-end: 5%;
    inset-inline-end: 62vw;
    width: 34vw;
  }
  .hero-real-phone.hero-real-android { /* Phone */
    --android-rot: 0deg;
    --android-rot-hover: 0deg;
    inset-block-start: auto;
    inset-block-end: 0%;
    inset-inline-end: 8vw;
    width: 22vw;
  }
}

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