* {
  box-sizing: border-box;
}

:root {
  --bg: #080b0f;
  --bg-soft: #10151b;
  --panel: rgba(255, 255, 255, 0.055);
  --panel-strong: rgba(255, 255, 255, 0.09);
  --line: rgba(255, 255, 255, 0.14);
  --line-soft: rgba(255, 255, 255, 0.08);
  --text: #f7fafc;
  --muted: #a7b1bc;
  --muted-strong: #c7d0d9;
  --teal: #31d6c2;
  --amber: #f6b45c;
  --ink: #081014;
  --container: 1180px;
  --radius: 8px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(rgba(255, 255, 255, 0.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.028) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: 0.35;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 15% 15%, rgba(49, 214, 194, 0.16), transparent 26%),
    radial-gradient(circle at 82% 22%, rgba(246, 180, 92, 0.12), transparent 30%),
    linear-gradient(180deg, rgba(8, 11, 15, 0.45), #080b0f 62%);
}

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

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

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

.container {
  width: min(92%, var(--container));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--line-soft);
  background: rgba(8, 11, 15, 0.82);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  min-height: 78px;
}

.brand img {
  width: 148px;
}

.site-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
}

.site-nav a {
  color: var(--muted);
  padding: 10px 14px;
  border-radius: var(--radius);
  font-size: 0.94rem;
  font-weight: 600;
  transition: color 0.2s ease, background 0.2s ease;
}

.site-nav a:hover,
.site-nav a.is-active {
  color: var(--text);
  background: var(--panel);
}

.header-cta {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 11px 16px;
  color: var(--text);
  font-size: 0.94rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: transparent;
  color: var(--text);
  cursor: pointer;
}

.nav-toggle span,
.nav-toggle span::before,
.nav-toggle span::after {
  display: block;
  width: 20px;
  height: 2px;
  margin: auto;
  position: relative;
  border-radius: 999px;
  background: currentColor;
}

.nav-toggle span::before,
.nav-toggle span::after {
  content: "";
  position: absolute;
  left: 0;
}

.nav-toggle span::before {
  top: -7px;
}

.nav-toggle span::after {
  top: 7px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: flex;
  align-items: center;
  overflow: hidden;
  border-bottom: 1px solid var(--line-soft);
}

.page-hero {
  position: relative;
  padding: 112px 0 84px;
  border-bottom: 1px solid var(--line-soft);
  overflow: hidden;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.94), rgba(8, 11, 15, 0.72)),
    url("img/hero-workstation.png") center / cover no-repeat;
  opacity: 0.92;
}

.page-hero-inner {
  max-width: 880px;
}

.page-hero p {
  max-width: 720px;
  color: var(--muted-strong);
  font-size: 1.12rem;
}

.hero-media {
  position: absolute;
  inset: 0;
  z-index: -1;
}

.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(8, 11, 15, 0.98) 0%, rgba(8, 11, 15, 0.82) 34%, rgba(8, 11, 15, 0.42) 70%, rgba(8, 11, 15, 0.75) 100%),
    linear-gradient(180deg, rgba(8, 11, 15, 0.2), #080b0f 100%);
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.72;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.55fr);
  align-items: center;
  gap: 56px;
  padding: 88px 0;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 22px;
  color: var(--teal);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--amber);
}

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

h1 {
  margin-bottom: 24px;
  max-width: 820px;
  font-size: clamp(2.55rem, 5.7vw, 5.65rem);
  line-height: 0.99;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 3.2vw, 3.45rem);
  line-height: 1.06;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 1.18rem;
  line-height: 1.25;
}

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

.hero-copy p {
  max-width: 650px;
  font-size: 1.14rem;
  color: var(--muted-strong);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.32);
}

.btn-primary {
  border-color: transparent;
  background: var(--teal);
  color: var(--ink);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text);
}

.hero-panel {
  display: grid;
  gap: 22px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(8, 11, 15, 0.72);
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(18px);
}

.panel-logo {
  width: 72px;
}

.hero-panel strong {
  display: block;
  margin-bottom: 8px;
  font-size: 1.28rem;
  line-height: 1.3;
}

.hero-panel ul {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hero-panel li {
  display: flex;
  gap: 10px;
  color: var(--muted-strong);
}

.hero-panel li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--amber);
  flex: 0 0 auto;
}

.trust-strip {
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.025);
}

.strip-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
}

