:root {
  --bg: #07080d;
  --bg-soft: #0c0f17;
  --panel: rgba(18, 22, 32, 0.74);
  --panel-strong: rgba(22, 27, 39, 0.92);
  --line: rgba(255, 255, 255, 0.1);
  --line-strong: rgba(255, 255, 255, 0.18);
  --text: #f7f7fb;
  --muted: #a4adbd;
  --muted-strong: #c7ceda;
  --green: #35f0a4;
  --green-dark: #0ba86d;
  --purple: #9b68ff;
  --purple-dark: #5f35d6;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.42);
  --radius: 8px;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    radial-gradient(circle at 18% 12%, rgba(53, 240, 164, 0.16), transparent 30rem),
    radial-gradient(circle at 82% 4%, rgba(155, 104, 255, 0.2), transparent 28rem),
    linear-gradient(180deg, #07080d 0%, #0a0d13 46%, #07080d 100%);
  overflow-x: hidden;
}

body::before {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.105) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.105) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0.5) 82%, rgba(0, 0, 0, 0.16));
}

body::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(7, 8, 13, 0.82), rgba(7, 8, 13, 0.44), rgba(7, 8, 13, 0.82)),
    radial-gradient(circle at 50% 0%, transparent, rgba(7, 8, 13, 0.58) 64%);
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  border: 0;
}

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

.site-header {
  position: sticky;
  top: 18px;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max-width));
  min-height: 68px;
  margin: 18px auto 0;
  padding: 0 16px 0 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(9, 12, 19, 0.76);
  box-shadow: 0 16px 60px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(18px);
}

.brand,
.site-nav,
.hero-actions,
.contact-actions,
.project-actions {
  display: flex;
  align-items: center;
}

.brand {
  gap: 0;
  color: var(--text);
  font-weight: 800;
}

.brand-name {
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  color: var(--text);
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: 0;
}

.brand-name span:last-child {
  background: linear-gradient(135deg, var(--green), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.site-nav {
  gap: 6px;
}

.site-nav a {
  padding: 10px 12px;
  border-radius: 8px;
  color: var(--muted-strong);
  font-size: 0.92rem;
  font-weight: 600;
  transition: color 180ms ease, background 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--text);
  background: rgba(255, 255, 255, 0.07);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.08);
}

.section {
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 104px 0;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: 56px;
  min-height: calc(100vh - 88px);
  padding-top: 72px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--green);
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

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

h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(3.5rem, 7vw, 7.8rem);
  line-height: 0.88;
  letter-spacing: 0;
  overflow-wrap: break-word;
}

h2 {
  max-width: 760px;
  margin-bottom: 0;
  font-size: clamp(2rem, 4.8vw, 4.45rem);
  line-height: 0.98;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 10px;
  font-size: 1.08rem;
  letter-spacing: 0;
}

.hero-headline {
  max-width: 780px;
  margin-bottom: 18px;
  color: var(--text);
  font-size: clamp(1.36rem, 2.6vw, 2.46rem);
  font-weight: 700;
  line-height: 1.14;
  overflow-wrap: break-word;
}

