:root {
  --bg: #06060c;
  --bg-2: #0c0e18;
  --bg-3: #111422;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-hover: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.1);
  --border-strong: rgba(255, 255, 255, 0.18);
  --text: #f4f6ff;
  --muted: #9aa3be;
  --muted-light: #c4cbe0;
  --paper: #f0f2f8;
  --ink: #0e1019;
  --pink: #ed51c2;
  --pink-glow: rgba(237, 81, 194, 0.35);
  --cyan: #31d8ff;
  --cyan-glow: rgba(49, 216, 255, 0.25);
  --purple: #7a2ad9;
  --yellow: #ffd029;
  --max: 1200px;
  --radius: 16px;
  --radius-sm: 10px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: var(--bg);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

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

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

strong {
  font-weight: 700;
}

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.45;
}

.ambient-orb--pink {
  top: -8%;
  left: -5%;
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, var(--pink) 0%, transparent 70%);
}

.ambient-orb--cyan {
  top: 30%;
  right: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, var(--cyan) 0%, transparent 70%);
}

.ambient-orb--purple {
  bottom: 10%;
  left: 30%;
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, var(--purple) 0%, transparent 70%);
  opacity: 0.3;
}

/* Header */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: 76px;
  border-bottom: 1px solid transparent;
  background: linear-gradient(180deg, rgba(6, 6, 12, 0.72) 0%, rgba(6, 6, 12, 0.35) 100%);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition:
    background 0.35s ease,
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    var(--pink) 15%,
    var(--cyan) 35%,
    var(--yellow) 55%,
    var(--purple) 75%,
    transparent 100%
  );
  background-size: 200% 100%;
  opacity: 0.85;
  animation: headerLineFlow 3s linear infinite;
}

@keyframes headerLineFlow {
  0% {
    background-position: 100% 0;
  }

  100% {
    background-position: -100% 0;
  }
}

.site-header.scrolled {
  background: rgba(6, 6, 12, 0.94);
  border-bottom-color: transparent;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.35);
}

.site-header.scrolled::after {
  opacity: 1;
}

.site-header__inner {
  width: min(calc(100% - 48px), var(--max));
  height: 100%;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.brand-logo {
  display: block;
  height: 42px;
  width: auto;
  object-fit: contain;
}

.nav {
  display: flex;
  align-items: center;
  gap: 32px;
  font-size: 0.9rem;
  font-weight: 500;
}

.nav a:not(.nav-cta) {
  position: relative;
  padding: 6px 0;
  color: var(--muted-light);
  transition: color 0.2s ease;
}

.nav a:not(.nav-cta)::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  transition: width 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.nav a:not(.nav-cta):hover::after {
  width: 100%;
}

.nav-cta {
  padding: 11px 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--pink), #c93da8);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  box-shadow: 0 4px 24px var(--pink-glow);
  transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}

.nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 32px var(--pink-glow);
  color: #fff !important;
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.05);
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.menu-button:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-strong);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: #fff;
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 76px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 60px 0 90px 38%;
  border-radius: var(--radius) 0 0 var(--radius);
  overflow: hidden;
  will-change: transform;
  transition: transform 0.1s linear;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, var(--bg) 0%, rgba(6, 6, 12, 0.85) 28%, rgba(6, 6, 12, 0.15) 65%),
    linear-gradient(180deg, rgba(6, 6, 12, 0.05) 0%, rgba(6, 6, 12, 0.75) 100%);
}

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

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 80px 0 60px;
}

.hero-copy {
  max-width: 720px;
}

