/* ==========================================================
   XE Software — Landing page
   ========================================================== */

/* Self-hosted variable fonts (latin subset covers Portuguese) */
@font-face {
  font-family: "Unbounded";
  src: url("assets/fonts/unbounded-latin.woff2") format("woff2");
  font-weight: 300 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Instrument Sans";
  src: url("assets/fonts/instrument-sans-latin.woff2") format("woff2");
  font-weight: 400 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --purple: #8d1cff;
  --purple-soft: rgba(141, 28, 255, 0.15);
  --bg: #090909;
  --ink: #0a0a0a;
  --white: #ffffff;
  --white-80: rgba(255, 255, 255, 0.8);
  --white-60: rgba(255, 255, 255, 0.6);
  --white-15: rgba(255, 255, 255, 0.15);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-05: rgba(255, 255, 255, 0.05);
  --card: #1f1d1d;
  --pill: #86858f;
  --placeholder: rgba(255, 141, 141, 0.2);

  --font-display: "Unbounded", system-ui, sans-serif;
  --font-body: "Instrument Sans", system-ui, sans-serif;
  --font-mini: "Instrument Sans", system-ui, sans-serif;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);

  --gutter: 40px;
  --max: 1440px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* ---------- Scrollbar ---------- */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(141, 28, 255, 0.55) transparent;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-track {
  background: #0b0a0f;
  border-left: 1px solid rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar-thumb {
  border: 2px solid transparent;
  border-radius: 99px;
  background: linear-gradient(180deg, #8d1cff, #5b0fb3) padding-box;
  transition: background-color 0.3s;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #b26bff, #8d1cff) padding-box;
}

::-webkit-scrollbar-corner {
  background: transparent;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--white);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 24px;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

h1,
h2,
h3,
p {
  margin: 0;
  font-weight: 400;
}

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

:focus-visible {
  outline: 2px solid var(--purple);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: calc(var(--max) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.center {
  display: flex;
  justify-content: center;
}

/* ---------- Text roll (hover) ---------- */
.roll {
  display: inline-block;
  overflow: hidden;
  vertical-align: top;
  height: var(--roll-h, 24px);
  line-height: var(--roll-h, 24px);
}

.roll__inner {
  display: flex;
  flex-direction: column;
  transition: transform 0.5s var(--ease-out);
}

a:hover .roll__inner,
button:hover .roll__inner,
a:focus-visible .roll__inner,
button:focus-visible .roll__inner {
  transform: translateY(-50%);
}

/* ---------- Buttons ---------- */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: -0.1px;
  text-transform: uppercase;
  white-space: nowrap;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), background-color 0.3s;
}

.btn--primary {
  height: 50px;
  padding: 0 30px;
  background: var(--purple);
  color: var(--white);
}

.btn--regular {
  font-weight: 400;
}

.btn--ghost {
  height: 54px;
  padding: 0 40px;
  background: var(--pill);
  color: var(--white);
}

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

.btn--primary:hover {
  box-shadow: 0 10px 30px -8px rgba(141, 28, 255, 0.75);
}

.btn--ghost:hover {
  background: var(--purple);
}

.btn--outline-ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 0.8px solid var(--purple);
  opacity: 0;
  transform: scale(1);
  transition: transform 0.6s var(--ease-out), opacity 0.6s var(--ease-out);
  pointer-events: none;
}

.btn--outline-ring:hover::after {
  opacity: 1;
  transform: scale(1.12, 1.3);
}

/* ---------- Header ---------- */
.header {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  height: 92px;
  display: flex;
  align-items: center;
  padding: 0 30px;
  transition: background-color 0.4s, height 0.4s var(--ease-out), transform 0.5s var(--ease-out);
}

.header.is-scrolled {
  height: 76px;
  background: rgba(9, 9, 9, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.header.is-hidden {
  transform: translateY(-100%);
}

.header__inner {
  position: relative;
  width: 100%;
  max-width: 1296px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header__logo img {
  width: 64px;
  height: 31px;
  transition: transform 0.5s var(--ease-spring);
}

.header__logo:hover img {
  transform: scale(1.06);
}

.header__cta {
  width: 233px;
  display: flex;
  justify-content: flex-end;
}

.nav {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  align-items: center;
  gap: 8px;
  height: 56px;
  padding: 0 4px;
  border-radius: 193px;
  background: var(--pill);
}

.nav__link {
  position: relative;
  display: flex;
  align-items: center;
  height: 48px;
  padding: 0 16px;
  border-radius: 1000px;
  color: #faf9ff;
  font-weight: 500;
  font-size: 14px;
  transition: background-color 0.3s;
}

.nav__link:hover,
.nav__link.is-active {
  background: rgba(255, 255, 255, 0.14);
}

.burger {
  display: none;
  position: relative;
  width: 44px;
  height: 44px;
  border: 0;
  background: transparent;
  cursor: pointer;
  padding: 0;
}

.burger span {
  position: absolute;
  left: 12px;
  width: 20px;
  height: 2px;
  border-radius: 2px;
  background: #141414;
  transition: transform 0.4s var(--ease-out), top 0.4s var(--ease-out), background-color 0.3s;
}

.burger span:nth-child(1) {
  top: 15.5px;
}

.burger span:nth-child(2) {
  top: 26.5px;
}

.header.is-scrolled .burger span,
body.menu-open .burger span {
  background: var(--white);
}

body.menu-open .burger span:nth-child(1) {
  top: 21px;
  transform: rotate(45deg);
}

body.menu-open .burger span:nth-child(2) {
  top: 21px;
  transform: rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 40;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  background: rgba(9, 9, 9, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  clip-path: circle(0% at calc(100% - 42px) 32px);
  visibility: hidden;
  transition: clip-path 0.7s var(--ease-out), visibility 0s linear 0.7s;
}

body.menu-open .mobile-menu {
  clip-path: circle(150% at calc(100% - 42px) 32px);
  visibility: visible;
  transition: clip-path 0.7s var(--ease-out), visibility 0s;
}

.mobile-menu__nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.mobile-menu__nav a {
  font-family: var(--font-display);
  font-size: 32px;
  line-height: 40px;
  letter-spacing: -1px;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s, transform 0.5s var(--ease-out), color 0.3s;
}

.mobile-menu__nav a:hover {
  color: var(--purple);
}

body.menu-open .mobile-menu__nav a {
  opacity: 1;
  transform: none;
}

body.menu-open .mobile-menu__nav a:nth-child(1) { transition-delay: 0.15s; }
body.menu-open .mobile-menu__nav a:nth-child(2) { transition-delay: 0.2s; }
body.menu-open .mobile-menu__nav a:nth-child(3) { transition-delay: 0.25s; }
body.menu-open .mobile-menu__nav a:nth-child(4) { transition-delay: 0.3s; }

body.menu-open {
  overflow: hidden;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 862px;
  padding: 92px 40px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0a;
}

.hero__glow {
  position: absolute;
  inset: 0;
  transform-origin: 50% 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    radial-gradient(
      154% 90% at 50.5% 0.85%,
      #efefef 22.9%,
      #eeecff 28.4%,
      #dad6ff 33.3%,
      #aea6fb 40.3%,
      #7e72e7 46.6%,
      #574abc 53%,
      #4236a1 56.8%,
      #2d2285 60.7%,
      #190f65 66.3%,
      #100852 69.5%,
      #07003e 72.7%,
      #090524 81.3%,
      #0a0a0a 89.9%
    );
  animation: glow-breathe 9s ease-in-out infinite alternate;
  will-change: transform;
}

@keyframes glow-breathe {
  from { transform: scale(1); }
  to { transform: scale(1.07, 1.1); }
}

.hero__content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding-top: 20px;
}

.hero__badge {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-weight: 700;
  font-size: 11px;
  line-height: 22px;
  text-transform: uppercase;
}

.hero__badge-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 23px;
  height: 22px;
  border-radius: 5px;
  background: var(--purple);
  color: var(--ink);
}

.hero__title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-family: var(--font-display);
  font-size: 70px;
  line-height: 63px;
  letter-spacing: -3px;
  margin-bottom: 20px;
}

.hero__line {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  column-gap: 24px;
}

.hero__line--second {
  column-gap: 8px;
}

.word {
  display: inline-block;
  overflow: hidden;
  padding: 0.08em 0.04em 0.14em;
  margin: -0.08em -0.04em -0.14em;
}

.word > span {
  display: inline-block;
}

.hero__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 73px;
  height: 73px;
  border-radius: 50%;
  background: var(--purple);
  overflow: hidden;
}

.hero__icon img {
  width: 73px;
  height: 73px;
  transform: rotate(-16deg);
  transform-origin: 50% 50%;
  animation: megaphone 2.6s ease-in-out 1.6s infinite;
}

.hero__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(141, 28, 255, 0.6);
  animation: ping 2.6s ease-out 1.6s infinite;
}

