:root {
  --bg: #eef5ff;
  --bg-deep: #09111f;
  --paper: #f7fbff;
  --paper-strong: #dbeaff;
  --ink: #101827;
  --muted: #5f6f83;
  --accent: #0077ff;
  --accent-dark: #005bcc;
  --gold: #34b7ff;
  --mint: #c7e5ff;
  --line: rgba(16, 24, 39, 0.14);
  --shadow: 0 24px 80px rgba(0, 58, 145, 0.16);
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  background:
    radial-gradient(circle at top left, rgba(0, 119, 255, 0.22), transparent 34rem),
    radial-gradient(circle at 85% 12%, rgba(52, 183, 255, 0.28), transparent 28rem),
    linear-gradient(135deg, #f7fbff 0%, #e8f2ff 45%, #ddeaff 100%);
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  opacity: 0.42;
  background-image:
    linear-gradient(rgba(23, 33, 29, 0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 33, 29, 0.045) 1px, transparent 1px);
  background-size: 46px 46px;
}

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

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

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 14px;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 14px 0 42px;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 999px;
  background: rgba(255, 250, 240, 0.74);
  box-shadow: 0 18px 50px rgba(23, 33, 29, 0.09);
  backdrop-filter: blur(20px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand__logo {
  width: 58px;
  height: 46px;
  object-fit: contain;
  border-radius: 14px;
  background: #111923;
}

.brand strong,
.brand small {
  display: block;
}

.brand small {
  color: var(--muted);
  font-size: 0.76rem;
}

.nav {
  display: flex;
  gap: 8px;
  padding: 5px;
  border-radius: 999px;
  background: rgba(23, 33, 29, 0.055);
}

.nav a {
  padding: 10px 14px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 999px;
  transition: 0.22s ease;
}

.nav a:hover {
  color: var(--ink);
  background: rgba(255, 250, 240, 0.85);
}

.header-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.header-cta {
  padding: 14px 18px;
  color: #fff;
  background: var(--ink);
}

.btn {
  min-height: 54px;
  padding: 16px 24px;
}

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

.btn--primary {
  color: #fff;
  background: var(--accent);
  box-shadow: 0 16px 36px rgba(217, 79, 43, 0.28);
}

.btn--primary:hover {
  background: var(--accent-dark);
}

.btn--ghost {
  border: 1px solid var(--line);
  background: rgba(255, 250, 240, 0.62);
}

.btn--light {
  color: var(--ink);
  background: #fff;
}

.section {
  margin-bottom: 110px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.98fr) minmax(360px, 0.82fr);
  gap: clamp(56px, 5vw, 86px);
  align-items: end;
  min-height: 680px;
}

.hero__content {
  min-width: 0;
}

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

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

h1,
h2 {
  font-family: "Unbounded", sans-serif;
  line-height: 0.98;
  letter-spacing: -0.055em;
}

h1 {
  max-width: min(100%, 760px);
  margin-bottom: 24px;
  font-size: clamp(3rem, 5.8vw, 5.25rem);
}

h2 {
  max-width: 850px;
  margin-bottom: 18px;
  font-size: clamp(2.2rem, 4.5vw, 4.9rem);
}

h3 {
  margin-bottom: 12px;
  font-size: 1.3rem;
}

.hero__lead {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.5vw, 1.32rem);
  line-height: 1.75;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin: 34px 0;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-bottom: 14px;
}

.hero__stats div,
.hero__skills,
.trust-panel,
.service-card,
.case-card,
.timeline__item,
.contact-form,
.mock-window {
  border: 1px solid rgba(255, 255, 255, 0.64);
  background: rgba(255, 250, 240, 0.72);
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.hero__stats div {
  padding: 18px;
  border-radius: 22px;
}

.hero__stats strong {
  display: block;
  font-family: "Unbounded", sans-serif;
  font-size: 1.5rem;
}

.hero__stats span {
  color: var(--muted);
  font-size: 0.92rem;
}

.hero__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px;
  border-radius: 24px;
}

.hero__skills span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 8px 12px;
  color: var(--ink);
  font-size: 0.84rem;
  font-weight: 800;
  border: 1px solid rgba(23, 33, 29, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.58);
}

.hero__skills span:nth-child(3n + 1) {
  color: #fff;
  background: var(--ink);
}

.hero__skills span:nth-child(3n + 2) {
  background: var(--paper-strong);
}

