:root {
  --page-width: 1224px;
  --section-width: 1168px;
  --page-padding: 28px;
  --section-gap: 45px;
  --header-height: 89px;
  --hero-height: 707px;

  --bg: #dbecf9;
  --orange: #ee460b;
  --orange-cta: #ed450a;
  --blue: #03447f;
  --lime: lime;
  --green: var(--lime);
}

[hidden] {
  display: none !important;
}

/* Skills refactor: absolute -> flex-column with gap */
.skills {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  height: auto;
  min-height: 0;
  padding: 38px 28px;
}

.skills-character {
  position: static;
  left: auto;
  top: auto;
  right: auto;
  bottom: auto;
  width: min(100%, 500px);
  height: auto;
  max-height: 520px;
  transform: none;
  margin: 0 auto;
}

.skills-heading {
  position: static;
  left: auto;
  top: auto;
  transform: none;
  width: 100%;
  max-width: 380px;
  text-align: center;
}

.skills-badges {
  position: static;
  left: auto;
  right: auto;
  top: auto;
  width: 100%;
  max-width: 760px;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: flex-end;
  gap: 18px 22px;
  transform: none;
}

.skill-item {
  position: static;
  left: auto;
  top: auto;
  flex: 0 0 auto;
}

.skills-badges .sf-1,
.skills-badges .sf-3,
.skills-badges .sf-6,
.skills-badges .sf-8 {
  width: 63px;
  height: 89px;
}

.skills-badges .sf-2,
.skills-badges .sf-5 {
  width: 103px;
  height: 145px;
}

.skills-badges .sf-4 {
  width: 70px;
  height: 98px;
}

.skills-badges .sf-7 {
  width: 89px;
  height: 125px;
}

.skills-badges .sf-2 {
  transform: rotate(15deg);
}

.skills-badges .sf-4 {
  transform: rotate(-18.98deg);
}

.skills-badges .sf-5 {
  transform: rotate(12.47deg);
}

.skills-badges .sf-7 {
  transform: rotate(-15deg);
}

@media (max-width: 900px) {
  .skills {
    padding: 24px 16px;
    gap: 18px;
  }

  .skills-character {
    width: min(100%, 340px);
    max-height: 360px;
  }

  .skills-badges {
    max-width: 360px;
    gap: 14px 16px;
  }

  .skills-badges .sf-1,
  .skills-badges .sf-3,
  .skills-badges .sf-6,
  .skills-badges .sf-8 {
    width: 45px;
    height: 64px;
  }

  .skills-badges .sf-2,
  .skills-badges .sf-5 {
    width: 74px;
    height: 104px;
  }

  .skills-badges .sf-4 {
    width: 50px;
    height: 71px;
  }

  .skills-badges .sf-7 {
    width: 64px;
    height: 90px;
  }
}

@media (max-width: 640px) {
  .skills {
    gap: 16px;
    padding: 20px 12px;
  }

  .skills-character {
    width: min(100%, 300px);
    max-height: 310px;
  }

  .skills-badges {
    max-width: 300px;
    gap: 12px 12px;
  }
}

@media (min-width: 360px) and (max-width: 900px) {
  .hero-section {
    min-height: 610px;
    border-radius: 20px;
  }
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  padding: var(--page-padding);
  background: var(--bg);
  color: #fff;
}

p {
  font-family: "Open Sans Condensed", "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
}

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

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

video[data-media-video] {
  pointer-events: none;
  user-select: none;
  -webkit-user-select: none;
  -webkit-touch-callout: none;
}

.page {
  width: var(--page-width);
  display: flex;
  flex-direction: column;
  gap: var(--section-gap);
}

.header-bar,
.hero-section,
.services,
.portfolio-head,

.portfolio-track,
.reviews,
.site-footer {
  width: var(--section-width);
  margin: 0 auto;
}

.header-bar {
  height: var(--header-height);
  border-radius: 30px;
  background: var(--orange);
}

.site-header {
  height: 100%;
  padding: 0 28px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Orbitron", sans-serif;
  font-size: 20px;
  font-weight: 400;
  text-transform: uppercase;
  color: var(--lime);
}

.logo-mark {
  width: 28px;
  height: 28px;
  object-fit: contain;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 30px;
}

.main-nav a {
  color: #dbecf9;
  text-decoration: none;
  text-transform: uppercase;
  font-family: "Mukta", sans-serif;
  font-size: 20px;
  font-weight: 400;
}

.language-toggle {
  justify-self: end;
  width: 121px;
  height: 33px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 14px;
  border-radius: 30px;
  background: var(--blue);
}

.language-toggle button,
.language-toggle a {
  width: 24px;
  height: 33px;
  border: 0;
  background: transparent;
  color: #fff;
  padding: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  line-height: 33px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
}

.language-toggle button:first-child,
.language-toggle a:first-child {
  width: 25px;
}

.language-toggle a[aria-current="page"] {
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.menu-toggle {
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  padding: 6px;
  cursor: pointer;
}

.menu-toggle img {
  display: block;
  width: 24px;
  height: 24px;
}

.hero-section {
  position: relative;
  height: var(--hero-height);
  border-radius: 30px;
  background: var(--blue);
  overflow: hidden;
}

.hero-image {
  position: absolute;
  width: 583px;
  height: 583px;
  left: 558px;
  top: auto;
  bottom: 0;
  overflow: hidden;
  border-radius: 8px;
}

.hero-video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
}

.hero-group {
  position: absolute;
  width: 458px;
  height: auto;
  left: 84px;
  top: 166px;
}

.hero-frame-108 {
  position: static;
  width: 458px;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 44px;
}

