/* Requested revisions: preserve the original visual system while applying only scoped changes. */

/* ---------- Language and brand ---------- */
.brand__logo {
  width: 35px;
  height: 34px;
  flex: 0 0 35px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px rgba(91, 182, 255, .24));
}

html[lang='en'] body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.7;
}

html[lang='en'] .hero__content,
html[lang='en'] .section-heading,
html[lang='en'] .about-content,
html[lang='en'] .process-intro,
html[lang='en'] .faq-intro,
html[lang='en'] .footer {
  letter-spacing: normal;
}

.language-control {
  position: relative;
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  gap: 7px;
  padding: 6px 7px 6px 10px;
  border: 1px solid rgba(181, 199, 255, .2);
  border-radius: 12px;
  color: #e8ecf8;
  background: linear-gradient(135deg, rgba(92, 73, 178, .18), rgba(54, 143, 199, .12));
  box-shadow: inset 0 1px rgba(255, 255, 255, .035);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s ease, box-shadow .3s ease, transform .3s ease;
}

.language-control:hover,
.language-control:focus-within,
.language-control.is-open {
  border-color: rgba(255, 255, 255, .38);
  box-shadow: 0 10px 28px rgba(46, 95, 193, .18), inset 0 1px rgba(255,255,255,.06);
  transform: translateY(-2px);
}

.language-control__icon {
  --icon-size: 20px;
  opacity: .9;
}

.language-control__trigger {
  display: inline-flex;
  min-width: 84px;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 4px 3px;
  border: 0;
  outline: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
}

.language-control__chevron {
  flex: 0 0 auto;
  color: #aebce0;
  transition: transform .22s ease, color .22s ease;
}

.language-control.is-open .language-control__chevron {
  color: #fff;
  transform: rotate(180deg);
}

.language-control__menu {
  position: absolute;
  z-index: 180;
  top: calc(100% + 10px);
  right: 0;
  width: 148px;
  padding: 6px;
  border: 1px solid rgba(183, 201, 255, .22);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(27, 39, 73, .98), rgba(13, 24, 49, .99));
  box-shadow: 0 22px 55px rgba(0, 0, 0, .42), inset 0 1px rgba(255,255,255,.045);
  backdrop-filter: blur(20px) saturate(135%);
  -webkit-backdrop-filter: blur(20px) saturate(135%);
}

.language-control__menu[hidden] { display: none; }

.language-control__menu button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 9px 10px;
  border: 1px solid transparent;
  border-radius: 10px;
  color: #cbd5ef;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  text-align: start;
  transition: color .2s ease, border-color .2s ease, background .2s ease, transform .2s ease;
}

.language-control__menu button:hover,
.language-control__menu button:focus-visible {
  border-color: rgba(132, 157, 235, .18);
  color: #fff;
  background: linear-gradient(135deg, rgba(105, 76, 220, .24), rgba(37, 141, 196, .14));
  outline: 0;
  transform: translateX(-2px);
}

.language-control__menu button.is-selected {
  border-color: rgba(125, 151, 235, .22);
  color: #fff;
  background: linear-gradient(135deg, rgba(110, 77, 231, .3), rgba(43, 146, 202, .17));
}

.language-control__menu small {
  color: #8190b8;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .08em;
}

html[dir='ltr'] .language-control__menu {
  right: auto;
  left: 0;
}


/* ---------- Navbar ---------- */
.navbar-wrap {
  position: fixed !important;
  z-index: 120 !important;
}

.navbar {
  position: relative;
  z-index: 122;
  background:
    linear-gradient(115deg, rgba(49, 63, 111, .48), rgba(35, 57, 99, .32)),
    rgba(58, 75, 126, .15);
  box-shadow: 0 16px 50px rgba(18, 31, 70, .22), inset 0 1px rgba(255,255,255,.035);
}

.is-scrolled .navbar {
  background:
    linear-gradient(115deg, rgba(40, 54, 98, .78), rgba(27, 55, 97, .66)),
    rgba(49, 66, 114, .24);
  box-shadow: 0 18px 60px rgba(9, 19, 48, .32), inset 0 1px rgba(255,255,255,.04);
}

.navbar__links a {
  background: transparent !important;
  transition: color .28s ease, text-shadow .28s ease, transform .28s ease;
}

.navbar__links a:hover,
.navbar__links a.is-active {
  color: #fff;
  background: transparent !important;
  text-shadow: 0 0 9px rgba(255,255,255,.42), 0 0 18px rgba(166, 204, 255, .2);
}

.navbar__links a:hover {
  transform: translateY(-1px);
}

.navbar__links a::after {
  right: 18px;
  bottom: 4px;
  left: 18px;
  height: 1px;
  opacity: 0;
  background: #fff;
  box-shadow: 0 0 6px rgba(255,255,255,.62), 0 0 11px rgba(255,255,255,.24);
  transform: scaleX(.2);
  transition: opacity .3s ease, transform .32s cubic-bezier(.16,1,.3,1);
}

.navbar__links a:hover::after,
.navbar__links a.is-active::after {
  opacity: .92;
  transform: scaleX(1);
}

html[dir='ltr'] .navbar__panel {
  margin-right: 0;
  margin-left: clamp(30px, 7vw, 90px);
}

/* ---------- Hero refinements ---------- */
.hero {
  min-height: 805px;
  padding: 116px 0 126px;
}

.hero__grid {
  grid-template-columns: minmax(0, 1.25fr) minmax(390px, .75fr);
  gap: 30px;
}

.hero__content {
  max-width: none;
}

.hero h1 {
  max-width: none;
  margin-bottom: 22px;
  font-size: clamp(30px, 2.8vw, 36px);
  white-space: nowrap;
}

.hero h1 span,
.hero h1 .hero__title-main {
  display: inline;
  margin-top: 0;
}

.hero h1 .hero__title-main {
  color: var(--text);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.hero__hello--animated {
  overflow: hidden;
  opacity: 0;
  filter: blur(7px);
  transform: translateY(15px) scale(.96);
}

.hero__content.is-visible .hero__hello--animated {
  animation: helloArrival .92s cubic-bezier(.16,1,.3,1) .2s both;
}

.hero__hello-emoji {
  display: inline-block;
  transform-origin: 70% 70%;
  animation: helloWave 2.6s ease-in-out 1.05s infinite;
}

@keyframes helloArrival {
  0% { opacity: 0; filter: blur(8px); transform: translateY(17px) scale(.95); clip-path: inset(0 0 100% 0 round 999px); }
  65% { opacity: 1; filter: blur(0); transform: translateY(-2px) scale(1.015); }
  100% { opacity: 1; filter: blur(0); transform: translateY(0) scale(1); clip-path: inset(0 0 0 0 round 999px); }
}

@keyframes helloWave {
  0%, 72%, 100% { transform: rotate(0deg); }
  78% { transform: rotate(13deg); }
  84% { transform: rotate(-8deg); }
  90% { transform: rotate(8deg); }
  96% { transform: rotate(-3deg); }
}

.code-card {
  backdrop-filter: blur(12px) saturate(132%);
  -webkit-backdrop-filter: blur(12px) saturate(132%);
  animation-duration: 7s;
}

.code-card__spacer {
  width: 18px;
  height: 18px;
}

.tech-dock {
  align-items: center;
  animation-duration: 6.1s;
}

.tech-chip--image {
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(6, 10, 20, .8);
  box-shadow: inset 0 1px rgba(255,255,255,.035);
}

.tech-chip--image img {
  width: 29px;
  height: 29px;
  object-fit: contain;
}

.floating-note [data-i18n] {
  margin: 0;
  color: #b7c0d6;
  font-weight: 400;
}

.hero__aurora--one {
  animation: auroraMergeOne 20s cubic-bezier(.45,.05,.35,.95) infinite;
}

.hero__aurora--two {
  animation: auroraMergeTwo 20s cubic-bezier(.45,.05,.35,.95) infinite;
}

@keyframes auroraMergeOne {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(-32deg) scale(1); opacity: .18; }
  25% { transform: translate3d(-12vw, 22px, 0) rotate(-18deg) scale(1.2); opacity: .3; }
  50% { transform: translate3d(-28vw, -10px, 0) rotate(-4deg) scale(1.04); opacity: .21; }
  75% { transform: translate3d(-12vw, 34px, 0) rotate(-20deg) scale(1.22); opacity: .3; }
}

@keyframes auroraMergeTwo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(0) scale(1); opacity: .13; }
  25% { transform: translate3d(12vw, 28px, 0) rotate(9deg) scale(1.24); opacity: .26; }
  50% { transform: translate3d(28vw, 8px, 0) rotate(14deg) scale(1.05); opacity: .17; }
  75% { transform: translate3d(12vw, -22px, 0) rotate(7deg) scale(1.22); opacity: .26; }
}

.orbit--one { animation-duration: 21s; }
.orbit--two { animation-duration: 17s; }

.hero__scroll {
  bottom: 52px;
  gap: 9px;
}

.hero__scroll i {
  position: relative;
  width: 22px;
  height: 22px;
  border: 0;
  border-radius: 0;
}

.hero__scroll i::before,
.hero__scroll i::after {
  content: '';
  position: absolute;
  top: 4px;
  left: 50%;
  width: 9px;
  height: 9px;
  margin: 0;
  border-right: 1.5px solid var(--cyan);
  border-bottom: 1.5px solid var(--cyan);
  border-radius: 1px;
  background: transparent;
  box-shadow: 3px 3px 8px rgba(30,214,255,.18);
  transform: translateX(-50%) rotate(45deg);
  animation: scrollArrow 2.05s ease-in-out infinite;
}

.hero__scroll i::after {
  top: 0;
  opacity: .35;
  animation-delay: .22s;
}

@keyframes scrollArrow {
  0% { opacity: 0; transform: translate(-50%, -3px) rotate(45deg); }
  35% { opacity: 1; }
  100% { opacity: 0; transform: translate(-50%, 9px) rotate(45deg); }
}

/* ---------- Card glows matched to their icons ---------- */
.interactive-card {
  --card-glow-rgb: 116, 225, 255;
}

.interactive-card::after {
  background:
    radial-gradient(270px circle at var(--spot-x) var(--spot-y), rgba(var(--card-glow-rgb), .22), transparent 44%),
    linear-gradient(125deg, rgba(var(--card-glow-rgb), .31), transparent 35%, rgba(var(--card-glow-rgb), .12));
  transition-duration: .36s;
}

.service-card:nth-child(1) { --card-glow-rgb: 190, 140, 255; }
.service-card:nth-child(2) { --card-glow-rgb: 77, 223, 255; }
.service-card:nth-child(3) { --card-glow-rgb: 255, 179, 90; }
.service-card:nth-child(4) { --card-glow-rgb: 66, 229, 157; }
.service-card:nth-child(5) { --card-glow-rgb: 99, 139, 255; }
.service-card:nth-child(6) { --card-glow-rgb: 255, 113, 185; }

