﻿:root {
  --bg: #f4f4ef;
  --surface: rgba(255, 255, 255, 0.72);
  --surface-strong: #ffffff;
  --text: #11131a;
  --muted: #4f5668;
  --stroke: rgba(17, 19, 26, 0.14);
  --accent: #684af5;
  --accent-alt: #0bf303;
  --accent-soft: #ece8ff;
  --max-width: 1200px;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow: 0 12px 40px rgba(17, 19, 26, 0.1);
  --shadow-soft: 0 8px 24px rgba(17, 19, 26, 0.08);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", sans-serif;
  color: var(--text);
  background: radial-gradient(circle at 12% 12%, #ffffff 0%, #f4f4ef 52%, #ecece6 100%);
  line-height: 1.5;
  text-rendering: geometricPrecision;
}

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

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

.site-bg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
}

.glow {
  position: absolute;
  border-radius: 999px;
  filter: blur(20px);
  opacity: 0.5;
}

.glow-1 {
  width: 440px;
  height: 440px;
  top: -120px;
  right: -140px;
  background: radial-gradient(circle, rgba(104, 74, 245, 0.38), rgba(104, 74, 245, 0));
}

.glow-2 {
  width: 360px;
  height: 360px;
  bottom: -120px;
  left: -120px;
  background: radial-gradient(circle, rgba(11, 243, 3, 0.22), rgba(11, 243, 3, 0));
}

.grid-overlay {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(17, 19, 26, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 26, 0.03) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 35%, black 25%, transparent 85%);
}

.container {
  width: min(calc(100% - 48px), var(--max-width));
  margin: 0 auto;
}

.section {
  padding: 92px 0;
}

.eyebrow {
  margin: 0 0 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  font-size: 0.77rem;
  color: var(--accent);
}

h1,
h2,
h3,
h4,
.logo strong {
  font-family: "Unbounded", "Manrope", sans-serif;
  letter-spacing: -0.02em;
}

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

h1 {
  font-size: clamp(2rem, 5vw, 4rem);
  line-height: 1.06;
}

h1 span {
  color: var(--accent);
}

h2 {
  font-size: clamp(1.6rem, 3vw, 2.7rem);
  line-height: 1.15;
}

h3 {
  font-size: clamp(1.1rem, 1.8vw, 1.36rem);
  line-height: 1.25;
}

p {
  color: var(--muted);
}

i[aria-hidden="true"] {
  line-height: 1;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;
  white-space: nowrap;
  clip-path: inset(50%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease;
}

.header.is-scrolled {
  border-color: var(--stroke);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 82px;
}

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

.logo__image {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  object-fit: cover;
  border: 1px solid rgba(104, 74, 245, 0.35);
  box-shadow: 0 6px 18px rgba(104, 74, 245, 0.22);
}

.logo__text {
  display: inline-flex;
  flex-direction: column;
}

.logo strong {
  font-size: 0.93rem;
  color: var(--text);
}

.logo small {
  color: var(--muted);
  font-size: 0.76rem;
  margin-top: 2px;
}

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

.nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: #28304a;
  transition: color 0.25s ease;
}

.nav a:hover {
  color: var(--accent);
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.62);
  align-items: center;
  justify-content: center;
  padding: 10px;
  cursor: pointer;
  flex-direction: column;
  gap: 4px;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background-color: #232935;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu-toggle.is-open span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.menu-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.is-open span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  border: 1px solid transparent;
  min-height: 46px;
  padding: 0 22px;
  font-size: 0.92rem;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

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