.hero__icon--mobile {
  display: none;
}

@keyframes megaphone {
  0%, 60%, 100% { transform: rotate(-16deg) scale(1); }
  10% { transform: rotate(-26deg) scale(1.08); }
  20% { transform: rotate(-8deg) scale(1.08); }
  30% { transform: rotate(-22deg) scale(1.04); }
  40% { transform: rotate(-12deg) scale(1); }
}

@keyframes ping {
  0% { box-shadow: 0 0 0 0 rgba(141, 28, 255, 0.55); }
  70%, 100% { box-shadow: 0 0 0 18px rgba(141, 28, 255, 0); }
}

.hero__highlight {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.035em 0.05em;
  margin: 0 0.1em;
  background: var(--purple);
  color: var(--ink);
  transform: rotate(3deg);
  transform-origin: 0 50%;
}

.hero__highlight-text {
  display: inline-block;
  transform: rotate(-3deg);
}

.hero__text {
  max-width: 600px;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: -0.36px;
  color: var(--white-80);
}

.hero__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  margin-top: 42px;
}

/* ---------- Sections ---------- */
.section {
  padding: 100px 0;
  background: var(--bg);
}

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

.section-head--left {
  align-items: flex-start;
  gap: 24px;
  text-align: left;
}

.tag {
  display: inline-flex;
  align-items: center;
  height: 28px;
  padding: 3px 12px;
  border-radius: 39px;
  background: var(--white-10);
  color: var(--purple);
  font-weight: 700;
  font-size: 11px;
  line-height: 22px;
  text-transform: uppercase;
  white-space: nowrap;
}

