:root {
  --bg: #f8fbff;
  --surface: #ffffff;
  --ink: #081229;
  --muted: #566178;
  --soft: #eef3ff;
  --line: #dfe6f6;
  --blue: #3157ff;
  --blue-2: #6b5cff;
  --purple: #8758ff;
  --green: #18b884;
  --orange: #ff8a2a;
  --pink: #be55d9;
  --shadow: 0 18px 55px rgba(25, 47, 91, 0.12);
  --shadow-soft: 0 12px 34px rgba(25, 47, 91, 0.08);
  --radius: 18px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 86% 13%, rgba(107, 92, 255, 0.16), transparent 260px),
    radial-gradient(circle at 50% 20%, rgba(49, 87, 255, 0.08), transparent 380px),
    linear-gradient(180deg, #fbfdff 0%, var(--bg) 60%, #fff 100%);
  color: var(--ink);
  font-family: Inter, system-ui, sans-serif;
  overflow-x: hidden;
}

body.menu-open { overflow: hidden; }

a { color: inherit; }
img { display: block; max-width: 100%; }
button, input, textarea, select { font: inherit; }

.page-glow {
  position: fixed;
  z-index: -1;
  border-radius: 999px;
  pointer-events: none;
  filter: blur(3px);
}

.glow-one {
  top: 135px;
  right: 18px;
  width: 300px;
  height: 300px;
  background: rgba(88, 76, 255, 0.12);
}

.glow-two {
  top: 330px;
  left: 47%;
  width: 330px;
  height: 210px;
  background: rgba(49, 87, 255, 0.08);
}

.cursor-dot,
.cursor-ring {
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  pointer-events: none;
  transform: translate(-50%, -50%);
}

.cursor-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue);
}

.cursor-ring {
  width: 30px;
  height: 30px;
  border: 1px solid rgba(49, 87, 255, 0.38);
  border-radius: 50%;
  transition: width .18s ease, height .18s ease, border-color .18s ease;
}

.cursor-ring.is-hovering {
  width: 48px;
  height: 48px;
  border-color: rgba(107, 92, 255, 0.65);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: min(100% - 42px, var(--wrap));
  margin: 0 auto;
  padding: 18px 0;
  background: rgba(248, 251, 255, 0.78);
  backdrop-filter: blur(18px);
  transition: padding .2s ease, box-shadow .2s ease;
}

.site-header.is-scrolled {
  padding: 12px 0;
  box-shadow: 0 1px 0 rgba(223, 230, 246, 0.8);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  text-decoration: none;
}

.brand-symbol {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, var(--blue), var(--purple));
  border-radius: 10px 3px 10px 3px;
  transform: skew(-6deg);
}

.brand-text strong,
.brand-text small {
  display: block;
  line-height: .95;
}

.brand-text strong {
  font-size: 17px;
  font-weight: 900;
}

.brand-text small {
  color: #2442b8;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
}

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

.main-nav a {
  color: #111a32;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color .18s ease;
}

.main-nav a:hover,
.main-nav a.is-active { color: var(--blue); }

.header-cta {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 20px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(49, 87, 255, .22);
}

.nav-toggle {
  display: none;
  border: 0;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--soft);
}

.nav-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  border-radius: 99px;
  background: var(--ink);
}

.wrap,
.hero,
.stats-card,
.contact-band,
.site-footer {
  width: min(100% - 42px, var(--wrap));
  margin-inline: auto;
}

.hero {
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 42px;
  align-items: center;
  min-height: 390px;
  padding: 36px 0 26px;
}

.hello {
  margin: 0 0 15px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 800;
}

.hero h1 {
  margin: 0;
  font-size: clamp(54px, 7vw, 86px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: .95;
}

.hero h1 span {
  color: var(--blue);
}

.hero-title {
  max-width: 620px;
  margin: 18px 0 0;
  font-size: clamp(24px, 2.8vw, 33px);
  font-weight: 800;
  line-height: 1.28;
  letter-spacing: -0.025em;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 22px;
  color: #111a32;
  font-size: 14px;
  font-weight: 700;
}

.roles i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--blue);
}

.hero-desc {
  max-width: 570px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 25px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 46px;
  border-radius: 13px;
  padding: 0 22px;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 14px 30px rgba(49, 87, 255, .24);
}

.btn-outline {
  border: 1px solid rgba(49, 87, 255, .34);
  color: var(--blue);
  background: #fff;
}

.btn-soft {
  min-height: 38px;
  border: 1px solid rgba(49, 87, 255, .25);
  color: var(--blue);
  background: #fff;
  font-size: 13px;
}

