/* ===== RESET & VARIABLES ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg: #0a0f0a;
  --bg2: #0e150e;
  --bg3: #131a13;
  --border: #1e2e1e;
  --green-light: #6abf69;
  --green: #2d8c2d;
  --green-dark: #1a5c1a;
  --text: #d4e8d4;
  --text-muted: #7a9e7a;
  --white: #f0f7f0;
  --font-mono: 'Space Mono', monospace;
  --font-body: 'DM Sans', sans-serif;
  --radius: 6px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a { color: var(--green-light); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--white); }

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

main { flex: 1; }

/* ===== HEADER / NAV ===== */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 15, 10, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

header nav {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 2rem;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  height: 40px;
  width: auto;
  mix-blend-mode: screen;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul a {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  transition: color 0.2s;
}

nav ul a:hover,
nav ul a.active {
  color: var(--green-light);
}

/* ===== HAMBURGER ===== */
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 101;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-muted);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

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

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

/* ===== LANG SWITCHER ===== */
.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-left: 2rem;
  padding-left: 2rem;
  border-left: 1px solid var(--border);
}

.lang-switcher a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.lang-switcher a:hover,
.lang-switcher a.active {
  color: var(--green-light);
}

.lang-switcher span {
  color: var(--border);
}

/* ===== HERO ===== */
.hero {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 6rem 2rem 5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--green);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 1rem;
}

h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
}

.accent {
  color: var(--green-light);
}

.lead {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-weight: 300;
}

.btn {
  display: inline-block;
  background: var(--green);
  color: var(--white);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--green-dark);
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  letter-spacing: 0.03em;
}

.btn:hover {
  background: var(--green-light);
  color: var(--bg);
  transform: translateY(-1px);
}

/* ===== CODE BLOCK ===== */
.hero-graphic {
  display: flex;
  justify-content: center;
}

.code-block {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  line-height: 1.9;
  width: 100%;
  box-shadow: 0 0 40px rgba(45, 140, 45, 0.08);
}

.code-block .line { display: block; }
.code-block .kw  { color: var(--green-light); }
.code-block .fn  { color: #9de89d; }
.code-block .str { color: #b5e3b5; }
.code-block .cmt { color: var(--text-muted); font-style: italic; }

/* ===== SERVICES ===== */
.services {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 5rem 2rem;
}

.services h2 {
  text-align: center;
  font-size: 1.8rem;
  color: var(--white);
  margin-bottom: 3rem;
}

.cards {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.card {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 2rem;
  transition: border-color 0.2s, transform 0.2s;
}

.card:hover {
  border-color: var(--green-dark);
  transform: translateY(-3px);
}

.card-icon {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  color: var(--green-light);
}

.card h3 {
  font-size: 1.1rem;
  color: var(--white);
  margin-bottom: 0.6rem;
}

.card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* ===== PAGE HEADER ===== */
.page-header {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 4rem 2rem 2.5rem;
  border-bottom: 1px solid var(--border);
}

/* ===== PROSE (Privacy) ===== */
.prose {
  max-width: 760px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
}

.prose h2 {
  font-size: 1.15rem;
  color: var(--white);
  margin: 2.5rem 0 0.75rem;
  font-family: var(--font-mono);
}

.prose p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.97rem;
}

.prose a {
  color: var(--green-light);
}

/* ===== CONTACT ===== */
.contact-section {
  max-width: 720px;
  margin: 0 auto;
  padding: 3.5rem 2rem 5rem;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item {
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 1.75rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.contact-item-text {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--green);
}

.contact-item a,
.contact-item address {
  font-style: normal;
  color: var(--text);
  font-size: 1rem;
  line-height: 1.7;
}

.contact-item a:hover {
  color: var(--green-light);
}

.contact-icon {
  color: var(--green);
  flex-shrink: 0;
  opacity: 0.7;
}


/* ===== COOKIE BAR ===== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--bg3);
  border-top: 1px solid var(--border);
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.3);
}

.cookie-bar strong { color: var(--text); }

.cookie-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-shrink: 0;
}

.cookie-link {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.cookie-link:hover { color: var(--green-light); }

.cookie-btn {
  background: var(--green);
  color: var(--white);
  border: none;
  border-radius: var(--radius);
  padding: 0.5rem 1.25rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  cursor: pointer;
  transition: background 0.2s;
}

.cookie-btn:hover {
  background: var(--green-light);
  color: var(--bg);
}

@media (max-width: 600px) {
  .cookie-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.75rem;
  }
}

/* ===== FOOTER ===== */
footer {
  border-top: 1px solid var(--border);
  padding: 3rem 2rem 2rem;
  font-size: 0.82rem;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: start;
  padding-bottom: 2rem;
}

.footer-divider {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0 -2rem 1.5rem;
}

.footer-brand img {
  height: 32px;
}

.footer-brand address {
  font-style: normal;
  line-height: 1.8;
  color: var(--text-muted);
}

.footer-brand .footer-phone {
  display: block;
  margin-top: 0.5rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
}

.footer-logo {
  display: flex;
  justify-content: flex-end;
}

.footer-logo img {
  opacity: 0.25;
  height: 60px;
  width: auto;
  mix-blend-mode: screen;
}

.footer-bottom {
  max-width: var(--max-w);
  margin: 1.5rem auto 0;
  color: var(--text-muted);
}

footer a {
  color: var(--text-muted);
}

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

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .footer-links {
    text-align: left;
    align-items: flex-start;
  }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 3rem 1.5rem;
    gap: 2.5rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  .contact-section {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    display: none;
    position: absolute;
    top: 70px;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: flex-start;
    background: rgba(10, 15, 10, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 1.5rem 2rem;
    gap: 0;
  }

  .nav-menu.open {
    display: flex;
  }

  nav ul {
    flex-direction: column;
    gap: 1rem;
  }

  nav ul a {
    font-size: 0.85rem;
  }

  .lang-switcher {
    margin-left: 0;
    padding-left: 0;
    border-left: none;
    border-top: 1px solid var(--border);
    margin-top: 1rem;
    padding-top: 1rem;
    width: 100%;
  }
}

/* ===== ALTERNATE HERO (Magento section) ===== */
.hero-alt {
}

.services-alt {
  background: var(--bg2);
  border-bottom: 1px solid var(--border);
}

/* ===== CTA SECTION ===== */
.cta {
  text-align: center;
  padding: 5rem 2rem;
  max-width: var(--max-w);
  margin: 0 auto;
}

.cta h2 {
  font-size: 2rem;
  color: var(--white);
  margin-bottom: 0.75rem;
}

.cta p {
  color: var(--text-muted);
  margin-bottom: 2rem;
  font-size: 1.05rem;
}