.h2 {
  font-family: var(--font-display);
  font-size: 40px;
  line-height: 44px;
  letter-spacing: -1.8px;
}

.h3 {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 26px;
  letter-spacing: -0.1px;
}

.more {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-top: 20px;
  font-family: var(--font-display);
  font-size: 12px;
  line-height: 24px;
  letter-spacing: -0.1px;
  text-transform: uppercase;
}

.more__circle {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 70px;
  border: 0.8px solid var(--white-10);
  transition: background-color 0.4s, border-color 0.4s, transform 0.5s var(--ease-out);
}

.more__circle img {
  width: 8px;
  height: 8px;
  transition: transform 0.5s var(--ease-out);
}

.more--mobile {
  display: none;
}

/* ---------- Services ---------- */
.services__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 60px;
}

/* Showcase: list + stage */
.svc {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: start;
}

.svc__list {
  border-top: 1px solid var(--white-10);
}

.svc__item {
  position: relative;
  border-bottom: 1px solid var(--white-10);
}

.svc__tab {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 26px 84px 26px 0;
  border: 0;
  background: none;
  text-align: left;
  cursor: pointer;
  color: rgba(255, 255, 255, 0.38);
  transition: color 0.45s var(--ease-out);
}

.svc__num {
  font-family: var(--font-display);
  font-size: 14px;
  font-variant-numeric: tabular-nums;
  transition: color 0.45s var(--ease-out);
}

.svc__title {
  font-family: var(--font-display);
  font-size: clamp(20px, 2vw, 28px);
  line-height: 1.15;
  letter-spacing: -1px;
  transition: transform 0.6s var(--ease-out);
}

.svc__head {
  position: relative;
}

.svc__arrow {
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  padding: 0;
  border: 0;
  cursor: pointer;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #f5f5f5;
  color: var(--ink);
  transition:
    background-color 0.45s var(--ease-out),
    color 0.45s var(--ease-out),
    box-shadow 0.45s var(--ease-out),
    transform 0.5s var(--ease-spring);
}

.svc__arrow svg {
  transition: transform 0.6s var(--ease-out);
}

.svc__line {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  overflow: hidden;
}

.svc__line i {
  display: block;
  height: 100%;
  background: linear-gradient(90deg, #8d1cff, #c08bff);
  transform: scaleX(0);
  transform-origin: 0 50%;
  transition: transform 0.6s var(--ease-out);
}

.svc__head:hover .svc__tab {
  color: rgba(255, 255, 255, 0.7);
}

.svc__arrow:hover {
  transform: translateY(-50%) scale(1.08);
}

.svc__arrow:focus-visible {
  outline-offset: 4px;
}

.svc__item.is-active .svc__tab,
.svc__item.is-active .svc__head:hover .svc__tab {
  color: var(--white);
}

.svc__item.is-active .svc__num {
  color: var(--purple);
}

.svc__item.is-active .svc__title {
  transform: translateX(6px);
}

.svc__item.is-active .svc__arrow {
  background: var(--purple);
  color: var(--white);
  box-shadow: 0 12px 32px -10px rgba(141, 28, 255, 0.9);
}

.svc__item.is-active .svc__arrow svg {
  transform: rotate(-45deg);
}

.svc__item.is-active .svc__line i {
  transform: scaleX(1);
}

.svc__body {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.6s var(--ease-out);
}

.svc__item.is-active .svc__body {
  grid-template-rows: 1fr;
}

.svc__body-inner {
  min-height: 0;
  overflow: hidden;
  padding-left: 80px;
}

.svc__body-inner > * {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s var(--ease-out), transform 0.6s var(--ease-out);
}

.svc__item.is-active .svc__body-inner > * {
  opacity: 1;
  transform: none;
}

.svc__item.is-active .svc__body-inner > :nth-child(2) { transition-delay: 0.08s; }
.svc__item.is-active .svc__body-inner > :nth-child(3) { transition-delay: 0.14s; }
.svc__item.is-active .svc__body-inner > :nth-child(4) { transition-delay: 0.2s; }

.svc__desc {
  max-width: 460px;
  color: var(--white-60);
}

.svc__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 18px 0 28px;
}

.svc__chip {
  display: inline-flex;
  align-items: center;
  height: 30px;
  padding: 0 12px;
  border-radius: 99px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  font-size: 13px;
  color: var(--white-80);
}

.svc__mobile-media {
  display: none;
}

/* Stage */
.svc__stage {
  position: sticky;
  top: 110px;
  perspective: 1400px;
}

.svc__stage::before {
  content: "";
  position: absolute;
  inset: 8% 6% -6%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(closest-side, rgba(141, 28, 255, 0.45), transparent);
  filter: blur(40px);
  animation: svc-glow 6s ease-in-out infinite alternate;
}