.hero-frame-107 {
  position: static;
  width: 458px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.hero-frame-106 {
  position: static;
  width: 458px;
  height: auto;
  display: flex;
  flex-direction: column;
  gap: 13px;
}

.hero-kicker {
  position: static;
  width: auto;
  margin: 0;
  color: var(--lime);
  font-family: "Open Sans Condensed", "Open Sans", sans-serif;
  font-size: 20px;
  line-height: 24px;
}

.hero-title {
  position: static;
  width: 100%;
  margin: 0;
  color: var(--lime);
  font-family: "Orbitron", sans-serif;
  font-size: 48px;
  line-height: 60px;
}

.hero-description {
  position: static;
  width: 371px;
  margin: 0;
  color: var(--lime);
  font-family: "Open Sans Condensed", "Open Sans", sans-serif;
  font-size: 20px;
  line-height: 24px;
}

.hero-cta {
  position: static;
  width: auto;
  min-height: 42px;
  height: 42px;
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 2px solid #dbecf9;
  border-radius: 30px;
  background: var(--orange-cta);
  padding: 0 28px;
  cursor: pointer;
  text-decoration: none;
  line-height: 1;
  letter-spacing: 0.4px;
  transition:
    transform 0.18s ease,
    filter 0.18s ease,
    opacity 0.18s ease;
}

.hero-section .hero-cta,
.contact .hero-cta {
  width: auto;
  min-width: 200px;
}

.hero-cta-label {
  width: auto;
  height: auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 1;
  letter-spacing: inherit;
  white-space: nowrap;
}

.hero-cta:hover {
  transform: translateY(-1px);
  filter: brightness(1.05);
}

.hero-cta:active {
  transform: translateY(0);
  filter: brightness(0.98);
}

.hero-cta:focus-visible,
.outline-cta:focus-visible {
  outline: 2px solid rgba(3, 68, 127, 0.95);
  outline-offset: 2px;
}

.hero-cta:disabled,
.outline-cta:disabled,
.hero-cta[aria-disabled="true"],
.outline-cta[aria-disabled="true"] {
  opacity: 0.62;
  cursor: not-allowed;
  pointer-events: none;
  transform: none;
}

.hero-section .hero-frame-108 > .hero-cta {
  position: static;
}

.services,
.reviews {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.section-head,
.portfolio-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
}

.section-copy {
  display: flex;
  flex-direction: column;
  gap: 17px;
}

.section-kicker {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  line-height: 24px;
}

.section-title {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 32px;
  line-height: 40px;
}

.section-title.single {
  line-height: 1;
}

.dark {
  color: #000;
}

.light {
  color: #fff;
}

.outline-cta {
  height: 41px;
  min-height: 41px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid var(--blue);
  border-radius: 30px;
  background: transparent;
  color: var(--blue);
  padding: 0 28px;
  font-family: "Open Sans", sans-serif;
  line-height: 1;
  letter-spacing: 0.4px;
  font-size: 20px;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    background-color 0.18s ease,
    color 0.18s ease;
}

.outline-cta:hover {
  transform: translateY(-1px);
  background: transparent;
  border-color: #6aa6d6;
  color: #0d5e9d;
}

.outline-cta:active {
  transform: translateY(0);
  background: transparent;
  border-color: #4d86b6;
  color: #03447f;
}

.outline-cta--on-orange {
  border-color: #dbecf9;
  color: #dbecf9;
}

.outline-cta--on-orange:hover {
  background: transparent;
  border-color: #ffffff;
  color: #ffffff;
}

.outline-cta--on-orange:active {
  background: transparent;
  border-color: #d1f8b8;
  color: #d1f8b8;
}

.services-cards {
  position: relative;
  width: 100%;
  height: 375px;
}

.service-card {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 30px;
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  color: #fff;
  transition:
    transform 0.45s ease,
    width 0.45s ease,
    height 0.45s ease,
    opacity 0.45s ease,
    background-color 0.45s ease;
  will-change: transform;
}

.service-card h3 {
  margin: 0 0 10px;
  font-family: "Orbitron", sans-serif;
  font-size: 20px;
  line-height: 25px;
}

.service-card p {
  margin: 0;
  font-family: "Open Sans Condensed", "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
}

.orange {
  background: var(--orange);
}

.blue {
  background: var(--blue);
}

.services-carousel {
  position: relative;
  width: 100%;
  margin-left: 0;
  padding: 0px;
}

.service-card.is-center {
  width: 228px;
  height: 375px;
  background: var(--orange);
  transform: translate(-50%, -50%);
  opacity: 1;
  z-index: 5;
}

.service-card.is-left-1,
.service-card.is-right-1 {
  width: 233px;
  height: 339px;
  background: var(--blue);
  opacity: 1;
  z-index: 4;
}

.service-card.is-left-1 {
  transform: translate(calc(-50% - 256.5px), -50%);
}

.service-card.is-right-1 {
  transform: translate(calc(-50% + 256.5px), -50%);
}

.service-card.is-left-2,
.service-card.is-right-2 {
  width: 187px;
  height: 239px;
  background: var(--orange);
  opacity: 1;
  z-index: 3;
}

.service-card.is-left-2 {
  transform: translate(calc(-50% - 492.5px), -50%);
}

.service-card.is-right-2 {
  transform: translate(calc(-50% + 492.5px), -50%);
}

.skills {
  width: 1167px;
  height: 570px;
  margin: 0 auto;
  border-radius: 30px;
  background: var(--blue);
  position: relative;
  overflow: hidden;
}

.skills-visual {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 0;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  gap: 20px;
}

.skills-character {
  position: static;
  width: 454px;
  height: 454px;
  display: block;
  margin-bottom: -20px;
  object-fit: contain;
  background: transparent;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
}

@media (min-width: 1281px) {
  .skills-character {
    width: 511px;
    height: 543px;
    flex: 0 0 511px;
    margin-left: 0;
    margin-right: 0;
  }
}


.skills-heading {
  position: absolute;
  top: 52px;
  left: 50%;
  transform: translateX(-50%);
  width: 268px;
  text-align: center;
}

.skills-heading p {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
}

.skills-heading h2 {
  margin: 9px 0 0;
  font-family: "Orbitron", sans-serif;
  font-size: 32px;
  line-height: 37px;
}

.skills-badges {
  position: relative;
  width: 485.52px;
  height: 359.81px;
}

@media (min-width: 901px) {
  .skills-visual .skills-character {
    order: 1;
  }

  .skills-visual .skills-badges {
    order: 2;
  }
}

.skill-item {
  position: absolute;
  display: block;
  object-fit: contain;
}

.sf-1 {
  left: 0;
  top: 38.86px;
  width: 63px;
  height: 89px;
}

.sf-2 {
  left: 137.53px;
  top: 0;
  width: 103px;
  height: 145px;
  transform: rotate(15deg);
}

.sf-3 {
  left: 274.02px;
  top: 38.86px;
  width: 63px;
  height: 89px;
}

.sf-4 {
  left: 389px;
  top: 40px;
  width: 69.86px;
  height: 98.35px;
  transform: rotate(-18.98deg);
}

.sf-5 {
  left: 31.3px;
  top: 200px;
  width: 103px;
  height: 145px;
  transform: rotate(12.47deg);
}

.sf-6 {
  left: 168.87px;
  top: 234px;
  width: 62.38px;
  height: 87.81px;
}

.sf-7 {
  left: 281px;
  top: 215px;
  width: 88.63px;
  height: 124.77px;
  transform: rotate(-15deg);
}

.sf-8 {
  left: 423.2px;
  top: 234px;
  width: 62.32px;
  height: 87.74px;
  transform: rotate(0.03deg);
}

.portfolio-track {
  display: flex;
  gap: 35px;
  overflow-x: auto;
  padding-bottom: 6px;
  scrollbar-width: thin;
  cursor: grab;
  scroll-behavior: smooth;
  touch-action: pan-y;
}

.portfolio-track.is-dragging {
  cursor: grabbing;
  scroll-behavior: auto;
}

.portfolio-card {
  flex: 0 0 421px;
  height: 556px;
  border-radius: 30px;
  background: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.portfolio-card > a {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.portfolio-card img {
  width: 78%;
  height: auto;
  object-fit: contain;
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 17px;
}

.review-card {
  min-height: 160px;
  border-radius: 30px;
  background: var(--lime);
  color: #000;
  padding: 20px;
  font-family: "Inter", sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

.contact {
  width: 1167px;
  height: 437px;
  margin: 40px auto 0;
  border-radius: 24px;
  background: var(--blue);
  position: relative;
  overflow: visible;
}

.contact-copy {
  position: absolute;
  left: 64px;
  top: 84px;
  width: 385px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0;
}

.contact-copy h2 {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-style: normal;
  font-weight: 700;
  font-size: 32px;
  line-height: 40px;
}

.contact-copy p,
.contact-copy .section-kicker {
  margin: 0;
  font-family: "Open Sans Condensed", "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
}

.contact-copy > p {
  font-family: "Open Sans Condensed", "Open Sans", sans-serif;
  font-style: normal;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
}

.contact-copy .hero-cta {
  top: auto;
  left: auto;
  margin-top: 0;
}

.contact-copy .section-kicker + h2 {
  margin-top: 13px;
}

.contact-copy h2 + p {
  margin-top: 17px;
}

.contact-copy p + .hero-cta {
  margin-top: 44px;
}

.contact-image {
  position: absolute;
  right: 21px;
  top: auto;
  bottom: 0;
  width: 494px;
  height: 494px;
  display: block;
  object-fit: contain;
  object-position: center top;
  background: transparent;
  opacity: 1;
  filter: none;
  z-index: 3;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 90%, transparent 100%);
}

.site-footer {
  border-radius: 24px 24px 0 0;
  background: var(--orange-cta);
  padding: 20px 62px;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.footer-main {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-brand {
  width: 258px;
}

.footer-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
  max-width: 520px;
}

.footer-social {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 6px 0;
  gap: 8px;
  width: 210px;
}

.footer-social a {
  width: 40px;
  height: 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 8px;
  gap: 5px;
  color: #dbecf9;
  background: #03447f;
  border-radius: 6px;
  text-decoration: none;
  transition: transform 0.2s ease;
}

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

.footer-social svg {
  width: 24px;
  height: 24px;
}

.footer-logo {
  margin: 0;
  color: var(--lime);
  font-family: "Mukta", sans-serif;
  font-size: 30px;
  line-height: 30px;
}

.footer-logo-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-logo-mark {
  width: 30px;
  height: 30px;
}

.footer-brand p:last-child {
  margin: 5px 0 0;
  color: var(--lime);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 19px;
}

.footer-legal {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  font-family: "Mukta", sans-serif;
}

.footer-legal a {
  color: var(--bg);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  font-size: 16px;
}

.quest-entry-link {
  display: none;
}

.quest-entry-link.is-visible {
  display: inline-flex;
  align-items: center;
  pointer-events: auto;
}

.quest-fab {
  position: fixed;
  right: 24px;
  bottom: 110px;
  z-index: 1294;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  height: 42px;
  padding: 6px 18px;
  border-radius: 30px;
  border: 2px solid #03447f;
  background: var(--orange-cta);
  color: #fff;
  text-decoration: none;
  font-family: "Open Sans", sans-serif;
  font-size: 20px;
  line-height: 1;
  letter-spacing: 0.4px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}

.quest-fab.is-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.quest-fab:hover {
  filter: brightness(1.05);
}

.footer-bottom {
  border-top: 1px solid #d7a189;
  padding-top: 8px;
  text-align: center;
  color: var(--lime);
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  position: relative;
}

.footer-copyright-mark {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: help;
  outline: none;
}

.footer-copyright-mark:focus-visible {
  outline: 2px solid #dbecf9;
  outline-offset: 2px;
  border-radius: 4px;
}

.footer-quest-hint {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translate(-50%, 6px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  white-space: nowrap;
  padding: 7px 10px;
  border-radius: 10px;
  border: 1px solid #dbecf9;
  background: #03447f;
  color: #dbecf9;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  line-height: 1.3;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 2;
}

.footer-copyright-mark.is-hint-visible .footer-quest-hint {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.footer-quest-hint::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 100%;
  width: 8px;
  height: 8px;
  transform: translateX(-50%) rotate(45deg);
  border-right: 1px solid #dbecf9;
  border-bottom: 1px solid #dbecf9;
  background: #03447f;
}

@media (max-width: 640px) {
  .footer-quest-hint {
    white-space: normal;
    min-width: 180px;
    max-width: min(76vw, 280px);
    text-align: center;
  }
}

body.modal-open {
  overflow: hidden;
}

.guard-install-modal {
  position: fixed;
  inset: 0;
  z-index: 1270;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.guard-install-modal.is-open {
  display: flex;
}

.guard-install-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 68, 127, 0.72);
}

.guard-install-modal__panel {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  border-radius: 24px;
  border: 2px solid #03447f;
  background: #ee460b;
  color: #dbecf9;
  padding: 22px;
  display: grid;
  gap: 12px;
}

.guard-install-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #03447f;
  background: #dbecf9;
  color: #03447f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.guard-install-modal__close:hover {
  transform: scale(1.04);
}

.guard-install-modal__panel h3 {
  margin: 0 44px 0 0;
  color: #03447f;
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  line-height: 1.2;
}

.guard-install-modal__panel p {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.guard-install-modal__browser {
  color: #ffffff;
}

.guard-install-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.guard-install-modal__cta,
.install-guide-modal__download,
.quest-control {
  position: static;
  width: auto;
  background: #03447f;
  border-color: #dbecf9;
}

.guard-install-modal__cta:hover,
.install-guide-modal__download:hover,
.quest-control:hover {
  border-color: #ffffff;
  filter: brightness(1.08);
}

.guard-install-modal__cta:active,
.install-guide-modal__download:active,
.quest-control:active {
  border-color: #d1f8b8;
  background: #04528f;
  filter: brightness(1);
}

.guard-install-modal__ghost {
  min-height: 40px;
}

.guard-install-modal__status {
  min-height: 20px;
  color: #d1f8b8;
}

.install-guide-modal {
  position: fixed;
  inset: 0;
  z-index: 1272;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.install-guide-modal.is-open {
  display: flex;
}

.install-guide-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 68, 127, 0.68);
  backdrop-filter: blur(2px);
}

.install-guide-modal__panel {
  position: relative;
  width: min(980px, calc(100vw - 32px));
  max-height: min(90vh, 940px);
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 24px;
  border: 2px solid #03447f;
  background: #ee460b;
  color: #dbecf9;
  padding: 22px 22px 20px;
  display: grid;
  gap: 12px;
}

.install-guide-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #03447f;
  background: #dbecf9;
  color: #03447f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.install-guide-modal__close:hover {
  transform: scale(1.04);
}

.install-guide-modal__title {
  margin: 0 44px 2px 0;
  color: #03447f;
  font-family: "Orbitron", sans-serif;
  font-size: 26px;
  line-height: 1.2;
}

.install-guide-modal__subtitle {
  margin: 0;
  color: #dbecf9;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.4;
  max-width: 90ch;
}

.install-guide-modal__section {
  border: 2px solid #03447f;
  border-radius: 14px;
  background: #dbecf9;
  padding: 14px;
  display: grid;
  gap: 10px;
  color: #03447f;
}

.install-guide-modal__section-title {
  margin: 0;
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
  line-height: 1.2;
  color: #03447f;
}

.install-guide-modal__steps {
  margin: 0;
  padding-left: 20px;
  display: grid;
  gap: 8px;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.4;
}

.install-guide-modal__steps a {
  color: #03447f;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.install-guide-modal__note {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.35;
  color: #03447f;
}

.install-guide-modal__status {
  margin: 0;
  min-height: 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.35;
  color: #ee460b;
}

.install-guide-modal__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.install-guide-modal__download {
  position: static;
  width: auto;
}

.quest-install-countdown {
  position: fixed;
  inset: 0;
  z-index: 1299;
  display: none;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.quest-install-countdown.is-open {
  display: flex;
}

.quest-install-countdown__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 68, 127, 0.78);
  backdrop-filter: blur(2px);
}

.quest-install-countdown__value {
  position: relative;
  margin: 0;
  color: #64d02c;
  font-family: "Orbitron", sans-serif;
  font-size: clamp(62px, 12vw, 146px);
  line-height: 1;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transform: scale(0.6);
  opacity: 0;
}

.quest-install-countdown__value.is-animate {
  animation: questInstallCountdownPop 0.72s ease forwards;
}

@keyframes questInstallCountdownPop {
  0% {
    transform: scale(0.6);
    opacity: 0;
  }
  20% {
    opacity: 1;
  }
  55% {
    transform: scale(1.03);
    opacity: 1;
  }
  100% {
    transform: scale(0.98);
    opacity: 0.96;
  }
}

.legal-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.legal-modal.is-open {
  display: flex;
}

.legal-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 68, 127, 0.68);
}

