:root {
  --bg: #07111f;
  --surface: rgba(12, 24, 43, 0.72);
  --surface-strong: #0d1b31;
  --card: rgba(255, 255, 255, 0.06);
  --card-strong: #101f37;
  --text: #f5f8fc;
  --muted: #99abc3;
  --line: rgba(162, 184, 214, 0.16);
  --accent: #3bd3c2;
  --accent-strong: #1bb5a3;
  --accent-soft: rgba(59, 211, 194, 0.14);
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  --radius-lg: 28px;
  --radius-md: 20px;
  --radius-sm: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Manrope", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(59, 211, 194, 0.2), transparent 28%),
    radial-gradient(circle at 80% 10%, rgba(25, 107, 196, 0.22), transparent 30%),
    linear-gradient(180deg, #07111f 0%, #081524 55%, #0b1726 100%);
  line-height: 1.6;
}

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

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

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

.skip-link,
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-link:focus {
  position: fixed;
  inset: 1rem auto auto 1rem;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1rem;
  clip: auto;
  background: var(--white);
  color: #081524;
  border-radius: 12px;
  z-index: 100;
}

.container {
  width: min(calc(100% - 2rem), var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(20px);
  background: rgba(7, 17, 31, 0.72);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 84px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(59, 211, 194, 0.18), rgba(30, 101, 189, 0.3));
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--white);
  font-family: "Space Grotesk", sans-serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1.05;
}

.brand-text strong,
.hero h1,
.section-heading h2,
.service-card h3,
.project-card h3,
.differential-item strong,
.about-panel h3 {
  font-family: "Space Grotesk", sans-serif;
}

.brand-text strong {
  font-size: 1.1rem;
}

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

.site-nav {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.site-nav a,
.footer-nav a,
.social-links a {
  color: var(--muted);
  transition: color 180ms ease;
}

.site-nav a:hover,
.footer-nav a:hover,
.social-links a:hover,
.contact-link:hover,
.text-link:hover {
  color: var(--white);
}

.nav-toggle {
  display: none;
  border: 0;
  background: transparent;
  padding: 0.2rem;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 24px;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
  border-radius: 999px;
  transition: transform 180ms ease, opacity 180ms ease;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 50px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  font-weight: 700;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, color 180ms ease;
}

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

.button-primary {
  color: #04101b;
  background: linear-gradient(135deg, var(--accent), #76f3df);
  box-shadow: 0 18px 40px rgba(59, 211, 194, 0.28);
}

.button-primary:hover {
  box-shadow: 0 22px 45px rgba(59, 211, 194, 0.34);
}

.button-secondary {
  color: var(--white);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
}

.hero {
  position: relative;
  overflow: hidden;
  padding: 4.5rem 0 3rem;
}

.hero-grid,
.about-grid,
.differentials-grid,
.contact-panel,
.footer-grid {
  display: grid;
  gap: 2rem;
}

.hero-grid {
  align-items: center;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
}

.eyebrow {
  margin: 0 0 1rem;
  color: var(--accent);
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2.8rem, 5vw, 4.75rem);
  line-height: 0.98;
  max-width: 12ch;
}

.hero-text,
.section-heading p,
.about-panel p,
.value-card p,
.service-card p,
.project-card p,
.differential-item p,
.contact-copy p,
.footer-text {
  color: var(--muted);
}

.hero-text {
  max-width: 60ch;
  font-size: 1.08rem;
  margin: 1.4rem 0 0;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2rem;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
  list-style: none;
  padding: 0;
  margin: 2.25rem 0 0;
}

.hero-metrics li,
.about-panel,
.value-card,
.service-card,
.project-card,
.differential-item,
.contact-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow);
}

.hero-metrics li {
  padding: 1.2rem;
}

.hero-metrics strong,
.contact-link,
.text-link {
  color: var(--white);
}

.hero-metrics span {
  display: block;
  margin-top: 0.4rem;
  color: var(--muted);
  font-size: 0.95rem;
}

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

.orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
}

.orb-one {
  inset: 0 auto auto 10%;
  width: 180px;
  height: 180px;
  background: rgba(59, 211, 194, 0.16);
}

.orb-two {
  inset: auto 2% 10% auto;
  width: 220px;
  height: 220px;
  background: rgba(30, 101, 189, 0.18);
}

.dashboard-card,
.floating-card {
  position: absolute;
  border-radius: 26px;
  background: linear-gradient(180deg, rgba(18, 32, 56, 0.92), rgba(10, 20, 36, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow);
}

.card-main {
  top: 2rem;
  right: 1rem;
  width: min(100%, 470px);
  padding: 1.25rem;
}

.window-bar {
  display: flex;
  gap: 0.4rem;
}

.window-bar span {
  width: 11px;
  height: 11px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
}

.chart-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.8rem;
  align-items: end;
  min-height: 170px;
  margin-top: 1.5rem;
}