.hero-subtitle {
  max-width: 620px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.hero-actions,
.contact-actions {
  flex-wrap: wrap;
  gap: 12px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  gap: 10px;
  padding: 0 18px;
  border-radius: 8px;
  font-family: "Space Grotesk", system-ui, sans-serif;
  font-size: 0.94rem;
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.btn svg,
.site-nav svg,
.service-card svg,
.project-actions svg,
.nav-toggle svg,
.whatsapp-float svg {
  width: 18px;
  height: 18px;
  stroke-width: 2.2;
}

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

.btn-primary {
  color: #04100b;
  background: linear-gradient(135deg, var(--green), #9cffd4 42%, var(--purple));
  box-shadow: 0 0 34px rgba(53, 240, 164, 0.22);
}

.btn-whatsapp {
  min-width: 220px;
  box-shadow: 0 0 42px rgba(53, 240, 164, 0.3);
}

.btn-secondary {
  border: 1px solid var(--line-strong);
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  border-color: rgba(155, 104, 255, 0.44);
  background: rgba(155, 104, 255, 0.1);
}

.hero-visual {
  position: relative;
  min-height: 560px;
}

.hero-visual::before {
  position: absolute;
  inset: 32px -24px 0;
  content: "";
  border-radius: 999px;
  background: radial-gradient(circle, rgba(155, 104, 255, 0.2), transparent 66%);
  filter: blur(18px);
}

.browser-mockup {
  position: relative;
  z-index: 1;
  min-height: 460px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), transparent 34%),
    rgba(14, 18, 27, 0.84);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(18px);
}

.mockup-topbar {
  display: flex;
  gap: 8px;
  padding: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
}

.mockup-topbar span,
.preview-window span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.32);
}

.mockup-topbar span:first-child,
.preview-window span:first-child {
  background: var(--green);
}

.mockup-topbar span:nth-child(2),
.preview-window span:nth-child(2) {
  background: var(--purple);
}

.mockup-canvas {
  display: grid;
  grid-template-columns: 26% 1fr;
  gap: 20px;
  min-height: 402px;
  padding: 22px;
}

.mockup-sidebar {
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(53, 240, 164, 0.12), transparent),
    repeating-linear-gradient(180deg, rgba(255, 255, 255, 0.14) 0 10px, transparent 10px 34px);
  opacity: 0.72;
}

.mockup-main {
  display: grid;
  align-content: start;
  gap: 18px;
}

.mockup-pill,
.mockup-title,
.mockup-row div,
.mockup-panel {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
}

.mockup-pill {
  width: 34%;
  height: 32px;
  background: linear-gradient(90deg, rgba(53, 240, 164, 0.35), rgba(155, 104, 255, 0.22));
}

.mockup-title {
  width: 82%;
  height: 78px;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.08)),
    rgba(255, 255, 255, 0.08);
}

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

.mockup-row div {
  height: 72px;
}

.mockup-panel {
  height: 150px;
  background:
    linear-gradient(135deg, rgba(53, 240, 164, 0.22), transparent 48%),
    linear-gradient(315deg, rgba(155, 104, 255, 0.3), transparent 52%),
    rgba(255, 255, 255, 0.06);
}

.floating-stat {
  position: absolute;
  z-index: 2;
  display: grid;
  gap: 4px;
  min-width: 138px;
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(10, 13, 20, 0.74);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.floating-stat span {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
}

.floating-stat strong {
  font-size: 1.18rem;
}

.stat-one {
  top: 72px;
  right: -8px;
}

.stat-two {
  bottom: 72px;
  left: -18px;
}

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

.section-heading.center {
  text-align: center;
}

.section-heading.center h2 {
  margin-inline: auto;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.82fr) minmax(420px, 1fr);
  gap: 24px;
  align-items: start;
}

.about-copy {
  display: grid;
  align-content: start;
  gap: 24px;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(53, 240, 164, 0.06), transparent 42%),
    var(--panel);
  box-shadow: var(--shadow);
}

.about-copy p {
  color: var(--muted-strong);
  font-size: 1rem;
  line-height: 1.8;
}

.about-copy-inner {
  display: grid;
  gap: 18px;
}

.about-copy-inner p {
  margin-bottom: 0;
}

.about-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.about-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(53, 240, 164, 0.2);
  border-radius: 999px;
  color: var(--green);
  background: rgba(53, 240, 164, 0.07);
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  font-size: 0.78rem;
  font-weight: 800;
}

.about-copy p:last-child,
.service-card p,
.project-body p,
.contact-copy p,
.site-footer span {
  margin-bottom: 0;
}

.about-metrics {
  display: grid;
  gap: 12px;
}

.metric-card,
.service-card,
.project-card,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  box-shadow: var(--shadow);
}