.legal-modal__panel {
  position: relative;
  width: min(720px, calc(100vw - 32px));
  max-height: min(82vh, 760px);
  overflow: auto;
  border-radius: 20px;
  border: 2px solid #03447f;
  background: #ee460b;
  color: #dbecf9;
  padding: 24px 24px 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.legal-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #03447f;
  background: #dbecf9;
  color: #03447f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.legal-modal__close:hover {
  transform: scale(1.04);
}

.legal-modal__title {
  margin: 0 28px 14px 0;
  color: #03447f;
  font-family: "Orbitron", sans-serif;
  font-size: 28px;
  line-height: 1.2;
}

.legal-modal__content {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-modal__content p {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  line-height: 1.45;
}

.contact-modal {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.contact-modal.is-open {
  display: flex;
}

.contact-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 68, 127, 0.68);
}

.contact-modal__panel {
  position: relative;
  width: min(620px, calc(100vw - 32px));
  max-height: min(84vh, 860px);
  overflow: auto;
  border-radius: 24px;
  border: 2px solid #03447f;
  background: #ee460b;
  color: #dbecf9;
  padding: 22px 22px 20px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.25);
}

.contact-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #03447f;
  background: #dbecf9;
  color: #03447f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.contact-modal__close:hover {
  transform: scale(1.04);
}

