﻿:root {
  --bg: #05070b;
  --bg-soft: #0a1220;
  --panel: #0f1a2b;
  --text: #e5f2ff;
  --muted: #93a5bc;
  --electric: #1e7bff;
  --neon: #16f2ff;
  --line: rgba(22, 242, 255, 0.22);
  --shadow: 0 0 24px rgba(30, 123, 255, 0.22);
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}

body {
  font-family: "Poppins", sans-serif;
  background: radial-gradient(circle at 20% 10%, #0d1c33 0%, var(--bg) 45%), var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

h1,
h2,
h3,
.brand-title {
  font-family: "Orbitron", sans-serif;
  letter-spacing: 0.03em;
}

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

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

.container {
  width: min(1120px, 92%);
  margin-inline: auto;
}

.background-grid {
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  background-size: 40px 40px;
  z-index: -3;
}

#particles-js {
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: 0.65;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  backdrop-filter: blur(8px);
  background: rgba(5, 7, 11, 0.78);
  border-bottom: 1px solid rgba(22, 242, 255, 0.16);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.brand-logo,
.footer-logo {
  width: 55px;
  height: 50px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-title {
  font-size: 1rem;
}

.brand-subtitle {
  color: var(--muted);
  font-size: 0.68rem;
}

.nav-toggle {
  width: 46px;
  height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: rgba(16, 29, 49, 0.45);
  display: grid;
  place-content: center;
  gap: 5px;
  cursor: pointer;
}

.nav-toggle span {
  width: 20px;
  height: 2px;
  background: var(--text);
  border-radius: 4px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-toggle.is-open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.is-open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.main-nav {
  position: absolute;
  top: 100%;
  right: 4%;
  left: 4%;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: rgba(7, 11, 19, 0.98);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 12px;
  transform-origin: top;
  transform: scaleY(0);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.28s ease, opacity 0.28s ease;
}

.main-nav a {
  padding: 10px 12px;
  border-radius: 10px;
  color: var(--text);
}

.main-nav a:hover {
  background: rgba(22, 242, 255, 0.08);
}

.main-nav.is-open {
  transform: scaleY(1);
  opacity: 1;
  pointer-events: auto;
}

main {
  padding-top: 78px;
}

.hero {
  position: relative;
  min-height: calc(100vh - 78px);
  display: grid;
  align-items: center;
  padding: 48px 0;
  isolation: isolate;
}

.hero-visual {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  z-index: -1;
}

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

.eyebrow {
  color: var(--neon);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 0.78rem;
}

h1 {
  font-size: clamp(1.8rem, 5.8vw, 3.5rem);
  margin: 0.45rem 0 0.8rem;
}

.hero-text {
  color: var(--muted);
  max-width: 60ch;
}

.hero-wave {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background:
    radial-gradient(ellipse at 20% 20%, rgba(30, 123, 255, 0.38), transparent 64%),
    radial-gradient(ellipse at 80% 20%, rgba(22, 242, 255, 0.32), transparent 64%);
  filter: blur(22px);
  animation: waveMove 8s ease-in-out infinite;
}

@keyframes waveMove {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-12px);
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 12px;
  padding: 0.72rem 1.05rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn-primary {
  color: #041221;
  background: linear-gradient(90deg, var(--neon), #70f8ff);
  box-shadow: 0 0 18px rgba(22, 242, 255, 0.3);
}

.btn-whatsapp {
  background: rgba(30, 123, 255, 0.18);
  border-color: rgba(30, 123, 255, 0.35);
}

.services,
.contact {
  padding: 72px 0;
}

h2 {
  font-size: clamp(1.4rem, 4vw, 2rem);
  margin-bottom: 0.4rem;
}

.section-copy {
  color: var(--muted);
  max-width: 72ch;
}

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

.service-card {
  background: linear-gradient(145deg, rgba(15, 26, 43, 0.95), rgba(10, 18, 32, 0.95));
  border: 1px solid rgba(22, 242, 255, 0.18);
  border-radius: 14px;
  padding: 14px;
  min-height: 185px;
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.service-card:hover {
  box-shadow: var(--shadow);
  border-color: rgba(22, 242, 255, 0.5);
  transform: translateY(-5px);
}

.service-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(30, 123, 255, 0.2);
  margin-bottom: 8px;
  color: #7cecff;
}

.service-icon svg {
  width: 20px;
  height: 20px;
}

.service-card h3 {
  margin: 0 0 0.4rem;
  font-size: 1rem;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
}

.contact-wrap {
  display: grid;
  gap: 20px;
}

.contact-form {
  background: linear-gradient(145deg, rgba(9, 16, 27, 0.95), rgba(10, 18, 32, 0.95));
  border: 1px solid rgba(22, 242, 255, 0.2);
  border-radius: 16px;
  padding: 18px;
}

.field {
  margin-bottom: 12px;
}

label {
  display: block;
  font-size: 0.86rem;
  margin-bottom: 5px;
  color: #b8cbde;
}

input,
textarea {
  width: 100%;
  border: 1px solid rgba(22, 242, 255, 0.25);
  border-radius: 10px;
  background: rgba(8, 16, 27, 0.78);
  color: var(--text);
  padding: 0.72rem 0.82rem;
  font: inherit;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
textarea:focus {
  border-color: var(--neon);
  box-shadow: 0 0 14px rgba(22, 242, 255, 0.22);
}

textarea {
  min-height: 124px;
  resize: vertical;
}

.btn-full {
  width: 100%;
}

.form-status {
  min-height: 22px;
  margin: 10px 0 0;
  font-size: 0.92rem;
}

.form-status.ok {
  color: #6dffb1;
}

.form-status.error {
  color: #ff7f93;
}

.site-footer {
  border-top: 1px solid rgba(22, 242, 255, 0.14);
  background: rgba(4, 7, 12, 0.95);
}

.footer-inner {
  min-height: 88px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #95a9c0;
  text-align: center;
}

@media (min-width: 860px) {
  .nav-toggle {
    display: none;
  }

  .main-nav {
    position: static;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    background: transparent;
    border: 0;
    padding: 0;
    flex-direction: row;
    align-items: center;
    width: auto;
    gap: 10px;
  }

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

  .service-card {
    min-height: 220px;
    padding: 18px;
  }

  .contact-wrap {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

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