:root {
  --carbon: #050706;
  --graphite: #0c1110;
  --panel: #111814;
  --panel-strong: #18211b;
  --white: #f8fbf8;
  --muted: rgba(248, 251, 248, 0.68);
  --line: rgba(255, 255, 255, 0.13);
  --green: #8cc63f;
  --green-soft: #b3e56b;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.38);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--carbon);
  color: var(--white);
  font-family: Inter, Arial, Helvetica, sans-serif;
  line-height: 1.5;
}

body.menu-open {
  overflow: hidden;
}

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

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

.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;
}

.svg-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

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

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(5, 7, 6, 0.76);
  backdrop-filter: blur(18px);
  transition: background 200ms ease, box-shadow 200ms ease;
}

.site-header.is-scrolled {
  background: rgba(5, 7, 6, 0.94);
  box-shadow: 0 12px 44px rgba(0, 0, 0, 0.24);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  position: relative;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 50%;
}

.brand-mark::before,
.brand-mark::after {
  content: "";
  position: absolute;
  border: 2px solid rgba(255, 255, 255, 0.82);
  border-radius: 50%;
}

.brand-mark::before {
  inset: 5px;
}

.brand-mark::after {
  inset: 10px;
  border-color: rgba(140, 198, 63, 0.78);
}

.brand-mark span {
  width: 18px;
  height: 26px;
  background: linear-gradient(90deg, var(--green) 0 48%, var(--white) 48% 100%);
  clip-path: polygon(0 50%, 100% 0, 100% 100%);
  z-index: 1;
}

.brand-copy strong {
  display: block;
  font-size: 18px;
  font-weight: 850;
  line-height: 1;
}

.brand-copy strong span {
  color: var(--green);
}

.brand-copy em {
  display: block;
  margin-top: 3px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 11px;
  font-style: normal;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-menu a,
.nav-dropdown-toggle {
  border-radius: 8px;
  padding: 9px 12px;
  color: rgba(255, 255, 255, 0.74);
  font-size: 13px;
  font-weight: 700;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: background 180ms ease, color 180ms ease;
}

.nav-menu a:hover,
.nav-dropdown:hover .nav-dropdown-toggle,
.nav-dropdown.is-open .nav-dropdown-toggle,
.nav-menu a.is-active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle::after {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 8px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  z-index: 80;
  display: grid;
  min-width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(8, 12, 10, 0.97);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 160ms ease, transform 160ms ease;
}

.nav-dropdown:hover .nav-dropdown-menu,
.nav-dropdown:focus-within .nav-dropdown-menu,
.nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  padding: 11px 12px;
  color: rgba(255, 255, 255, 0.76);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border: 0;
  border-radius: 999px;
  padding: 0 18px;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.nav-cta,
.button-primary {
  background: var(--green);
  color: #091006;
  box-shadow: 0 0 38px rgba(140, 198, 63, 0.24);
}

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

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

.button-primary:hover {
  background: var(--white);
}

.button-secondary:hover {
  border-color: var(--green);
  background: rgba(140, 198, 63, 0.1);
}

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

.nav-toggle span:not(.sr-only) {
  display: block;
  width: 18px;
  height: 2px;
  margin: 4px auto;
  background: currentColor;
}

.hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  padding: 118px 0 56px;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.98), rgba(5, 7, 6, 0.64) 46%, rgba(5, 7, 6, 0.92)),
    linear-gradient(0deg, var(--carbon), rgba(5, 7, 6, 0) 38%);
  z-index: 1;
}

.server-visual {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 44%, rgba(140, 198, 63, 0.16), transparent 16%),
    linear-gradient(90deg, rgba(30, 51, 91, 0.28), transparent 20% 80%, rgba(30, 51, 91, 0.28)),
    var(--carbon);
}

.rack {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 42%;
  opacity: 0.9;
  background:
    repeating-linear-gradient(0deg, rgba(255,255,255,0.06) 0 2px, transparent 2px 44px),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.08) 0 2px, transparent 2px 64px),
    linear-gradient(90deg, rgba(7, 13, 35, 0.95), rgba(10, 18, 32, 0.32));
}

.rack::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle, #8cc63f 0 2px, transparent 3px) 18px 18px / 70px 52px,
    radial-gradient(circle, #4b7fff 0 2px, transparent 3px) 48px 38px / 82px 58px;
  opacity: 0.58;
}

.rack-left {
  left: -9%;
  transform: skewY(-5deg);
}

.rack-right {
  right: -9%;
  transform: skewY(5deg) scaleX(-1);
}

.aisle {
  position: absolute;
  inset: 16% 37% 0;
  background: linear-gradient(180deg, rgba(255,255,255,0.24), rgba(255,255,255,0.02));
  clip-path: polygon(44% 0, 56% 0, 100% 100%, 0 100%);
  opacity: 0.48;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 0.96fr 0.82fr;
  gap: 42px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--green-soft);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

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