.eyebrow {
  margin: 0 0 20px;
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow.dark {
  color: var(--purple);
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Syne, Inter, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.6rem, 5.5vw, 4.8rem);
  line-height: 1.02;
  text-wrap: balance;
  background: linear-gradient(135deg, #fff 40%, var(--muted-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

h2 {
  font-size: clamp(2rem, 4.5vw, 3.4rem);
  line-height: 1.08;
  text-wrap: balance;
}

h3 {
  font-size: 1.3rem;
  line-height: 1.2;
}

.hero-lead {
  margin: 28px 0 0;
  color: var(--muted-light);
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.7;
}

.hero-lead strong {
  color: var(--text);
}

.hero-sub {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.65;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 36px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 28px;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.button-primary {
  background: linear-gradient(135deg, var(--pink), #ff6fd8);
  color: #fff;
  box-shadow: 0 8px 32px var(--pink-glow);
}

.button-primary:hover {
  box-shadow: 0 12px 40px var(--pink-glow);
}

.button-ghost {
  border: 1px solid var(--border-strong);
  background: var(--surface);
  color: var(--text);
  backdrop-filter: blur(12px);
}

.button-ghost:hover {
  background: var(--surface-hover);
  border-color: rgba(255, 255, 255, 0.28);
}

.trust-bar {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.03);
  backdrop-filter: blur(16px);
}

.trust-bar span {
  display: grid;
  place-items: center;
  min-height: 72px;
  padding: 16px;
  border-right: 1px solid var(--border);
  color: var(--muted-light);
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.trust-bar span:last-child {
  border-right: none;
}

/* Sections */
.section {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 100px 0;
}

.section-head {
  max-width: 680px;
  margin-bottom: 56px;
}

.section-desc {
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.7;
}

/* About */
.about {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--ink);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  max-width: var(--max);
  margin: 0 auto;
}

.about-copy p:not(.eyebrow) {
  margin: 20px 0 0;
  color: #5a6278;
  font-size: 1.05rem;
  line-height: 1.75;
}

.about-visual {
  display: grid;
  gap: 16px;
}

.glass-card {
  padding: 28px;
  border: 1px solid rgba(14, 16, 25, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 20px 60px rgba(14, 16, 25, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 28px 72px rgba(14, 16, 25, 0.12);
}

.glass-card--accent {
  border-color: rgba(237, 81, 194, 0.15);
  background: linear-gradient(135deg, #fff 0%, #fdf4fb 100%);
}

.glass-card__icon {
  display: inline-block;
  margin-bottom: 12px;
  color: var(--pink);
  font-size: 1.4rem;
}

.glass-card h3 {
  margin-bottom: 8px;
  font-size: 1.15rem;
}

.glass-card p {
  margin: 0;
  color: #5a6278;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Intro */
.intro {
  text-align: center;
}

.intro-inner {
  max-width: 760px;
  margin: 0 auto;
}

.intro-lead {
  margin: 24px 0 0;
  color: var(--muted);
  font-size: 1.1rem;
  line-height: 1.75;
}

/* Services */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  position: relative;
  padding: 32px 28px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  backdrop-filter: blur(12px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, background 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-strong);
  background: var(--surface-hover);
}

.service-card--featured {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border-color: rgba(237, 81, 194, 0.25);
  background:
    linear-gradient(180deg, rgba(6, 6, 12, 0.2) 0%, rgba(6, 6, 12, 0.92) 70%),
    url("assets/hero-premium.png") center/cover;
}

.service-card--featured:hover {
  border-color: rgba(237, 81, 194, 0.45);
}

.service-card__glow {
  position: absolute;
  top: -40%;
  right: -20%;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--pink-glow), transparent 70%);
  pointer-events: none;
}

.service-card__num {
  display: block;
  margin-bottom: 20px;
  color: var(--pink);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
}

.service-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

.service-card--featured h3 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  line-height: 1.65;
}

.service-card--featured p {
  color: var(--muted-light);
}

/* Benefits */
.benefits {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--ink);
}

.benefits .section-head {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  max-width: var(--max);
  margin: 0 auto;
}

.benefit-card {
  padding: 36px 28px;
  border: 1px solid rgba(14, 16, 25, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 48px rgba(14, 16, 25, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(14, 16, 25, 0.1);
}

.benefit-card__num {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-bottom: 24px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--pink), var(--purple));
  color: #fff;
  font-size: 0.85rem;
  font-weight: 800;
}

.benefit-card h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.benefit-card p {
  margin: 0;
  color: #5a6278;
  font-size: 0.95rem;
  line-height: 1.65;
}

/* Clients */
.clients {
  width: 100%;
  max-width: none;
  padding-left: max(20px, calc((100vw - var(--max)) / 2));
  padding-right: max(20px, calc((100vw - var(--max)) / 2));
  background: var(--paper);
  color: var(--ink);
}

.clients .section-head {
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
}

.client-carousel {
  position: relative;
  max-width: var(--max);
  margin: 0 auto;
  --slides-visible: 3;
  --carousel-gap: 16px;
}

.client-carousel__viewport {
  overflow: hidden;
  width: 100%;
}

.client-carousel__track {
  display: flex;
  gap: var(--carousel-gap);
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.client-carousel__track > .client-card {
  flex: 0 0 calc((100% - (var(--slides-visible) - 1) * var(--carousel-gap)) / var(--slides-visible));
}

.client-card {
  display: grid;
  place-items: center;
  min-height: 200px;
  padding: 32px;
  border: 1px solid rgba(14, 16, 25, 0.08);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 16px 48px rgba(14, 16, 25, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.client-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 64px rgba(14, 16, 25, 0.1);
}

.client-card img {
  max-height: 110px;
  object-fit: contain;
}

.client-card--app-icon img {
  border-radius: 22px;
}

.client-card--text {
  cursor: default;
}

.client-card--text span {
  font-family: Syne, Inter, sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-align: center;
  background: linear-gradient(135deg, var(--ink) 30%, var(--purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.client-carousel__progress {
  display: flex;
  justify-content: center;
  margin-top: 28px;
  padding: 0 4px;
}

.client-carousel__progress-track {
  position: relative;
  width: min(100%, 280px);
  height: 4px;
  border-radius: 999px;
  background: rgba(14, 16, 25, 0.1);
  overflow: hidden;
  cursor: pointer;
}

.client-carousel__progress-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 33%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--pink), var(--cyan));
  box-shadow: 0 0 16px rgba(237, 81, 194, 0.35);
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1), width 0.3s ease;
}

/* Contact */
.contact {
  padding-bottom: 60px;
}

.contact-inner {
  padding: 48px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(6, 6, 12, 0.92) 0%, rgba(12, 14, 24, 0.96) 100%),
    url("assets/hero-premium.png") center/cover;
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.35);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 48px;
  align-items: start;
}

.contact-copy h2 {
  max-width: 520px;
  margin-top: 8px;
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.contact-lead {
  margin: 18px 0 0;
  max-width: 480px;
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-label {
  color: var(--cyan);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.contact-item strong {
  font-size: 1.05rem;
  line-height: 1.5;
}

.contact-item a {
  transition: color 0.2s ease;
}

.contact-item a:hover {
  color: var(--cyan);
}

/* Quote form */
.quote-form {
  padding: 32px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
}

.quote-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

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

.form-field--full {
  grid-column: 1 / -1;
}

.form-field span {
  color: var(--muted-light);
  font-size: 0.82rem;
  font-weight: 600;
}

.form-field input,
.form-field select,
.form-field textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(6, 6, 12, 0.55);
  color: var(--text);
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
  color: rgba(154, 163, 190, 0.7);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: rgba(49, 216, 255, 0.5);
  background: rgba(6, 6, 12, 0.75);
  box-shadow: 0 0 0 3px rgba(49, 216, 255, 0.12);
}

.form-field input:invalid:not(:placeholder-shown),
.form-field select:invalid,
.form-field textarea:invalid:not(:placeholder-shown) {
  border-color: rgba(237, 81, 194, 0.5);
}

.form-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%239aa3be' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-field select option {
  color: var(--ink);
  background: #fff;
}

.form-field textarea {
  resize: vertical;
  min-height: 110px;
}

.form-note {
  margin: 16px 0 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

.form-note.is-success {
  color: #6ee7b7;
}

.form-note.is-error {
  color: #fca5a5;
}

.quote-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.quote-form__actions .button {
  border: none;
  cursor: pointer;
  font-family: inherit;
}

/* Footer */
.footer {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 40px), var(--max));
  margin: 0 auto;
  padding: 40px 0 48px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-top: 1px solid var(--border);
}

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

.footer-logo {
  display: block;
  width: 52px;
  height: 52px;
  object-fit: contain;
}

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

.footer-social__link {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--muted-light);
  background: rgba(255, 255, 255, 0.04);
  transition:
    color 0.25s ease,
    background 0.25s ease,
    border-color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}

