:root {
  color-scheme: dark;
  --bg: #120a22;
  --bg-soft: #1a1030;
  --card: rgba(255, 255, 255, 0.09);
  --card-strong: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.16);
  --text: #fff8f2;
  --muted: #c9b8e8;
  --accent: #ff8a5c;
  --accent-strong: #ffd166;
  --mint: #6ee7b7;
  --coral: #ff6b9d;
  --shadow: 0 28px 80px rgba(0, 0, 0, 0.38);
  --radius-lg: 36px;
  --radius-md: 24px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 8%, rgba(255, 138, 92, 0.28), transparent 28rem),
    radial-gradient(circle at 88% 12%, rgba(255, 209, 102, 0.22), transparent 24rem),
    radial-gradient(circle at 50% 100%, rgba(110, 231, 183, 0.14), transparent 32rem),
    linear-gradient(160deg, #0d0718 0%, #1a1030 48%, #22143f 100%);
  font-family:
    Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    radial-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(to bottom, #000, transparent 85%);
}

a {
  color: inherit;
}

.blob-layer {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.blob {
  position: absolute;
  display: block;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.55;
  animation: drift 18s ease-in-out infinite alternate;
}

.blob-a {
  top: -8%;
  left: -6%;
  width: min(52vw, 420px);
  height: min(52vw, 420px);
  background: radial-gradient(circle, rgba(255, 138, 92, 0.75), transparent 68%);
}

.blob-b {
  top: 28%;
  right: -10%;
  width: min(44vw, 360px);
  height: min(44vw, 360px);
  background: radial-gradient(circle, rgba(255, 209, 102, 0.65), transparent 70%);
  animation-delay: -6s;
}

.blob-c {
  bottom: -12%;
  left: 30%;
  width: min(50vw, 400px);
  height: min(50vw, 400px);
  background: radial-gradient(circle, rgba(255, 107, 157, 0.5), transparent 72%);
  animation-delay: -12s;
}

@keyframes drift {
  from {
    transform: translate(0, 0) scale(1);
  }
  to {
    transform: translate(28px, -22px) scale(1.08);
  }
}

@keyframes rise-in {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes hero-shine {
  0% {
    background-position: 0% 50%;
  }
  100% {
    background-position: 100% 50%;
  }
}

.page-shell {
  width: min(100% - 32px, var(--max));
  margin: 0 auto;
  padding: 34px 0 48px;
}

.hero {
  min-height: auto;
  padding-top: clamp(28px, 6vw, 80px);
  margin-bottom: 48px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(280px, 0.65fr);
  gap: 28px;
  align-items: stretch;
}

.hero-copy {
  position: relative;
  overflow: hidden;
  padding: clamp(32px, 6vw, 72px);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-copy::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background: linear-gradient(
    120deg,
    transparent 0%,
    rgba(255, 209, 102, 0.12) 45%,
    transparent 70%
  );
  background-size: 200% 100%;
  animation: hero-shine 8s ease-in-out infinite alternate;
}

.hero-copy::after {
  position: absolute;
  right: -80px;
  bottom: -80px;
  width: 260px;
  height: 260px;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(255, 107, 157, 0.35), transparent 70%);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 820px;
  margin-bottom: 14px;
  font-size: clamp(2.4rem, 7vw, 5.2rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
}

h2 {
  max-width: 820px;
  margin-bottom: 16px;
  font-size: clamp(1.75rem, 4.5vw, 3.2rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.2rem;
  line-height: 1.3;
}

.hero-brand {
  margin-bottom: 18px;
  color: var(--mint);
  font-size: clamp(1.1rem, 2.2vw, 1.45rem);
  font-weight: 700;
}

.hero-summary {
  max-width: 680px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.2rem);
}

.hero-aside {
  position: sticky;
  top: 24px;
  align-self: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.05));
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.hero-avatar {
  display: grid;
  width: min(100%, 200px);
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  color: rgba(255, 255, 255, 0.92);
  background:
    linear-gradient(135deg, rgba(255, 138, 92, 0.3), rgba(255, 107, 157, 0.28)),
    radial-gradient(circle at 25% 20%, rgba(255, 255, 255, 0.22), transparent 32%);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 900;
  letter-spacing: -0.06em;
}

.hero-avatar--photo {
  display: block;
  object-fit: cover;
  object-position: center 20%;
}

.hero-aside-kicker {
  margin: 0 0 18px;
  color: var(--accent-strong);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.hero-case-list {
  display: grid;
  gap: 0;
  padding: 0;
  margin: 0;
  list-style: none;
}

.hero-case-list li {
  padding-bottom: 16px;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-case-list li:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.hero-case-list h3 {
  margin-bottom: 6px;
  font-size: 1.05rem;
  line-height: 1.25;
  color: var(--text);
}

.hero-case-list p {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 500;
  line-height: 1.45;
}

.button {
  position: relative;
  z-index: 1;
  display: inline-flex;
  gap: 10px;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition:
    transform 200ms ease,
    box-shadow 200ms ease,
    border-color 200ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 16px 40px rgba(255, 138, 92, 0.35);
}

.button-primary {
  color: #2a1020;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  border-color: transparent;
}

.button-lg {
  min-height: 54px;
  padding: 15px 28px;
  font-size: 1.05rem;
}

.button-icon {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
}

.content-section {
  margin-bottom: 88px;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 28px;
}

.section-heading > p:last-child {
  max-width: 640px;
  color: var(--muted);
  font-size: 1.06rem;
}

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

.service-card {
  --stagger: 0ms;
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
  animation: rise-in 0.7s ease backwards;
  animation-delay: var(--stagger);
  transition:
    transform 220ms ease,
    border-color 220ms ease,
    box-shadow 220ms ease;
}

.service-card:hover,
.service-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 209, 102, 0.45);
  box-shadow:
    var(--shadow),
    0 0 0 1px rgba(255, 138, 92, 0.25),
    0 0 48px rgba(255, 138, 92, 0.15);
}

.service-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-bottom: 18px;
  border-radius: 16px;
  color: var(--accent-strong);
  background: linear-gradient(135deg, rgba(255, 138, 92, 0.25), rgba(255, 107, 157, 0.2));
}

.service-icon svg {
  width: 28px;
  height: 28px;
}

.service-card p {
  flex-grow: 1;
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.trust-section {
  margin-bottom: 88px;
}

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

.trust-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.06);
  box-shadow: var(--shadow);
}

