:root {
  color-scheme: dark;
  --bg: #10100f;
  --ink: #f7f3ea;
  --muted: #bdb6a7;
  --line: rgba(247, 243, 234, 0.16);
  --panel: rgba(20, 22, 20, 0.76);
  --panel-strong: rgba(16, 18, 17, 0.9);
  --green: #b7ff5a;
  --cyan: #75e6ff;
  --pink: #ff6faa;
  --yellow: #ffd36a;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  margin: 0;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 20% 10%, rgba(117, 230, 255, 0.18), transparent 24rem),
    radial-gradient(circle at 82% 6%, rgba(255, 111, 170, 0.14), transparent 22rem),
    linear-gradient(180deg, #11110f 0%, #171712 48%, #0f1110 100%);
  color: var(--ink);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.scene {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.54;
}

.noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(115deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 46px 46px, 100% 6px;
  mask-image: linear-gradient(to bottom, black 0%, black 66%, transparent 100%);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  width: 100%;
  border-bottom: 1px solid var(--line);
  background: rgba(14, 15, 14, 0.78);
  backdrop-filter: blur(16px);
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 8px 0;
}

.brand,
nav,
.header-cta,
.menu-toggle {
  display: flex;
  align-items: center;
}

.brand {
  justify-self: start;
  width: max-content;
  gap: 0.7rem;
  font-weight: 800;
}

.brand img {
  display: block;
  width: clamp(176px, 22vw, 250px);
  height: auto;
}

nav {
  gap: 1.2rem;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

nav a {
  display: inline-flex;
  align-items: center;
}

nav a:hover,
footer a:hover {
  color: var(--green);
}

.header-cta {
  justify-self: end;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(183, 255, 90, 0.6);
  background: linear-gradient(135deg, var(--green), #75e6ff);
  color: #11140f;
  font-weight: 900;
  box-shadow: 0 0 28px rgba(183, 255, 90, 0.16);
}

.menu-toggle {
  display: none;
  width: 44px;
  aspect-ratio: 1;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.08);
  color: var(--ink);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: currentColor;
  transition:
    transform 180ms ease,
    opacity 180ms ease;
}

.menu-toggle[aria-expanded="true"] span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(340px, 0.74fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  width: min(1180px, calc(100% - 32px));
  min-height: calc(88svh - 80px);
  margin: 0 auto;
  padding: clamp(24px, 5vw, 60px) 0 clamp(24px, 4vw, 44px);
}

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

.eyebrow {
  margin: 0 0 1rem;
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  max-width: 820px;
  margin-bottom: 1.35rem;
  font-size: clamp(3.2rem, 7vw, 6rem);
  line-height: 0.9;
  letter-spacing: 0;
  text-wrap: balance;
}

.hero-text {
  max-width: 680px;
  margin-bottom: 2rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 1.8vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.button {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid var(--line);
  font-weight: 900;
  transition:
    transform 180ms ease,
    background 180ms ease,
    color 180ms ease;
}

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

.button.primary {
  background: var(--green);
  color: #12140f;
}

.button.secondary {
  background: rgba(247, 243, 234, 0.08);
}

.build-panel {
  border: 1px solid var(--line);
  background: var(--panel-strong);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.28);
  backdrop-filter: blur(18px);
}

.panel-top,
.panel-metric,
.terminal-lines,
.benefit-list,
.panel-note {
  padding: 18px;
}

.panel-top {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  border-bottom: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.offer-panel {
  align-self: center;
}

.offer-panel .panel-top span:last-child {
  color: var(--ink);
  font-size: 1.05rem;
}

.benefit-list {
  display: grid;
  gap: 0.62rem;
  margin: 0;
  list-style: none;
}

.benefit-list li {
  position: relative;
  padding-left: 1.2rem;
  color: #ebe6dc;
  font-size: 0.92rem;
  font-weight: 700;
}

.benefit-list li::before {
  position: absolute;
  left: 0;
  color: var(--green);
  content: "✓";
}

.benefit-list span {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
  font-weight: 700;
}

.panel-note {
  border-top: 1px solid var(--line);
  background: rgba(183, 255, 90, 0.06);
}

.panel-note p {
  margin: 0;
  color: var(--muted);
  font-size: 0.8rem;
}

.status-dot {
  width: 10px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 22px var(--green);
}

.terminal-lines p {
  margin: 0.75rem 0;
  color: #dcd7cd;
  font-family: "SFMono-Regular", Consolas, monospace;
  font-size: 0.88rem;
}

.terminal-lines span {
  color: var(--cyan);
}

.panel-metric {
  border-top: 1px solid var(--line);
  background: rgba(255, 211, 106, 0.1);
}

.panel-metric strong {
  display: block;
  color: var(--yellow);
  font-size: 2rem;
  line-height: 1;
}

.panel-metric span {
  color: var(--muted);
  font-size: 0.9rem;
}

.ticker {
  overflow: hidden;
  border-block: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.08);
}

.ticker div {
  display: flex;
  width: max-content;
  will-change: transform;
  animation: ticker 30s linear infinite;
}

.ticker span {
  flex: 0 0 auto;
  padding: 16px 28px;
  color: #f9f5ee;
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.section,
.closing {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(72px, 9vw, 120px) 0;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.4fr);
  gap: 2rem;
  align-items: end;
  margin-bottom: 2rem;
}

.section-heading.aligned {
  grid-template-columns: 1fr;
  max-width: 980px;
}

.section-heading.compact {
  grid-template-columns: 1fr;
  max-width: 740px;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(2.2rem, 5vw, 5rem);
  line-height: 0.95;
  text-wrap: balance;
}

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

.service-card,
.work-item,
.steps li,
.ownership {
  border: 1px solid var(--line);
  background: rgba(247, 243, 234, 0.07);
}

.service-card {
  min-height: 320px;
  padding: 22px;
}

.service-card.featured {
  background: #f7f3ea;
  color: #141414;
}

.card-index {
  display: inline-flex;
  margin-bottom: 4rem;
  color: var(--pink);
  font-weight: 900;
}

.featured .card-index {
  color: #187a8f;
}

.service-card h3,
.steps h3 {
  margin-bottom: 0.8rem;
  font-size: 1.45rem;
  line-height: 1;
}

.service-card p,
.steps p,
.closing p {
  color: var(--muted);
}

.service-card.featured p {
  color: #4b4b43;
}

.service-card strong {
  display: block;
  margin-top: 1.4rem;
}

.work-list {
  display: grid;
  gap: 0.75rem;
}

.ownership {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  padding: clamp(34px, 5vw, 56px);
}

.ownership p:last-child {
  margin: 0;
  color: #e5ded1;
  font-size: clamp(1.02rem, 1.6vw, 1.18rem);
}

.work-item {
  display: grid;
  grid-template-columns: 0.8fr 1.35fr 0.8fr;
  gap: 1rem;
  align-items: center;
  min-height: 96px;
  padding: 20px;
  transition:
    transform 180ms ease,
    background 180ms ease;
}

.work-item:hover {
  transform: translateX(8px);
  background: rgba(183, 255, 90, 0.12);
}

.work-item span {
  color: var(--green);
  font-size: 0.85rem;
  font-weight: 900;
  text-transform: uppercase;
}

.work-item strong {
  font-size: clamp(1.25rem, 2.6vw, 2rem);
  line-height: 1;
}

.work-item small {
  justify-self: end;
  color: var(--muted);
  font-weight: 700;
}

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

.about {
  display: grid;
  grid-template-columns: minmax(280px, 0.76fr) minmax(0, 1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.about-image {
  overflow: visible;
  border: 0;
  background: transparent;
}

.about-image img {
  display: block;
  width: 100%;
  max-height: 620px;
  object-fit: contain;
  filter: drop-shadow(0 28px 72px rgba(0, 0, 0, 0.34));
}

.about-copy p {
  max-width: 720px;
  color: var(--muted);
  font-size: 1.05rem;
}

.steps li {
  min-height: 260px;
  padding: 22px;
}

.steps span {
  display: grid;
  width: 42px;
  aspect-ratio: 1;
  place-items: center;
  margin-bottom: 3rem;
  background: var(--cyan);
  color: #111;
  font-weight: 900;
}

.closing {
  display: grid;
  min-height: 72svh;
  align-content: center;
  justify-items: start;
  border-top: 1px solid var(--line);
}

.closing h2 {
  max-width: 900px;
  margin-bottom: 1rem;
}

.closing p {
  max-width: 600px;
  font-size: 1.15rem;
}

footer {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 1rem;
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 26px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}

.whatsapp-link {
  justify-self: end;
  display: inline-grid;
  width: 48px;
  aspect-ratio: 1;
  place-items: center;
  transition: transform 180ms ease;
}

.whatsapp-link:hover {
  transform: translateY(-2px) scale(1.04);
}

.whatsapp-link svg {
  display: block;
  width: 46px;
  height: 46px;
}

@keyframes ticker {
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  nav {
    position: absolute;
    top: calc(100% + 1px);
    left: 0;
    display: grid;
    width: 100%;
    padding: 10px max(16px, calc((100% - 1180px) / 2));
    border-bottom: 1px solid var(--line);
    background: rgba(14, 15, 14, 0.96);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition:
      opacity 180ms ease,
      transform 180ms ease;
  }

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

  nav a {
    min-height: 46px;
    justify-content: flex-start;
    border-bottom: 1px solid rgba(247, 243, 234, 0.08);
  }

  .menu-toggle {
    display: inline-flex;
  }

  .hero,
  .section-heading,
  .service-grid,
  .steps,
  .ownership,
  .about {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .build-panel {
    max-width: 520px;
  }

  .service-card,
  .steps li {
    min-height: auto;
  }

  .card-index,
  .steps span {
    margin-bottom: 2rem;
  }

  .work-item {
    grid-template-columns: 1fr;
  }

  .work-item small {
    justify-self: start;
  }
}

@media (max-width: 560px) {
  .scene {
    opacity: 0.28;
  }

  .header-inner {
    width: min(100% - 22px, 1180px);
  }

  .brand img {
    width: 166px;
  }

  .header-cta {
    min-height: 36px;
    padding: 0 12px;
    font-size: 0.88rem;
  }

  .menu-toggle {
    width: 36px;
  }

  .hero,
  .section,
  .closing,
  footer {
    width: min(100% - 22px, 1180px);
  }

  footer {
    grid-template-columns: 1fr auto;
  }

  footer span:nth-child(2) {
    grid-column: 1;
  }

  .whatsapp-link {
    grid-column: 2;
    grid-row: 1 / span 2;
  }

  h1 {
    font-size: clamp(2.6rem, 15vw, 4.35rem);
  }

  .button {
    width: 100%;
  }
}

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

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