.footer-social__link:hover {
  color: var(--text);
  border-color: var(--border-strong);
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

.footer-social__link:nth-child(1):hover {
  color: #e4405f;
}

.footer-social__link:nth-child(2):hover {
  color: #1877f2;
}

.footer-social__link:nth-child(3):hover {
  color: #0a66c2;
}

.footer-social__link:nth-child(4):hover {
  color: var(--cyan);
}

.footer-copy {
  width: 100%;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 0.82rem;
  text-align: center;
}

/* WhatsApp */
.whatsapp {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  box-shadow: 0 8px 32px rgba(37, 211, 102, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.whatsapp:hover {
  transform: scale(1.08);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.5);
}

/* Scroll & entrance animations */
.hero-enter {
  opacity: 0;
  transform: translateY(32px);
  animation: heroFadeIn 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
  animation-delay: calc(0.15s + var(--i, 0) * 0.12s);
}

@keyframes heroFadeIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.reveal {
  opacity: 0;
  transition:
    opacity 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.8s cubic-bezier(0.22, 1, 0.36, 1),
    filter 0.8s cubic-bezier(0.22, 1, 0.36, 1);
  transition-delay: calc(var(--delay, 0) * 0.1s);
}

.reveal.visible {
  opacity: 1;
  transform: translate(0, 0) scale(1);
  filter: blur(0);
}

.reveal-up {
  transform: translateY(40px);
}

.reveal-left {
  transform: translateX(-48px);
}

.reveal-right {
  transform: translateX(48px);
}

.reveal-scale {
  transform: scale(0.92) translateY(24px);
}

.reveal-blur {
  transform: translateY(24px);
  filter: blur(8px);
}

.reveal-blur.visible {
  filter: blur(0);
}

/* Section divider line animation */
.about,
.benefits,
.clients {
  position: relative;
}

.about::before,
.benefits::before,
.clients::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--pink), var(--cyan), transparent);
  transform: translateX(-50%);
  transition: width 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}