.hero-device {
  position: relative;
  min-height: 350px;
  transform-style: preserve-3d;
}

.bubble {
  position: absolute;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(49, 87, 255, .12), rgba(135, 88, 255, .08));
  animation: float 7s ease-in-out infinite;
}

.b1 { width: 310px; height: 310px; right: 10px; top: 22px; }
.b2 { width: 210px; height: 210px; left: 22px; bottom: 8px; animation-delay: -2s; }

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

.laptop {
  position: absolute;
  top: 26px;
  left: 40px;
  width: min(92%, 510px);
  z-index: 2;
}

.laptop-top {
  height: 14px;
  margin: 0 32px;
  border-radius: 14px 14px 0 0;
  background: #111421;
}

.dashboard {
  display: grid;
  grid-template-columns: 112px 1fr;
  min-height: 265px;
  overflow: hidden;
  border: 9px solid #111421;
  border-bottom-width: 0;
  border-radius: 16px 16px 3px 3px;
  background: #f9fbff;
  box-shadow: 0 32px 60px rgba(18, 24, 38, .2);
}

.dashboard aside {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 18px 12px;
  background: #08152e;
  color: rgba(255,255,255,.62);
}

.dashboard aside strong {
  margin-bottom: 9px;
  color: #fff;
  font-size: 12px;
}

.dashboard aside span {
  border-radius: 7px;
  padding: 8px 9px;
  font-size: 9px;
  font-weight: 700;
}

.dashboard aside .active {
  background: var(--blue);
  color: #fff;
}

.dashboard section {
  padding: 20px;
}

.dash-head,
.dash-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.dash-head strong { font-size: 14px; }
.dash-head small { color: var(--muted); font-size: 10px; font-weight: 800; }

.dash-stats {
  gap: 12px;
  margin-top: 18px;
}

.dash-stats article {
  flex: 1;
  min-height: 62px;
  border-radius: 8px;
  padding: 12px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(25, 47, 91, .08);
}

.dash-stats b { display: block; font-size: 18px; }
.dash-stats small { color: var(--muted); font-size: 9px; }

.dash-grid {
  display: grid;
  grid-template-columns: 1.3fr .8fr;
  gap: 14px;
  margin-top: 16px;
}

.chart-line,
.donut {
  min-height: 100px;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 7px 24px rgba(25, 47, 91, .08);
}

.chart-line {
  position: relative;
  overflow: hidden;
}

.chart-line::before {
  content: "";
  position: absolute;
  inset: 18px;
  background:
    linear-gradient(#eef2fb 1px, transparent 1px),
    linear-gradient(90deg, #eef2fb 1px, transparent 1px);
  background-size: 28px 22px;
}

.chart-line span {
  position: absolute;
  left: 25px;
  right: 20px;
  bottom: 26px;
  height: 54px;
  background: linear-gradient(135deg, transparent 8%, var(--blue) 9% 12%, transparent 13% 25%, var(--blue) 26% 29%, transparent 30% 48%, var(--blue) 49% 52%, transparent 53%);
  clip-path: polygon(0 72%, 18% 42%, 32% 55%, 47% 18%, 65% 38%, 80% 22%, 100% 6%, 100% 18%, 80% 34%, 65% 50%, 47% 30%, 32% 68%, 18% 54%, 0 85%);
}

.donut {
  display: grid;
  place-items: center;
  align-content: center;
  background:
    radial-gradient(circle, #fff 0 45%, transparent 46%),
    conic-gradient(var(--blue) 0 42%, var(--orange) 42% 68%, var(--green) 68% 100%);
}

.donut strong { font-size: 16px; }
.donut small { color: var(--muted); font-size: 9px; }

.laptop-base {
  height: 18px;
  margin: 0 -15px;
  border-radius: 0 0 50% 50%;
  background: linear-gradient(180deg, #1e2533, #070a11);
  box-shadow: 0 15px 22px rgba(18, 24, 38, .18);
}

.phone {
  position: absolute;
  z-index: 4;
  right: 0;
  top: 95px;
  width: 135px;
  min-height: 235px;
  border: 8px solid #111421;
  border-radius: 28px;
  padding: 26px 12px 14px;
  background: #fff;
  box-shadow: 0 26px 45px rgba(18, 24, 38, .22);
  animation: float 6s ease-in-out infinite;
}

.phone-notch {
  position: absolute;
  top: 0;
  left: 50%;
  width: 52px;
  height: 13px;
  border-radius: 0 0 11px 11px;
  background: #111421;
  transform: translateX(-50%);
}

.phone strong { font-size: 13px; line-height: 1.2; }

.phone-card {
  margin-top: 14px;
  border-radius: 11px;
  padding: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  color: #fff;
  font-size: 9px;
  font-weight: 700;
}

.phone-card b {
  display: block;
  margin-top: 4px;
  font-size: 25px;
}

.phone ul {
  list-style: none;
  margin: 12px 0 0;
  padding: 0;
}

.phone li {
  display: flex;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
}

.phone li span {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}

.stats-card {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  min-height: 80px;
  margin-top: 12px;
  padding: 19px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.82);
  box-shadow: var(--shadow-soft);
}

.stats-card article {
  display: grid;
  grid-template-columns: 54px auto;
  align-items: center;
  column-gap: 14px;
}

.stat-icon {
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border-radius: 50%;
  background: #edf2ff;
  color: var(--blue);
  font-size: 26px;
  font-weight: 900;
}

.stats-card strong {
  display: block;
  font-size: 24px;
  line-height: 1;
}

.stats-card small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.about {
  display: grid;
  grid-template-columns: 290px 1fr 290px;
  gap: 36px;
  align-items: center;
  padding: 34px 0 8px;
}

.about-photo {
  position: relative;
  overflow: hidden;
  border-radius: 14px;
  min-height: 236px;
  background: #edf2f9;
  box-shadow: var(--shadow-soft);
}

.about-photo img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  object-position: center;
}

.dot-pattern {
  position: absolute;
  left: -6px;
  bottom: 7px;
  width: 70px;
  height: 70px;
  background-image: radial-gradient(var(--blue) 2px, transparent 2px);
  background-size: 10px 10px;
  opacity: .35;
}

.about-copy h2,
.section-row h2,
.section-title h2,
.tech-card h2,
.process-card h2,
.contact-copy h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.035em;
}

.about-copy p {
  margin: 14px 0 0;
  color: #26324d;
  font-size: 14px;
  line-height: 1.75;
}

.about-copy .btn { margin-top: 18px; }

.values-card,
.expertise-card,
.project-card,
.tech-card,
.process-card,
.testimonial {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255,255,255,.86);
  box-shadow: var(--shadow-soft);
}

