:root {
  --bg: #07070d;
  --surface: #0e0d18;
  --surface-2: #151126;
  --text: #fffffe;
  --muted: #a3a8b5;
  --purple: #2b0557;
  --blue: #2d61ff;
  --line: rgba(255, 255, 254, .13);
  --radius: 18px;
  --header: 72px;
  --max: 1280px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
}

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

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

button, a {
  -webkit-tap-highlight-color: transparent;
}

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

.shell {
  width: min(calc(100% - 40px), var(--max));
  margin-inline: auto;
}

.site-header {
  height: var(--header);
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  background: rgba(7, 7, 13, .72);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  width: 132px;
  height: 54px;
  display: grid;
  place-items: center;
  z-index: 101;
}

.brand img {
  width: 118px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-links a {
  color: var(--muted);
  padding: 10px 13px;
  border-radius: 10px;
  font-size: 14px;
  transition: .2s ease;
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  color: var(--text);
  background: rgba(255, 255, 255, .07);
}

.nav-cta,
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  background: var(--blue);
  color: #fff;
  font-weight: 700;
  white-space: nowrap;
  transition: transform .2s ease, background .2s ease, border-color .2s ease;
}

.nav-cta {
  min-height: 42px;
  padding-inline: 16px;
}

.btn:hover,
.nav-cta:hover {
  background: #2254e9;
  transform: translateY(-2px);
}

.btn:active,
.nav-cta:active {
  transform: scale(.98);
}

.btn.secondary {
  background: transparent;
  border-color: var(--line);
  color: var(--text);
}

.btn.secondary:hover {
  background: rgba(255, 255, 255, .07);
}

:focus-visible {
  outline: 3px solid #8ba7ff;
  outline-offset: 3px;
}

.menu-toggle {
  display: none;
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  border-radius: 10px;
  width: 44px;
  height: 44px;
  padding: 0;
  cursor: pointer;
  z-index: 101;
}

main {
  display: block;
}

.hero {
  position: relative;
  min-height: 100dvh;
  min-height: 100vh;
  padding-top: var(--header);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.world-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: -2;
}

.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(90deg, rgba(7, 7, 13, .97) 0%, rgba(7, 7, 13, .76) 42%, rgba(7, 7, 13, .08) 76%), linear-gradient(0deg, var(--bg), transparent 28%);
  pointer-events: none;
}

.hero-copy {
  width: min(700px, 62%);
  padding-block: 70px;
}

.eyebrow {
  margin: 0 0 18px;
  color: #8ba7ff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.hero h1,
.page-hero h1 {
  font-size: clamp(46px, 6.2vw, 88px);
  line-height: .96;
  letter-spacing: -.055em;
  margin: 0;
  max-width: 11ch;
}

.hero h1 span,
.page-hero h1 span {
  color: #7696ff;
}

.hero .lead,
.page-hero .lead {
  max-width: 52ch;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 21px);
  margin: 24px 0 30px;
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.world-status {
  position: absolute;
  right: clamp(24px, 5vw, 80px);
  bottom: 44px;
  width: min(320px, 31vw);
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(10, 9, 18, .72);
  backdrop-filter: blur(16px);
}

.world-status strong {
  display: block;
  margin-bottom: 4px;
}

.world-status span {
  color: var(--muted);
  font-size: 13px;
}

.section {
  padding: clamp(88px, 10vw, 144px) 0;
}

.section-tight {
  padding: 72px 0;
}

.section-heading {
  max-width: 780px;
  margin-bottom: 54px;
}

.section h2 {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1;
  letter-spacing: -.045em;
  margin: 0 0 20px;
}

.section-heading p,
.section-copy p {
  color: var(--muted);
  font-size: 18px;
  max-width: 62ch;
}

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

.service-card {
  position: relative;
  min-height: 280px;
  padding: 32px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--surface);
  overflow: hidden;
  transition: transform .25s ease, border-color .25s ease;
}

.service-card:hover {
  transform: translateY(-5px);
  border-color: rgba(118, 150, 255, .52);
}

.service-card .num {
  color: #7696ff;
  font-size: 13px;
}

.service-card h3 {
  font-size: clamp(24px, 3vw, 42px);
  line-height: 1.05;
  letter-spacing: -.035em;
  margin: 0 0 14px;
}

.service-card p {
  color: var(--muted);
  max-width: 43ch;
}

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
}

.process-item {
  padding: 28px 24px 10px 0;
  border-right: 1px solid var(--line);
  min-height: 210px;
}

.process-item:not(:first-child) {
  padding-left: 24px;
}

.process-item:last-child {
  border-right: 0;
}

.process-item strong {
  color: #7696ff;
}

.process-item h3 {
  font-size: 22px;
  margin: 54px 0 10px;
}

.process-item p {
  font-size: 14px;
  color: var(--muted);
}

.cta-panel {
  background: linear-gradient(135deg, var(--purple), #101633 72%);
  border: 1px solid rgba(118, 150, 255, .28);
  border-radius: var(--radius);
  padding: clamp(36px, 7vw, 88px);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
}

.cta-panel h2 {
  max-width: 12ch;
  margin-bottom: 0;
}

.site-footer {
  padding: 48px 0 28px;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: end;
}

.footer-brand img {
  width: 150px;
}

.footer-brand p {
  color: var(--muted);
  max-width: 42ch;
}

.footer-links {
  display: flex;
  gap: 20px;
  color: var(--muted);
  font-size: 14px;
}

.footer-meta {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  color: #777d8c;
  font-size: 12px;
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 22;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: #25d366;
  color: #07140b;
  box-shadow: 0 12px 38px rgba(0, 0, 0, .38);
  transition: transform .2s;
}

.whatsapp:hover {
  transform: translateY(-4px) scale(1.03);
}

.whatsapp svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

.page-hero {
  position: relative;
  min-height: 72dvh;
  padding: calc(var(--header) + 84px) 0 84px;
  display: flex;
  align-items: end;
  overflow: hidden;
}

.page-hero:before {
  content: "";
  position: absolute;
  width: 56vw;
  aspect-ratio: 1;
  right: -14vw;
  top: -20vw;
  border-radius: 50%;
  border: 1px solid rgba(118, 150, 255, .22);
  box-shadow: inset 0 0 120px rgba(45, 97, 255, .12);
  pointer-events: none;
}

.page-hero h1 {
  max-width: 13ch;
}

.page-hero .lead {
  margin-bottom: 0;
}

.list-services {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}

.service-row {
  background: var(--surface);
  padding: 36px;
  min-height: 250px;
}

.service-row h2 {
  font-size: 30px;
  margin: 60px 0 14px;
}

.service-row p {
  color: var(--muted);
}

.service-row span {
  color: #7696ff;
  font-size: 13px;
}

.projects {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 18px;
}

.project {
  min-height: 380px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  padding: 34px;
  background: linear-gradient(145deg, #121020, #08090f);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
}

.project:nth-child(3n) {
  grid-column: 1 / -1;
  min-height: 310px;
  background: linear-gradient(110deg, #100c1d, #121c3c);
}

.project h2 {
  font-size: clamp(30px, 4vw, 54px);
  max-width: 12ch;
}

.project p {
  color: var(--muted);
  max-width: 48ch;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.project-tags span {
  border: 1px solid var(--line);
  padding: 7px 10px;
  border-radius: 9px;
  color: #c5c9d3;
  font-size: 12px;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.reveal.visible {
  opacity: 1;
  transform: none;
}