h1,
h2,
h3,
.panel-title {
  font-family: Inter, Arial, Helvetica, sans-serif;
  font-weight: 850;
  line-height: 1.08;
}

h1 {
  max-width: 650px;
  margin-bottom: 18px;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1.12;
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(24px, 2.9vw, 36px);
}

h3 {
  margin-bottom: 10px;
  font-size: 20px;
}

.hero-text {
  max-width: 590px;
  color: rgba(255, 255, 255, 0.76);
  font-size: clamp(15px, 1.15vw, 17px);
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}

.service-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.04));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow);
}

.panel-title {
  margin-bottom: 14px;
  color: var(--green);
  font-size: clamp(20px, 2.2vw, 28px);
  text-transform: uppercase;
}

.service-panel a {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  padding: 9px 12px;
  background: rgba(255, 255, 255, 0.08);
  font-size: clamp(15px, 1.1vw, 18px);
  font-weight: 800;
  transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.service-panel a + a {
  margin-top: 9px;
}

.service-panel a:hover {
  transform: translateY(-3px);
  border-color: rgba(140, 198, 63, 0.7);
  background: rgba(140, 198, 63, 0.12);
}

.service-panel .service-logo,
.card-icon {
  display: block;
  flex: 0 0 auto;
  border-radius: 8px;
  background: var(--green);
  color: var(--carbon);
  fill: none;
  stroke: currentColor;
  stroke-width: 4.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  padding: 10px;
  box-shadow:
    inset 0 -12px 22px rgba(5, 7, 6, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.28),
    0 0 24px rgba(140, 198, 63, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.service-panel .service-logo {
  width: 40px;
  height: 40px;
  padding: 8px;
}

.service-panel .service-name {
  display: block;
  min-width: 0;
}

.service-panel a:hover .service-logo,
.card:hover .card-icon {
  background: var(--green-soft);
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    inset 0 -12px 22px rgba(5, 7, 6, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.34),
    0 0 34px rgba(140, 198, 63, 0.3);
}

.section {
  padding: 86px 0;
}

.split,
.solution-grid,
.contact-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 64px;
}

.about-content,
.solution-grid p,
.contact-info p,
.section-intro p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.75;
}

.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 32px;
}

.stats div {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.06);
}

.stats strong {
  display: block;
  color: var(--green);
  font-size: 28px;
  line-height: 1;
}

.stats span {
  display: block;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 14px;
}

.services {
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px),
    var(--graphite);
  background-size: 48px 48px;
}

.section-intro {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.cards,
.method-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
}

.card,
.method-card {
  min-height: 238px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 22px;
  background:
    radial-gradient(circle at top right, rgba(140, 198, 63, 0.18), transparent 34%),
    linear-gradient(145deg, rgba(255,255,255,0.1), rgba(255,255,255,0.035));
  transition: transform 220ms ease, border-color 220ms ease, box-shadow 220ms ease;
}

.card:hover,
.method-card:hover {
  transform: translateY(-8px);
  border-color: rgba(140, 198, 63, 0.7);
  box-shadow: 0 0 40px rgba(140, 198, 63, 0.16);
}

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

.method-card {
  min-height: 210px;
}

.method-card span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--green);
  color: var(--carbon);
  font-weight: 900;
}

.method-card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.card-icon {
  width: 44px;
  height: 44px;
  padding: 8px;
  margin-bottom: 18px;
}

.card p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 14px;
  line-height: 1.65;
}

.solution-grid {
  align-items: center;
}

.solution-list {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.06);
}

.solution-list ul {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.solution-list li {
  position: relative;
  border-radius: 8px;
  padding: 14px 14px 14px 40px;
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.78);
  font-size: 15px;
}

.solution-list li::before {
  content: "";
  position: absolute;
  top: 20px;
  left: 18px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

.service-page-hero {
  position: relative;
  overflow: hidden;
  padding: 132px 0 72px;
  background:
    linear-gradient(90deg, rgba(5, 7, 6, 0.98), rgba(5, 7, 6, 0.76)),
    radial-gradient(circle at 76% 20%, rgba(140, 198, 63, 0.2), transparent 26%),
    var(--carbon);
}

.service-page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 44px 44px;
  opacity: 0.5;
}

.service-page-hero .shell {
  position: relative;
  z-index: 1;
  max-width: 900px;
}

.service-page-hero h1 {
  max-width: 760px;
}

.breadcrumb {
  display: inline-flex;
  gap: 8px;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.62);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumb a {
  color: var(--green-soft);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: start;
}

.service-lead,
.service-panel-box,
.deliverable-card,
.process-step {
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    radial-gradient(circle at top right, rgba(140, 198, 63, 0.13), transparent 35%),
    rgba(255, 255, 255, 0.055);
}

.service-lead {
  padding: 26px;
  position: sticky;
  top: 104px;
}

.service-lead p,
.service-panel-box p,
.deliverable-card p,
.process-step p {
  color: rgba(255, 255, 255, 0.68);
  font-size: 15px;
  line-height: 1.7;
}