.metric-card {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  min-height: 112px;
  padding: 22px;
}

.metric-card span {
  flex: 0 0 44px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 8px;
  color: var(--green);
  background: rgba(53, 240, 164, 0.09);
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
}

.metric-card div {
  min-width: 0;
  padding-top: 1px;
}

.metric-card strong {
  display: block;
  margin-bottom: 6px;
  font-size: 1.02rem;
}

.metric-card p,
.project-body p,
.service-card p {
  color: var(--muted);
  line-height: 1.65;
}

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

.project-card {
  overflow: hidden;
  transition: transform 220ms ease, border-color 220ms ease, background 220ms ease;
}

.project-card:hover {
  transform: translateY(-6px);
  border-color: rgba(53, 240, 164, 0.3);
  background: rgba(22, 27, 39, 0.86);
}

.project-card.featured {
  border-color: rgba(155, 104, 255, 0.28);
}

.project-preview {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background-color: #0b0f18;
}

.project-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: saturate(0.95) contrast(1.05);
}

.project-photo::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background:
    linear-gradient(180deg, rgba(7, 8, 13, 0.04), rgba(7, 8, 13, 0.48)),
    radial-gradient(circle at 30% 70%, rgba(53, 240, 164, 0.18), transparent 42%),
    radial-gradient(circle at 78% 30%, rgba(155, 104, 255, 0.16), transparent 38%);
  pointer-events: none;
}

.project-preview::before {
  position: absolute;
  inset: 0;
  content: "";
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(circle at 50% 44%, black, transparent 74%);
}

.preview-green {
  background:
    radial-gradient(circle at 62% 30%, rgba(53, 240, 164, 0.32), transparent 38%),
    #0b0f18;
}

.preview-purple {
  background:
    radial-gradient(circle at 42% 36%, rgba(155, 104, 255, 0.34), transparent 40%),
    #0b0f18;
}

.preview-mix {
  background:
    radial-gradient(circle at 30% 30%, rgba(53, 240, 164, 0.24), transparent 38%),
    radial-gradient(circle at 78% 70%, rgba(155, 104, 255, 0.26), transparent 34%),
    #0b0f18;
}

.preview-window,
.preview-layout,
.dashboard-bars,
.dashboard-card,
.dashboard-line,
.commerce-card,
.commerce-button {
  position: absolute;
  z-index: 1;
}

.preview-window {
  top: 26px;
  left: 26px;
  display: flex;
  gap: 7px;
}

.preview-layout {
  inset: 58px 24px 24px;
  display: grid;
  grid-template-columns: 0.92fr 1fr;
  gap: 16px;
}

.preview-hero {
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(53, 240, 164, 0.42), rgba(255, 255, 255, 0.08));
}

.preview-lines {
  display: grid;
  align-content: center;
  gap: 12px;
}

.preview-lines span {
  display: block;
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.preview-lines span:nth-child(2) {
  width: 72%;
}

.preview-lines span:nth-child(3) {
  width: 48%;
  background: linear-gradient(90deg, var(--green), var(--purple));
}

.dashboard-bars {
  inset: auto 24px 26px 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: end;
  gap: 12px;
  height: 130px;
}

.dashboard-bars span {
  border-radius: 8px 8px 0 0;
  background: linear-gradient(180deg, rgba(155, 104, 255, 0.82), rgba(53, 240, 164, 0.24));
}

.dashboard-bars span:nth-child(1) {
  height: 46%;
}

.dashboard-bars span:nth-child(2) {
  height: 74%;
}

.dashboard-bars span:nth-child(3) {
  height: 58%;
}

.dashboard-bars span:nth-child(4) {
  height: 92%;
}

.dashboard-card {
  top: 28px;
  left: 28px;
  width: 46%;
  height: 72px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.dashboard-line {
  top: 48px;
  right: 28px;
  width: 32%;
  height: 14px;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 28px rgba(53, 240, 164, 0.34);
}

.commerce-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}

.commerce-card.large {
  top: 34px;
  left: 34px;
  width: 58%;
  height: 118px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(155, 104, 255, 0.22));
}

