/* ============================================================
   NetVorTec — site.css
   Dark, calm corporate. Accent = logo red.
   ============================================================ */

:root {
  --bg: #0f1318;
  --bg-panel: #151a21;
  --bg-soft: #12171d;
  --line: #232b36;
  --line-strong: #2d3744;
  --text: #e8ebef;
  --muted: #98a2b3;
  --red: #ec1c24;
  --red-dark: #c4161d;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 14px 34px rgba(0, 0, 0, 0.35);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

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

.container {
  max-width: 1080px;
  margin-inline: auto;
  padding-inline: 1.5rem;
}

/* ---------------- Nav ---------------- */
.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.25s ease, border-color 0.25s ease;
  border-bottom: 1px solid transparent;
}
.nav.is-scrolled {
  background: rgba(15, 19, 24, 0.88);
  backdrop-filter: blur(12px);
  border-bottom-color: var(--line);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-decoration: none;
}
.nav__logo { height: 34px; width: auto; }
.nav__name {
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.01em;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 1.9rem;
}
.nav__links a:not(.btn) {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}
.nav__links a:not(.btn):hover { color: var(--text); }

.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
}
.nav__toggle span {
  width: 22px;
  height: 2px;
  background: var(--text);
  transition: transform 0.25s ease, opacity 0.25s 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); }

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.72rem 1.4rem;
  border-radius: 10px;
  font-weight: 700;
  font-size: 0.92rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.18s ease, border-color 0.18s ease, transform 0.18s ease, box-shadow 0.18s ease;
}
.btn--primary {
  background: var(--red);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(236, 28, 36, 0.25);
}
.btn--primary:hover {
  background: var(--red-dark);
  transform: translateY(-1px);
}
.btn--ghost {
  border-color: var(--line-strong);
  color: var(--text);
}
.btn--ghost:hover {
  border-color: var(--muted);
  transform: translateY(-1px);
}
.btn--sm { padding: 0.5rem 1.05rem; font-size: 0.84rem; }
.btn--lg { padding: 0.85rem 1.7rem; font-size: 0.97rem; }

/* ---------------- Type helpers ---------------- */
.eyebrow {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--muted);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--red);
  flex: none;
}

h1, h2, h3 { line-height: 1.15; letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6.5vw, 4.2rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 4vw, 2.4rem); font-weight: 800; margin-bottom: 1.1rem; }
h3 { font-size: 1.2rem; font-weight: 700; }

/* ---------------- Hero ---------------- */
.hero {
  padding: 10.5rem 0 6.5rem;
  position: relative;
  overflow: hidden;
}
.hero__watermark {
  position: absolute;
  top: 50%;
  right: 2.5rem;
  transform: translateY(-52%);
  height: 500px;
  width: auto;
  opacity: 0.06;
  pointer-events: none;
  user-select: none;
  z-index: 0;
}
.hero .container { position: relative; z-index: 1; }
.hero__lead {
  max-width: 620px;
  margin-top: 1.4rem;
  font-size: 1.12rem;
  color: var(--muted);
}
.hero__lead strong { color: var(--text); }
.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2.2rem;
}
.hero__rule {
  max-width: 1080px;
  margin: 5.5rem auto 0;
  padding-inline: 1.5rem;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--line-strong) 18%, var(--line-strong) 82%, transparent);
}

/* ---------------- Sections ---------------- */
.section { padding: 5.5rem 0; }
.section--panel {
  background: var(--bg-soft);
  border-block: 1px solid var(--line);
}
.section__head { max-width: 640px; margin-bottom: 2.8rem; }
.section__head p:not(.eyebrow) { color: var(--muted); font-size: 1.02rem; }

/* ---------------- About ---------------- */
.about__grid {
  display: grid;
  grid-template-columns: 1.25fr 0.9fr;
  gap: 3rem;
  align-items: start;
}
.about__copy p:not(.eyebrow) {
  color: var(--muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}
.about__copy strong { color: var(--text); }

.principles {
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.7rem;
}
.principles h3 { margin-bottom: 1.1rem; font-size: 1.02rem; }
.principles ul { list-style: none; display: flex; flex-direction: column; gap: 1rem; }
.principles li strong { display: block; font-size: 0.95rem; }
.principles li span { color: var(--muted); font-size: 0.88rem; }

/* ---------------- Product (HEI) ---------------- */
.product {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2.2rem;
  align-items: center;
  background: var(--bg-panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.product:hover {
  border-color: var(--line-strong);
  transform: translateY(-3px);
  box-shadow: var(--shadow);
}
.product__logo {
  width: 92px;
  height: auto;
  background: var(--white);
  border-radius: 18px;
  padding: 14px;
}
.product__tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--red);
  margin-bottom: 0.45rem;
}
.product__body h3 { margin-bottom: 0.7rem; }
.product__body p:not(.product__tag) {
  color: var(--muted);
  font-size: 0.98rem;
  margin-bottom: 1.4rem;
  max-width: 58ch;
}

/* ---------------- Contact ---------------- */
.contact { max-width: 620px; }
.contact > p:not(.eyebrow) { color: var(--muted); margin-bottom: 1.6rem; }
.contact__mail {
  display: inline-block;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 700;
  color: var(--text);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 0.2rem;
  transition: color 0.18s ease;
}
.contact__mail:hover { color: var(--red); }
.contact__nojs { margin-top: 1rem; font-size: 0.86rem; color: var(--muted); }

/* ---------------- Footer ---------------- */
.footer {
  border-top: 1px solid var(--line);
  padding: 2.2rem 0;
  background: var(--bg-soft);
}
.footer__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.2rem;
}
.footer__brand {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  text-decoration: none;
  font-weight: 700;
}
.footer__brand img { height: 26px; width: auto; }
.footer__links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.footer__links a {
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  text-decoration: none;
  transition: color 0.18s ease;
}
.footer__links a:hover { color: var(--text); }
.footer__legal { font-size: 0.78rem; color: var(--muted); }

/* ---------------- Reveal ---------------- */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

/* ---------------- Responsive ---------------- */
@media (max-width: 900px) {
  .about__grid { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; text-align: left; }
  .product__logo { width: 76px; }
  .hero__watermark { height: 380px; right: 1.5rem; opacity: 0.05; }
}

@media (max-width: 640px) {
  .nav__toggle { display: flex; }
  .nav__links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: rgba(15, 19, 24, 0.98);
    border-bottom: 1px solid var(--line);
    padding: 0.5rem 1.25rem 1.1rem;
    display: none;
  }
  .nav__links.is-open { display: flex; }
  .nav__links a:not(.btn) { padding: 0.8rem 0.3rem; border-bottom: 1px solid var(--line); }
  .nav__cta { margin-top: 0.7rem; text-align: center; }
  .hero { padding-top: 8.5rem; }
  .hero__watermark { display: none; }
  .hero__actions .btn { flex: 1 1 100%; }
  .section { padding: 4rem 0; }
  .footer__inner { flex-direction: column; text-align: center; }
}