@keyframes svc-glow {
  from { opacity: 0.55; transform: scale(0.94); }
  to { opacity: 1; transform: scale(1.04); }
}

.svc__frame {
  --rx: 0deg;
  --ry: 0deg;
  position: relative;
  aspect-ratio: 16 / 10;
  border-radius: 30px;
  overflow: hidden;
  background: #0d0b14;
  border: 1px solid var(--white-10);
  transform: rotateX(var(--rx)) rotateY(var(--ry));
  transition: transform 0.8s var(--ease-out);
  box-shadow: 0 40px 80px -30px rgba(0, 0, 0, 0.8);
}

.svc__slide {
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.9s var(--ease-out), visibility 0s linear 0.9s;
}

.svc__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);
  filter: blur(14px) saturate(1.2);
  transition: transform 1.3s var(--ease-out), filter 0.9s var(--ease-out);
}

.svc__slide.is-active {
  z-index: 2;
  opacity: 1;
  visibility: visible;
  transition: opacity 0.9s var(--ease-out), visibility 0s;
}

.svc__slide.is-active img {
  transform: scale(1);
  filter: none;
}

.svc__slide.is-leaving img {
  transform: scale(1.03);
  filter: blur(8px);
}

.svc__zoom-hit {
  position: absolute;
  inset: 0;
  z-index: 3;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.svc__zoom-hint {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  padding: 0 16px;
  border-radius: 99px;
  background: rgba(12, 10, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-size: 13px;
  color: var(--white-80);
  opacity: 0;
  transform: translateY(6px);
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}

.svc__frame:hover .svc__zoom-hint {
  opacity: 1;
  transform: none;
}

.svc__hud {
  position: absolute;
  inset: auto 18px 18px;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.svc__hud-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 40px;
  padding: 0 16px;
  border-radius: 99px;
  background: rgba(12, 10, 18, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--white-60);
}

.svc__hud-btn {
  pointer-events: auto;
  cursor: pointer;
  color: var(--white);
  text-transform: uppercase;
  transition: background-color 0.4s, border-color 0.4s, transform 0.4s var(--ease-out);
}

.svc__hud-btn:hover {
  background: var(--purple);
  border-color: var(--purple);
  transform: translateY(-2px);
}

/* Seta desenhada no mesmo traço e altura das maiúsculas do Unbounded */
.svc__hud-btn {
  gap: 8px;
}

.svc__hud-arrow {
  flex-shrink: 0;
  margin-top: -1px;
  transition: transform 0.4s var(--ease-out);
}

.svc__hud-btn:hover .svc__hud-arrow {
  transform: translate(1.5px, -1.5px);
}

/* ---------- Service details modal ---------- */
.drawer {
  position: fixed;
  inset: 0;
  width: min(1240px, calc(100vw - 48px));
  height: min(840px, calc(100dvh - 48px));
  max-width: none;
  max-height: none;
  margin: auto;
  padding: 0;
  overflow: hidden;
  border: 1px solid var(--white-10);
  border-radius: 28px;
  background: #0e0d12;
  color: var(--white);
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.8), 0 0 0 1px rgba(141, 28, 255, 0.08);
  opacity: 0;
  transform: translateY(28px) scale(0.97);
  transition: opacity 0.45s var(--ease-out), transform 0.7s var(--ease-out);
}

.drawer.is-open {
  opacity: 1;
  transform: none;
}

.drawer::backdrop {
  background: rgba(5, 4, 8, 0);
  transition: background-color 0.5s;
}

.drawer.is-open::backdrop {
  background: rgba(5, 4, 8, 0.72);
  backdrop-filter: blur(8px);
}

.drawer__inner {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  height: 100%;
}

.drawer__media {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 22px;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 72px 32px 36px;
  border-right: 1px solid var(--white-10);
  background:
    radial-gradient(70% 60% at 50% 45%, rgba(141, 28, 255, 0.22), transparent 70%),
    #0b0a10;
}

.drawer__media > :first-child {
  margin-top: auto;
}

.drawer__media > :last-child {
  margin-bottom: auto;
}

.drawer__side {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.drawer__side .drawer__stats {
  margin-top: 0;
}

.drawer__side .drawer__stat {
  padding: 12px;
}

.drawer__side .drawer__stat b {
  font-size: 13px;
}

.drawer__side .drawer__h {
  margin: 0 0 10px;
}

.drawer__side .drawer__text p {
  font-size: 15px;
}

.drawer__side .drawer__cta {
  margin-top: 0;
}

.only-mobile {
  display: none;
}

.zoomable {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 1px solid var(--white-10);
  border-radius: 20px;
  overflow: hidden;
  background: #0b0a10;
  cursor: zoom-in;
  aspect-ratio: 16 / 10;
}

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

.zoomable img {
  opacity: 0.85;
  transition: opacity 0.4s;
}

.zoomable:hover img {
  opacity: 1;
}

.drawer__info {
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 38px 48px 44px;
}

.drawer__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--white-10);
  background: rgba(20, 18, 26, 0.8);
  backdrop-filter: blur(10px);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.5s var(--ease-out);
}

.drawer__close:hover {
  background: var(--purple);
  transform: rotate(90deg);
}