.hero__skills span:nth-child(3n) {
  background: var(--mint);
}

.hero__visual {
  position: relative;
  align-self: end;
  min-height: 560px;
}

.portrait-card {
  position: relative;
  height: 100%;
  min-height: 560px;
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.58);
  border-radius: 42px;
  background:
    radial-gradient(circle at 50% 22%, rgba(0, 119, 255, 0.24), transparent 18rem),
    linear-gradient(180deg, #0d1b2d 0%, #08101d 100%);
  box-shadow: var(--shadow);
}

.portrait-card__photo {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 330px;
  padding: 48px 52px 28px;
  place-items: center;
  color: rgba(255, 255, 255, 0.78);
  font-family: "Unbounded", sans-serif;
  background:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 34px 34px;
}

.hero-logo {
  width: min(84%, 480px);
  aspect-ratio: 2.7 / 1;
  padding: 22px 28px;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  background: linear-gradient(135deg, rgba(6, 16, 28, 0.78), rgba(20, 48, 78, 0.72));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 70px rgba(0, 119, 255, 0.28);
  filter: drop-shadow(0 16px 24px rgba(0, 119, 255, 0.22));
}

.portrait-card__body {
  padding: 0 34px 34px;
  color: #fff;
}

.portrait-card__body p {
  color: rgba(255, 255, 255, 0.68);
}

.portrait-card__body strong {
  font-family: "Unbounded", sans-serif;
  font-size: 1.28rem;
  line-height: 1.3;
}

.orbit {
  position: absolute;
  display: grid;
  width: 74px;
  height: 74px;
  place-items: center;
  font-family: "Unbounded", sans-serif;
  font-weight: 800;
  font-size: 1.04rem;
  border-radius: 50%;
  box-shadow: 0 18px 50px rgba(23, 33, 29, 0.2);
  pointer-events: none;
  z-index: 3;
  will-change: left, top;
}

.orbit--one {
  top: 34px;
  right: 30px;
  color: var(--ink);
  background: var(--gold);
}

.orbit--two {
  top: 250px;
  left: 16px;
  color: #fff;
  background: var(--accent);
  animation-delay: -1.6s;
}

.orbit--three {
  right: 12px;
  top: 236px;
  background: var(--mint);
  animation-delay: -3s;
}

.orbit--four {
  top: 94px;
  left: 14px;
  width: 70px;
  height: 70px;
  color: #fff;
  background: #2f6f57;
  animation-delay: -0.8s;
}

.orbit--five {
  top: 146px;
  right: 16px;
  width: 64px;
  height: 64px;
  color: var(--ink);
  background: #f5d27d;
  animation-delay: -2.2s;
}

.orbit--six {
  left: 36px;
  top: 178px;
  width: 58px;
  height: 58px;
  color: #fff;
  background: #36515f;
  animation-delay: -3.8s;
}

.orbit--seven {
  top: 186px;
  left: 126px;
  width: 60px;
  height: 60px;
  color: var(--ink);
  background: #cfe4d2;
  animation-delay: -4.4s;
}

.orbit--eight {
  right: 92px;
  top: 286px;
  width: 58px;
  height: 58px;
  color: #fff;
  background: #d94f2b;
  animation-delay: -1.1s;
}

.trust-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 28px;
  border-radius: var(--radius);
}

.trust-panel p {
  max-width: 620px;
  margin: 0;
  font-size: 1.25rem;
  font-weight: 800;
}

.trust-panel__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.trust-panel__tags span,
.case-card span {
  display: inline-flex;
  padding: 9px 12px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.86rem;
  font-weight: 800;
  background: rgba(23, 33, 29, 0.065);
}

.section-heading {
  margin-bottom: 32px;
}

.section-heading p:not(.eyebrow) {
  max-width: 680px;
  color: var(--muted);
  line-height: 1.7;
}

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

.service-card {
  min-height: 300px;
  padding: 26px;
  border-radius: var(--radius);
}

.service-card--wide {
  grid-column: span 2;
}

.service-card span,
.timeline__item span {
  display: inline-flex;
  margin-bottom: 48px;
  color: var(--accent);
  font-family: "Unbounded", sans-serif;
  font-weight: 700;
}

.service-card p,
.timeline__item p,
.case-card p,
.why__content p,
.contacts__content p {
  color: var(--muted);
  line-height: 1.7;
}

.why {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 46px;
  align-items: center;
}