.strip-grid span {
  display: grid;
  min-height: 84px;
  place-items: center;
  border-left: 1px solid var(--line-soft);
  color: var(--muted);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.strip-grid span:last-child {
  border-right: 1px solid var(--line-soft);
}

.section {
  padding: 112px 0;
}

.section-alt {
  border-top: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.03);
}

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

.section-head p {
  max-width: 650px;
  font-size: 1.02rem;
}

.section-actions {
  margin-top: 34px;
}

.cta-band {
  max-width: 900px;
  padding: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(49, 214, 194, 0.12), rgba(246, 180, 92, 0.07)),
    rgba(255, 255, 255, 0.04);
}

.cta-band h2,
.cta-band p {
  max-width: 720px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.page-link-grid .service-card {
  display: grid;
  align-content: start;
}

.service-card {
  min-height: 270px;
  padding: 30px;
  border-right: 1px solid var(--line-soft);
  border-bottom: 1px solid var(--line-soft);
  background: rgba(255, 255, 255, 0.026);
  transition: background 0.2s ease, transform 0.2s ease;
}

.service-card:hover {
  background: var(--panel);
  transform: translateY(-3px);
}

.service-icon {
  display: inline-flex;
  margin-bottom: 36px;
  color: var(--amber);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.text-link {
  display: inline-flex;
  width: fit-content;
  margin-top: 20px;
  color: var(--teal);
  font-weight: 800;
}

.text-link:hover {
  color: var(--amber);
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.9fr);
  align-items: center;
  gap: 54px;
}

.split-copy {
  max-width: 650px;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.metrics div {
  min-height: 160px;
  padding: 26px;
  background: #0c1117;
}

.metrics strong {
  display: block;
  margin-bottom: 34px;
  color: var(--teal);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.metrics span {
  color: var(--text);
  font-size: 1.24rem;
  font-weight: 800;
}

.decision-list {
  display: grid;
  gap: 1px;
  border: 1px solid var(--line-soft);
  background: var(--line-soft);
}

.decision-list div {
  display: grid;
  gap: 8px;
  padding: 24px;
  background: #0c1117;
}

.decision-list strong {
  color: var(--text);
  font-size: 1.05rem;
}

.decision-list span {
  color: var(--muted);
}

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

.process-step {
  min-height: 300px;
  padding: 28px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.process-step span {
  display: inline-block;
  margin-bottom: 72px;
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-transform: uppercase;
}

.project-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
}

.project-list div {
  padding: 30px 0;
  border-bottom: 1px solid var(--line-soft);
}

.project-list div:nth-child(odd) {
  padding-right: 32px;
  border-right: 1px solid var(--line-soft);
}

.project-list div:nth-child(even) {
  padding-left: 32px;
}

.project-showcase {
  display: grid;
  gap: 18px;
}

.project-card {
  display: grid;
  grid-template-columns: minmax(110px, 0.25fr) minmax(0, 0.75fr);
  gap: 22px;
  padding: 34px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.project-card > span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.project-card h2 {
  max-width: 720px;
}

.project-card ul {
  display: grid;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.project-card li {
  display: flex;
  gap: 10px;
  color: var(--muted-strong);
}

.project-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  margin-top: 11px;
  border-radius: 50%;
  background: var(--amber);
  flex: 0 0 auto;
}

.timeline {
  display: grid;
  gap: 16px;
}

.timeline-item {
  display: grid;
  grid-template-columns: minmax(80px, 0.12fr) minmax(0, 0.88fr);
  gap: 24px;
  padding: 30px;
  border: 1px solid var(--line-soft);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.timeline-item span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.timeline-item h2 {
  margin-bottom: 10px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-soft);
  border-left: 1px solid var(--line-soft);
}

.contact-section {
  padding-bottom: 96px;
}

.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(360px, 0.72fr);
  gap: 52px;
  align-items: start;
}

.contact-copy {
  max-width: 650px;
}

.contact-links {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}

.contact-links a {
  color: var(--muted-strong);
  overflow-wrap: anywhere;
}

.contact-links a:hover {
  color: var(--teal);
}

.contact-form {
  display: grid;
  gap: 18px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.045);
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: var(--text);
  font-weight: 700;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 14px 15px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--text);
  outline: none;
}

.contact-form select option {
  background: #111820;
  color: var(--text);
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: rgba(49, 214, 194, 0.72);
}

.form-note {
  margin: -4px 0 0;
  font-size: 0.9rem;
}

.site-footer {
  padding: 36px 0 44px;
  border-top: 1px solid var(--line-soft);
}

.footer-inner {
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 24px;
}

.footer-inner img {
  width: 142px;
}

.footer-inner p,
.footer-inner span {
  margin: 0;
  color: var(--muted);
  font-size: 0.92rem;
}

.social-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: auto;
  margin: 0;
  padding: 0;
  list-style: none;
}