.drawer__media > *,
.drawer__info > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(0.12s + var(--i, 0) * 0.05s);
}

.drawer__content > * {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.6s var(--ease-out), transform 0.7s var(--ease-out);
  transition-delay: calc(0.16s + var(--i, 0) * 0.04s);
}

.drawer.is-open .drawer__media > *,
.drawer.is-open .drawer__info > *,
.drawer.is-open .drawer__content > * {
  opacity: 1;
  transform: none;
}

.drawer__title {
  margin: 16px 56px 12px 0;
  font-family: var(--font-display);
  font-size: clamp(28px, 3.2vw, 42px);
  line-height: 1.1;
  letter-spacing: -1.4px;
}

.drawer__lead {
  color: var(--white-60);
}

.drawer__stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-top: 24px;
}

.drawer__stat {
  padding: 14px;
  border-radius: 18px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
}

.drawer__stat span {
  display: block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--white-60);
}

.drawer__stat b {
  display: block;
  margin-top: 6px;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  letter-spacing: -0.4px;
}

.drawer__h {
  margin: 32px 0 12px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  color: var(--purple);
}

.drawer__text p + p {
  margin-top: 12px;
}

.drawer__text p {
  color: var(--white-80);
}

.drawer__list {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer__list li {
  display: flex;
  gap: 12px;
  color: var(--white-80);
}

.drawer__list li::before {
  content: "";
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  margin-top: 2px;
  border-radius: 6px;
  background: var(--purple-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23b26bff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

.drawer__steps {
  display: grid;
  gap: 8px;
}

.drawer__step {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 12px;
  padding: 16px;
  border-radius: 18px;
  background: var(--white-05);
}

.drawer__step i {
  font-style: normal;
  font-family: var(--font-display);
  font-size: 12px;
  color: var(--purple);
  padding-top: 2px;
}

.drawer__step b {
  display: block;
  font-family: var(--font-display);
  font-weight: 400;
  font-size: 15px;
  margin-bottom: 4px;
}

.drawer__step p {
  font-size: 15px;
  color: var(--white-60);
}

.drawer__cta {
  display: flex;
  width: 100%;
  margin-top: 32px;
}

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

.drawer__other {
  height: 38px;
  padding: 0 14px;
  border-radius: 99px;
  border: 1px solid var(--white-10);
  background: transparent;
  color: var(--white-80);
  font-size: 14px;
  cursor: pointer;
  transition: background-color 0.3s, border-color 0.3s, color 0.3s;
}

.drawer__other:hover {
  background: var(--purple);
  border-color: var(--purple);
  color: var(--white);
}

@media (max-width: 900px) {
  .only-desktop {
    display: none !important;
  }

  .only-mobile {
    display: block;
  }

  .drawer__info .only-mobile .drawer__stats {
    margin-top: 24px;
  }

  .drawer__info .only-mobile .drawer__cta {
    margin-top: 32px;
  }

  .drawer {
    width: 100vw;
    height: 100dvh;
    border: 0;
    border-radius: 0;
    transform: translateY(40px);
  }

  .drawer__inner {
    display: block;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  .drawer__media {
    overflow: visible;
    padding: 72px 16px 8px;
    border-right: 0;
  }

  .drawer__media > :first-child,
  .drawer__media > :last-child {
    margin: 0;
  }

  .drawer__info {
    overflow: visible;
    padding: 16px 20px 36px;
  }

  .drawer__title {
    margin-right: 0;
  }

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

/* ---------- Image lightbox (zoom + pan) ---------- */
.lightbox {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100dvh;
  max-width: none;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  background: rgba(6, 5, 9, 0.94);
  color: var(--white);
  opacity: 0;
  transition: opacity 0.35s var(--ease-out);
}

.lightbox.is-open {
  opacity: 1;
}

.lightbox::backdrop {
  background: transparent;
}

.lightbox__stage {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  touch-action: none;
  cursor: zoom-in;
  user-select: none;
}

.lightbox__stage.is-zoomed {
  cursor: grab;
}

.lightbox__stage.is-dragging {
  cursor: grabbing;
}

.lightbox__img {
  max-width: min(94vw, 1800px);
  max-height: calc(100dvh - 140px);
  border-radius: 14px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.6);
  transform-origin: center;
  transform: translate(0, 0) scale(0.94);
  transition: transform 0.45s var(--ease-out);
  will-change: transform;
}

.lightbox.is-open .lightbox__img {
  transform: translate(var(--tx, 0px), var(--ty, 0px)) scale(var(--s, 1));
}

.lightbox__stage.is-dragging .lightbox__img,
.lightbox__stage.is-pinching .lightbox__img {
  transition: none;
}

.lightbox__close {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(20, 18, 26, 0.75);
  backdrop-filter: blur(10px);
  color: var(--white);
  cursor: pointer;
  transition: background-color 0.3s, transform 0.5s var(--ease-out);
}

.lightbox__close:hover {
  background: var(--purple);
  transform: rotate(90deg);
}

.lightbox__bar {
  position: absolute;
  left: 50%;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 5px;
  border-radius: 99px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(20, 18, 26, 0.8);
  backdrop-filter: blur(12px);
  transform: translateX(-50%);
}

.lightbox__bar button {
  height: 38px;
  min-width: 38px;
  padding: 0 12px;
  border: 0;
  border-radius: 99px;
  background: transparent;
  color: var(--white);
  font-size: 18px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.lightbox__bar button:hover {
  background: var(--white-10);
}

.lightbox__bar .lightbox__fit {
  font-family: var(--font-display);
  font-size: 11px;
  text-transform: uppercase;
}

.lightbox__pct {
  min-width: 52px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
  color: var(--white-80);
}

.lightbox__sep {
  width: 1px;
  height: 20px;
  margin: 0 4px;
  background: rgba(255, 255, 255, 0.14);
}

.lightbox__stage.is-zoomed ~ .lightbox__hint {
  opacity: 0;
}

.lightbox__hint {
  transition: opacity 0.3s;
  position: absolute;
  top: 32px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 13px;
  color: var(--white-60);
  pointer-events: none;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .lightbox__hint {
    display: none;
  }
}

.project:hover .more__circle {
  background: var(--purple);
  border-color: var(--purple);
}

.project:hover .more__circle img {
  transform: rotate(45deg);
}

/* ---------- Projects ---------- */
.projects .section-head {
  margin-bottom: 60px;
}

.projects__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: start;
}

.projects__col {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.projects__col--offset {
  padding-top: 150px;
}

.project {
  display: flex;
  flex-direction: column;
  gap: 10px;
  cursor: pointer;
}

.project__media {
  aspect-ratio: 1;
  border-radius: 30px;
  overflow: hidden;
  background: var(--bg);
}

.project__img {
  width: 100%;
  height: 100%;
  background: var(--placeholder);
  background-size: cover;
  background-position: center;
  transform: scale(1.001);
  transition: transform 0.9s var(--ease-out), filter 0.6s;
}

video.project__img {
  display: block;
  object-fit: cover;
  background: var(--card);
}

.project:hover .project__img {
  transform: scale(1.05);
}

.project__info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 20px;
  border-radius: 30px;
  background: var(--white-05);
  transition: background-color 0.4s;
}

.project:hover .project__info {
  background: rgba(255, 255, 255, 0.08);
}

.project__text {
  opacity: 0.8;
}

/* ---------- FAQ ---------- */
.faq .section-head {
  margin-bottom: 60px;
}

.faq__title {
  max-width: 500px;
}

.faq__list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
}

.faq__item {
  border-radius: 30px;
  background: var(--white-05);
  border: 0.8px solid rgba(13, 13, 13, 0.1);
  backdrop-filter: blur(5px);
  overflow: hidden;
  transition: background-color 0.4s;
}

.faq__item:hover,
.faq__item[open] {
  background: rgba(255, 255, 255, 0.075);
}

.faq__item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.32px;
}

.faq__item summary::-webkit-details-marker {
  display: none;
}

.faq__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--purple);
  transition: transform 0.5s var(--ease-out);
}