.mock-window {
  overflow: hidden;
  border-radius: 36px;
  transform: rotate(-2deg);
}

.mock-window__bar {
  display: flex;
  gap: 8px;
  padding: 18px;
  background: var(--bg-deep);
}

.mock-window__bar i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--gold);
}

.mock-window__content {
  padding: 42px;
}

.mock-window__content span {
  color: var(--accent);
  font-weight: 800;
}

.mock-window__content strong {
  display: block;
  margin: 16px 0;
  font-family: "Unbounded", sans-serif;
  font-size: 2rem;
  line-height: 1.1;
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 36px;
  line-height: 1.65;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 2px;
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  color: #fff;
  content: "✓";
  border-radius: 50%;
  background: var(--accent);
}

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

.case-card {
  overflow: hidden;
  padding: 14px;
  border-radius: var(--radius);
}

.case-card__image {
  display: block;
  min-height: 250px;
  margin-bottom: 18px;
  overflow: hidden;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(217, 79, 43, 0.72), transparent),
    linear-gradient(145deg, #17211d, #31463c);
}

.case-card__image img {
  display: block;
  width: 100%;
  height: 250px;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.case-card:hover .case-card__image img {
  transform: scale(1.04);
}

.case-card h3,
.case-card p,
.case-card span {
  margin-left: 12px;
  margin-right: 12px;
}

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

.timeline__item {
  padding: 26px;
  border-radius: var(--radius);
}

.cta-band {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 42px;
  color: #fff;
  border-radius: 38px;
  background:
    radial-gradient(circle at 82% 14%, rgba(231, 185, 90, 0.4), transparent 20rem),
    var(--bg-deep);
  box-shadow: var(--shadow);
}

.cta-band h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4vw, 4.2rem);
}

.cta-band .eyebrow {
  color: var(--gold);
}

.contacts {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 34px;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 28px;
  border-radius: 34px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  outline: 0;
  padding: 16px 18px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.72);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(217, 79, 43, 0.12);
}

.form-note {
  min-height: 24px;
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 34px 0 42px;
  color: var(--muted);
}

.site-footer p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  animation: reveal 0.75s ease forwards;
}

.reveal--late {
  animation-delay: 0.18s;
}

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

@keyframes float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-16px);
  }
}

@media (max-width: 980px) {
  .site-header {
    align-items: stretch;
    border-radius: 28px;
  }

  .nav,
  .header-cta {
    display: none;
  }

  .hero,
  .why,
  .contacts {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  h1 {
    max-width: 100%;
    font-size: clamp(3rem, 10vw, 5rem);
  }

  .hero__visual {
    min-height: 520px;
  }

  .orbit {
    width: 64px;
    height: 64px;
    font-size: 0.82rem;
  }

  .orbit--five,
  .orbit--six,
  .orbit--eight {
    display: none;
  }

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

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

@media (max-width: 640px) {
  .page-shell {
    width: min(100% - 22px, 1180px);
  }

  .section {
    margin-bottom: 76px;
  }

  .site-header {
    top: 8px;
    margin-bottom: 28px;
  }

  h1 {
    font-size: clamp(2.55rem, 18vw, 4.2rem);
  }

  h2 {
    font-size: clamp(2rem, 12vw, 3.3rem);
  }

  .hero__stats,
  .service-grid,
  .timeline {
    grid-template-columns: 1fr;
  }

  .service-card--wide {
    grid-column: auto;
  }

  .trust-panel,
  .cta-band,
  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero__visual {
    min-height: 460px;
  }

  .portrait-card {
    min-height: 420px;
  }

  .portrait-card__photo {
    min-height: 286px;
    padding: 40px 26px 20px;
  }

  .hero-logo {
    width: min(88%, 370px);
    padding: 18px 20px;
    border-radius: 22px;
  }

  .orbit {
    width: 58px;
    height: 58px;
    font-size: 0.76rem;
  }

  .orbit--one {
    top: 28px;
    right: 20px;
  }

  .orbit--two {
    top: 220px;
    left: 18px;
  }

  .orbit--three {
    right: 16px;
    top: 208px;
  }

  .orbit--four {
    left: 14px;
    top: 84px;
  }

  .orbit--five,
  .orbit--six,
  .orbit--eight {
    display: none;
  }

  .orbit--seven {
    left: 116px;
    top: 176px;
  }

  .cta-band,
  .contact-form,
  .trust-panel {
    padding: 24px;
  }
}
