:root {
  color-scheme: dark;
  --bg: #090c0a;
  --panel: #0e1410;
  --panel-soft: #121a15;
  --text: #fffdf6;
  --muted: #bac7bf;
  --subtle: #718078;
  --line: rgba(255, 255, 255, 0.08);
  --green: #26d376;
  --green-strong: #18b866;
  --gold: #d5ad42;
  --radius: 8px;
  --shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
}

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

a {
  color: inherit;
}

.container {
  width: min(1144px, calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 78px;
  padding: 10px max(20px, calc((100vw - 1144px) / 2));
  background: rgba(5, 10, 7, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  flex: 0 0 auto;
}

.brand img {
  width: 82px;
  height: auto;
}

.site-nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 28px;
}

.hero-actions .button,
.phone-pill {
  min-height: 54px;
}

.hero-actions .button {
  padding-inline: 30px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.site-nav a,
.ghost-link,
.system-link {
  color: rgba(255, 253, 246, 0.78);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
}

.site-nav a:hover,
.ghost-link:hover,
.system-link:hover,
.footer-grid a:hover {
  color: var(--text);
}

.system-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 40px;
  padding: 0 18px;
  border: 1px solid rgba(213, 173, 66, 0.42);
  border-radius: 999px;
  color: #dfc878;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 48px;
  padding: 0 28px;
  border: 0;
  border-radius: 999px;
  background: linear-gradient(135deg, #32df82, var(--green-strong));
  color: #020806;
  font-family: Sora, Manrope, sans-serif;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 16px 36px rgba(24, 184, 102, 0.34);
}

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

.button-small {
  min-height: 40px;
  padding-inline: 20px;
  font-size: 13px;
}

.whatsapp-link {
  color: #03100a;
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel);
  color: var(--text);
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
}

.section {
  padding: clamp(72px, 9vw, 112px) 0;
}

.section-muted,
.contact-section {
  background: #0b0f0c;
  border-block: 1px solid rgba(255, 255, 255, 0.06);
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  background:
    radial-gradient(circle at 78% 50%, rgba(18, 110, 60, 0.24), transparent 36%),
    linear-gradient(90deg, rgba(5, 10, 7, 0.98) 0%, rgba(5, 10, 7, 0.88) 52%, rgba(5, 10, 7, 0.96) 100%);
}

.hero::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  content: "";
  background: url("../assets/hero-infra.svg") center / cover no-repeat;
  opacity: 1;
  transform: scaleX(-1);
  pointer-events: none;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  content: "";
  background-image:
    linear-gradient(0deg, rgba(19, 26, 12, 0.58), transparent 30%),
    linear-gradient(90deg, rgba(5, 10, 7, 0.96) 0%, rgba(5, 10, 7, 0.74) 52%, rgba(5, 10, 7, 0.92) 100%),
    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: auto, auto, 58px 58px, 58px 58px;
  mask-image: linear-gradient(90deg, black 0%, black 82%, transparent 100%);
  pointer-events: none;
}

.hero-grid,
.split,
.about-grid,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(36px, 6vw, 72px);
  align-items: center;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: block;
}

.hero-copy {
  max-width: 780px;
  padding: 40px 0 10px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 28px;
  padding: 8px 16px;
  border: 1px solid rgba(38, 211, 118, 0.32);
  border-radius: 999px;
  background: rgba(4, 24, 13, 0.74);
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  line-height: 1.2;
  text-transform: uppercase;
}

.hero-badge span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 18px rgba(38, 211, 118, 0.8);
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--green);
  font-family: "JetBrains Mono", monospace;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: Sora, Manrope, sans-serif;
  line-height: 1.08;
}

h1 {
  max-width: 850px;
  font-size: clamp(48px, 5.7vw, 78px);
  letter-spacing: -1px;
}

h2 {
  max-width: 680px;
  font-size: clamp(34px, 5vw, 52px);
}

h3 {
  font-size: 18px;
}

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

.hero-lead {
  max-width: 660px;
  margin: 26px 0 38px;
  color: rgba(220, 228, 221, 0.84);
  font-size: clamp(18px, 1.7vw, 21px);
  line-height: 1.45;
}

.hero-lead strong,
.accent-green {
  color: var(--green);
}

.accent-gold {
  color: var(--gold);
}

.phone-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 54px;
  padding: 0 26px;
  border: 1px solid rgba(255, 255, 255, 0.17);
  border-radius: 999px;
  background: rgba(10, 15, 12, 0.68);
  color: var(--text);
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.phone-pill svg {
  color: var(--green);
}