.faq__toggle img {
  width: 10px;
  height: 5px;
}

.faq__item.is-open .faq__toggle {
  transform: rotate(180deg);
}

.faq__item summary:hover .faq__toggle {
  box-shadow: 0 6px 20px -6px rgba(141, 28, 255, 0.8);
}

.faq__answer {
  padding: 0 70px 22px 20px;
  color: var(--white-60);
}

/* ---------- Footer ---------- */
.footer {
  padding: 100px 0 65px;
  background: var(--bg);
}

.contact {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  align-items: center;
  margin-bottom: 40px;
}

.talk {
  display: flex;
  flex-direction: column;
  font-family: var(--font-display);
  font-size: 156px;
  line-height: 109.2px;
  white-space: nowrap;
}

.talk__line {
  display: block;
  overflow: hidden;
  padding: 0.14em 0 0.06em;
  margin: -0.14em 0 -0.06em;
}

.talk__line > span {
  display: inline-block;
}

.talk__line--accent {
  color: var(--purple);
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 40px 30px;
  border-radius: 30px;
  background: var(--white-05);
}

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

.field__label {
  font-weight: 700;
  font-size: 11px;
  line-height: 22px;
  text-transform: uppercase;
}

.field input,
.field textarea {
  width: 100%;
  padding: 12px;
  border-radius: 20px;
  border: 0.8px solid rgba(136, 136, 136, 0.1);
  background: rgba(187, 187, 187, 0.15);
  font-size: 16px;
  outline: none;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.field input {
  height: 60px;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.field__opt {
  font-style: normal;
  font-weight: 500;
  text-transform: none;
  color: var(--white-60);
}

.select {
  position: relative;
  display: block;
}

.select::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 20px;
  width: 8px;
  height: 8px;
  border-right: 2px solid var(--white-60);
  border-bottom: 2px solid var(--white-60);
  transform: translateY(-70%) rotate(45deg);
  pointer-events: none;
  transition: transform 0.4s var(--ease-out), border-color 0.3s;
}

.select:focus-within::after {
  border-color: var(--purple);
  transform: translateY(-30%) rotate(-135deg);
}

.field select {
  width: 100%;
  height: 60px;
  padding: 12px 44px 12px 14px;
  border-radius: 20px;
  border: 0.8px solid rgba(136, 136, 136, 0.1);
  background: rgba(187, 187, 187, 0.15);
  color: var(--white);
  font-size: 16px;
  font-weight: 500;
  outline: none;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.3s, background-color 0.3s, box-shadow 0.3s;
}

.field select:invalid,
.field select:has(option[value=""]:checked) {
  color: #999;
  font-weight: 400;
}

.field select:hover {
  background: rgba(187, 187, 187, 0.2);
}

.field select:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(141, 28, 255, 0.18);
}