.btn--solid {
  color: #fff;
  background: linear-gradient(130deg, #684af5, #0fcd2f);
  box-shadow: 0 10px 26px rgba(104, 74, 245, 0.32);
}

.btn--solid:hover {
  box-shadow: 0 14px 28px rgba(104, 74, 245, 0.38);
}

.btn--ghost {
  border-color: var(--stroke);
  background: rgba(255, 255, 255, 0.7);
}

.hero {
  padding-top: 74px;
}

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

.hero__content {
  padding: 14px 0;
}

.hero__lead {
  margin-top: 18px;
  font-size: 1.04rem;
  max-width: 540px;
}

.hero__actions {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__chips {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.hero-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-radius: 999px;
  border: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.84);
  min-height: 36px;
  padding: 0 12px;
  font-size: 0.86rem;
  font-weight: 700;
  color: #2a3348;
}

.hero-chip i {
  font-size: 1.02rem;
  color: var(--accent-alt);
}

.hero__panel {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.panel-card {
  position: relative;
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: 22px;
  backdrop-filter: blur(6px);
  box-shadow: var(--shadow-soft);
}

.panel-card::after {
  content: "";
  position: absolute;
  inset: auto -40px -40px auto;
  width: 110px;
  height: 110px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(104, 74, 245, 0.14), rgba(104, 74, 245, 0));
}

.panel-card p {
  font-size: 0.83rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #3d495f;
  font-weight: 700;
}

.panel-card h2,
.panel-card h3 {
  margin-top: 10px;
  font-family: "Unbounded", sans-serif;
  color: var(--text);
}

.panel-card h2 {
  font-size: clamp(2.2rem, 5vw, 3.2rem);
}

.panel-card h3 {
  font-size: 1.35rem;
}

.panel-card span {
  display: inline-block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}

.panel-card--accent {
  background: linear-gradient(135deg, rgba(104, 74, 245, 0.12), rgba(11, 243, 3, 0.04));
}

.panel-card--hero h2 {
  font-size: clamp(1.8rem, 4vw, 2.4rem);
}

.panel-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(104, 74, 245, 0.26);
  background: rgba(104, 74, 245, 0.1);
  color: var(--accent);
  font-size: 1.14rem;
  display: grid;
  place-items: center;
  margin-bottom: 12px;
}

.hero-points {
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
}

.hero-points li {
  position: relative;
  padding-left: 18px;
  color: #334056;
  font-size: 0.92rem;
  font-weight: 600;
}

.hero-points li::before {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  left: 0;
  top: 9px;
  background: var(--accent);
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}

.split__content p {
  margin-top: 16px;
  font-size: 1.03rem;
  max-width: 600px;
}

.split__cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.icon-badge {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  border: 1px solid rgba(104, 74, 245, 0.28);
  background: linear-gradient(140deg, rgba(104, 74, 245, 0.18), rgba(11, 243, 3, 0.08));
  color: var(--accent);
  font-size: 1.08rem;
  display: inline-grid;
  place-items: center;
}

.mini-card {
  position: relative;
  overflow: hidden;
  background: var(--surface-strong);
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  padding: 22px;
  box-shadow: var(--shadow);
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.mini-card h3 {
  margin-top: 12px;
}

.mini-card p {
  margin-top: 10px;
}

.mini-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 34px rgba(17, 19, 26, 0.14);
}

.section-head {
  max-width: 760px;
}

.service-grid {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.service-card {
  position: relative;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.88);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-md);
  padding: 22px;
  transition: transform 0.28s ease, border-color 0.28s ease, box-shadow 0.28s ease;
}

.service-card:nth-child(1),
.service-card:nth-child(2),
.service-card:nth-child(3) {
  grid-column: span 2;
}

.service-card:nth-child(4),
.service-card:nth-child(5) {
  grid-column: span 3;
}

.service-card p {
  margin-top: 10px;
}

.service-card h3 {
  margin-top: 12px;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 74, 245, 0.4);
  box-shadow: 0 16px 32px rgba(17, 19, 26, 0.12);
}

.timeline {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.timeline-item {
  position: relative;
  background: rgba(255, 255, 255, 0.76);
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  padding: 22px;
}

.timeline-item span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  align-items: center;
  justify-content: center;
  border-radius: 11px;
  background: var(--accent-soft);
  color: var(--accent);
  font-weight: 800;
  margin-bottom: 14px;
}

.timeline-item__icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(104, 74, 245, 0.11);
  color: var(--accent);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.timeline-item p {
  margin-top: 10px;
}