.commerce-card.small {
  right: 34px;
  bottom: 44px;
  width: 34%;
  height: 86px;
  background: linear-gradient(135deg, rgba(53, 240, 164, 0.24), rgba(255, 255, 255, 0.12));
}

.commerce-button {
  bottom: 44px;
  left: 34px;
  width: 38%;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--green), var(--purple));
}

.project-body {
  padding: 24px;
}

.project-tag {
  display: inline-flex;
  margin-bottom: 16px;
  padding: 7px 10px;
  border: 1px solid rgba(53, 240, 164, 0.22);
  border-radius: 999px;
  color: var(--green);
  background: rgba(53, 240, 164, 0.08);
  font-family: "JetBrains Mono", "Space Grotesk", monospace;
  font-size: 0.75rem;
  font-weight: 800;
}

.project-actions {
  gap: 12px;
  margin-top: 20px;
}

.project-actions a {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 800;
}

.project-actions a:last-child {
  color: var(--muted);
}

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

.service-card {
  padding: 24px;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(155, 104, 255, 0.32);
  background: rgba(22, 27, 39, 0.86);
}

.service-card svg {
  width: 28px;
  height: 28px;
  margin-bottom: 22px;
  color: var(--green);
  filter: drop-shadow(0 0 14px rgba(53, 240, 164, 0.28));
}

.contact {
  padding-top: 116px;
  padding-bottom: 84px;
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(380px, 0.85fr);
  align-items: start;
  gap: clamp(44px, 6vw, 72px);
  padding: clamp(42px, 5vw, 64px);
  background:
    linear-gradient(135deg, rgba(53, 240, 164, 0.11), transparent 38%),
    linear-gradient(315deg, rgba(155, 104, 255, 0.12), transparent 42%),
    var(--panel-strong);
}

.contact-copy {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  align-items: flex-start;
}

.contact-copy h2 {
  max-width: 560px;
  margin-bottom: 24px;
  font-size: clamp(2.5rem, 4.2vw, 4rem);
  line-height: 1.04;
}

.contact-copy p {
  max-width: 590px;
  color: var(--muted-strong);
  font-size: 1.02rem;
  line-height: 1.85;
}

.contact-actions {
  width: 100%;
  max-width: 590px;
  margin: 38px 0 0;
  gap: 14px;
}

.contact-actions .btn-whatsapp {
  flex: 1 1 320px;
  min-height: 54px;
}

.contact-actions .btn-secondary {
  flex: 0 0 auto;
  min-height: 54px;
  padding-inline: 22px;
  border-color: rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.045);
}

.contact-form {
  display: grid;
  gap: 20px;
  align-self: start;
  padding-top: 2px;
}

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: 0;
  color: var(--text);
  background: rgba(4, 6, 11, 0.54);
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.contact-form input {
  height: 58px;
  padding: 0 16px;
}

.contact-form textarea {
  resize: vertical;
  min-height: 170px;
  padding: 16px;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(53, 240, 164, 0.46);
  background: rgba(4, 6, 11, 0.72);
  box-shadow: 0 0 0 4px rgba(53, 240, 164, 0.08);
}

.contact-form button {
  width: 100%;
  min-height: 56px;
  margin-top: 2px;
  cursor: pointer;
}

.form-status {
  min-height: 22px;
  margin: 0;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 700;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(calc(100% - 32px), var(--max-width));
  margin: 0 auto;
  padding: 28px 0 42px;
  color: var(--muted);
  font-size: 0.9rem;
}

.site-footer a {
  color: var(--text);
  font-weight: 800;
}