.field select option {
  background: #1d1b22;
  color: #fff;
}

.field.is-invalid select {
  border-color: #ff5c7a;
}

.field textarea {
  min-height: 127px;
  line-height: 19.2px;
  resize: vertical;
}

.field input::placeholder,
.field textarea::placeholder {
  color: #999;
}

.field input:hover,
.field textarea:hover {
  background: rgba(187, 187, 187, 0.2);
}

.field input:focus,
.field textarea:focus {
  border-color: var(--purple);
  box-shadow: 0 0 0 4px rgba(141, 28, 255, 0.18);
}

.field.is-invalid input {
  border-color: #ff5c7a;
}

.form__submit {
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: var(--purple);
  font-family: var(--font-display);
  font-size: 16px;
  cursor: pointer;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out);
}

.form__submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px -8px rgba(141, 28, 255, 0.75);
}

.form__status {
  min-height: 0;
  font-size: 14px;
  color: var(--white-80);
}

.form__honey {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.form__status.is-ok {
  color: #4ade80;
}

.form__status.is-error {
  color: #ffb4a8;
}

.form.is-sending .form__submit {
  opacity: 0.6;
  cursor: progress;
}

.form__status:empty {
  display: none;
}

.info {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  padding: 20px 30px 20px 20px;
  border-radius: 30px;
  background: var(--white-05);
  margin-bottom: 10px;
}

.info__contacts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  flex: 1;
  min-width: 0;
}

.info__card--wide {
  grid-column: 1 / -1;
}

.info__card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
  min-height: 104px;
  padding: 20px 30px;
  border-radius: 30px;
  background: var(--white-05);
  transition: background-color 0.4s, transform 0.5s var(--ease-out);
}

.info__card:hover {
  background: rgba(255, 255, 255, 0.09);
  transform: translateX(6px);
}

.info__icon {
  align-self: flex-start;
  width: 30px;
  height: 30px;
  padding: 3px;
  object-fit: contain;
  transition: transform 0.5s var(--ease-spring);
}

.info__card:hover .info__icon {
  transform: scale(1.15) rotate(-6deg);
}

.info__menus {
  display: flex;
  gap: 73px;
  min-width: 294px;
  padding: 10px 20px 0 0;
}

.info__menu {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.info__title {
  margin-bottom: 5px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 14px;
  line-height: 19.6px;
  color: var(--purple);
}

.info__menu a {
  position: relative;
  color: var(--white-80);
  transition: color 0.3s;
}

.info__menu a.is-active {
  color: var(--white);
}

.info__menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 1px;
  background: var(--purple);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.4s var(--ease-out);
}

.info__menu a:hover {
  color: var(--white);
}

.info__menu a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.copyright {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 14px;
  border-top: 0.8px solid var(--white-15);
  font-family: var(--font-mini);
  font-size: 11px;
  line-height: 16.5px;
  letter-spacing: -0.22px;
  color: var(--white-80);
}

.copyright__top {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--white-80);
  transition: color 0.3s;
}

.copyright__top span {
  display: inline-block;
  transition: transform 0.4s var(--ease-out);
}

.copyright__top:hover {
  color: var(--white);
}

.copyright__top:hover span {
  transform: translateY(-3px);
}

.copyright strong {
  font-weight: 500;
}

/* ==========================================================
   Animations (only when JS is running)
   ========================================================== */
.js [data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  filter: blur(6px);
  transition:
    opacity 0.9s var(--ease-out) var(--d, 0s),
    transform 0.9s var(--ease-out) var(--d, 0s),
    filter 0.9s var(--ease-out) var(--d, 0s);
}

.js [data-reveal].is-visible {
  opacity: 1;
  transform: none;
  filter: none;
}

/* Hero intro */
.js .hero .word > span {
  transform: translateY(110%);
  transition: transform 1s var(--ease-out) var(--d, 0s);
}

.js .hero [data-hero] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.9s var(--ease-out) var(--d, 0s), transform 0.9s var(--ease-out) var(--d, 0s);
}

.js .hero__icon {
  transform: scale(0) rotate(-120deg);
  transition: transform 0.9s var(--ease-spring) var(--d, 0s);
}

.js .hero__highlight {
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.9s var(--ease-out) var(--d, 0s);
}

.js .hero__highlight-text {
  opacity: 0;
  transition: opacity 0.6s var(--ease-out) calc(var(--d, 0s) + 0.35s);
}

.js .hero.is-loaded .word > span,
.js .hero.is-loaded [data-hero],
.js .hero.is-loaded .hero__icon {
  opacity: 1;
  transform: none;
}