.trust-card strong {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(1.6rem, 3.5vw, 2.6rem);
  line-height: 1.1;
  letter-spacing: -0.04em;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.trust-card span {
  color: var(--muted);
  font-weight: 600;
  font-size: 0.95rem;
}

.step-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.step-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.04));
  box-shadow: var(--shadow);
}

.step-number {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 14px;
  color: #2a1020;
  font-size: 1.25rem;
  font-weight: 900;
  background: linear-gradient(135deg, var(--accent), var(--accent-strong));
}

.step-card p {
  color: var(--muted);
  font-size: 0.98rem;
}

.contact-panel {
  overflow: hidden;
  padding: clamp(32px, 6vw, 68px);
  margin-bottom: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 92% 10%, rgba(255, 209, 102, 0.22), transparent 22rem),
    linear-gradient(135deg, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0.06));
  box-shadow: var(--shadow);
}

.contact-panel p {
  max-width: 640px;
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 1.06rem;
}

.page-footer {
  padding: 8px 0 24px;
  color: var(--muted);
  font-size: 0.9rem;
  text-align: center;
}

.page-footer p {
  margin: 0;
}

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

  .hero-aside {
    position: static;
  }

  .hero-avatar {
    width: min(100%, 160px);
  }

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

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

  .step-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 620px) {
  .page-shell {
    width: min(100% - 22px, var(--max));
    padding-top: 14px;
  }

  .hero {
    min-height: auto;
    margin-bottom: 36px;
  }

  .hero-copy,
  .hero-aside,
  .contact-panel {
    padding: 22px;
    border-radius: 26px;
  }

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

  .button {
    width: 100%;
  }

  .content-section,
  .trust-section {
    margin-bottom: 64px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }

  .button:hover,
  .button:focus-visible,
  .service-card:hover {
    transform: none;
  }

  .blob {
    animation: none;
  }
}