.project-grid {
  margin-top: 26px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.project-card {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--stroke);
  padding: 24px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: transform 0.28s ease, border-color 0.28s ease;
}

.project-card__type {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.project-card h3 {
  margin-top: 12px;
}

.project-card p:last-child {
  margin-top: 10px;
}

.project-card:hover {
  transform: translateY(-4px);
  border-color: rgba(104, 74, 245, 0.4);
}

.legal {
  padding-top: 40px;
}

.legal__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  background: linear-gradient(140deg, #131722, #1f2e45);
  border-radius: var(--radius-xl);
  padding: clamp(26px, 4vw, 46px);
  box-shadow: 0 20px 48px rgba(17, 19, 26, 0.36);
}

.legal__grid h2,
.legal__grid .eyebrow,
.legal__grid dt,
.legal__grid dd,
.legal__grid p {
  color: #ebedf2;
}

.legal__grid p {
  max-width: 670px;
}

.legal-list {
  margin: 0;
  display: grid;
  gap: 16px;
  align-content: start;
}

.legal-list div {
  border-bottom: 1px solid rgba(235, 237, 242, 0.22);
  padding-bottom: 12px;
}

.legal-list dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  opacity: 0.84;
}

.legal-list dd {
  margin: 8px 0 0;
  font-weight: 700;
  line-height: 1.35;
}

.contact {
  padding-top: 88px;
}

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

.contact__content p {
  margin-top: 14px;
  font-size: 1rem;
}

.contact__address {
  font-weight: 700;
  color: #3b4458;
}

.contact-form {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--stroke);
  border-radius: var(--radius-lg);
  padding: clamp(20px, 3vw, 30px);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.contact-form label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: #2f3442;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border-radius: 11px;
  border: 1px solid rgba(34, 39, 50, 0.18);
  min-height: 46px;
  padding: 0 13px;
  font: inherit;
  color: #11131a;
  background: #ffffff;
}

.contact-form textarea {
  padding: 12px 13px;
  resize: vertical;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: 2px solid rgba(104, 74, 245, 0.2);
  border-color: rgba(104, 74, 245, 0.55);
}

.contact-form .is-invalid {
  border-color: #c04646;
  box-shadow: 0 0 0 2px rgba(192, 70, 70, 0.12);
}

.contact-form__full,
.contact-form button,
.form-note {
  grid-column: 1 / -1;
}

.form-note {
  min-height: 24px;
  margin: 2px 0 0;
  font-size: 0.9rem;
  color: var(--accent);
  font-weight: 700;
}

.footer {
  border-top: 1px solid var(--stroke);
  padding: 22px 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #22283a;
}

.footer__logo {
  width: 34px;
  height: 34px;
  border-radius: 9px;
  object-fit: cover;
  border: 1px solid rgba(104, 74, 245, 0.32);
}

.footer__inner p {
  font-size: 0.9rem;
}

.footer__top {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--accent);
}

.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1060px) {
  .hero__grid,
  .split,
  .legal__grid,
  .contact__grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 820px) {
  .section {
    padding: 74px 0;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .nav {
    position: fixed;
    right: 24px;
    top: 82px;
    left: 24px;
    padding: 20px;
    border-radius: 18px;
    border: 1px solid var(--stroke);
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 34px rgba(17, 19, 26, 0.16);
    display: grid;
    gap: 12px;
    transform: translateY(-14px);
    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__cta {
    margin-top: 4px;
  }

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

  .service-card,
  .service-card:nth-child(1),
  .service-card:nth-child(2),
  .service-card:nth-child(3),
  .service-card:nth-child(4),
  .service-card:nth-child(5) {
    grid-column: auto;
  }
}

@media (max-width: 620px) {
  .container {
    width: min(calc(100% - 32px), var(--max-width));
  }

  .project-grid,
  .timeline,
  .service-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    flex-direction: column;
  }

  .hero-chip {
    width: 100%;
    justify-content: center;
  }

  .btn {
    width: 100%;
  }

  .footer__inner {
    flex-direction: column;
    align-items: flex-start;
  }
}