.contact-modal__title {
  margin: 0;
  color: #03447f;
  font-family: "Orbitron", sans-serif;
  font-size: 30px;
  line-height: 1.15;
}

.contact-modal__subtitle {
  margin: 10px 0 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  color: #dbecf9;
}

.contact-form {
  margin-top: 16px;
  display: grid;
  gap: 12px;
}

.contact-form__field {
  display: grid;
  gap: 6px;
}

.contact-form__field span {
  font-family: "Mukta", sans-serif;
  font-size: 18px;
  color: #dbecf9;
}

.contact-form__field input,
.contact-form__field select,
.contact-form__field textarea {
  width: 100%;
  border: 2px solid #03447f;
  border-radius: 14px;
  background: #dbecf9;
  color: #03447f;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.4;
  padding: 10px 12px;
  outline: none;
}

.contact-form__field textarea {
  resize: vertical;
  min-height: 108px;
}

.contact-form__field input:focus,
.contact-form__field select:focus,
.contact-form__field textarea:focus {
  border-color: #dbecf9;
  box-shadow: 0 0 0 2px rgba(219, 236, 249, 0.3);
}

.contact-form__field input:active,
.contact-form__field select:active,
.contact-form__field textarea:active {
  border-color: #dbecf9;
}

.contact-form__submit {
  margin-top: 6px;
  position: static;
  width: 100%;
  min-height: 42px;
  border-radius: 30px;
  padding: 6px 18px;
  background: #03447f;
  border-color: #dbecf9;
}

.contact-form__submit:hover {
  border-color: #ffffff;
  filter: brightness(1.08);
}

.contact-form__submit:active {
  border-color: #d1f8b8;
  background: #04528f;
  filter: brightness(1);
}

.contact-form__submit .hero-cta-label {
  font-weight: 400;
  letter-spacing: inherit;
}

.contact-form__submit:disabled {
  opacity: 0.72;
  cursor: wait;
}

.contact-form__status {
  margin: 2px 0 0;
  min-height: 22px;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.35;
  color: #dbecf9;
}

