:root {
  --bg: #07110d;
  --bg-soft: #0d1a16;
  --panel: rgba(11, 20, 17, 0.82);
  --panel-strong: rgba(15, 28, 23, 0.96);
  --line: rgba(118, 216, 255, 0.18);
  --line-strong: rgba(125, 249, 177, 0.34);
  --text: #edfef2;
  --muted: #b9d7c5;
  --primary: #7df9b1;
  --primary-deep: #05d997;
  --accent: #76d8ff;
  --shadow: rgba(15, 48, 38, 0.45);
  --danger: #ff7a7a;
  --success: #8ef7be;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(12, 46, 36, 0.7), transparent 34%),
    linear-gradient(180deg, #07110d 0%, #0b1613 100%);
  font-family: "Inter", sans-serif;
  line-height: 1.6;
}

img {
  max-width: 100%;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03), rgba(255,255,255,0.03));
  background-size: 100% 2px;
  pointer-events: none;
}

.topbar,
.shell,
.footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0 18px;
  position: sticky;
  top: 0;
  z-index: 30;
  backdrop-filter: blur(12px);
  background: rgba(7, 17, 13, 0.46);
  border-bottom: 1px solid rgba(125, 249, 177, 0.08);
}

.brand-wrap {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-strong);
  background: linear-gradient(135deg, rgba(125, 249, 177, 0.18), rgba(118, 216, 255, 0.08));
  color: var(--primary);
  border-radius: 12px;
  font-weight: 800;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.12;
}

.brand-name {
  font-size: 1rem;
  letter-spacing: 0.12em;
  text-transform: lowercase;
  font-weight: 700;
}

.brand-sub {
  font-size: 0.68rem;
  color: var(--muted);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.nav {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}

.nav a,
.footer-links a {
  color: var(--muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.nav a:hover,
.footer-links a:hover {
  color: var(--text);
}

.top-btn,
.primary,
.secondary,
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.top-btn,
.primary {
  min-height: 44px;
  padding: 0 18px;
  background: linear-gradient(135deg, rgba(125, 249, 177, 0.2), rgba(118, 216, 255, 0.12));
  border: 1px solid var(--line-strong);
  color: var(--text);
  box-shadow: 0 0 22px rgba(125, 249, 177, 0.12);
}

.secondary {
  min-height: 44px;
  padding: 0 18px;
  color: var(--text);
  border: 1px solid var(--line);
  background: transparent;
}

.top-btn:hover,
.primary:hover,
.secondary:hover,
button:hover {
  transform: translateY(-1px);
}

.shell {
  padding: 34px 0 36px;
}

.card {
  background: linear-gradient(180deg, rgba(11, 20, 17, 0.96), rgba(7, 14, 12, 0.88));
  border: 1px solid var(--line);
  border-radius: 22px;
  box-shadow: 0 20px 60px var(--shadow);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
  padding: 28px;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--primary);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.hero h1,
.section-head h2 {
  margin: 0;
  color: var(--text);
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  line-height: 0.96;
  letter-spacing: -0.06em;
}

.lead {
  max-width: 60ch;
  margin: 20px 0 0;
  color: var(--muted);
  font-size: 1.06rem;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 28px;
}

.stats {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 0;
  margin: 28px 0 0;
}

.stats li {
  min-width: 120px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(15, 28, 23, 0.48);
}

.stats strong {
  display: block;
  color: var(--primary);
  font-size: 1.7rem;
  letter-spacing: -0.06em;
}

.stats span {
  font-size: 0.7rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-grid {
  width: min(420px, 100%);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.panel {
  background: rgba(12, 24, 20, 0.9);
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px 16px;
}

.mini {
  min-height: 130px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.mini span,
.large span {
  color: var(--muted);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.mini strong,
.large strong {
  font-size: 1.3rem;
  letter-spacing: -0.05em;
}

.mini.accent {
  background: linear-gradient(135deg, rgba(125, 249, 177, 0.12), rgba(118, 216, 255, 0.08));
}

.large {
  grid-column: 1 / -1;
  min-height: 180px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background: linear-gradient(135deg, rgba(125, 249, 177, 0.12), rgba(118, 216, 255, 0.1));
}

.section {
  margin-top: 34px;
}

.section-head {
  margin-bottom: 18px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
}

.service-grid,
.contact-grid,
.company-grid {
  display: grid;
  gap: 22px;
}

.service-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service {
  padding: 22px 20px;
}

.service-tag {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--primary);
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}

.service h3 {
  margin: 0 0 10px;
  font-size: 1.35rem;
}

.service p,
.info-column p,
.contact-panel p {
  margin: 0;
  color: var(--muted);
}

.company-grid {
  grid-template-columns: 1.15fr 0.85fr;
}

.project-column,
.info-column,
.contact-panel,
.form-panel {
  padding: 22px 20px;
}

.left {
  margin-bottom: 10px;
}

.brand-list {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 18px 0 0;
}

.brand-list li {
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(14, 29, 24, 0.5);
}

.brand-name-item {
  color: var(--text);
  font-weight: 700;
}

.brand-copy {
  color: var(--muted);
  font-size: 0.9rem;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.pill-row span {
  padding: 8px 10px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(125, 249, 177, 0.05);
  color: var(--primary);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.contact-grid {
  grid-template-columns: 0.9fr 1.1fr;
}

.contact-meta {
  list-style: none;
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 24px 0 0;
}

.contact-meta li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  border-bottom: 1px solid rgba(125, 249, 177, 0.1);
  padding-bottom: 10px;
}

.contact-meta strong {
  color: var(--text);
}

.contact-meta a,
.contact-meta span {
  color: var(--muted);
  text-decoration: none;
}

.form-panel {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.field-row {
  display: grid;
  gap: 14px;
}

.two-up {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

input,
textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(7, 14, 12, 0.9);
  color: var(--text);
  padding: 12px 14px;
  font: inherit;
}

textarea {
  resize: vertical;
  min-height: 120px;
}

input:focus,
textarea:focus {
  outline: 1px solid rgba(125, 249, 177, 0.5);
  border-color: var(--primary);
}

.form-actions {
  display: flex;
  justify-content: flex-start;
}

.form-status {
  min-height: 22px;
  margin: 0;
  font-size: 0.92rem;
}

.form-status.success {
  color: var(--success);
}

.form-status.error {
  color: var(--danger);
}

.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 18px 0 42px;
  color: var(--muted);
  border-top: 1px solid rgba(125, 249, 177, 0.08);
}

.footer p {
  margin: 0;
}

.footer-links {
  display: inline-flex;
  gap: 18px;
}

.toast {
  position: fixed;
  right: 24px;
  bottom: 26px;
  display: inline-flex;
  padding: 12px 16px;
  border-radius: 12px;
  background: rgba(7, 17, 13, 0.96);
  border: 1px solid var(--line-strong);
  color: var(--text);
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
}

.toast.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 900px) {
  .hero,
  .company-grid,
  .contact-grid,
  .service-grid {
    grid-template-columns: 1fr;
  }

  .nav {
    display: none;
  }
}

@media (max-width: 560px) {
  .topbar,
  .shell,
  .footer {
    width: min(100% - 20px, 1180px);
  }

  .hero,
  .project-column,
  .info-column,
  .contact-panel,
  .form-panel {
    padding: 18px 16px;
  }

  .two-up {
    grid-template-columns: 1fr;
  }

  .topbar {
    justify-content: space-between;
  }

  .cta-row,
  .footer {
    flex-direction: column;
    align-items: flex-start;
  }

  .top-btn,
  .primary,
  .secondary {
    width: 100%;
  }
}