.whatsapp-float {
  position: fixed;
  right: 22px;
  bottom: 28px;
  z-index: 80;
  display: grid;
  width: 54px;
  height: 54px;
  place-items: center;
  border: 1px solid rgba(53, 240, 164, 0.46);
  border-radius: 999px;
  color: #06100c;
  background: linear-gradient(135deg, var(--green), #9cffd4 46%, var(--purple));
  box-shadow: 0 0 38px rgba(53, 240, 164, 0.34), 0 16px 50px rgba(0, 0, 0, 0.34);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.whatsapp-float:hover,
.whatsapp-float:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 0 48px rgba(53, 240, 164, 0.42), 0 18px 58px rgba(0, 0, 0, 0.38);
}

.whatsapp-float svg {
  width: 24px;
  height: 24px;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 700ms ease, transform 700ms ease;
}

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

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}

@media (max-width: 980px) {
  .hero,
  .about-grid,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    gap: 40px;
  }

  .hero {
    gap: 26px;
    min-height: auto;
    padding-top: 76px;
  }

  .hero-visual {
    min-height: 440px;
  }

  .browser-mockup {
    min-height: 390px;
  }

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

@media (max-width: 760px) {
  .site-header {
    top: 10px;
    width: min(calc(100% - 20px), var(--max-width));
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: grid;
    gap: 4px;
    padding: 10px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: rgba(9, 12, 19, 0.94);
    box-shadow: var(--shadow);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 180ms ease, transform 180ms ease;
    backdrop-filter: blur(18px);
  }

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

  .site-nav a {
    padding: 13px 12px;
  }

  .section {
    width: min(calc(100% - 24px), var(--max-width));
    padding: 74px 0;
  }

  .contact {
    padding-top: 82px;
    padding-bottom: 72px;
  }

  .hero {
    padding-top: 64px;
  }

  h1 {
    font-size: clamp(3.3rem, 16vw, 5.7rem);
  }

  h2 {
    font-size: clamp(2rem, 10vw, 3.25rem);
  }

  .hero-headline {
    font-size: clamp(1.2rem, 5.2vw, 1.72rem);
    line-height: 1.18;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions .btn,
  .contact-actions .btn {
    width: 100%;
  }

  .hero-visual {
    min-height: 360px;
  }

  .browser-mockup {
    min-height: 320px;
  }

  .mockup-canvas {
    grid-template-columns: 1fr;
    min-height: 258px;
    padding: 16px;
  }

  .mockup-sidebar {
    display: none;
  }

  .mockup-title {
    height: 64px;
  }

  .mockup-panel {
    height: 116px;
  }

  .floating-stat {
    min-width: 126px;
    padding: 14px;
  }

  .stat-one {
    top: 42px;
    right: 10px;
  }

  .stat-two {
    bottom: 40px;
    left: 10px;
  }

  .about-copy,
  .contact-panel {
    padding: 26px;
  }

  .contact-panel {
    gap: 34px;
  }

  .contact-copy h2 {
    max-width: 100%;
    margin-bottom: 18px;
    font-size: clamp(2.25rem, 10vw, 3.1rem);
    line-height: 1.05;
  }

  .contact-copy p {
    max-width: 100%;
    font-size: 0.98rem;
    line-height: 1.75;
  }

  .contact-actions {
    margin-top: 30px;
  }

  .contact-form {
    width: 100%;
    gap: 17px;
  }

  .contact-form input {
    height: 54px;
  }

  .contact-form textarea {
    min-height: 150px;
  }

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

  .project-preview {
    min-height: 210px;
  }

  .site-footer {
    display: grid;
    gap: 12px;
    width: min(calc(100% - 24px), var(--max-width));
  }
}

@media (max-width: 360px) {
  .brand span:last-child {
    display: none;
  }
}

@media (max-width: 420px) {
  .metric-card {
    grid-template-columns: 1fr;
  }

  .metric-card span {
    grid-row: auto;
  }

  .project-body,
  .service-card {
    padding: 20px;
  }
}