.contact-honeypot {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  border: 0 !important;
  padding: 0 !important;
  white-space: nowrap !important;
  clip-path: inset(100%) !important;
  clip: rect(0 0 0 0) !important;
  overflow: hidden !important;
}

.quest-modal {
  position: fixed;
  inset: 0;
  z-index: 1260;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.quest-modal.is-open {
  display: flex;
}

.quest-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(3, 68, 127, 0.68);
}

.quest-modal__panel {
  position: relative;
  width: min(680px, calc(100vw - 32px));
  max-height: min(86vh, 920px);
  overflow: auto;
  border-radius: 24px;
  border: 2px solid #03447f;
  background: #ee460b;
  color: #dbecf9;
  padding: 22px 22px 20px;
}

.quest-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: 2px solid #03447f;
  background: #dbecf9;
  color: #03447f;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.15s ease;
}

.quest-modal__close:hover {
  transform: scale(1.04);
}

.quest-modal__title {
  margin: 0;
  color: #03447f;
  font-family: "Orbitron", sans-serif;
  font-size: 30px;
  line-height: 1.15;
}

.quest-modal__subtitle {
  margin: 10px 0 0;
  font-family: "Open Sans", sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

.quest-participants {
  margin: 10px 0 0;
  color: #d1f8b8;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.quest-modal__rules {
  margin: 12px 0 0;
  padding-left: 20px;
  display: grid;
  gap: 6px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.4;
}

.quest-box {
  margin-top: 14px;
  border: 2px solid #03447f;
  border-radius: 16px;
  background: rgba(3, 68, 127, 0.24);
  padding: 12px;
  display: grid;
  gap: 10px;
}

.quest-box__step {
  margin: 0;
  color: var(--lime);
  font-family: "Orbitron", sans-serif;
  font-size: 18px;
}

.quest-progress {
  margin: 0;
  padding: 8px 10px;
  border-radius: 12px;
  border: 1px solid rgba(219, 236, 249, 0.3);
  background: rgba(3, 68, 127, 0.26);
  display: grid;
  gap: 6px;
}

.quest-progress__meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.quest-progress__label,
.quest-progress__value {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 13px;
  line-height: 1.35;
}

.quest-progress__label {
  color: #dbecf9;
}

.quest-progress__value {
  color: #d1f8b8;
  text-align: right;
}

.quest-progress__track {
  position: relative;
  width: 100%;
  height: 8px;
  border-radius: 999px;
  background: rgba(219, 236, 249, 0.26);
  overflow: hidden;
}

.quest-progress__fill {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, #64d02c 0%, #aefb74 100%);
  transition: width 0.28s ease;
}

.quest-box__hint,
.quest-box__encoded {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 15px;
  line-height: 1.35;
}

.quest-box__encoded {
  color: #fff;
  word-break: break-word;
}

.quest-ai-budget {
  margin: -2px 0 2px;
  white-space: pre-line;
  color: #d1f8b8;
  font-family: "Open Sans", sans-serif;
  font-size: 12.5px;
  line-height: 1.4;
}

.quest-box__actions,
.quest-box__controls {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.quest-action,
.quest-control {
  position: static;
  width: auto;
}

.quest-control .hero-cta-label {
  font-size: 16px;
}

.quest-control--ghost {
  min-height: 40px;
}

.quest-box__field {
  margin: 0;
}

.quest-box__fragment,
.quest-box__status {
  margin: 0;
  min-height: 20px;
  font-family: "Open Sans", sans-serif;
  font-size: 14px;
  line-height: 1.35;
}

.quest-box__fragment {
  color: #ffffff;
  display: none;
}

.quest-box__status {
  color: #d1f8b8;
}

.quest-step-toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 1295;
  width: min(460px, calc(100vw - 32px));
  border-radius: 18px;
  border: 2px solid #03447f;
  background: #ee460b;
  color: #dbecf9;
  padding: 14px 16px 12px;
  display: grid;
  gap: 8px;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.22s ease, transform 0.22s ease;
  pointer-events: none;
}

.quest-step-toast.is-open {
  opacity: 1;
  transform: translateY(0);
}

.quest-step-toast__title {
  margin: 0;
  color: #03447f;
  font-family: "Orbitron", sans-serif;
  font-size: 22px;
  line-height: 1.2;
}

.quest-step-toast__text,
.quest-step-toast__hint {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 18px;
  line-height: 1.35;
}

.quest-step-toast__hint {
  color: #d1f8b8;
}

.quest-step-toast__bar {
  height: 4px;
  border-radius: 999px;
  background: rgba(219, 236, 249, 0.28);
  overflow: hidden;
}

.quest-step-toast__bar::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #64d02c;
  transform-origin: left center;
}

.quest-step-toast__bar.is-running::after {
  animation: questStepToastCountdown linear forwards;
  animation-duration: inherit;
}