.operations-panel,
.about-card,
.quote-form {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(14, 20, 16, 0.88);
  box-shadow: var(--shadow);
}

.operations-panel {
  padding: 28px;
}

.panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--line);
}

.panel-head span,
.service-card span,
dt,
.form-note {
  color: var(--subtle);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.panel-head strong {
  color: var(--green);
}

.metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  padding: 22px 0;
}

.metrics div,
.service-card,
.feature-list div,
.info-grid div {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
}

.metrics div {
  padding: 16px 12px;
}

.metrics strong {
  display: block;
  font-family: Sora, sans-serif;
  font-size: 22px;
}

.metrics span {
  color: var(--muted);
  font-size: 12px;
}

.service-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.service-stack span {
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(33, 193, 107, 0.12);
  color: #aef5cc;
  font-size: 13px;
  font-weight: 700;
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 36px;
}

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

.service-card {
  min-height: 190px;
  padding: 24px;
}

.service-card span {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--gold);
}

.service-card p {
  margin-bottom: 0;
}

.split {
  grid-template-columns: 0.85fr 1fr;
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  padding: 18px;
}

.feature-list strong,
.contact-list strong,
.footer-grid strong {
  display: block;
  color: var(--text);
}

.feature-list span,
.contact-list span,
.footer-grid span {
  color: var(--muted);
}

.about-card {
  padding: 34px;
}

.about-card p {
  margin: 30px 0 0;
}

.map-card {
  overflow: hidden;
  margin-top: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #090c0a;
}

.map-card iframe {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 220px;
  border: 0;
  filter: grayscale(1) invert(0.9) contrast(0.86) saturate(0.65);
}

.map-card a {
  display: block;
  padding: 16px 18px 18px;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.03);
}

.map-card strong,
.map-card span {
  display: block;
}

.map-card strong {
  color: var(--text);
  font-size: 15px;
}

.map-card span {
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.info-grid div {
  padding: 16px;
}

dd {
  margin: 6px 0 0;
  color: var(--text);
  font-weight: 800;
}

.contact-list {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.contact-list a,
.contact-list div {
  display: block;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  text-decoration: none;
}

.quote-form {
  display: grid;
  gap: 16px;
  padding: clamp(22px, 4vw, 36px);
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--subtle);
  font-family: "JetBrains Mono", monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

input,
select,
textarea {
  width: 100%;
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: var(--radius);
  background: #090c0a;
  color: var(--text);
  font: 500 14px/1.4 Manrope, sans-serif;
  outline: 0;
}

input,
select {
  min-height: 46px;
  padding: 0 14px;
}

textarea {
  resize: vertical;
  padding: 13px 14px;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--green);
}

.form-note {
  margin: 0;
  text-align: center;
  text-transform: none;
}

.site-footer {
  border-top: 1px solid var(--line);
  background: #080a09;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 48px;
  padding: 54px 0 38px;
}

.footer-grid p {
  max-width: 330px;
}

.footer-grid div {
  display: grid;
  align-content: start;
  gap: 10px;
}

.footer-grid a {
  color: var(--muted);
  text-decoration: none;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--subtle);
  font-size: 12px;
}

@media (max-width: 920px) {
  .site-header {
    gap: 12px;
  }

  .header-actions {
    gap: 10px;
  }

  .menu-toggle {
    display: block;
    flex: 0 0 auto;
  }

  .site-nav {
    position: fixed;
    top: 78px;
    left: 0;
    right: 0;
    display: none;
    padding: 18px 20px 24px;
    background: rgba(9, 12, 10, 0.98);
    border-bottom: 1px solid var(--line);
  }

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

  .ghost-link,
  .whatsapp-link {
    display: none;
  }

  .system-link {
    min-height: 38px;
    padding-inline: 14px;
    font-size: 12px;
    white-space: nowrap;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header {
    min-height: 68px;
    padding-inline: 14px;
  }

  .brand img {
    width: 90px;
    height: auto;
  }

  .site-nav {
    top: 68px;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .metrics,
  .form-row,
  .service-grid,
  .info-grid {
    grid-template-columns: 1fr;
  }

  .hero-actions {
    display: grid;
  }

  .hero-badge {
    font-size: 10px;
    letter-spacing: 1.6px;
    white-space: normal;
  }

  .footer-bottom {
    flex-direction: column;
  }
}