.about.line-visible::before,
.benefits.line-visible::before,
.clients.line-visible::before {
  width: min(90%, 600px);
}

.about-visual.visible .glass-card {
  opacity: 1;
  transform: translateY(0) scale(1);
}

.about-visual .glass-card {
  opacity: 0;
  transform: translateY(24px) scale(0.95);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.about-visual.visible .glass-card:nth-child(1) {
  transition-delay: 0.15s;
}

.about-visual.visible .glass-card:nth-child(2) {
  transition-delay: 0.3s;
}

.contact-inner.visible .contact-info,
.contact-inner.visible .quote-form {
  opacity: 1;
  transform: translateY(0);
}

.contact-inner .contact-info,
.contact-inner .quote-form {
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.7s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.contact-inner.visible .contact-info {
  transition-delay: 0.1s;
}

.contact-inner.visible .quote-form {
  transition-delay: 0.25s;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  .hero-enter {
    opacity: 1;
    transform: none;
    animation: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }

  .hero-bg {
    transition: none;
  }

  .site-header::after {
    animation: none;
    background-position: 50% 0;
  }

  .about::before,
  .benefits::before,
  .clients::before {
    width: min(90%, 600px);
    transition: none;
  }

  .about-visual .glass-card,
  .contact-inner .contact-info,
  .contact-inner .quote-form {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* Responsive */
@media (max-width: 1024px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--featured {
    grid-row: span 1;
    min-height: 320px;
  }
}

@media (max-width: 900px) {
  .menu-button {
    display: block;
  }

  .nav {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    display: grid;
    gap: 2px;
    padding: 12px 20px 20px;
    border: none;
    border-top: 1px solid var(--border);
    border-radius: 0;
    background: rgba(6, 6, 12, 0.98);
    backdrop-filter: blur(24px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.25s ease, opacity 0.25s ease;
  }

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

  .nav a:not(.nav-cta) {
    padding: 14px 12px;
    border-radius: 8px;
  }

  .nav a:not(.nav-cta)::after {
    display: none;
  }

  .nav a:not(.nav-cta):hover {
    background: rgba(255, 255, 255, 0.06);
  }

  .nav-cta {
    margin-top: 8px;
    text-align: center;
    justify-content: center;
  }

  .hero-bg {
    inset: 80px -120px auto 10%;
    height: 480px;
    border-radius: var(--radius);
  }

  .client-carousel {
    --slides-visible: 2;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .site-header {
    height: 68px;
  }

  .site-header__inner {
    width: calc(100% - 32px);
  }

  .brand-logo {
    height: 36px;
  }

  .nav {
    top: 68px;
  }

  .hero {
    padding-top: 68px;
  }

  .hero-inner {
    width: calc(100% - 32px);
    padding: 60px 0 40px;
  }

  .hero-bg {
    inset: 70px -180px auto 0;
    height: 400px;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  .button {
    width: 100%;
  }

  .trust-bar {
    grid-template-columns: repeat(2, 1fr);
  }

  .trust-bar span:nth-child(2) {
    border-right: none;
  }

  .section {
    width: calc(100% - 32px);
    padding: 72px 0;
  }

  .about,
  .benefits,
  .clients {
    padding-left: 16px;
    padding-right: 16px;
  }

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

  .client-carousel {
    --slides-visible: 1;
  }

  .contact-inner {
    padding: 28px 22px;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .quote-form {
    padding: 24px 20px;
  }

  .quote-form__grid {
    grid-template-columns: 1fr;
  }

  .quote-form__actions .button {
    width: 100%;
  }

  .footer {
    flex-direction: column;
    align-items: flex-start;
    width: calc(100% - 32px);
  }
}