.quest-block-banner {
  position: fixed;
  left: 24px;
  bottom: 24px;
  z-index: 1296;
  width: min(560px, calc(100vw - 32px));
  border-radius: 16px;
  border: 2px solid #03447f;
  background: #ee460b;
  color: #dbecf9;
  padding: 12px 14px;
  display: grid;
  gap: 6px;
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.quest-block-banner.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.quest-block-banner__title {
  margin: 0;
  color: #03447f;
  font-family: "Orbitron", sans-serif;
  font-size: 20px;
  line-height: 1.2;
}

.quest-block-banner__text {
  margin: 0;
  font-family: "Open Sans", sans-serif;
  font-size: 17px;
  line-height: 1.35;
  color: #d1f8b8;
}

@keyframes questStepToastCountdown {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@media (max-width: 1280px) {
  body {
    padding: 14px;
  }

  .page {
    width: 100%;
    gap: 24px;
  }

  .header-bar,
  .hero-section,
  .services,
  .portfolio-head,
  .portfolio-track,
  .reviews,
  .site-footer,
  .contact,
  .skills {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }

  .site-header {
    grid-template-columns: 1fr;
    gap: 8px;
    height: auto;
    padding: 10px 14px;
  }

  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .language-toggle {
    justify-self: center;
  }

  .hero-image {
    left: 50%;
    top: auto;
    bottom: 0;
    transform: translateX(-50%);
    width: min(92vw, 480px);
    height: min(92vw, 480px);
  }

  .hero-group {
    left: 20px;
    top: 30px;
    width: calc(100% - 40px);
  }

  .hero-title {
    width: 100%;
    font-size: 42px;
    line-height: 50px;
  }

  .services-cards {
    width: 100%;
    height: 260px;
    padding-bottom: 6px;
    overflow-x: auto;
    display: flex;
    align-items: stretch;
    gap: 14px;
    scroll-snap-type: x mandatory;
    position: static;
  }

  .service-card {
    position: static;
    top: auto;
    left: auto;
    transform: none !important;
    opacity: 1;
    z-index: auto;
    flex: 0 0 240px;
    width: 240px;
    height: 260px;
    scroll-snap-align: start;
  }

  .services-carousel {
    width: 100%;
    margin-left: 0;
    padding: 0px;
  }

  .skills {
    min-height: 640px;
    height: auto;
    padding: 18px;
  }

  .skills-character {
    width: 320px;
    height: 320px;
    left: 50%;
    top: auto;
    bottom: -24px;
    transform: translateX(-50%);
  }

  .skills-heading {
    top: 20px;
    left: 0;
    width: 100%;
    transform: none;
  }

  .skills-badges {
    left: 50%;
    right: auto;
    top: 170px;
    width: 320px;
    height: 255px;
    transform: translateX(-50%);
  }

  .skills-badges .sf-1 {
    left: 0;
    top: 24px;
    width: 39px;
    height: 55px;
  }

  .skills-badges .sf-2 {
    left: 85px;
    top: 0;
    width: 64px;
    height: 90px;
  }

  .skills-badges .sf-3 {
    left: 170px;
    top: 24px;
    width: 39px;
    height: 55px;
  }

  .skills-badges .sf-4 {
    left: 235px;
    top: 16px;
    width: 43px;
    height: 61px;
  }

  .skills-badges .sf-5 {
    left: 18px;
    top: 122px;
    width: 64px;
    height: 90px;
  }

  .skills-badges .sf-6 {
    left: 105px;
    top: 145px;
    width: 39px;
    height: 55px;
  }

  .skills-badges .sf-7 {
    left: 168px;
    top: 133px;
    width: 55px;
    height: 77px;
  }

  .skills-badges .sf-8 {
    left: 262px;
    top: 145px;
    width: 39px;
    height: 55px;
  }

  .portfolio-card {
    flex: 0 0 300px;
    height: 400px;
  }

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

  .contact {
    min-height: 590px;
    height: auto;
    margin-top: 12px;
  }

  .contact-copy {
    position: static;
    width: calc(100% - 32px);
    margin: 20px 16px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    text-align: center;
  }

  .contact-copy .hero-cta {
    position: static;
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-copy .section-kicker + h2 {
    margin-top: 10px;
  }

  .contact-copy h2 + p {
    margin-top: 10px;
  }

  .contact-image {
    position: absolute;
    left: 50%;
    right: auto;
    top: auto;
    bottom: 0;
    display: block;
    width: min(360px, 100%);
    height: auto;
    margin: 0;
    transform: translateX(-50%);
  }

  .site-footer {
    padding: 20px;
    border-radius: 20px 20px 0 0;
  }

  .footer-main {
    flex-direction: column;
    gap: 18px;
  }

  .footer-brand {
    width: 100%;
  }

  .footer-right {
    width: 100%;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-social {
    order: 2;
    justify-content: flex-start;
  }

  .footer-legal {
    justify-content: flex-start;
  }
}

@media (min-width: 901px) and (max-width: 1280px) {
  body {
    padding: 16px;
  }

  .header-bar {
    height: 84px;
  }

  .site-header {
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    height: 100%;
    padding: 0 16px;
  }

  .main-nav {
    flex-wrap: nowrap;
    justify-content: center;
    gap: 12px;
  }

  .main-nav a {
    font-size: 14px;
    line-height: 1.1;
  }

  .language-toggle {
    width: 112px;
    height: 32px;
    justify-self: end;
  }

  .language-toggle a {
    height: 30px;
    font-size: 16px;
    line-height: 30px;
  }

  .hero-section {
    height: var(--hero-height);
    min-height: var(--hero-height);
  }

  .hero-group {
    left: 84px;
    top: 166px;
    width: 458px;
  }

  .hero-title {
    font-size: 48px;
    line-height: 60px;
  }

  .hero-kicker {
    width: auto;
  }

  .hero-description {
    width: 371px;
  }

  .hero-kicker,
  .hero-description {
    font-size: 20px;
    line-height: 24px;
  }

  .hero-image {
    left: auto;
    right: 27px;
    top: auto;
    bottom: 0;
    transform: none;
    width: 583px;
    height: 583px;
  }

  .section-head,
  .portfolio-head {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .services-cards {
    position: relative;
    width: 100%;
    height: 360px;
    padding-bottom: 0;
    overflow: visible;
    display: block;
    align-items: initial;
    gap: 0;
    scroll-snap-type: none;
  }

  .service-card {
    position: absolute;
    top: 50%;
    left: 50%;
    flex: initial;
    scroll-snap-align: none;
    transform: translate(-50%, -50%) !important;
  }

  .service-card.is-center {
    width: 220px;
    height: 360px;
  }

  .service-card.is-left-1,
  .service-card.is-right-1 {
    width: 214px;
    height: 325px;
  }

  .service-card.is-left-1 {
    transform: translate(calc(-50% - clamp(210px, 24vw, 256px)), -50%) !important;
  }

  .service-card.is-right-1 {
    transform: translate(calc(-50% + clamp(210px, 24vw, 256px)), -50%) !important;
  }

  .service-card.is-left-2,
  .service-card.is-right-2 {
    width: 176px;
    height: 230px;
  }

  .service-card.is-left-2 {
    transform: translate(calc(-50% - clamp(355px, 40vw, 485px)), -50%) !important;
  }

  .service-card.is-right-2 {
    transform: translate(calc(-50% + clamp(355px, 40vw, 485px)), -50%) !important;
  }

  .services-carousel {
    padding: 0px;
  }

  .skills {
    min-height: 640px;
    padding: 24px;
  }

  .skills-visual {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
  }

  .skills-character {
    height: auto;
  }

  .skills-heading {
    top: 42px;
    left: 50%;
    transform: translateX(-50%);
    width: 320px;
  }

  .skills-badges {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: clamp(340px, 40vw, 486px);
    height: clamp(250px, 30vw, 360px);
    transform: none;
    transform-origin: center;
  }

  .portfolio-card {
    flex: 0 0 300px;
    height: 400px;
  }

  .contact {
    min-height: 440px;
    height: auto;
    margin-top: 20px;
  }

  .contact-copy {
    position: absolute;
    left: 32px;
    top: 56px;
    width: min(42vw, 390px);
    align-items: flex-start;
    text-align: left;
  }

  .contact-copy h2 {
    font-size: 30px;
    line-height: 38px;
  }

  .contact-copy p {
    line-height: 24px;
  }

  .contact-copy .hero-cta {
    margin-left: 0;
    margin-right: 0;
  }

  .contact-image {
    left: auto;
    right: 0;
    transform: none;
    width: min(38vw, 410px);
  }

  .footer-main {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
  }

  .footer-right {
    width: auto;
    align-items: flex-end;
  }

  .footer-social,
  .footer-legal {
    justify-content: flex-end;
  }
}

@media (max-width: 900px) {
  .quest-fab,
  .quest-fab.is-visible {
    display: none !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  .header-bar {
    height: auto;
    padding: 8px 0;
    border-radius: 20px;
  }

  .site-header {
    grid-template-columns: 1fr auto;
    position: relative;
    align-items: center;
  }

  .logo {
    justify-content: flex-start;
  }

  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    justify-self: end;
  }

  .main-nav,
  .language-toggle {
    display: none;
  }

  .site-header.menu-open .main-nav {
    display: flex;
    grid-column: 1 / -1;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
    margin-top: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    background: #03447f;
  }

  .site-header.menu-open .main-nav a {
    font-size: 16px;
    line-height: 20px;
  }

  .site-header.menu-open .language-toggle {
    display: flex;
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 8px;
  }

  .main-nav a {
    font-size: 16px;
  }

  .hero-group {
    left: 16px;
    top: 30px;
    width: calc(100% - 32px);
    height: auto;
  }

  .hero-frame-108,
  .hero-frame-107,
  .hero-frame-106 {
    position: static;
    width: 100%;
    height: auto;
  }

  .hero-frame-108 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  .hero-frame-107 {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero-frame-106 {
    order: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .hero-description {
    order: 2;
  }

  .hero-kicker,
  .hero-title,
  .hero-description,
  .hero-group .hero-cta {
    position: static;
    left: auto;
    top: auto;
  }

  .hero-kicker,
  .hero-title,
  .hero-description {
    width: 100%;
    text-align: center;
  }

  .hero-title {
    font-size: 34px;
    line-height: 42px;
  }

  .hero-kicker,
  .hero-description {
    font-size: 16px;
    line-height: 22px;
  }

  .hero-description {
    width: min(92%, 360px);
    margin-left: auto;
    margin-right: auto;
  }

  .hero-group .hero-cta {
    order: 2;
    margin-top: 0;
  }

  .section-head,
  .portfolio-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .section-title {
    font-size: 28px;
    line-height: 34px;
  }

  .service-card {
    flex-basis: 220px;
    width: 220px;
    height: 240px;
  }

  .service-card h3 {
    font-size: 18px;
    line-height: 22px;
  }

  .skills-visual {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
  }


  .portfolio-track {
    gap: 16px;
  }

  .portfolio-card {
    flex-basis: 260px;
    height: 340px;
  }

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

  .contact-copy h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .footer-logo {
    font-size: 30px;
    line-height: 30px;
  }
}

@media (min-width: 641px) and (max-width: 900px) {
  body {
    padding: 12px;
  }

  .page {
    gap: 20px;
  }

  .hero-image {
    width: min(78vw, 430px);
    height: min(78vw, 430px);
  }

  .hero-group {
    top: 28px;
    width: calc(100% - 44px);
  }

  .services-cards {
    gap: 12px;
  }

  .service-card {
    flex-basis: 250px;
    width: 250px;
    height: 270px;
  }

  .portfolio-card {
    flex-basis: 280px;
    height: 360px;
  }

  .skills {
    min-height: 0;
    height: auto;
    border-radius: 20px;
    padding: 24px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .skills-heading {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    text-align: center;
  }

  .skills-heading p {
    font-size: 18px;
  }

  .skills-heading h2 {
    font-size: 28px;
    line-height: 34px;
  }

  .skills-character {
    position: static;
    left: auto;
    top: auto;
    bottom: auto;
    width: 300px;
    height: 300px;
    margin-bottom: -20px;
    transform: none;
  }

  .skills-badges {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: 250px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 12px 12px;
    transform: none;
  }

  .skills-badges .skill-item {
    position: static;
  }

  .skills-badges .sf-1 {
    left: auto;
    top: auto;
    width: 34px;
    height: 48px;
  }

  .skills-badges .sf-2 {
    left: auto;
    top: auto;
    width: 56px;
    height: 78px;
  }

  .skills-badges .sf-3 {
    left: auto;
    top: auto;
    width: 34px;
    height: 48px;
  }

  .skills-badges .sf-4 {
    left: auto;
    top: auto;
    width: 42px;
    height: 58px;
  }

  .skills-badges .sf-5 {
    left: auto;
    top: auto;
    width: 56px;
    height: 78px;
  }

  .skills-badges .sf-6 {
    left: auto;
    top: auto;
    width: 34px;
    height: 48px;
  }

  .skills-badges .sf-7 {
    left: auto;
    top: auto;
    width: 48px;
    height: 68px;
  }

  .skills-badges .sf-8 {
    left: auto;
    top: auto;
    width: 34px;
    height: 48px;
  }

  .contact {
    min-height: 600px;
  }

  .contact-image {
    width: min(360px, 92%);
  }
}

@media (max-width: 640px) {
  .header-bar {
    border-radius: 20px;
  }

  body {
    padding: 10px;
  }

  .page {
    gap: 18px;
  }

  .site-header {
    padding: 8px 10px;
  }

  .main-nav {
    gap: 8px 10px;
  }

  .main-nav a {
    font-size: 14px;
  }

  .language-toggle {
    width: 108px;
    height: 30px;
    padding: 0 10px;
  }

  .language-toggle button,
  .language-toggle a {
    width: 22px;
    height: 30px;
    font-size: 16px;
    line-height: 30px;
  }

  .hero-section {
    min-height: 650px;
    height: auto;
    border-radius: 20px;
  }

  .hero-group {
    left: 16px;
    width: calc(100% - 32px);
  }

  .hero-title {
    font-size: 30px;
    line-height: 36px;
  }

  .hero-kicker {
    font-size: 14px;
    line-height: 20px;
  }

  .hero-description {
    width: min(100%, 360px);
    font-size: 16px;
    line-height: 22px;
    margin-left: auto;
    margin-right: auto;
  }

  .hero-group .hero-cta {
    margin-top: 0;
  }

  .hero-cta-label {
    font-size: 17px;
    line-height: 1;
  }

  .hero-image {
    top: auto;
    bottom: 0;
    width: min(95vw, 360px);
    height: min(95vw, 360px);
  }

  .outline-cta {
    height: 36px;
    border-width: 2px;
    padding: 0 16px;
    font-size: 16px;
  }

  .hero-cta {
    padding: 0 16px;
  }

  .section-kicker {
    font-size: 16px;
    line-height: 20px;
  }

  .section-title {
    font-size: 24px;
    line-height: 30px;
  }

  .skills-heading {
    position: static;
    left: auto;
    top: auto;
    width: 100%;
    transform: none;
    text-align: center;
  }

  .skills {
    min-height: 0;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    padding: 20px 12px;
    border-radius: 20px;
  }

  .skills-character {
    position: static;
    left: auto;
    top: auto;
    bottom: auto;
    width: min(100%, 280px);
    height: auto;
    max-height: 280px;
    margin-bottom: -20px;
    transform: none;
  }

  .skills-badges {
    position: static;
    left: auto;
    right: auto;
    top: auto;
    width: 220px;
    height: auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
    transform: none;
  }

  .skills-badges .skill-item {
    position: static;
  }

  .skills-badges .sf-1 {
    left: auto;
    top: auto;
    width: 32px;
    height: 45px;
  }

  .skills-badges .sf-2 {
    left: auto;
    top: auto;
    width: 52px;
    height: 73px;
  }

  .skills-badges .sf-3 {
    left: auto;
    top: auto;
    width: 32px;
    height: 45px;
  }

  .skills-badges .sf-4 {
    left: auto;
    top: auto;
    width: 40px;
    height: 56px;
  }

  .skills-badges .sf-5 {
    left: auto;
    top: auto;
    width: 52px;
    height: 73px;
  }

  .skills-badges .sf-6 {
    left: auto;
    top: auto;
    width: 32px;
    height: 45px;
  }

  .skills-badges .sf-7 {
    left: auto;
    top: auto;
    width: 45px;
    height: 64px;
  }

  .skills-badges .sf-8 {
    left: auto;
    top: auto;
    width: 32px;
    height: 45px;
  }

  .portfolio-card {
    flex: 0 0 220px;
    height: 290px;
    border-radius: 20px;
  }

  .review-card {
    min-height: 136px;
    border-radius: 20px;
    padding: 14px;
    font-size: 11px;
  }

  .contact {
    border-radius: 20px;
  }

  .contact-copy {
    width: calc(100% - 24px);
    margin: 16px 12px 0;
    gap: 0;
    text-align: center;
  }

  .contact-copy h2 {
    font-size: 24px;
    line-height: 30px;
  }

  .contact-copy .hero-cta {
    margin-top: 16px;
    margin-left: auto;
    margin-right: auto;
  }

  .contact-image {
    width: min(300px, 100%);
  }

  .quest-step-toast {
    right: 12px;
    bottom: 12px;
    width: min(440px, calc(100vw - 24px));
    border-radius: 14px;
    padding: 12px;
  }

  .quest-step-toast__title {
    font-size: 18px;
  }

  .quest-step-toast__text,
  .quest-step-toast__hint {
    font-size: 15px;
  }

  .quest-block-banner {
    left: 12px;
    right: 12px;
    bottom: 12px;
    width: auto;
    border-radius: 14px;
    padding: 10px 11px;
  }

  .quest-block-banner__title {
    font-size: 17px;
  }

  .quest-block-banner__text {
    font-size: 14px;
    line-height: 1.35;
  }

  .quest-fab {
    right: 12px;
    bottom: 86px;
    min-width: 108px;
    height: 40px;
    padding: 6px 14px;
    font-size: 18px;
  }

  .site-footer {
    border-radius: 16px 16px 0 0;
    padding: 14px;
  }

  .footer-brand p:last-child,
  .footer-bottom,
  .footer-legal a {
    font-size: 14px;
  }

  .legal-modal {
    padding: 12px;
  }

  .contact-modal {
    padding: 12px;
  }

  .guard-install-modal {
    padding: 12px;
  }

  .install-guide-modal {
    padding: 12px;
  }

  .quest-modal {
    padding: 12px;
  }

  .legal-modal__panel {
    width: 100%;
    max-height: 86vh;
    border-radius: 16px;
    padding: 18px 16px 16px;
  }

  .contact-modal__panel {
    width: 100%;
    max-height: 88vh;
    border-radius: 16px;
    padding: 18px 16px 16px;
  }

  .guard-install-modal__panel {
    width: 100%;
    border-radius: 16px;
    padding: 18px 16px 16px;
  }

  .guard-install-modal__close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .install-guide-modal__panel {
    width: 100%;
    border-radius: 16px;
    max-height: 92vh;
    padding: 16px 14px 14px;
    gap: 10px;
  }

  .install-guide-modal__close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .legal-modal__close,
  .contact-modal__close,
  .quest-modal__close {
    top: 8px;
    right: 8px;
    width: 32px;
    height: 32px;
    font-size: 20px;
  }

  .install-guide-modal__title {
    font-size: 19px;
    margin-right: 38px;
  }

  .install-guide-modal__subtitle {
    font-size: 13px;
    line-height: 1.35;
  }

  .install-guide-modal__section {
    border-radius: 12px;
    padding: 12px;
  }

  .install-guide-modal__section-title {
    font-size: 16px;
  }

  .install-guide-modal__steps {
    font-size: 14px;
    line-height: 1.35;
  }

  .install-guide-modal__note,
  .install-guide-modal__status {
    font-size: 13px;
  }

  .quest-modal__panel {
    width: 100%;
    max-height: 88vh;
    border-radius: 16px;
    padding: 18px 16px 16px;
  }

  .legal-modal__title {
    font-size: 20px;
    margin-right: 26px;
  }

  .contact-modal__title {
    font-size: 22px;
    margin-right: 26px;
  }

  .contact-modal__subtitle,
  .contact-form__field span,
  .contact-form__status {
    font-size: 14px;
    line-height: 1.4;
  }

  .quest-modal__subtitle,
  .quest-participants,
  .quest-modal__rules,
  .quest-box__hint,
  .quest-box__encoded,
  .quest-ai-budget,
  .quest-box__fragment,
  .quest-box__status {
    font-size: 14px;
    line-height: 1.4;
  }

  .contact-form__field input,
  .contact-form__field select,
  .contact-form__field textarea {
    font-size: 15px;
    padding: 9px 11px;
  }

  .legal-modal__content p {
    font-size: 15px;
    line-height: 1.4;
  }

  .guard-install-modal__panel h3 {
    font-size: 22px;
  }

  .guard-install-modal__panel p {
    font-size: 14px;
    line-height: 1.4;
  }
}