.chart-column {
  border-radius: 14px 14px 6px 6px;
  background: linear-gradient(180deg, #76f3df 0%, #1d7ed9 100%);
  opacity: 0.92;
}

.chart-tall {
  height: 100%;
}

.chart-medium {
  height: 72%;
}

.chart-short {
  height: 46%;
}

.dashboard-list {
  display: grid;
  gap: 0.8rem;
  margin-top: 1.2rem;
}

.dashboard-list div {
  height: 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
}

.floating-card {
  padding: 1rem 1.1rem;
}

.card-service {
  left: 0;
  top: 18rem;
  width: min(280px, 72%);
}

.card-stack {
  right: 2rem;
  bottom: 1.3rem;
  width: min(300px, 72%);
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.tag {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.65rem;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: var(--accent-soft);
  color: var(--accent);
  font-size: 0.78rem;
  font-weight: 700;
}

.stack-dot {
  width: 12px;
  height: 54px;
  border-radius: 999px;
  background: linear-gradient(180deg, #76f3df 0%, #1d7ed9 100%);
}

.floating-card p {
  margin: 0.45rem 0 0;
  color: var(--muted);
}

.section {
  padding: 5rem 0;
}

.section-heading {
  max-width: 760px;
  margin-bottom: 2.2rem;
}

.section-heading h2 {
  font-size: clamp(2rem, 3vw, 3.15rem);
  line-height: 1.05;
  margin: 0 0 1rem;
}

.section-heading.compact {
  margin-bottom: 0;
}

.section-about {
  position: relative;
}

.about-grid,
.contact-panel,
.footer-grid,
.differentials-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.about-panel {
  padding: 1.8rem;
}

.values-grid,
.service-grid,
.project-grid {
  display: grid;
  gap: 1.2rem;
}

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

.value-card,
.service-card,
.project-card,
.differential-item,
.contact-card {
  padding: 1.5rem;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.value-card:hover,
.service-card:hover,
.project-card:hover,
.differential-item:hover,
.contact-card:hover {
  transform: translateY(-5px);
  border-color: rgba(118, 243, 223, 0.28);
  background: rgba(255, 255, 255, 0.08);
}

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

.service-card h3,
.project-card h3,
.about-panel h3 {
  margin: 0 0 0.8rem;
  font-size: 1.3rem;
}

.section-projects {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), rgba(255, 255, 255, 0.03));
}

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

.project-top {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.1rem;
}

.project-category,
.project-status {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
}

.project-category {
  background: rgba(255, 255, 255, 0.06);
  color: #c8d8ec;
}

.project-status {
  background: var(--accent-soft);
  color: var(--accent);
}

.text-link {
  display: inline-flex;
  margin-top: 1.1rem;
  font-weight: 700;
}

.differentials-list {
  display: grid;
  gap: 1rem;
}

.section-contact {
  padding-bottom: 6rem;
}

.contact-panel {
  align-items: center;
  padding: 2rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, rgba(11, 25, 44, 0.95), rgba(16, 31, 55, 0.82));
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.contact-card {
  padding: 1.75rem;
}

.contact-button {
  width: 100%;
}

.contact-link {
  display: inline-block;
  margin-top: 1.25rem;
  font-weight: 700;
}

.social-links {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.2rem;
}

.site-footer {
  padding: 0 0 3rem;
}

.footer-grid {
  align-items: end;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.4rem;
  justify-content: center;
}

.copyright {
  color: var(--muted);
  text-align: right;
}

body.menu-open {
  overflow: hidden;
}

@media (max-width: 1080px) {
  .site-nav {
    gap: 1rem;
  }

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

  .hero-grid,
  .about-grid,
  .differentials-grid,
  .contact-panel,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .hero h1 {
    max-width: 14ch;
  }

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

  .copyright {
    text-align: left;
  }
}

@media (max-width: 760px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 1rem 0;
  }

  .nav-toggle {
    display: inline-block;
    margin-left: auto;
  }

  .header-cta {
    display: none;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(10, 22, 40, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.06);
  }

  .site-header.is-open .site-nav {
    display: flex;
  }

  .site-header.is-open .nav-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

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

  .site-header.is-open .nav-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .hero {
    padding-top: 3rem;
  }

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

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

  .card-main {
    right: 0;
    width: 100%;
  }

  .card-service {
    top: 16rem;
  }

  .card-stack {
    right: 0;
    width: 84%;
  }

  .section,
  .section-contact {
    padding: 4rem 0;
  }
}

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

  .hero h1 {
    font-size: 2.5rem;
  }

  .button {
    width: 100%;
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .card-main {
    padding: 1rem;
  }

  .card-service {
    width: 88%;
    top: 13rem;
  }

  .card-stack {
    width: 88%;
    bottom: 0.2rem;
  }

  .contact-panel {
    padding: 1.25rem;
  }
}