.social-wrapper .social-icon {
  position: relative;
  width: 48px;
  height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 50%;
  background: #ffffff;
  color: #111820;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
  cursor: pointer;
  transition:
    transform 0.2s cubic-bezier(0.68, -0.55, 0.265, 1.55),
    background 0.2s ease,
    color 0.2s ease,
    border-color 0.2s ease;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: inherit;
  border-radius: inherit;
}

.social-wrapper .tooltip {
  position: absolute;
  top: 0;
  left: 50%;
  z-index: 5;
  padding: 6px 9px;
  border-radius: 5px;
  background: #ffffff;
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 800;
  line-height: 1;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%);
  white-space: nowrap;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
  transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-wrapper .tooltip::before {
  content: "";
  position: absolute;
  bottom: -3px;
  left: 50%;
  width: 8px;
  height: 8px;
  background: #ffffff;
  transform: translateX(-50%) rotate(45deg);
  transition: background 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.social-wrapper .social-icon:hover {
  transform: translateY(-2px);
}

.social-wrapper .social-icon:hover .tooltip,
.social-wrapper .social-link:focus-visible .tooltip {
  top: -42px;
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.social-wrapper .facebook:hover,
.social-wrapper .facebook:focus-within,
.social-wrapper .facebook:hover .tooltip,
.social-wrapper .facebook:focus-within .tooltip,
.social-wrapper .facebook:hover .tooltip::before,
.social-wrapper .facebook:focus-within .tooltip::before {
  background: #1877f2;
  color: #ffffff;
  border-color: #1877f2;
}

.social-wrapper .twitter:hover,
.social-wrapper .twitter:focus-within,
.social-wrapper .twitter:hover .tooltip,
.social-wrapper .twitter:focus-within .tooltip,
.social-wrapper .twitter:hover .tooltip::before,
.social-wrapper .twitter:focus-within .tooltip::before {
  background: #1da1f2;
  color: #ffffff;
  border-color: #1da1f2;
}

.social-wrapper .instagram:hover,
.social-wrapper .instagram:focus-within,
.social-wrapper .instagram:hover .tooltip,
.social-wrapper .instagram:focus-within .tooltip,
.social-wrapper .instagram:hover .tooltip::before,
.social-wrapper .instagram:focus-within .tooltip::before {
  background: #e4405f;
  color: #ffffff;
  border-color: #e4405f;
}

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

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

@media (max-width: 1000px) {
  .header-inner {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .nav-toggle {
    display: grid;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 1px);
    right: 4%;
    left: 4%;
    display: none;
    flex-direction: column;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(8, 11, 15, 0.97);
  }

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

  .header-cta {
    display: none;
  }

  .hero {
    min-height: auto;
  }

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

  .hero-panel {
    max-width: 560px;
  }

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

  .strip-grid {
    grid-template-columns: repeat(5, minmax(140px, 1fr));
    overflow-x: auto;
  }
}

@media (max-width: 680px) {
  .brand img {
    width: 132px;
  }

  .header-inner {
    display: flex;
  }

  .nav-toggle {
    display: grid;
    flex: 0 0 44px;
  }

  .hero-inner {
    padding: 64px 0;
  }

  .page-hero {
    padding: 78px 0 62px;
  }

  h1 {
    font-size: 2.18rem;
    line-height: 1.08;
  }

  .hero-copy p {
    font-size: 1rem;
  }

  .hero-media::after {
    background:
      linear-gradient(90deg, rgba(8, 11, 15, 0.98), rgba(8, 11, 15, 0.82)),
      linear-gradient(180deg, rgba(8, 11, 15, 0.35), #080b0f 100%);
  }

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

  .section {
    padding: 82px 0;
  }

  .services-grid,
  .process-grid,
  .project-list,
  .metrics,
  .values-grid,
  .project-card,
  .timeline-item {
    grid-template-columns: 1fr;
  }

  .service-card,
  .process-step {
    min-height: auto;
  }

  .process-step span {
    margin-bottom: 34px;
  }

  .project-list div:nth-child(odd),
  .project-list div:nth-child(even) {
    padding-right: 0;
    padding-left: 0;
    border-right: 0;
  }

  .project-card,
  .timeline-item,
  .cta-band {
    padding: 24px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
  }

  .social-wrapper {
    justify-content: flex-start;
  }
}
