/* ══════════════════════════════════════════════════════════════
   6borg.tech — Shared Styles
   ══════════════════════════════════════════════════════════════ */

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

:root {
  --bg: #f5f4f0;
  --surface: #edecea;
  --surface2: #e4e2de;
  --accent: #1a3d2b;
  --accent2: #2d6247;
  --accent-light: #3a7a58;
  --accent-glow: rgba(26,61,43,0.12);
  --text: #1a1f1c;
  --muted: #6b7570;
  --border: rgba(26,61,43,0.1);
  --border-accent: rgba(26,61,43,0.3);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 14px;
  --radius-lg: 22px;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

/* ── NAV ── */
nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1.1rem 5%;
  background: rgba(245,244,240,0.88);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
}

.logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  height: 48px;
  width: auto;
  display: block;
}

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

nav ul a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.2s;
}

nav ul a:hover { color: var(--text); }

.nav-cta {
  background: var(--accent);
  color: #fff !important;
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-weight: 500 !important;
  transition: opacity 0.2s !important;
}

.nav-cta:hover { opacity: 0.85; }

.lang-toggle {
  display: flex; align-items: center;
  background: var(--surface2);
  border: 1px solid var(--border);
  border-radius: 8px;
  overflow: hidden;
  flex-shrink: 0;
}

.lang-btn {
  padding: 0.3rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  font-family: 'Space Mono', monospace;
  letter-spacing: 0.04em;
  color: var(--muted);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.lang-btn.active {
  background: var(--accent);
  color: #fff;
}

.lang-btn:not(.active):hover { color: var(--text); }

/* ── HAMBURGER (Mobile Menu) ── */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

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

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

.mobile-menu {
  display: none;
  position: fixed;
  top: 60px; left: 0; right: 0;
  background: rgba(245,244,240,0.97);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 5% 1.5rem;
  z-index: 99;
  flex-direction: column;
  gap: 0;
}

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

.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1rem;
  font-weight: 400;
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.mobile-menu a:last-child { border-bottom: none; }
.mobile-menu a:hover { color: var(--accent); }

.mobile-menu .nav-cta {
  margin-top: 0.75rem;
  text-align: center;
  padding: 0.85rem;
  border-radius: 10px;
  border-bottom: none;
}

/* ── SECTION WRAPPER ── */
section { padding: 6rem 5%; }

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  margin-bottom: 0.75rem;
}

.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  line-height: 1.15;
  letter-spacing: -0.025em;
  color: var(--text);
  margin-bottom: 1.25rem;
}

.section-sub {
  color: var(--muted);
  font-weight: 300;
  font-size: 1.05rem;
  max-width: 540px;
  line-height: 1.75;
}

.container { max-width: 1100px; margin: 0 auto; }

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 0 28px rgba(26,61,43,0.25);
}

.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 4px 40px rgba(26,61,43,0.4); }

.btn-secondary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: transparent;
  color: var(--text);
  text-decoration: none;
  padding: 0.85rem 1.8rem;
  border-radius: 10px;
  font-weight: 400;
  font-size: 0.95rem;
  border: 1px solid var(--border);
  transition: border-color 0.2s, background 0.2s;
}

.btn-secondary:hover { border-color: rgba(26,61,43,0.3); background: rgba(26,61,43,0.05); }

/* ── FOOTER ── */
footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 2.5rem 5%;
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 1rem;
}

footer .logo img { height: 64px; }
footer p { font-size: 0.82rem; color: var(--muted); margin: 0; }
footer a { color: var(--muted); text-decoration: none; font-size: 0.82rem; transition: color 0.2s; }
footer a:hover { color: var(--text); }

/* ── FADE IN ANIMATION ── */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-up.visible { opacity: 1; transform: translateY(0); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav ul { display: none; }
  .hamburger { display: flex; }
  section { padding: 4rem 5%; }
  .section-title { font-size: clamp(1.6rem, 5vw, 2.2rem); }
  footer { flex-direction: column; text-align: center; gap: 0.75rem; }
  .lang-toggle { margin-left: auto; }
}