.service-badge {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border-radius: 8px;
  background: var(--green);
  color: var(--carbon);
  font-weight: 900;
}

.service-panel-box {
  padding: 24px;
}

.service-panel-box + .service-panel-box {
  margin-top: 16px;
}

.check-list {
  display: grid;
  gap: 12px;
  padding: 0;
  margin: 18px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 26px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 15px;
}

.check-list li::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 0;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--green);
}

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

.process-step,
.deliverable-card {
  padding: 22px;
}

.process-step span {
  display: block;
  margin-bottom: 14px;
  color: var(--green);
  font-weight: 900;
}

.service-cta-band {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  border: 1px solid rgba(140, 198, 63, 0.34);
  border-radius: 8px;
  padding: 28px;
  background: linear-gradient(135deg, rgba(140, 198, 63, 0.18), rgba(255, 255, 255, 0.055));
}

.service-cta-band p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
}

.contact {
  background: var(--white);
  color: var(--carbon);
}

.contact .eyebrow,
.contact-lines a {
  color: #5b921a;
}

.contact-info p {
  color: rgba(5, 7, 6, 0.68);
}

.contact-lines {
  display: grid;
  gap: 12px;
  margin-top: 32px;
  font-weight: 900;
}

.contact-lines span {
  color: rgba(5, 7, 6, 0.82);
}

.contact-form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  border-radius: 8px;
  padding: 26px;
  background: var(--carbon);
  color: var(--white);
  box-shadow: var(--shadow);
}

.contact-form label {
  display: grid;
  gap: 8px;
}

.contact-form span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  font-weight: 800;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  outline: none;
  transition: border-color 180ms ease, background 180ms ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--green);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form option {
  background: var(--carbon);
}

.contact-form textarea {
  min-height: 132px;
  resize: vertical;
}

.full {
  grid-column: 1 / -1;
}

.footer {
  border-top: 1px solid var(--line);
  padding: 30px 0;
  background: var(--carbon);
}

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

.footer p {
  margin: 0;
  color: rgba(255, 255, 255, 0.56);
  font-size: 14px;
}

.socials {
  display: flex;
  gap: 10px;
}

.socials a,
.whatsapp {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-weight: 1000;
}

.socials a:hover {
  border-color: var(--green);
  color: var(--green);
}

.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 60;
  width: 54px;
  height: 54px;
  border: 0;
  background: #25d366;
  color: #071006;
  box-shadow: 0 0 36px rgba(37, 211, 102, 0.36);
}

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

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

@media (max-width: 1040px) {
  .nav-cta {
    display: none;
  }

  .hero-grid,
  .split,
  .solution-grid,
  .contact-grid,
  .service-detail-grid {
    grid-template-columns: 1fr;
  }

  .service-lead {
    position: static;
  }

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

  .method-grid,
  .process-grid,
  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

@media (min-width: 1280px) {
  .hero {
    padding-top: 112px;
  }

  h1 {
    font-size: 42px;
    max-width: 620px;
  }

  .hero-text {
    font-size: 16px;
    max-width: 560px;
  }

  .service-panel {
    max-width: 560px;
    margin-left: auto;
  }

  .service-panel a {
    min-height: 46px;
    font-size: 16px;
  }
}

@media (max-width: 760px) {
  .shell {
    width: min(100% - 28px, var(--max));
  }

  .nav {
    min-height: 70px;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    position: fixed;
    inset: 70px 0 auto;
    display: grid;
    gap: 6px;
    padding: 18px 14px 24px;
    border-bottom: 1px solid var(--line);
    background: rgba(5, 7, 6, 0.98);
    transform: translateY(-120%);
    transition: transform 220ms ease;
  }

  .nav-menu.is-open {
    transform: translateY(0);
  }

  .nav-menu a {
    padding: 14px;
  }

  .nav-dropdown {
    display: grid;
  }

  .nav-dropdown-toggle {
    width: 100%;
    padding: 14px;
    text-align: left;
  }

  .nav-dropdown-menu {
    position: static;
    display: none;
    min-width: 0;
    margin: 0 0 8px;
    border-color: rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .nav-dropdown.is-open .nav-dropdown-menu {
    display: grid;
  }

  .hero {
    min-height: auto;
    padding: 112px 0 62px;
  }

  .service-page-hero {
    padding: 104px 0 58px;
  }

  .rack {
    width: 58%;
  }

  .rack-left {
    left: -30%;
  }

  .rack-right {
    right: -30%;
  }

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

  .service-panel {
    padding: 16px;
  }

  .service-panel a {
    min-height: 52px;
    font-size: 17px;
  }

  .service-panel .service-logo {
    width: 42px;
    height: 42px;
  }

  .section {
    padding: 66px 0;
  }

  .stats,
  .cards,
  .method-grid,
  .contact-form,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .card {
    min-height: auto;
  }

  .footer-grid {
    justify-items: start;
  }

  .service-cta-band {
    grid-template-columns: 1fr;
    padding: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }

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