.values-card {
  padding: 21px;
}

.values-card h3 {
  margin: 0 0 14px;
  font-size: 17px;
  font-weight: 900;
}

.values-card article {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 15px;
}

.values-card article > span {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border-radius: 9px;
  background: #eef3ff;
  color: var(--blue);
  font-weight: 900;
}

.values-card strong,
.values-card small { display: block; }
.values-card strong { font-size: 13px; }
.values-card small { color: var(--muted); font-size: 11px; }

.section { padding: 34px 0 0; }

.section-title {
  display: grid;
  justify-items: center;
  margin-bottom: 20px;
  text-align: center;
}

.section-title span {
  width: 38px;
  height: 3px;
  margin-top: 8px;
  border-radius: 99px;
  background: var(--blue);
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.expertise-card {
  min-height: 142px;
  padding: 20px;
}

.expertise-card.green { background: linear-gradient(135deg, #fff, #f1fffa); }
.expertise-card.orange { background: linear-gradient(135deg, #fff, #fff6ec); }
.expertise-card.purple { background: linear-gradient(135deg, #fff, #fff4ff); }

.expertise-icon {
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 13px;
  background: #eef3ff;
  color: var(--blue);
  font-size: 23px;
  font-weight: 900;
}

.expertise-icon.green { color: var(--green); background: #e9fbf4; }
.expertise-icon.orange { color: var(--orange); background: #fff0e4; }
.expertise-icon.purple { color: var(--pink); background: #fbebff; }

.expertise-card h3 {
  margin: 14px 0 12px;
  font-size: 14px;
  font-weight: 900;
}

.expertise-card ul {
  margin: 0;
  padding-left: 16px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.8;
}

.expertise-card li::marker { color: var(--blue); }

.section-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.section-row a {
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  text-decoration: none;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 15px;
}

.project-card {
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.project-shot {
  min-height: 94px;
  border-bottom: 1px solid var(--line);
  background:
    linear-gradient(rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.14) 1px, transparent 1px),
    linear-gradient(135deg, #132243, #3157ff);
  background-size: 18px 18px, 18px 18px, auto;
  position: relative;
}

.project-shot::after {
  content: "";
  position: absolute;
  inset: 18px 16px;
  border-radius: 9px;
  background:
    linear-gradient(90deg, #fff 0 18%, transparent 18%),
    linear-gradient(135deg, rgba(255,255,255,.88), rgba(255,255,255,.48));
  box-shadow: 44px 17px 0 -12px rgba(255,255,255,.78), 70px -4px 0 -15px rgba(255,255,255,.7);
}

.project-shot.pass { background: linear-gradient(135deg, #dceeff, #2d8cff); }
.project-shot.cv { background: linear-gradient(135deg, #e8fff6, #14b785); }
.project-shot.food { background: linear-gradient(135deg, #2b1308, #ff7a1a); }
.project-shot.school { background: linear-gradient(135deg, #edf4ff, #4174ff); }
.project-shot.maokei { background: linear-gradient(135deg, #0f1230, #772fff); }
.project-shot.oasis { background: linear-gradient(135deg, #fff5eb, #24223d); }
.project-shot.weekend { background: linear-gradient(135deg, #dff4ff, #71a85b); }
.project-shot.empire { background: linear-gradient(135deg, #301042, #a03bff); }

.project-shot.image-card {
  background: #eef3ff;
}

.project-shot.image-card::after {
  display: none;
}

.project-shot.image-card img {
  width: 100%;
  height: 100%;
  min-height: 94px;
  object-fit: cover;
  object-position: center;
  transition: transform .35s ease;
}

.project-card:hover .project-shot.image-card img {
  transform: scale(1.04);
}

.project-card div:last-child {
  padding: 10px 12px 13px;
}

.project-card h3 {
  margin: 0;
  font-size: 13px;
  font-weight: 900;
}

.project-card span {
  display: inline-flex;
  margin-top: 4px;
  border-radius: 99px;
  padding: 2px 7px;
  color: var(--blue);
  background: #eef3ff;
  font-size: 9px;
  font-weight: 900;
}

.project-card p {
  min-height: 32px;
  margin: 6px 0 7px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.4;
}

.project-card a {
  color: var(--blue);
  font-size: 11px;
  font-weight: 900;
  text-decoration: none;
}

.split {
  display: grid;
  grid-template-columns: .92fr 1.08fr;
  gap: 16px;
  padding-top: 24px;
}

.tech-card,
.process-card {
  padding: 20px;
}

.tech-list {
  display: grid;
  grid-template-columns: repeat(11, 1fr);
  gap: 10px;
  margin-top: 21px;
}

.tech-list span {
  display: grid;
  justify-items: center;
  gap: 7px;
  color: #18223b;
  font-size: 10px;
  font-weight: 800;
  text-align: center;
}

.tech-list b {
  display: grid;
  width: 31px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  font-style: normal;
}

.laravel { background: #ff4d45; }
.react { background: #00b8ff; }
.node { background: #44b946; }
.flutter { background: #32a8ff; }
.angular { background: #e0273d; }
.wordpress { background: #226fa5; }
.mysql { background: #2573a6; }
.mongo { background: #20a55f; }
.aws { background: #ff9a21; font-size: 10px !important; }
.docker { background: #2496ed; }
.figma { background: #7c4dff; }

.steps {
  display: grid;
  grid-template-columns: 1fr 18px 1fr 18px 1fr 18px 1fr 18px 1fr;
  align-items: start;
  gap: 8px;
  margin-top: 20px;
}

.steps article {
  display: grid;
  justify-items: center;
  text-align: center;
}

.steps article span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 13px;
  background: #edf2ff;
  color: var(--blue);
  font-weight: 900;
}

.steps strong {
  margin-top: 8px;
  font-size: 11px;
}

.steps small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 10px;
  line-height: 1.35;
}

.steps i {
  color: var(--blue);
  font-style: normal;
  font-weight: 900;
  padding-top: 13px;
}

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

.testimonial {
  padding: 19px;
}

.testimonial b {
  color: var(--blue);
  font-size: 34px;
  line-height: .8;
}

.testimonial p {
  margin: 3px 0 16px;
  color: #27314a;
  font-size: 13px;
  line-height: 1.55;
}

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

.testimonial strong { font-size: 12px; }
.testimonial small { color: var(--muted); font-size: 11px; }

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

.blog-card {
  display: block;
  min-height: 150px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 20px;
  background: linear-gradient(135deg, #fff, #f7f9ff);
  box-shadow: var(--shadow-soft);
  color: inherit;
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}

.blog-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.blog-card span {
  display: inline-flex;
  border-radius: 999px;
  padding: 4px 9px;
  color: var(--blue);
  background: #eef3ff;
  font-size: 10px;
  font-weight: 900;
}

.blog-card h3 {
  margin: 13px 0 8px;
  font-size: 16px;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.blog-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.65;
}

.contact-band {
  display: grid;
  grid-template-columns: .78fr 1.08fr .55fr;
  gap: 28px;
  align-items: start;
  margin-top: 35px;
  padding: 28px 36px;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(135deg, #3157ff 0%, #6b5cff 55%, #8b5cf6 100%);
  color: #fff;
  box-shadow: 0 -16px 45px rgba(49, 87, 255, .2);
}

.contact-copy h2 {
  color: #fff;
  font-size: 32px;
}

.contact-copy p {
  max-width: 330px;
  color: rgba(255,255,255,.82);
  line-height: 1.65;
}

.contact-discuss {
  margin-top: 10px;
  background: #fff;
  color: var(--blue);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  width: 100%;
  border: 0;
  border-radius: 6px;
  outline: 0;
  padding: 13px 14px;
  color: var(--ink);
  background: rgba(255,255,255,.95);
  font-size: 13px;
}

.contact-form textarea {
  grid-column: span 2;
  resize: vertical;
}

.contact-form button {
  align-self: end;
  min-height: 44px;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #081229;
  cursor: pointer;
  font-size: 13px;
  font-weight: 900;
}

.form-status {
  grid-column: 1 / -1;
  min-height: 18px;
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 12px;
  font-weight: 800;
}

.form-status.ok { color: #ccffea; }
.form-status.error { color: #ffe0d9; }
.hp-field {
  position: absolute;
  left: -9999px;
}

.contact-direct h3 {
  margin: 0 0 10px;
  font-size: 14px;
}

.contact-direct a,
.contact-direct span {
  display: block;
  margin-top: 9px;
  color: rgba(255,255,255,.83);
  font-size: 12px;
  text-decoration: none;
}

.contact-direct h3:last-of-type { margin-top: 22px; }

.socials {
  display: flex;
  gap: 8px;
  margin-top: 10px;
}

.socials a {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.55);
  border-radius: 50%;
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  text-decoration: none;
}

.site-footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 20px;
  align-items: center;
  min-height: 54px;
  padding: 0 8px;
  color: rgba(255,255,255,.72);
  background: #071229;
  font-size: 11px;
}

.site-footer nav {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
}

.site-footer a {
  color: rgba(255,255,255,.76);
  text-decoration: none;
}

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

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

.delay-1 { transition-delay: .08s; }
.delay-2 { transition-delay: .16s; }
.delay-3 { transition-delay: .24s; }
.delay-4 { transition-delay: .32s; }

@media (max-width: 1050px) {
  .site-header {
    width: min(100% - 24px, var(--wrap));
  }

  .nav-toggle { display: block; order: 3; }
  .header-cta { display: none; }

  .main-nav {
    position: fixed;
    top: 68px;
    left: 12px;
    right: 12px;
    display: grid;
    gap: 0;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-10px);
    transition: opacity .18s ease, transform .18s ease;
  }

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

  .main-nav a {
    padding: 13px;
  }

  .hero,
  .about,
  .split,
  .contact-band {
    grid-template-columns: 1fr;
  }

  .hero-device { min-height: 390px; }
  .expertise-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(3, 1fr); }
  .blog-grid { grid-template-columns: 1fr; }
  .stats-card { grid-template-columns: repeat(2, 1fr); }
  .tech-list { grid-template-columns: repeat(6, 1fr); }
  .steps { grid-template-columns: 1fr; }
  .steps i { display: none; }
  .contact-form { grid-template-columns: 1fr 1fr; }
  .site-footer { grid-template-columns: 1fr; text-align: center; padding: 20px 8px; }
  .site-footer nav { justify-content: center; flex-wrap: wrap; }
}

@media (max-width: 680px) {
  .wrap,
  .hero,
  .stats-card,
  .contact-band,
  .site-footer {
    width: min(100% - 24px, var(--wrap));
  }

  .hero { padding-top: 24px; }
  .hero h1 { font-size: 56px; }
  .hero-title { font-size: 24px; }
  .hero-actions .btn { width: 100%; }

  .laptop {
    left: 0;
    width: 100%;
  }

  .phone {
    right: 4px;
    transform: scale(.86);
    transform-origin: top right;
  }

  .dashboard {
    grid-template-columns: 82px 1fr;
  }

  .dashboard aside span {
    font-size: 8px;
    padding: 6px;
  }

  .dashboard section {
    padding: 12px;
  }

  .dash-stats,
  .dash-grid {
    grid-template-columns: 1fr 1fr;
  }

  .stats-card,
  .expertise-grid,
  .projects-grid,
  .testimonial-grid,
  .contact-form {
    grid-template-columns: 1fr;
  }

  .contact-form textarea {
    grid-column: auto;
  }

  .tech-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .section-row {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .contact-band {
    padding: 28px 20px;
  }
}

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

  .cursor-dot,
  .cursor-ring {
    display: none;
  }
}