.js .hero.is-loaded .hero__highlight {
  clip-path: inset(-20% -20% -20% -20%);
}

.js .hero.is-loaded .hero__highlight-text {
  opacity: 1;
}

/* Let's Talk */
.js .talk__line > span {
  transform: translateY(105%);
  transition: transform 1.1s var(--ease-out) var(--d, 0s);
}

.js .talk.is-visible .talk__line > span {
  transform: none;
}

/* ==========================================================
   Responsive
   ========================================================== */
@media (max-width: 1280px) {
  .talk {
    font-size: 120px;
    line-height: 88px;
  }

}

@media (max-width: 1024px) {
  :root {
    --gutter: 24px;
  }

  .hero__title {
    font-size: 56px;
    line-height: 54px;
    letter-spacing: -2.4px;
  }

  .hero__icon {
    width: 60px;
    height: 60px;
  }

  .hero__icon img {
    width: 60px;
    height: 60px;
  }

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

  .talk {
    align-items: center;
    font-size: 110px;
    line-height: 80px;
  }
}

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

  .svc__stage {
    display: none;
  }

  .svc__mobile-media {
    display: block;
    width: 100%;
    padding: 0;
    background: none;
    cursor: zoom-in;
    margin-bottom: 18px;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--white-10);
    aspect-ratio: 16 / 10;
  }

  .svc__mobile-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 860px) {
  .nav,
  .header__cta {
    display: none;
  }

  .burger {
    display: block;
  }

  .header {
    height: 64px;
    padding: 0 12px 0 20px;
  }

  .header.is-scrolled {
    height: 64px;
  }
}

@media (max-width: 767px) {
  .field-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  :root {
    --gutter: 12px;
  }

  body {
    font-size: 16px;
  }

  /* Hero */
  .hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 84px 20px 48px;
    align-items: center;
  }

  .hero__content {
    padding-top: 0;
    max-width: 354px;
  }

  .hero__badge {
    font-size: 11px;
  }

  .hero__badge-num {
    width: 25px;
    height: 23px;
    font-size: 12px;
  }

  .hero__title {
    font-size: 36px;
    line-height: 36px;
    letter-spacing: -3px;
    gap: 2px;
    margin-bottom: 26px;
  }

  .hero__line {
    column-gap: 6px;
  }

  .hero__line--second {
    column-gap: 7px;
    row-gap: 4px;
  }

  .hero__icon--desktop {
    display: none;
  }

  .hero__icon--mobile {
    display: inline-flex;
    width: 48px;
    height: 48px;
  }

  .hero__icon--mobile img {
    width: 38px;
    height: 38px;
  }

  .hero__highlight {
    padding: 0 2px;
    margin: 0;
  }

  .hero__text {
    font-size: 18px;
    line-height: 27px;
  }

  .hero__actions {
    gap: 17px;
  }

  .hero__actions .btn--primary {
    height: 40px;
    padding: 0 20px;
  }

  /* Sections */
  .section {
    padding: 50px 0;
  }

  .h2 {
    font-size: 28px;
    line-height: 31px;
    letter-spacing: -1.2px;
  }

  .tag {
    height: 30px;
    font-size: 12px;
    line-height: 24px;
  }

  .services__head {
    flex-direction: column;
    align-items: center;
    gap: 30px;
    margin-bottom: 40px;
  }

  .section-head--left {
    align-items: center;
    gap: 10px;
    text-align: center;
  }

  .services__head .btn,
  .projects .btn {
    height: 40px;
    padding: 0 20px;
  }

  .svc__tab {
    grid-template-columns: 40px minmax(0, 1fr);
    gap: 10px;
    padding: 18px 60px 18px 0;
  }

  .svc__arrow {
    width: 48px;
    height: 48px;
  }

  .svc__item.is-active .svc__title {
    transform: none;
  }

  .svc__body-inner {
    padding-left: 0;
  }


  .projects .section-head,
  .faq .section-head {
    margin-bottom: 40px;
  }

  .projects__grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 60px;
  }

  .projects__col--offset {
    padding-top: 0;
  }

  .project__info .h3 {
    font-size: 20px;
  }

  .more--mobile {
    display: inline-flex;
    padding-top: 30px;
  }

  .faq__list {
    gap: 20px;
  }

  .faq__answer {
    padding: 0 20px 22px;
  }

  /* Footer */
  .footer {
    padding: 50px 0 30px;
  }

  .contact {
    gap: 30px;
    margin-bottom: 24px;
  }

  .talk {
    font-size: 78px;
    line-height: 70px;
    letter-spacing: -2px;
  }

  .form {
    padding: 30px 12px 20px;
  }

  .info {
    flex-direction: column;
    align-items: stretch;
    padding: 10px;
    gap: 30px;
  }

  .info__contacts {
    width: 100%;
    max-width: none;
  }

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

  .info__card {
    padding: 20px 30px;
  }

  .info__menus {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    min-width: 0;
    padding: 20px 0;
  }

  .info__menu {
    align-items: center;
  }

  .copyright {
    text-align: center;
  }
}

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