.service-card:nth-child(1) .service-card__icon { color: #be8cff; border-color: rgba(190,140,255,.3); background: linear-gradient(135deg, rgba(151,78,244,.34), rgba(101,68,190,.16)); }
.service-card:nth-child(2) .service-card__icon { color: #4ddfff; border-color: rgba(77,223,255,.28); background: linear-gradient(135deg, rgba(34,105,221,.38), rgba(18,178,207,.18)); }
.service-card:nth-child(3) .service-card__icon { color: #ffb35a; border-color: rgba(255,179,90,.28); background: linear-gradient(135deg, rgba(219,126,36,.3), rgba(182,78,27,.14)); }
.service-card:nth-child(4) .service-card__icon { color: #42e59d; border-color: rgba(66,229,157,.27); background: linear-gradient(135deg, rgba(35,168,114,.3), rgba(31,112,89,.14)); }
.service-card:nth-child(5) .service-card__icon { color: #638bff; border-color: rgba(99,139,255,.29); background: linear-gradient(135deg, rgba(64,92,224,.32), rgba(35,67,167,.14)); }
.service-card:nth-child(6) .service-card__icon { color: #ff71b9; border-color: rgba(255,113,185,.27); background: linear-gradient(135deg, rgba(202,64,139,.3), rgba(117,40,108,.14)); }

.service-card:hover .service-card__icon {
  box-shadow: 0 14px 36px rgba(var(--card-glow-rgb), .3);
}

.project-card { --card-glow-rgb: 102, 142, 255; }
.post-card:nth-child(1) { --card-glow-rgb: 133, 102, 255; }
.post-card:nth-child(2) { --card-glow-rgb: 46, 205, 255; }
.post-card:nth-child(3) { --card-glow-rgb: 255, 120, 179; }
.testimonial-card:nth-child(1) { --card-glow-rgb: 128, 191, 255; }
.testimonial-card:nth-child(2) { --card-glow-rgb: 255, 100, 164; }
.testimonial-card:nth-child(3) { --card-glow-rgb: 177, 138, 255; }
.about-window { --card-glow-rgb: 132, 103, 255; }
.figma-board { --card-glow-rgb: 162, 89, 255; }

/* ---------- Trust strip hover ---------- */
.trust-card:nth-child(1) { --card-glow-rgb: 255, 195, 84; }
.trust-card:nth-child(2) { --card-glow-rgb: 102, 216, 255; }
.trust-card:nth-child(3) { --card-glow-rgb: 178, 132, 255; }
.trust-card:nth-child(4) { --card-glow-rgb: 77, 228, 158; }

.trust-card:nth-child(1) .trust-card__icon { color: #ffc354; border-color: rgba(255,195,84,.27); background: linear-gradient(135deg, rgba(210,139,41,.28), rgba(116,80,25,.13)); }
.trust-card:nth-child(2) .trust-card__icon { color: #66d8ff; border-color: rgba(102,216,255,.27); background: linear-gradient(135deg, rgba(41,139,210,.28), rgba(28,91,130,.13)); }
.trust-card:nth-child(3) .trust-card__icon { color: #b284ff; border-color: rgba(178,132,255,.27); background: linear-gradient(135deg, rgba(126,76,220,.28), rgba(79,47,140,.13)); }
.trust-card:nth-child(4) .trust-card__icon { color: #4de49e; border-color: rgba(77,228,158,.27); background: linear-gradient(135deg, rgba(38,173,111,.28), rgba(27,101,75,.13)); }

.trust-card.interactive-card:not(.reveal) {
  transition: transform .46s cubic-bezier(.16,1,.3,1), border-color .4s ease, box-shadow .46s ease, background .4s ease;
}

.trust-card.interactive-card:not(.reveal):hover {
  --lift: -4px;
  transform: perspective(1000px) rotateX(calc(var(--rx) * .4)) rotateY(calc(var(--ry) * .4)) translate3d(0, -4px, 0) scale(1.015);
  border-color: rgba(var(--card-glow-rgb), .38) !important;
  box-shadow: 0 18px 44px rgba(0,0,0,.26), 0 0 30px rgba(var(--card-glow-rgb), .09) !important;
}

.trust-card__icon {
  transition: transform .48s cubic-bezier(.16,1,.3,1), box-shadow .45s ease;
}

.trust-card:hover .trust-card__icon {
  transform: translateY(-2px) rotate(7deg) scale(1.07);
  box-shadow: 0 11px 26px rgba(var(--card-glow-rgb), .23);
}

/* ---------- About skills and portrait card ---------- */
.skills-cloud span {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-color: rgba(var(--skill-rgb), .16);
  transition: color .4s ease, border-color .4s ease, box-shadow .45s ease, transform .45s cubic-bezier(.16,1,.3,1), background .4s ease;
}

.skills-cloud span::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: -28px;
  opacity: 0;
  background: radial-gradient(circle at 50% 100%, rgba(var(--skill-rgb), .34), rgba(var(--skill-rgb), .08) 44%, transparent 72%);
  filter: blur(7px);
  transform: translateY(16px) scale(.76);
  transition: opacity .42s ease, transform .55s cubic-bezier(.16,1,.3,1);
}

.skills-cloud span:hover {
  color: #f7f9ff;
  border-color: rgba(var(--skill-rgb), .48);
  background: rgba(var(--skill-rgb), .07);
  box-shadow: 0 10px 28px rgba(var(--skill-rgb), .13), inset 0 0 18px rgba(var(--skill-rgb), .06);
  transform: translateY(-3px);
}

.skills-cloud span:hover::before {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about-window.interactive-card:not(.reveal) {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(-2.6deg) translate3d(0, var(--lift), 0);
  transition: transform .46s cubic-bezier(.16,1,.3,1), border-color .4s ease, box-shadow .45s ease;
}

.about-window.interactive-card:not(.reveal):hover {
  transform: perspective(1000px) rotateX(var(--rx)) rotateY(var(--ry)) rotateZ(1.1deg) translate3d(0, -8px, 0);
}

/* ---------- Redesigned stats, preserving reveal and count motion ---------- */
.stats-panel {
  gap: 14px;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.stats-panel .stat-item {
  min-height: 142px;
  display: grid;
  place-content: center;
  overflow: hidden;
  padding: 28px 20px;
  border: 1px solid rgba(157, 180, 239, .16);
  border-radius: 19px;
  background:
    linear-gradient(145deg, rgba(27, 40, 75, .8), rgba(12, 18, 36, .82)),
    rgba(255,255,255,.02);
  box-shadow: 0 18px 48px rgba(0,0,0,.22), inset 0 1px rgba(255,255,255,.035);
  transition: border-color .4s ease, box-shadow .45s ease, background .4s ease;
}

.stats-panel .stat-item::before {
  content: '';
  position: absolute;
  top: -58px;
  right: -42px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  opacity: .45;
  background: radial-gradient(circle, rgba(128, 91, 255, .34), transparent 68%);
  filter: blur(8px);
  transition: transform .55s cubic-bezier(.16,1,.3,1), opacity .45s ease;
}

.stats-panel .stat-item::after {
  content: '';
  position: absolute;
  right: 22px;
  bottom: 18px;
  left: 22px;
  height: 1px;
  opacity: .48;
  background: linear-gradient(90deg, transparent, rgba(111, 206, 255, .58), transparent);
  transform: scaleX(.45);
  transition: transform .5s cubic-bezier(.16,1,.3,1), opacity .4s ease;
}

.stats-panel .stat-item:hover {
  border-color: rgba(124, 146, 255, .38);
  box-shadow: 0 24px 58px rgba(0,0,0,.28), 0 0 32px rgba(95, 85, 245, .08), inset 0 1px rgba(255,255,255,.05);
}

.stats-panel .stat-item:hover::before {
  opacity: .75;
  transform: translate(-18px, 14px) scale(1.16);
}

.stats-panel .stat-item:hover::after {
  opacity: .9;
  transform: scaleX(1);
}

.stats-panel .stat-item strong {
  font-size: 31px;
  text-shadow: 0 0 20px rgba(134, 116, 255, .22);
}

.stats-panel .stat-item span {
  font-size: 10px;
}

/* ---------- Testimonials icon placement ---------- */
.testimonial-card {
  padding-bottom: 62px;
}

.testimonial-card::before {
  top: 13px;
  right: 20px;
  left: auto;
}

.testimonial-card__badge {
  top: 20px;
  left: 20px;
}

.testimonial-card__stars {
  position: absolute;
  z-index: 2;
  bottom: 22px;
  left: 25px;
  margin: 0;
}

.testimonial-card > p {
  padding-top: 38px;
}

.testimonial-card__person {
  margin-top: 18px;
}

/* ---------- Contact dock ---------- */
.contact-dock a {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(var(--dock-rgb), .22);
  color: rgb(var(--dock-rgb));
  background: linear-gradient(135deg, rgba(var(--dock-rgb), .15), rgba(var(--dock-rgb), .045));
  box-shadow: inset 0 1px rgba(255,255,255,.025);
  transition: transform .4s cubic-bezier(.16,1,.3,1), color .35s ease, border-color .35s ease, background .35s ease, box-shadow .4s ease;
}

.contact-dock a::before {
  content: '';
  position: absolute;
  inset: -12px;
  opacity: 0;
  background: radial-gradient(circle at 50% 65%, rgba(var(--dock-rgb), .34), transparent 62%);
  transform: scale(.55) translateY(10px);
  transition: opacity .35s ease, transform .48s cubic-bezier(.16,1,.3,1);
}

.contact-dock a > * {
  position: relative;
  z-index: 1;
  transition: transform .42s cubic-bezier(.16,1,.3,1);
}

.contact-dock a:hover {
  color: #fff;
  border-color: rgba(var(--dock-rgb), .58);
  background: linear-gradient(135deg, rgba(var(--dock-rgb), .38), rgba(var(--dock-rgb), .14));
  box-shadow: 0 12px 30px rgba(var(--dock-rgb), .2), inset 0 1px rgba(255,255,255,.08);
  transform: translateX(-6px) rotate(-6deg) scale(1.12);
}

.contact-dock a:hover::before {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.contact-dock a:hover > * {
  transform: rotate(6deg) scale(1.05);
}

.contact-dock__item--call { --dock-rgb: 111, 139, 255; }
.contact-dock__item--telegram { --dock-rgb: 44, 165, 224; }
.contact-dock__item--whatsapp { --dock-rgb: 37, 211, 102; }
.contact-dock__item--instagram { --dock-rgb: 229, 71, 134; }

/* ---------- Figma design section ---------- */
.figma-section {
  overflow: hidden;
}

.figma-layout {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  align-items: center;
  gap: clamp(48px, 8vw, 105px);
}

.figma-content h2 {
  max-width: 620px;
  margin-bottom: 16px;
  font-size: clamp(29px, 3.6vw, 45px);
  font-weight: 900;
}

.figma-content > p {
  max-width: 620px;
  margin-bottom: 25px;
  font-size: 14px;
}

.figma-points {
  display: grid;
  gap: 10px;
  margin-bottom: 27px;
}

.figma-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c7cee0;
  font-size: 12px;
}

.figma-points i {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 3px;
  background: linear-gradient(135deg, #ff7262, #a259ff 46%, #1abcfe);
  box-shadow: 0 0 13px rgba(162,89,255,.34);
  transform: rotate(18deg);
}

.figma-points b {
  font-weight: 500;
}

.figma-visual {
  position: relative;
  min-height: 470px;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.figma-board {
  position: relative;
  width: min(100%, 550px);
  overflow: hidden;
  border: 1px solid rgba(169, 152, 255, .25);
  border-radius: 23px;
  background: linear-gradient(145deg, rgba(30, 35, 66, .92), rgba(10, 15, 31, .94));
  box-shadow: 0 38px 90px rgba(0,0,0,.38), 0 0 62px rgba(162,89,255,.08), inset 0 1px rgba(255,255,255,.035);
  transform: rotateY(6deg) rotateX(1deg);
}

.figma-board__toolbar {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 6px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
  color: #78839e;
}

.figma-board__toolbar > span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff7262;
}

.figma-board__toolbar > span:nth-child(2) { background: #f6c344; }
.figma-board__toolbar > span:nth-child(3) { background: #35d58b; }
.figma-board__toolbar small {
  margin-inline-start: auto;
  font-family: Arial, sans-serif;
  font-size: 9px;
}

.figma-board__canvas {
  display: grid;
  grid-template-columns: 50px 1fr 82px;
  min-height: 340px;
  background:
    linear-gradient(rgba(255,255,255,.022) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.022) 1px, transparent 1px),
    #0b1020;
  background-size: 22px 22px;
}

.figma-sidebar,
.figma-properties {
  display: grid;
  align-content: start;
  gap: 11px;
  padding: 18px 13px;
  background: rgba(17, 24, 44, .84);
}

.figma-sidebar { border-left: 1px solid rgba(255,255,255,.055); }
.figma-properties { border-right: 1px solid rgba(255,255,255,.055); }

.figma-sidebar i {
  width: 20px;
  height: 20px;
  border: 1px solid rgba(174,190,232,.16);
  border-radius: 6px;
  background: rgba(255,255,255,.025);
}

.figma-properties i {
  height: 7px;
  border-radius: 999px;
  background: rgba(151,167,210,.13);
}

.figma-properties i:nth-child(2),
.figma-properties i:nth-child(5) { width: 70%; }

.figma-frame {
  width: min(calc(100% - 42px), 310px);
  min-height: 260px;
  align-self: center;
  justify-self: center;
  padding: 17px;
  border: 1px solid rgba(113, 145, 255, .28);
  background: linear-gradient(160deg, #15203d, #0d1428);
  box-shadow: 0 18px 40px rgba(0,0,0,.28);
}

.figma-frame__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 23px;
}

.figma-frame__header span:first-child {
  width: 58px;
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #a259ff, #4f7cff);
}

.figma-frame__header span:last-child {
  width: 46px;
  height: 6px;
  border-radius: 999px;
  background: rgba(180,193,231,.17);
}

.figma-frame__hero {
  display: grid;
  place-items: center;
  min-height: 112px;
  margin-bottom: 18px;
  border-radius: 13px;
  background: radial-gradient(circle at 65% 25%, rgba(162,89,255,.34), transparent 45%), linear-gradient(135deg, #171c38, #102b45);
}

.figma-frame__hero b {
  width: 58%;
  height: 10px;
  border-radius: 999px;
  background: rgba(245,247,255,.8);
}

.figma-frame__hero i {
  width: 42%;
  height: 5px;
  margin-top: -22px;
  border-radius: 999px;
  background: rgba(183,196,232,.22);
}

.figma-frame__hero i:last-child {
  width: 24%;
  margin-top: -35px;
  background: linear-gradient(90deg, #ff7262, #a259ff, #1abcfe);
}

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

.figma-frame__cards span {
  height: 62px;
  border: 1px solid rgba(159,177,229,.11);
  border-radius: 9px;
  background: rgba(255,255,255,.027);
}

.figma-mark {
  position: absolute;
  z-index: 5;
  right: 26px;
  bottom: 24px;
  width: 56px;
  height: 56px;
  object-fit: contain;
  padding: 8px;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 15px;
  background: rgba(8, 12, 26, .8);
  box-shadow: 0 14px 34px rgba(0,0,0,.32), 0 0 26px rgba(162,89,255,.16);
  animation: figmaMarkFloat 6.4s ease-in-out infinite;
}

@keyframes figmaMarkFloat {
  0%, 100% { transform: translateY(0) rotate(-4deg); }
  50% { transform: translateY(-8px) rotate(4deg); }
}

/* ---------- Slightly slower global motion ---------- */
.reveal {
  transition-duration: .94s, 1.02s, .84s;
}

.service-card,
.project-card,
.testimonial-card,
.post-card,
.faq-item,
.about-window,
.code-card,
.cta-card,
.figma-board {
  transition-duration: .34s, .34s, .34s, .34s;
}

.button::before { transition-duration: .25s; }
.button:hover::before { animation-duration: .86s; }
.about-content.is-visible .skills-cloud span { animation-duration: .64s; }

/* ---------- Responsive ---------- */
@media (max-width: 1050px) and (min-width: 961px) {
  .hero__grid {
    grid-template-columns: minmax(0, 1fr) minmax(365px, .72fr);
    gap: 24px;
  }

  .hero h1 {
    font-size: clamp(27px, 2.8vw, 31px);
  }
}

@media (max-width: 960px) {
  .navbar-wrap { z-index: 140 !important; }
  .navbar { z-index: 142; }
  .navbar__toggle { position: relative; z-index: 145; }

  .navbar__panel {
    z-index: 141;
    border-color: rgba(188, 203, 249, .24);
    background:
      linear-gradient(145deg, rgba(31, 43, 79, .97), rgba(17, 30, 58, .98)),
      #17223e;
    box-shadow: 0 30px 80px rgba(0,0,0,.55), 0 0 0 1px rgba(87, 122, 207, .08), inset 0 1px rgba(255,255,255,.04);
    backdrop-filter: blur(24px) saturate(135%);
    -webkit-backdrop-filter: blur(24px) saturate(135%);
  }

  .navbar__panel.is-open { z-index: 150; }

  .language-control {
    width: 100%;
    flex-wrap: wrap;
    justify-content: center;
  }

  .language-control__trigger {
    width: calc(100% - 27px);
  }

  .language-control__menu,
  html[dir='ltr'] .language-control__menu {
    position: static;
    width: 100%;
    margin-top: 4px;
    transform: none;
  }

  html[dir='ltr'] .navbar__panel {
    margin-left: 0;
  }

  .hero {
    padding: 108px 0 92px;
  }

  .hero__grid {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .hero h1 {
    font-size: clamp(34px, 8vw, 48px);
    white-space: normal;
  }

  .hero h1 span,
  .hero h1 .hero__title-main {
    display: inline;
  }

  .figma-layout {
    grid-template-columns: 1fr;
    gap: 46px;
  }

  .figma-content {
    text-align: center;
  }

  .figma-content h2,
  .figma-content > p {
    margin-inline: auto;
  }

  .figma-points {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: start;
  }

  .figma-visual {
    min-height: 430px;
  }
}

@media (max-width: 620px) {
  .hero {
    padding-top: 102px;
  }

  .hero h1 {
    font-size: clamp(31px, 9.2vw, 43px);
  }

  .tech-dock {
    gap: 10px;
  }

  .tech-chip--image {
    width: 36px;
    height: 36px;
  }

  .tech-chip--image img {
    width: 25px;
    height: 25px;
  }

  .stats-panel {
    gap: 10px;
  }

  .stats-panel .stat-item {
    min-height: 125px;
  }

  .contact-dock a:hover {
    transform: translateY(-5px) rotate(-5deg) scale(1.1);
  }

  .figma-visual {
    min-height: 370px;
  }

  .figma-board__canvas {
    grid-template-columns: 40px 1fr 62px;
    min-height: 300px;
  }

  .figma-sidebar,
  .figma-properties {
    padding-inline: 9px;
  }

  .figma-mark {
    right: 17px;
    bottom: 18px;
    width: 48px;
    height: 48px;
  }
}

@media (max-width: 430px) {
  .hero h1 {
    font-size: 30px;
  }

  .figma-board__canvas {
    grid-template-columns: 34px 1fr 50px;
  }

  .figma-frame {
    width: calc(100% - 24px);
    padding: 13px;
  }

  .figma-properties,
  .figma-sidebar {
    padding: 13px 7px;
  }

  .figma-sidebar i {
    width: 18px;
    height: 18px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero__hello--animated {
    opacity: 1;
    filter: none;
    transform: none;
  }

  .hero__hello-emoji,
  .figma-mark {
    animation: none !important;
  }
}

@media (min-width: 961px) {
  html[lang='en'] .hero h1 {
    font-size: clamp(27px, 2.45vw, 32px);
  }
}

/* ---------- Native system cursors ---------- */
html,
body {
  cursor: default;
}

a[href],
button:not(:disabled),
[role='button'],
summary,
label[for],
select,
input[type='button'],
input[type='submit'],
input[type='reset'],
input[type='checkbox'],
input[type='radio'],
input[type='file'] {
  cursor: pointer;
}

input:not([type]),
input[type='text'],
input[type='email'],
input[type='tel'],
input[type='url'],
input[type='search'],
input[type='password'],
input[type='number'],
textarea,
[contenteditable='true'],
pre,
code {
  cursor: text;
}

input[type='range'] {
  cursor: ew-resize;
}

[draggable='true'] {
  cursor: grab;
}

[draggable='true']:active {
  cursor: grabbing;
}

button:disabled,
input:disabled,
select:disabled,
textarea:disabled,
[aria-disabled='true'] {
  cursor: not-allowed;
}



/* ---------- Cross-device interaction and responsive safeguards ---------- */
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  min-width: 0;
}

main,
section,
header,
footer,
.container,
.hero__grid > *,
.services-grid > *,
.projects-grid > *,
.process-layout > *,
.about-grid > *,
.testimonials-grid > *,
.blog-grid > *,
.faq-layout > *,
.figma-layout > *,
.footer__grid > * {
  min-width: 0;
}

img,
video,
canvas,
iframe {
  max-width: 100%;
}

h1,
h2,
h3,
p,
li,
.button,
.text-link {
  overflow-wrap: break-word;
}

/* Decorative layers must never intercept mouse or touch interaction. */
.hero::before,
.hero::after,
.hero__stars,
.hero__aurora,
.orbit,
.code-card::after,
.interactive-card::after,
.project-card__media::before,
.button::before,
.cta-card::before,
.cta-card::after,
.cursor-glow {
  pointer-events: none;
}

@media (max-width: 1180px) {
  .reveal[data-reveal='right'] { --reveal-x: 22px; }
  .reveal[data-reveal='left'] { --reveal-x: -22px; }

  .navbar__panel {
    margin-right: clamp(16px, 3vw, 34px);
  }

  html[dir='ltr'] .navbar__panel {
    margin-right: 0;
    margin-left: clamp(16px, 3vw, 34px);
  }
}

@media (max-width: 1100px) {
  .hero {
    min-height: auto;
    padding: 130px 0 100px;
  }

  .hero__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 48px;
  }

  .hero__content {
    width: min(100%, 780px);
    max-width: 780px;
    margin-inline: auto;
    text-align: center;
  }

  .hero__hello,
  .hero__content > p {
    margin-inline: auto;
  }

  .hero__actions,
  .hero__trust {
    justify-content: center;
  }

  .hero__visual {
    width: min(100%, 650px);
    min-height: 490px;
    margin-inline: auto;
  }

  .hero__scroll {
    display: none;
  }
}

@media (max-width: 960px) {
  html {
    scroll-padding-top: 86px;
  }

  .section,
  .section--muted,
  .cta-section,
  .footer {
    overflow-x: clip;
  }

  .navbar-wrap {
    top: max(10px, env(safe-area-inset-top));
  }

  .navbar__panel {
    overscroll-behavior: contain;
  }

  .process-intro,
  .faq-intro {
    position: static;
  }

  .code-card,
  .figma-board,
  .about-window {
    max-width: 100%;
  }

  .footer__grid {
    row-gap: 34px;
  }
}

@media (max-width: 760px) {
  .container {
    width: min(calc(100% - 28px), var(--container));
  }

  .section {
    padding: 78px 0;
  }

  .section-heading,
  .section-heading--right {
    text-align: center;
  }

  .section-heading--right p,
  .section-heading--right h2 {
    margin-inline: auto;
  }

  .hero {
    padding: 108px 0 78px;
  }

  .hero__grid {
    gap: 34px;
  }

  .hero__visual {
    min-height: 410px;
  }

  .process-layout,
  .about-grid,
  .faq-layout,
  .figma-layout {
    gap: 38px;
  }

  .cta-card {
    gap: 26px;
  }

  .footer__grid {
    gap: 30px 22px;
  }
}

@media (max-width: 620px) {
  .reveal[data-reveal='right'] { --reveal-x: 10px; }
  .reveal[data-reveal='left'] { --reveal-x: -10px; }

  .hero h1 {
    max-width: 100%;
    font-size: clamp(27px, 8.5vw, 36px);
    line-height: 1.5;
  }

  .hero h1 span,
  .hero h1 .hero__title-main {
    display: block;
  }

  .hero h1 span + span {
    margin-top: 3px;
  }

  .hero__content > p {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.95;
  }

  .hero__trust {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .hero__trust > div:last-child {
    text-align: center;
  }

  .code-card {
    width: 100%;
  }

  .code-card__body {
    padding-inline: 16px;
    font-size: clamp(9px, 2.5vw, 11px);
  }

  .about-window {
    width: 100%;
    transform: none;
  }

  .about-orbit-label {
    max-width: 42%;
    white-space: normal;
    text-align: center;
  }

  .project-card__content p {
    min-height: 0;
  }

  .faq-item > button {
    min-height: 58px;
  }

  .cta-card {
    padding: 28px 22px;
    text-align: center;
  }

  .cta-card__actions {
    width: 100%;
  }

  .footer__about p {
    max-width: 100%;
  }
}

@media (max-width: 480px) {
  .container {
    width: min(calc(100% - 22px), var(--container));
  }

  .navbar {
    min-height: 60px;
    padding-inline: 11px;
  }

  .brand {
    gap: 7px;
    font-size: 16px;
  }

  .brand__logo {
    width: 32px;
    height: 31px;
    flex-basis: 32px;
  }

  .hero {
    padding-top: 100px;
  }

  .hero__hello {
    max-width: 100%;
    padding-inline: 11px;
    font-size: 10px;
  }

  .hero h1 {
    font-size: clamp(25px, 7.8vw, 31px);
  }

  .hero__actions {
    gap: 9px;
  }

  .button {
    min-height: 46px;
    padding-inline: 15px;
  }

  .hero__visual {
    min-height: 365px;
  }

  .code-card__top {
    padding-inline: 13px;
  }

  .tech-dock {
    max-width: calc(100% - 14px);
    gap: 8px;
    padding-inline: 10px;
  }

  .service-card,
  .project-card__content,
  .testimonial-card,
  .post-card__content {
    padding-inline: 20px;
  }

  .process-item {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 13px;
  }

  .process-item__number {
    width: 46px;
    height: 46px;
  }

  .process-list::before {
    right: 22px;
  }

  .about-visual {
    min-height: 390px;
  }

  .stats-panel {
    margin-top: 48px;
  }

  .footer__grid {
    grid-template-columns: 1fr;
  }

  .footer__about,
  .footer__grid > div:last-child {
    grid-column: auto;
  }

  .footer__bottom {
    margin-top: 38px;
    padding-inline: 8px;
  }

  .contact-dock {
    bottom: max(8px, env(safe-area-inset-bottom));
    width: min(calc(100% - 76px), 270px);
  }
}

@media (max-width: 360px) {
  .container {
    width: min(calc(100% - 18px), var(--container));
  }

  .hero h1 {
    font-size: 24px;
  }

  .hero__content > p {
    font-size: 12px;
  }

  .hero__visual {
    min-height: 340px;
  }

  .floating-note {
    display: none;
  }

  .tech-chip--image,
  .tech-chip {
    width: 32px;
    height: 32px;
  }

  .stats-panel {
    grid-template-columns: 1fr;
  }

  .stat-item:nth-child(n) {
    border-top: 1px solid rgba(255,255,255,.1);
  }

  .stat-item:first-child {
    border-top: 0;
  }
}

/* ---------- Final requested pass: shared shell, theme and scoped refinements ---------- */
.section:not(.hero),
.trust-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 760px;
}

.navbar {
  gap: 18px;
  border-color: rgba(187, 207, 255, .2);
  background:
    linear-gradient(115deg, rgba(52, 74, 132, .27), rgba(26, 54, 102, .18)),
    rgba(9, 16, 34, .34);
  box-shadow: 0 18px 55px rgba(3, 10, 28, .22), inset 0 1px rgba(255,255,255,.055);
  backdrop-filter: blur(8px) saturate(150%);
  -webkit-backdrop-filter: blur(8px) saturate(150%);
}

.is-scrolled .navbar {
  border-color: rgba(187, 207, 255, .25);
  background:
    linear-gradient(115deg, rgba(44, 67, 122, .42), rgba(22, 51, 95, .34)),
    rgba(7, 14, 30, .56);
  backdrop-filter: blur(10px) saturate(155%);
  -webkit-backdrop-filter: blur(10px) saturate(155%);
}

.navbar__panel {
  min-width: 0;
  gap: 18px;
  margin-inline-start: clamp(18px, 4vw, 54px);
  margin-inline-end: 0;
}

html[dir='ltr'] .navbar__panel {
  margin-inline-start: clamp(18px, 4vw, 54px);
  margin-inline-end: 0;
}

.navbar__links {
  min-width: 0;
  gap: 2px;
}

.navbar__actions {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 8px;
}

.theme-toggle {
  position: relative;
  display: grid;
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(181, 199, 255, .2);
  border-radius: 12px;
  color: var(--text);
  background: linear-gradient(135deg, rgba(92, 73, 178, .15), rgba(54, 143, 199, .1));
  box-shadow: inset 0 1px rgba(255,255,255,.04);
  cursor: pointer;
  transition: border-color .25s ease, transform .25s ease, background .25s ease;
}

.theme-toggle:hover {
  border-color: rgba(255,255,255,.4);
  transform: translateY(-2px);
}

.theme-toggle img {
  position: absolute;
  width: 20px;
  height: 20px;
  transition: opacity .3s ease, transform .35s cubic-bezier(.16,1,.3,1);
}

.theme-toggle__sun {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.theme-toggle__moon {
  opacity: 0;
  transform: rotate(-35deg) scale(.55);
}

html[data-theme='light'] .theme-toggle__sun {
  opacity: 0;
  transform: rotate(40deg) scale(.55);
}

html[data-theme='light'] .theme-toggle__moon {
  opacity: 1;
  transform: rotate(0) scale(1);
}

.language-control {
  min-height: 42px;
  gap: 6px;
  padding: 5px 7px;
}

.language-control__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
}

.language-control__trigger {
  min-width: 76px;
  gap: 7px;
  padding: 4px 2px;
}

.language-control__menu,
html[dir='ltr'] .language-control__menu {
  top: calc(100% + 7px);
  right: auto;
  left: auto;
  inset-inline-end: 0;
  width: 100%;
  min-width: 150px;
  padding: 7px;
}

.language-control__menu button {
  gap: 10px;
  min-height: 38px;
  padding: 8px 9px;
}

.nav-more {
  position: relative;
}

.nav-more__trigger {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  border: 0;
  border-radius: 10px;
  color: #c0c7da;
  background: transparent;
  font-size: 13px;
  cursor: pointer;
  transition: color .25s ease, transform .25s ease;
}

.nav-more__trigger:hover,
.nav-more.is-open .nav-more__trigger {
  color: #fff;
  transform: translateY(-1px);
}

.nav-more__trigger span:last-child {
  font-size: 15px;
  transition: transform .25s ease;
}

.nav-more.is-open .nav-more__trigger span:last-child {
  transform: rotate(180deg);
}

.nav-more__menu {
  position: absolute;
  z-index: 190;
  top: calc(100% + 8px);
  inset-inline-start: 0;
  display: grid;
  width: 178px;
  gap: 3px;
  padding: 7px;
  border: 1px solid rgba(183, 201, 255, .2);
  border-radius: 14px;
  opacity: 0;
  background: rgba(14, 25, 50, .9);
  box-shadow: 0 22px 55px rgba(0,0,0,.36);
  backdrop-filter: blur(10px) saturate(145%);
  -webkit-backdrop-filter: blur(10px) saturate(145%);
  transform: translateY(-7px) scale(.98);
  transform-origin: top;
  pointer-events: none;
  transition: opacity .2s ease, transform .2s ease;
}

.nav-more.is-open .nav-more__menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-more__menu a {
  padding: 9px 10px;
  border-radius: 9px;
  font-size: 11px;
}

.nav-more__menu a:hover {
  background: rgba(93, 126, 228, .14) !important;
}

.tech-chip--image {
  padding: 0;
  overflow: hidden;
}

.tech-chip--image img {
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
}

.about-avatar {
  overflow: hidden;
  padding: 0;
}

.about-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes auroraMergeOne {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(calc(-32deg + var(--aurora-tilt, 0deg))) scale(1); opacity: .18; }
  25% { transform: translate3d(-14vw, 22px, 0) rotate(calc(-16deg + var(--aurora-spin, 0deg))) scale(1.2); opacity: .3; }
  50% { transform: translate3d(-31vw, -10px, 0) rotate(calc(8deg + var(--aurora-spin, 0deg))) scale(1.04); opacity: .22; }
  75% { transform: translate3d(-14vw, 34px, 0) rotate(calc(-20deg - var(--aurora-spin, 0deg))) scale(1.22); opacity: .3; }
}

@keyframes auroraMergeTwo {
  0%, 100% { transform: translate3d(0, 0, 0) rotate(var(--aurora-tilt, 0deg)) scale(1); opacity: .13; }
  25% { transform: translate3d(14vw, 28px, 0) rotate(calc(10deg - var(--aurora-spin, 0deg))) scale(1.24); opacity: .26; }
  50% { transform: translate3d(31vw, 8px, 0) rotate(calc(-8deg - var(--aurora-spin, 0deg))) scale(1.05); opacity: .18; }
  75% { transform: translate3d(14vw, -22px, 0) rotate(calc(7deg + var(--aurora-spin, 0deg))) scale(1.22); opacity: .26; }
}

.web-design-layout {
  display: grid;
  grid-template-columns: minmax(0, .95fr) minmax(0, 1.05fr);
  align-items: center;
  gap: clamp(50px, 8vw, 100px);
}

.web-design-content h2 {
  max-width: 650px;
  margin: 14px 0 19px;
  font-size: clamp(31px, 3.4vw, 49px);
}

.web-design-content > p {
  max-width: 650px;
  margin-bottom: 24px;
  line-height: 2;
}

.web-design-points {
  display: grid;
  gap: 11px;
  margin-bottom: 28px;
}

.web-design-points span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #c7d0e4;
  font-size: 12px;
}

.web-design-points i {
  width: 8px;
  height: 8px;
  flex: 0 0 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 15px rgba(30,214,255,.58);
}

.web-design-visual {
  min-height: 450px;
  display: grid;
  place-items: center;
  perspective: 1100px;
}

.browser-showcase {
  position: relative;
  width: min(100%, 500px);
  overflow: visible;
  border: 1px solid rgba(140, 173, 255, .24);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(28, 44, 86, .88), rgba(7, 15, 33, .95));
  box-shadow: 0 35px 90px rgba(0,0,0,.38), 0 0 70px rgba(52, 123, 255, .1);
  transform: rotateY(6deg) rotateX(2deg);
}

.browser-showcase__top {
  display: flex;
  height: 48px;
  align-items: center;
  gap: 7px;
  padding: 0 16px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.browser-showcase__top span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ff6262;
}

.browser-showcase__top span:nth-child(2) { background: #ffc04f; }
.browser-showcase__top span:nth-child(3) { background: #4edb8c; }
.browser-showcase__top small { margin-inline-start: auto; color: #8290ae; font-size: 9px; direction: ltr; }

.browser-showcase__screen {
  display: grid;
  min-height: 330px;
  grid-template-columns: 58px 1fr;
  gap: 17px;
  padding: 18px;
  border-radius: 0 0 24px 24px;
  background:
    radial-gradient(circle at 70% 20%, rgba(37,99,235,.22), transparent 38%),
    #081125;
}

.browser-showcase__nav {
  display: grid;
  align-content: start;
  gap: 10px;
  padding: 11px 8px;
  border: 1px solid rgba(255,255,255,.06);
  border-radius: 13px;
  background: rgba(255,255,255,.025);
}

.browser-showcase__nav i {
  height: 8px;
  border-radius: 999px;
  background: rgba(118, 154, 236, .24);
}

.browser-showcase__hero {
  position: relative;
  min-height: 175px;
  grid-column: 2;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(115, 159, 255, .14);
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(38, 77, 159, .28), rgba(111, 72, 224, .13));
}

.browser-showcase__hero span,
.browser-showcase__hero b,
.browser-showcase__hero i {
  display: block;
  border-radius: 999px;
}

.browser-showcase__hero span { width: 44%; height: 12px; background: linear-gradient(90deg, #5f7cff, #22c7f1); }
.browser-showcase__hero b { width: 70%; height: 8px; margin-top: 15px; background: rgba(255,255,255,.14); }
.browser-showcase__hero i { width: 92px; height: 31px; margin-top: 25px; background: linear-gradient(90deg, #6755ef, #238cd9); }

.browser-showcase__cards {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.browser-showcase__cards span {
  min-height: 92px;
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 14px;
  background: linear-gradient(145deg, rgba(255,255,255,.055), rgba(255,255,255,.018));
}

.browser-showcase__badge {
  position: absolute;
  right: -21px;
  bottom: 34px;
  display: grid;
  width: 70px;
  height: 70px;
  place-items: center;
  border: 1px solid rgba(30,214,255,.3);
  border-radius: 22px;
  color: #dff9ff;
  background: rgba(11, 34, 65, .88);
  box-shadow: 0 18px 45px rgba(0,0,0,.32), 0 0 30px rgba(30,214,255,.15);
  font-family: Arial, sans-serif;
  font-weight: 800;
  direction: ltr;
}

.interactive-card {
  touch-action: pan-y;
}

.interactive-card.is-touch-active {
  --lift: -5px;
}

.interactive-card.is-touch-active::after {
  opacity: 1;
}

.service-card.is-touch-active .service-card__icon,
.project-card.is-touch-active .project-card__title-row button,
.post-card.is-touch-active .post-card__cover img {
  transform: translateY(-3px) scale(1.045);
}

@media (min-width: 961px) {
  html[lang='en'] .hero__grid {
    grid-template-columns: minmax(0, 1.08fr) minmax(390px, .92fr);
    gap: clamp(46px, 6vw, 82px);
  }

  html[lang='en'] .hero__content {
    position: relative;
    z-index: 5;
    min-width: 0;
  }

  html[lang='en'] .hero h1 {
    max-width: 690px;
    font-size: clamp(35px, 3.6vw, 54px);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 960px) {
  .navbar {
    gap: 10px;
  }

  .navbar__toggle {
    order: -1;
    flex: 0 0 42px;
  }

  .navbar .brand {
    order: 0;
    margin-inline-start: auto;
  }

  .navbar__panel,
  html[dir='ltr'] .navbar__panel {
    margin: 0;
    border-color: rgba(188, 203, 249, .2);
    background: rgba(12, 24, 49, .91);
    backdrop-filter: blur(10px) saturate(145%);
    -webkit-backdrop-filter: blur(10px) saturate(145%);
  }

  .navbar__links {
    gap: 3px;
  }

  .nav-more__trigger {
    width: 100%;
    justify-content: space-between;
    padding: 12px;
    font-size: 13px;
  }

  .nav-more__menu {
    position: static;
    width: 100%;
    max-height: 0;
    padding: 0 7px;
    overflow: hidden;
    border: 0;
    opacity: 1;
    background: rgba(255,255,255,.025);
    box-shadow: none;
    transform: none;
    pointer-events: none;
    transition: max-height .25s ease, padding .25s ease;
  }

  .nav-more.is-open .nav-more__menu {
    max-height: 220px;
    padding: 7px;
    pointer-events: auto;
  }

  .navbar__actions {
    width: 100%;
    align-items: stretch;
    gap: 8px;
  }

  .language-control {
    flex: 1;
  }

  .language-control__trigger {
    width: auto;
    flex: 1;
  }

  .language-control__menu,
  html[dir='ltr'] .language-control__menu {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 5px;
  }

  .web-design-layout {
    grid-template-columns: 1fr;
    gap: 42px;
  }

  .web-design-content {
    text-align: center;
  }

  .web-design-content h2,
  .web-design-content > p {
    margin-inline: auto;
  }

  .web-design-points {
    width: max-content;
    max-width: 100%;
    margin-inline: auto;
    text-align: start;
  }

  .web-design-content .button {
    margin-inline: auto;
  }
}

@media (max-width: 620px) {
  .hero__actions {
    display: flex;
    width: auto;
    justify-content: center;
  }

  .hero__actions .button {
    width: auto;
    min-width: min(100%, 148px);
    min-height: 43px;
    padding-inline: 14px;
    font-size: 10.5px;
  }

  .browser-showcase {
    width: calc(100% - 16px);
    transform: none;
  }

  .web-design-visual {
    min-height: 390px;
  }

  .browser-showcase__screen {
    min-height: 280px;
    grid-template-columns: 42px 1fr;
    gap: 11px;
    padding: 13px;
  }

  .browser-showcase__hero {
    min-height: 145px;
    padding: 19px;
  }

  .browser-showcase__cards span {
    min-height: 72px;
  }

  .browser-showcase__badge {
    right: -8px;
    bottom: 22px;
    width: 58px;
    height: 58px;
    border-radius: 18px;
    font-size: 12px;
  }
}

/* Light theme keeps the dark layout intact and changes only the color system. */
html[data-theme='light'] .navbar {
  border-color: rgba(64, 94, 155, .2);
  background: rgba(255,255,255,.58);
  box-shadow: 0 16px 50px rgba(60, 83, 134, .12), inset 0 1px rgba(255,255,255,.8);
}

html[data-theme='light'] .is-scrolled .navbar {
  background: rgba(255,255,255,.78);
}

html[data-theme='light'] .navbar__links a,
html[data-theme='light'] .nav-more__trigger {
  color: #48566f;
}

html[data-theme='light'] .navbar__links a:hover,
html[data-theme='light'] .navbar__links a.is-active,
html[data-theme='light'] .nav-more__trigger:hover,
html[data-theme='light'] .nav-more.is-open .nav-more__trigger {
  color: #13213d;
  text-shadow: 0 0 12px rgba(37,99,235,.2);
}

html[data-theme='light'] .language-control,
html[data-theme='light'] .theme-toggle {
  border-color: rgba(55, 87, 154, .2);
  color: #1a2947;
  background: rgba(238, 244, 255, .82);
}

html[data-theme='light'] .language-control__menu,
html[data-theme='light'] .nav-more__menu,
html[data-theme='light'] .navbar__panel {
  border-color: rgba(55, 87, 154, .18);
  color: #1a2947;
  background: rgba(250,252,255,.96);
  box-shadow: 0 22px 55px rgba(64, 87, 136, .16);
}

html[data-theme='light'] .language-control__menu button,
html[data-theme='light'] .nav-more__menu a {
  color: #44536d;
}

html[data-theme='light'] .language-control__menu button:hover,
html[data-theme='light'] .language-control__menu button.is-selected {
  color: #102140;
  background: rgba(37,99,235,.08);
}

html[data-theme='light'] .hero {
  background:
    linear-gradient(180deg, rgba(243,247,255,.25), rgba(244,247,255,.76) 74%, var(--bg)),
    radial-gradient(circle at 22% 20%, rgba(41,92,220,.18), transparent 28%),
    radial-gradient(circle at 67% 25%, rgba(101,58,202,.14), transparent 25%);
}

html[data-theme='light'] .hero__content > p,
html[data-theme='light'] .web-design-content > p,
html[data-theme='light'] p {
  color: var(--muted);
}

html[data-theme='light'] .hero__hello {
  border-color: rgba(55,87,154,.16);
  color: #34425d;
  background: rgba(255,255,255,.58);
}

html[data-theme='light'] .hero__trust strong,
html[data-theme='light'] .web-design-points span,
html[data-theme='light'] .about-checks li {
  color: #263653;
}

html[data-theme='light'] .section--muted {
  border-color: rgba(55,87,154,.08);
  background: rgba(232,239,252,.48);
}

html[data-theme='light'] .service-card,
html[data-theme='light'] .project-card,
html[data-theme='light'] .testimonial-card,
html[data-theme='light'] .post-card,
html[data-theme='light'] .faq-item,
html[data-theme='light'] .about-window,
html[data-theme='light'] .figma-board,
html[data-theme='light'] .browser-showcase,
html[data-theme='light'] .stats-panel,
html[data-theme='light'] .trust-grid {
  border-color: rgba(55,87,154,.14);
  background: rgba(255,255,255,.72);
  box-shadow: 0 24px 65px rgba(60,83,134,.12);
}

html[data-theme='light'] .service-card h3,
html[data-theme='light'] .project-card h3,
html[data-theme='light'] .testimonial-card strong,
html[data-theme='light'] .post-card h3,
html[data-theme='light'] .faq-item button,
html[data-theme='light'] .about-window h3,
html[data-theme='light'] .stat-item strong,
html[data-theme='light'] .footer h3 {
  color: #15233f;
}

html[data-theme='light'] .code-card,
html[data-theme='light'] .browser-showcase__screen {
  border-color: rgba(55,87,154,.18);
  background: linear-gradient(145deg, rgba(223,234,255,.94), rgba(245,248,255,.98));
  box-shadow: 0 30px 80px rgba(60,83,134,.15);
}

html[data-theme='light'] .code-white { color: #24334e; }
html[data-theme='light'] .code-card__top { color: #65728a; }
html[data-theme='light'] .about-mini-grid strong { color: #172641; }
html[data-theme='light'] .about-orbit-label { color: #33425e; background: rgba(255,255,255,.84); }
html[data-theme='light'] .footer { border-color: rgba(55,87,154,.09); background: rgba(235,241,252,.7); }
html[data-theme='light'] .back-to-top { color: #182742; background: rgba(255,255,255,.88); }

@media (max-width: 960px) and (max-height: 620px) {
  .navbar__panel {
    top: 74px;
    max-height: calc(100dvh - 88px);
  }

  .hero {
    padding-top: 96px;
  }
}

@media (hover: none), (pointer: coarse) {
  .interactive-card:hover {
    --lift: 0px;
  }

  .service-card:hover .service-card__icon,
  .project-card:hover .project-card__title-row button,
  .post-card:hover .post-card__symbol,
  .contact-dock a:hover {
    transform: none;
  }
}


/* ---------- Requested mobile refinements ---------- */
.post-card__cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .55s cubic-bezier(.16,1,.3,1), filter .4s ease;
}

.post-card:hover .post-card__cover img {
  transform: scale(1.045);
  filter: saturate(1.08);
}

.post-card__content h3 a {
  transition: color .25s ease;
}

.post-card__content h3 a:hover {
  color: var(--cyan);
}

@media (max-width: 620px) {
  .trust-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 9px;
    padding: 9px;
  }

  .trust-card {
    gap: 9px;
    min-height: 72px;
    padding: 11px 9px;
  }

  .trust-card__icon {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .trust-card strong {
    font-size: 10.5px;
    line-height: 1.55;
  }

  .trust-card small {
    overflow: visible;
    font-size: 8.5px;
    line-height: 1.55;
    white-space: normal;
    text-overflow: clip;
  }

  .service-card__heading {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
  }

  .service-card__heading .service-card__icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    margin-bottom: 0;
  }

  .service-card__heading h3 {
    margin: 0;
    line-height: 1.55;
  }

  .contact-dock {
    right: 50%;
    width: max-content;
    max-width: calc(100% - 24px);
    grid-template-columns: repeat(4, 36px);
    grid-auto-flow: initial;
    justify-content: initial;
    gap: 6px;
    padding: 6px 8px;
    transform: translateX(50%);
  }

  .contact-dock a {
    width: 36px;
    height: 36px;
  }

  .footer {
    padding-top: 52px;
  }

  .footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px 16px;
  }

  .footer__about,
  .footer__grid > div:last-child {
    grid-column: 1 / -1;
  }

  .footer h3 {
    margin-bottom: 12px;
  }

  .footer li {
    margin-bottom: 7px;
    line-height: 1.65;
  }

  .footer__about p {
    margin: 13px 0 15px;
  }

  .footer__bottom {
    margin-top: 34px;
  }
}

@media (max-width: 360px) {
  .trust-grid {
    gap: 7px;
    padding: 7px;
  }

  .trust-card {
    gap: 7px;
    padding: 9px 7px;
  }

  .trust-card__icon {
    width: 32px;
    height: 32px;
    flex-basis: 32px;
  }

  .trust-card strong { font-size: 9.5px; }
  .trust-card small { font-size: 7.7px; }

  .footer__grid {
    gap: 24px 12px;
  }
}

/* ---------- Light-mode contrast, depth and decorative surface ---------- */
html[data-theme='light'] {
  --bg: #f7f9ff;
  --bg-deep: #e9effc;
  --surface: rgba(255, 255, 255, .82);
  --surface-strong: #ffffff;
  --surface-soft: rgba(35, 76, 170, .055);
  --line: rgba(42, 70, 135, .14);
  --line-strong: rgba(42, 70, 135, .24);
  --text: #101a32;
  --muted: #52617c;
  --muted-2: #73819b;
  --primary: #6647dc;
  --primary-2: #245bd7;
  --cyan: #047fae;
  --green: #087951;
  --orange: #b95d06;
  --yellow: #956400;
  --shadow: 0 24px 68px rgba(45, 67, 120, .14);
}

html[data-theme='light'] body {
  position: relative;
  isolation: isolate;
  background:
    linear-gradient(rgba(47, 83, 165, .028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(47, 83, 165, .028) 1px, transparent 1px),
    radial-gradient(circle at 9% 10%, rgba(37, 99, 235, .13), transparent 24%),
    radial-gradient(circle at 91% 38%, rgba(112, 73, 220, .11), transparent 23%),
    radial-gradient(circle at 30% 78%, rgba(14, 165, 233, .08), transparent 22%),
    #f7f9ff;
  background-size: 44px 44px, 44px 44px, auto, auto, auto, auto;
}

html[data-theme='light'] body::before,
html[data-theme='light'] body::after {
  position: fixed;
  z-index: -1;
  width: clamp(230px, 31vw, 480px);
  aspect-ratio: 1;
  border-radius: 46% 54% 62% 38% / 42% 40% 60% 58%;
  content: '';
  opacity: .38;
  filter: blur(2px);
  pointer-events: none;
  animation: lightDecorDrift 16s ease-in-out infinite alternate;
}

html[data-theme='light'] body::before {
  top: 11vh;
  right: -12vw;
  border: 1px solid rgba(75, 105, 200, .12);
  background:
    radial-gradient(circle at 35% 35%, rgba(88, 120, 235, .2), transparent 55%),
    repeating-radial-gradient(circle, rgba(61, 91, 176, .08) 0 1px, transparent 1px 13px);
}

html[data-theme='light'] body::after {
  bottom: 4vh;
  left: -14vw;
  border: 1px solid rgba(97, 68, 194, .1);
  opacity: .26;
  background:
    radial-gradient(circle at 62% 42%, rgba(127, 84, 218, .18), transparent 55%),
    repeating-linear-gradient(35deg, rgba(63, 91, 177, .055) 0 1px, transparent 1px 12px);
  animation-delay: -7s;
}

@keyframes lightDecorDrift {
  from { transform: translate3d(0, -8px, 0) rotate(-4deg); }
  to { transform: translate3d(18px, 18px, 0) rotate(7deg); }
}

html[data-theme='light'] .trust-section {
  background:
    linear-gradient(90deg, transparent, rgba(255,255,255,.58) 20%, rgba(255,255,255,.58) 80%, transparent),
    radial-gradient(circle at 50% 50%, rgba(37,99,235,.055), transparent 70%);
}

html[data-theme='light'] .section--muted {
  border-color: rgba(54, 82, 147, .09);
  background:
    linear-gradient(135deg, rgba(231, 238, 253, .72), rgba(246, 248, 255, .86)),
    repeating-linear-gradient(120deg, rgba(61, 91, 177, .03) 0 1px, transparent 1px 24px);
}

html[data-theme='light'] .web-design-section {
  background:
    radial-gradient(circle at 12% 52%, rgba(37,99,235,.075), transparent 25%),
    radial-gradient(circle at 88% 30%, rgba(109,78,232,.065), transparent 24%);
}

html[data-theme='light'] .section-heading h2,
html[data-theme='light'] .figma-content h2,
html[data-theme='light'] .web-design-content h2,
html[data-theme='light'] .process-intro h2,
html[data-theme='light'] .about-content h2,
html[data-theme='light'] .faq-intro h2,
html[data-theme='light'] .process-item h3,
html[data-theme='light'] .trust-card strong {
  color: #101d3a;
}

html[data-theme='light'] .section-heading__eyebrow {
  border-color: rgba(37, 99, 235, .16);
  color: #234ea9;
  background: rgba(255, 255, 255, .66);
  box-shadow: 0 8px 22px rgba(56, 82, 145, .07);
}

html[data-theme='light'] .service-card,
html[data-theme='light'] .project-card,
html[data-theme='light'] .testimonial-card,
html[data-theme='light'] .post-card,
html[data-theme='light'] .faq-item,
html[data-theme='light'] .about-window,
html[data-theme='light'] .figma-board,
html[data-theme='light'] .browser-showcase,
html[data-theme='light'] .stats-panel,
html[data-theme='light'] .trust-grid {
  border-color: rgba(43, 73, 143, .15);
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(247,249,255,.8));
  box-shadow: 0 22px 60px rgba(49, 73, 129, .11), inset 0 1px rgba(255,255,255,.9);
}

html[data-theme='light'] .service-card:hover,
html[data-theme='light'] .project-card:hover,
html[data-theme='light'] .testimonial-card:hover,
html[data-theme='light'] .post-card:hover {
  border-color: rgba(37, 99, 235, .29);
  box-shadow: 0 28px 70px rgba(42, 70, 136, .15), 0 0 0 4px rgba(37, 99, 235, .035);
}

html[data-theme='light'] .service-card__icon,
html[data-theme='light'] .trust-card__icon {
  border-color: rgba(56, 89, 172, .13);
  background: linear-gradient(145deg, rgba(232, 239, 255, .96), rgba(255,255,255,.98));
  box-shadow: 0 10px 24px rgba(47, 75, 143, .09);
}

html[data-theme='light'] .tag-list span,
html[data-theme='light'] .skills-cloud span {
  border-color: rgba(45, 75, 144, .12);
  color: #324566;
  background: rgba(240, 244, 255, .82);
}

html[data-theme='light'] .text-link {
  color: #174db9;
}

html[data-theme='light'] .text-link:hover {
  color: #08368e;
}

html[data-theme='light'] .button--primary {
  color: #fff;
  box-shadow: 0 14px 34px rgba(69, 58, 203, .24);
}

html[data-theme='light'] .button--ghost {
  border-color: rgba(42, 69, 133, .2);
  color: #172746;
  background: rgba(255,255,255,.64);
}

html[data-theme='light'] .process-item__number {
  color: #fff;
  background: linear-gradient(145deg, #315fd8, #6847d9);
  box-shadow: 0 12px 25px rgba(53, 79, 174, .22);
}

html[data-theme='light'] .process-list::before {
  background: linear-gradient(180deg, rgba(37,99,235,.1), rgba(109,78,232,.38), rgba(37,99,235,.08));
}

html[data-theme='light'] .stat-item span,
html[data-theme='light'] .trust-card small,
html[data-theme='light'] .project-card p,
html[data-theme='light'] .service-card p,
html[data-theme='light'] .testimonial-card p,
html[data-theme='light'] .post-card p,
html[data-theme='light'] .faq-item p,
html[data-theme='light'] .process-item p {
  color: #53627d;
}

html[data-theme='light'] .project-card__media span,
html[data-theme='light'] .post-card__cover > span {
  color: #fff;
  background: rgba(13, 28, 61, .74);
  backdrop-filter: blur(8px);
}

html[data-theme='light'] .faq-item.is-open {
  border-color: rgba(77, 70, 214, .34);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(239,243,255,.93));
}

html[data-theme='light'] .cta-card,
html[data-theme='light'] .cta-card h2,
html[data-theme='light'] .cta-card p,
html[data-theme='light'] .cta-card > div > span {
  color: #fff;
}

html[data-theme='light'] .cta-card p {
  color: rgba(255,255,255,.76);
}

html[data-theme='light'] .cta-card {
  border-color: rgba(255,255,255,.22);
  background:
    radial-gradient(circle at 15% 20%, rgba(43, 198, 255, .3), transparent 32%),
    linear-gradient(120deg, #4931c7, #6f35df 46%, #167acb);
  box-shadow: 0 28px 70px rgba(65, 50, 180, .26);
}

html[data-theme='light'] .button--glass {
  color: #fff;
  border-color: rgba(255,255,255,.34);
  background: rgba(255,255,255,.13);
}

html[data-theme='light'] .footer {
  border-color: rgba(45, 73, 137, .1);
  background:
    linear-gradient(180deg, rgba(239, 244, 255, .82), rgba(230, 237, 251, .95)),
    repeating-linear-gradient(90deg, rgba(54, 82, 147, .035) 0 1px, transparent 1px 36px);
}

html[data-theme='light'] .footer p,
html[data-theme='light'] .footer li,
html[data-theme='light'] .footer a {
  color: #58667e;
}

html[data-theme='light'] .footer a:hover {
  color: #173f9f;
}

html[data-theme='light'] .footer__bottom {
  border-color: rgba(45, 73, 137, .1);
  color: #72809a;
}

@media (min-width: 961px) {
  html[data-theme='light'] .navbar__panel {
    border: 0;
    color: inherit;
    background: transparent;
    box-shadow: none;
  }
}

@media (max-width: 960px) {
  html[data-theme='light'] .navbar__panel,
  html[data-theme='light'][dir='ltr'] .navbar__panel {
    border-color: rgba(48, 77, 144, .16);
    background: rgba(250, 252, 255, .97);
    box-shadow: 0 28px 65px rgba(45, 68, 120, .18);
  }

  html[data-theme='light'] .nav-more__menu {
    background: rgba(233, 239, 252, .76);
  }
}

/* ---------- Footer social buttons: brand colors and interaction ---------- */
.socials a {
  --social-rgb: 78, 111, 190;
  position: relative;
  overflow: hidden;
  border-color: rgba(var(--social-rgb), .32);
  color: rgb(var(--social-rgb));
  background: linear-gradient(145deg, rgba(var(--social-rgb), .14), rgba(var(--social-rgb), .055));
  box-shadow: inset 0 1px rgba(255,255,255,.08), 0 9px 22px rgba(var(--social-rgb), .1);
  transition: color .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease, transform .25s cubic-bezier(.16,1,.3,1);
}

.socials a::before {
  position: absolute;
  inset: -1px;
  border-radius: inherit;
  content: '';
  opacity: 0;
  background: radial-gradient(circle at 30% 15%, rgba(255,255,255,.42), transparent 38%);
  transition: opacity .25s ease;
  pointer-events: none;
}

.socials a svg {
  position: relative;
  z-index: 1;
  width: 19px;
  height: 19px;
  transition: transform .25s cubic-bezier(.16,1,.3,1);
}

.socials__link--instagram { --social-rgb: 225, 65, 132; }
.socials__link--telegram { --social-rgb: 37, 164, 224; }
.socials__link--whatsapp { --social-rgb: 36, 188, 92; }

.socials a:hover,
.socials a:focus-visible {
  border-color: rgba(var(--social-rgb), .75);
  color: #fff;
  background: rgb(var(--social-rgb));
  box-shadow: 0 14px 30px rgba(var(--social-rgb), .3), 0 0 0 4px rgba(var(--social-rgb), .1);
  transform: translateY(-4px) scale(1.05);
}

.socials__link--instagram:hover,
.socials__link--instagram:focus-visible {
  background: linear-gradient(135deg, #ff7a37, #e34184 48%, #7c3bd7);
}

.socials a:hover::before,
.socials a:focus-visible::before {
  opacity: 1;
}

.socials a:hover svg,
.socials a:focus-visible svg {
  transform: rotate(-7deg) scale(1.08);
}

html[data-theme='light'] .socials a {
  background: linear-gradient(145deg, rgba(var(--social-rgb), .13), rgba(255,255,255,.76));
}

html[data-theme='light'] .socials a:hover,
html[data-theme='light'] .socials a:focus-visible {
  color: #fff;
  background: rgb(var(--social-rgb));
}

html[data-theme='light'] .socials__link--instagram:hover,
html[data-theme='light'] .socials__link--instagram:focus-visible {
  background: linear-gradient(135deg, #ff7a37, #e34184 48%, #7c3bd7);
}

@media (prefers-reduced-motion: reduce) {
  html[data-theme='light'] body::before,
  html[data-theme='light'] body::after {
    animation: none;
  }
}


/* Social-brand specificity repair */
.socials a.socials__link--instagram { --social-rgb: 225, 65, 132; }
.socials a.socials__link--telegram { --social-rgb: 37, 164, 224; }
.socials a.socials__link--whatsapp { --social-rgb: 36, 188, 92; }

.footer .socials a,
html[data-theme='light'] .footer .socials a {
  color: rgb(var(--social-rgb));
}

.footer .socials a:hover,
.footer .socials a:focus-visible,
html[data-theme='light'] .footer .socials a:hover,
html[data-theme='light'] .footer .socials a:focus-visible {
  color: #fff;
}


/* ---------- Final requested hero motion and light-mode corrections ---------- */
.language-control__menu,
html[dir='ltr'] .language-control__menu {
  display: grid;
  gap: 5px;
}

.language-control__menu[hidden] {
  display: none;
}

@media (min-width: 961px) {
  html[lang='en'] .hero h1 {
    max-width: 720px;
    font-size: clamp(34px, 3vw, 44px);
    line-height: 1.25;
    overflow-wrap: normal;
  }

  html[lang='en'] .hero h1 .hero__title-main,
  html[lang='en'] .hero h1 .hero__title-accent {
    display: block;
  }

  html[lang='en'] .hero h1 .hero__title-accent {
    margin-top: 7px;
    white-space: nowrap;
  }
}

@keyframes auroraMergeOne {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(calc(-32deg + var(--aurora-tilt, 0deg))) scale(1);
    opacity: .18;
  }
  20% {
    transform: translate3d(-11vw, -46px, 0) rotate(calc(-12deg + var(--aurora-spin, 0deg))) scale(1.18);
    opacity: .29;
  }
  50% {
    transform: translate3d(-30vw, 8px, 0) rotate(calc(16deg + var(--aurora-spin, 0deg))) scale(1.04);
    opacity: .22;
  }
  72% {
    transform: translate3d(-17vw, 68px, 0) rotate(calc(-24deg - var(--aurora-spin, 0deg))) scale(1.23);
    opacity: .3;
  }
  88% {
    transform: translate3d(-5vw, 18px, 0) rotate(calc(-38deg + var(--aurora-tilt, 0deg))) scale(1.08);
    opacity: .23;
  }
}

@keyframes auroraMergeTwo {
  0%, 100% {
    transform: translate3d(0, 0, 0) rotate(var(--aurora-tilt, 0deg)) scale(1);
    opacity: .13;
  }
  20% {
    transform: translate3d(11vw, 58px, 0) rotate(calc(18deg - var(--aurora-spin, 0deg))) scale(1.22);
    opacity: .25;
  }
  50% {
    transform: translate3d(30vw, -8px, 0) rotate(calc(-18deg - var(--aurora-spin, 0deg))) scale(1.05);
    opacity: .18;
  }
  72% {
    transform: translate3d(17vw, -62px, 0) rotate(calc(13deg + var(--aurora-spin, 0deg))) scale(1.2);
    opacity: .27;
  }
  88% {
    transform: translate3d(5vw, -20px, 0) rotate(calc(-7deg + var(--aurora-tilt, 0deg))) scale(1.07);
    opacity: .19;
  }
}

html[data-theme='light'] .navbar__links a::after {
  background: linear-gradient(90deg, #2563eb, #16a9df);
  box-shadow: 0 0 8px rgba(37, 99, 235, .58), 0 0 18px rgba(22, 169, 223, .3);
}

html[data-theme='light'] .navbar__links a.is-active {
  color: #153e91;
  text-shadow: 0 0 14px rgba(37, 99, 235, .24);
}

html[data-theme='light'] .contact-dock {
  border-color: rgba(52, 82, 149, .18);
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(231,238,252,.88));
  box-shadow: 0 18px 48px rgba(44, 67, 119, .16), inset 0 1px rgba(255,255,255,.96);
}

html[data-theme='light'] .contact-dock a {
  border-color: rgba(var(--dock-rgb), .22);
  color: rgb(var(--dock-rgb));
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(var(--dock-rgb), .09));
  box-shadow: inset 0 1px rgba(255,255,255,.98), 0 8px 20px rgba(var(--dock-rgb), .09);
}

html[data-theme='light'] .contact-dock a:hover,
html[data-theme='light'] .contact-dock a:focus-visible {
  color: #fff;
  background: linear-gradient(135deg, rgba(var(--dock-rgb), .92), rgba(var(--dock-rgb), .68));
  box-shadow: 0 12px 28px rgba(var(--dock-rgb), .28), 0 0 24px rgba(var(--dock-rgb), .2), inset 0 1px rgba(255,255,255,.32);
}

html[data-theme='light'] .tech-dock,
html[data-theme='light'] .floating-note {
  border-color: rgba(48, 78, 147, .18);
  background: linear-gradient(145deg, rgba(255,255,255,.94), rgba(231,238,252,.88));
  box-shadow: 0 16px 42px rgba(46, 70, 126, .15), inset 0 1px rgba(255,255,255,.96);
}

html[data-theme='light'] .tech-chip--image {
  border-color: rgba(49, 78, 145, .15);
  background: rgba(255,255,255,.95);
  box-shadow: 0 7px 16px rgba(45, 68, 119, .11), inset 0 1px rgba(255,255,255,1);
}

html[data-theme='light'] .floating-note {
  color: #173a83;
}

html[data-theme='light'] .floating-note [data-i18n] {
  color: #536480;
}

html[data-theme='light'] .hero__avatars span {
  border-color: #f7f9ff;
  color: #173568;
  background: linear-gradient(145deg, #ffffff, #dfe9fb);
  box-shadow: 0 7px 17px rgba(42, 68, 126, .14), inset 0 1px rgba(255,255,255,.98);
}

html[data-theme='light'] .hero__avatars span:nth-child(1) { color: #6a35bc; background: linear-gradient(145deg, #fbf7ff, #eadcff); }
html[data-theme='light'] .hero__avatars span:nth-child(2) { color: #1764b0; background: linear-gradient(145deg, #f5fbff, #d8edff); }
html[data-theme='light'] .hero__avatars span:nth-child(3) { color: #087b5b; background: linear-gradient(145deg, #f3fffb, #d5f4e9); }
html[data-theme='light'] .hero__avatars span:nth-child(4) { color: #8b5700; background: linear-gradient(145deg, #fffdf5, #f7e9c8); }

html[data-theme='light'] .service-card__icon,
html[data-theme='light'] .trust-card__icon,
html[data-theme='light'] .testimonial-card__badge {
  border-color: rgba(var(--card-glow-rgb, 70, 101, 190), .2);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(var(--card-glow-rgb, 70, 101, 190), .1));
  box-shadow: 0 10px 25px rgba(var(--card-glow-rgb, 70, 101, 190), .11), inset 0 1px rgba(255,255,255,1);
}

html[data-theme='light'] .figma-board {
  border-color: rgba(83, 83, 180, .19);
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(229,235,250,.94));
  box-shadow: 0 34px 80px rgba(55, 66, 119, .18), 0 0 48px rgba(112, 73, 220, .08), inset 0 1px rgba(255,255,255,1);
}

html[data-theme='light'] .figma-board__toolbar {
  border-bottom-color: rgba(51, 76, 134, .12);
  color: #62718b;
}

html[data-theme='light'] .figma-board__canvas {
  background:
    linear-gradient(rgba(51, 82, 151, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(51, 82, 151, .055) 1px, transparent 1px),
    #edf2fc;
  background-size: 22px 22px;
}

html[data-theme='light'] .figma-sidebar,
html[data-theme='light'] .figma-properties {
  background: rgba(220, 229, 247, .86);
}

html[data-theme='light'] .figma-sidebar { border-left-color: rgba(51, 76, 134, .1); }
html[data-theme='light'] .figma-properties { border-right-color: rgba(51, 76, 134, .1); }

html[data-theme='light'] .figma-sidebar i {
  border-color: rgba(73, 93, 146, .18);
  background: rgba(255,255,255,.74);
}

html[data-theme='light'] .figma-properties i {
  background: rgba(61, 88, 151, .19);
}

html[data-theme='light'] .figma-frame {
  border-color: rgba(63, 96, 184, .23);
  background: linear-gradient(160deg, #ffffff, #e6edf9);
  box-shadow: 0 18px 40px rgba(46, 67, 116, .16);
}

html[data-theme='light'] .figma-frame__header span:last-child {
  background: rgba(54, 79, 139, .2);
}

html[data-theme='light'] .figma-frame__hero {
  background: radial-gradient(circle at 65% 25%, rgba(162,89,255,.2), transparent 45%), linear-gradient(135deg, #eef2ff, #dcecf8);
}

html[data-theme='light'] .figma-frame__hero b { background: rgba(31, 48, 84, .8); }
html[data-theme='light'] .figma-frame__hero i { background: rgba(53, 78, 138, .22); }

html[data-theme='light'] .figma-frame__cards span {
  border-color: rgba(65, 91, 152, .14);
  background: rgba(255,255,255,.72);
}

html[data-theme='light'] .figma-mark {
  border-color: rgba(76, 80, 161, .16);
  background: rgba(255,255,255,.94);
  box-shadow: 0 14px 34px rgba(51, 63, 112, .16), 0 0 24px rgba(162,89,255,.12);
}

html[data-theme='light'] .browser-showcase {
  border-color: rgba(55, 88, 168, .2);
  background: linear-gradient(145deg, rgba(255,255,255,.97), rgba(224,233,250,.94));
  box-shadow: 0 34px 82px rgba(48, 69, 121, .18), 0 0 50px rgba(52,123,255,.08);
}

html[data-theme='light'] .browser-showcase__top {
  border-bottom-color: rgba(50, 76, 136, .12);
}

html[data-theme='light'] .browser-showcase__top small { color: #62718a; }

html[data-theme='light'] .browser-showcase__screen {
  background:
    radial-gradient(circle at 70% 20%, rgba(37,99,235,.13), transparent 38%),
    #edf3fd;
}

html[data-theme='light'] .browser-showcase__nav {
  border-color: rgba(56, 83, 145, .13);
  background: rgba(255,255,255,.66);
}

html[data-theme='light'] .browser-showcase__nav i {
  background: rgba(42, 91, 189, .25);
}

html[data-theme='light'] .browser-showcase__hero {
  border-color: rgba(65, 103, 188, .15);
  background: linear-gradient(135deg, rgba(196,216,255,.72), rgba(229,219,255,.62));
}

html[data-theme='light'] .browser-showcase__hero b { background: rgba(44, 67, 117, .2); }

html[data-theme='light'] .browser-showcase__cards span {
  border-color: rgba(55, 83, 145, .13);
  background: linear-gradient(145deg, rgba(255,255,255,.9), rgba(220,230,249,.76));
}

html[data-theme='light'] .browser-showcase__badge {
  border-color: rgba(0, 134, 190, .25);
  color: #075f84;
  background: rgba(242, 252, 255, .94);
  box-shadow: 0 18px 42px rgba(40, 72, 124, .16), 0 0 26px rgba(30,214,255,.13);
}

html[data-theme='light'] .project-card__media {
  border-bottom-color: rgba(47, 76, 142, .12);
  background: linear-gradient(145deg, #f9fbff, #e6edf9);
}

html[data-theme='light'] .project-card__media::after {
  background: linear-gradient(180deg, transparent 54%, rgba(35, 58, 105, .08));
}

html[data-theme='light'] .process-item__number {
  border-color: rgba(44, 77, 166, .18);
  color: #21458f;
  background: linear-gradient(145deg, #ffffff, #dfe9fb);
  box-shadow: 0 12px 28px rgba(43, 68, 128, .15), inset 0 1px rgba(255,255,255,.98);
}

html[data-theme='light'] .stats-panel .stat-item {
  border-color: rgba(45, 75, 143, .15);
  background: linear-gradient(145deg, rgba(255,255,255,.96), rgba(229,236,250,.9));
  box-shadow: 0 18px 46px rgba(44, 67, 119, .13), inset 0 1px rgba(255,255,255,.98);
}

html[data-theme='light'] .stats-panel .stat-item:hover {
  border-color: rgba(52, 91, 190, .28);
  box-shadow: 0 24px 56px rgba(44, 67, 119, .17), 0 0 30px rgba(82, 79, 220, .06), inset 0 1px rgba(255,255,255,1);
}

html[data-theme='light'] .stats-panel .stat-item strong {
  color: #183875;
  text-shadow: 0 0 18px rgba(80, 83, 205, .14);
}

html[data-theme='light'] .testimonial-card__person > span {
  border-color: rgba(55, 84, 151, .16);
  color: #244d9a;
  background: linear-gradient(145deg, #ffffff, #dce7fa);
  box-shadow: 0 9px 22px rgba(43, 67, 122, .14), inset 0 1px rgba(255,255,255,.98);
}

/* Keep icon accents while removing residual dark surfaces in light mode. */
html[data-theme='light'] .service-card .service-card__icon,
html[data-theme='light'] .trust-card .trust-card__icon,
html[data-theme='light'] .testimonial-card .testimonial-card__badge {
  border-color: rgba(var(--card-glow-rgb, 70, 101, 190), .22);
  background: linear-gradient(145deg, rgba(255,255,255,.98), rgba(var(--card-glow-rgb, 70, 101, 190), .11));
  box-shadow: 0 10px 25px rgba(var(--card-glow-rgb, 70, 101, 190), .12), inset 0 1px rgba(255,255,255,1);
}

/* ---------- Final limited light-mode and dropdown fixes ---------- */
html[data-theme='light'] .stats-panel {
  border: 0;
  background: transparent;
  box-shadow: none;
}

html[data-theme='light'] .tech-dock:hover {
  border-color: rgba(55, 91, 178, .23);
  box-shadow: 0 18px 46px rgba(46, 70, 126, .17), 0 0 22px rgba(64, 112, 224, .08), inset 0 1px rgba(255,255,255,.98);
}

html[data-theme='light'] .tech-chip--image:hover {
  border-color: rgba(55, 91, 178, .22);
  box-shadow: 0 9px 20px rgba(45, 68, 119, .14), 0 0 13px rgba(80, 118, 219, .08), inset 0 1px rgba(255,255,255,1);
}

html[data-theme='light'] .floating-note > span:first-child {
  color: #173a83;
}

html[data-theme='light'] .button--ghost {
  background: linear-gradient(145deg, rgba(251,253,255,.88), rgba(226,235,251,.76));
  box-shadow: 0 10px 26px rgba(52, 76, 129, .1), inset 0 1px rgba(255,255,255,.94);
}

html[data-theme='light'] .button--ghost:hover {
  background: linear-gradient(145deg, rgba(248,251,255,.95), rgba(217,229,250,.88));
  box-shadow: 0 14px 32px rgba(52, 76, 129, .14), 0 0 18px rgba(77, 102, 203, .07), inset 0 1px rgba(255,255,255,.98);
}

html[data-theme='light'] .button--light {
  border: 1px solid rgba(54, 79, 151, .16);
  background: linear-gradient(145deg, #f7faff, #dfe8f8);
  box-shadow: 0 14px 34px rgba(42, 61, 117, .2), inset 0 1px rgba(255,255,255,.94);
}

html[data-theme='light'] .button--light:hover {
  background: linear-gradient(145deg, #ffffff, #d6e3f7);
  box-shadow: 0 18px 40px rgba(42, 61, 117, .24), 0 0 20px rgba(80, 94, 205, .09), inset 0 1px rgba(255,255,255,1);
}

html[dir='ltr'] .language-control__menu[hidden] {
  display: none;
}
