@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,700;1,400&display=swap');

:root {
  --bg: #f9f7f4;
  --bg2: #f0ece4;
  --dark: #141210;
  --accent: #2563eb;
  --accent2: #0ea5e9;
  --green: #10b981;
  --text: #1e1b18;
  --muted: #6b6460;
  --border: #e5e0d8;
  --card: #ffffff;
  --shadow: 0 2px 16px rgba(20,18,16,0.07);
  --shadow-lg: 0 8px 40px rgba(20,18,16,0.13);
  --radius: 14px;
}

[data-theme="dark"] {
  --bg: #0f0e0c;
  --bg2: #161410;
  --dark: #f9f7f4;
  --text: #e8e3d9;
  --muted: #7a7068;
  --border: #272320;
  --card: #1a1714;
  --shadow: 0 2px 16px rgba(0,0,0,0.28);
  --shadow-lg: 0 8px 40px rgba(0,0,0,0.38);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  transition: background 0.3s, color 0.3s;
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main { flex: 1; }

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 999;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s;
}

.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.nav-logo {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.03em;
  white-space: nowrap;
}
.nav-logo span { color: var(--accent); }

.nav-links {
  display: flex;
  gap: 0.125rem;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}

.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  padding: 0.45rem 0.8rem;
  border-radius: 8px;
  transition: all 0.2s;
  white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--bg2); }

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

.lang-btn, .theme-btn {
  background: var(--bg2);
  border: 1px solid var(--border);
  color: var(--muted);
  border-radius: 8px;
  font-family: 'Outfit', sans-serif;
  cursor: pointer;
  transition: all 0.2s;
}
.lang-btn { padding: 0.35rem 0.7rem; font-size: 0.78rem; font-weight: 700; letter-spacing: 0.05em; }
.theme-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; }
.lang-btn:hover, .theme-btn:hover { color: var(--text); border-color: var(--text); }

.btn-nav {
  background: var(--accent);
  color: white !important;
  padding: 0.45rem 1.1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-nav:hover { background: #1d4ed8 !important; transform: translateY(-1px); }

/* HAMBURGER */
.hamburger { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

.mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0; bottom: 0;
  background: var(--bg);
  z-index: 998;
  padding: 2rem;
  flex-direction: column;
  gap: 0.5rem;
  overflow-y: auto;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  color: var(--text);
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 0.875rem 0;
  border-bottom: 1px solid var(--border);
}

/* BUTTONS */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--accent);
  color: white;
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
}
.btn-primary:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.25); }

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: var(--text);
  padding: 0.875rem 1.75rem;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid var(--border);
  transition: all 0.25s;
}
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

/* PAGE HEADER */
.page-header {
  padding: 5rem 2rem 3.5rem;
  max-width: 1200px;
  margin: 0 auto;
}
.page-header .label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.875rem;
}
.page-header h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1.08;
  margin-bottom: 1rem;
}
.page-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 560px;
  line-height: 1.75;
}

/* SECTION */
section { padding: 4rem 0; }
.section-title {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 0.75rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 3rem;
  max-width: 540px;
}

/* CARDS */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all 0.3s;
}
.card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: transparent; }

/* FOOTER */
footer {
  background: #111009;
  color: #9a9088;
  padding: 3.5rem 2rem 2rem;
  margin-top: auto;
}
[data-theme="dark"] footer { background: #080706; }

.footer-inner { max-width: 1200px; margin: 0 auto; }

.footer-top {
  display: grid;
  grid-template-columns: 1.4fr repeat(3, 1fr);
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid #222018;
  margin-bottom: 1.75rem;
}

.footer-logo {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f9f7f4;
  letter-spacing: -0.03em;
  display: block;
  margin-bottom: 0.75rem;
  text-decoration: none;
}
.footer-logo span { color: var(--accent); }
.footer-brand p { font-size: 0.85rem; line-height: 1.7; max-width: 220px; }

.footer-col h4 {
  color: #f9f7f4;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 1.1rem;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 0.5rem; }
.footer-col ul li a { color: #9a9088; text-decoration: none; font-size: 0.875rem; transition: color 0.2s; }
.footer-col ul li a:hover { color: #f9f7f4; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.78rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.footer-legal { display: flex; gap: 1.25rem; }
.footer-legal a { color: #9a9088; text-decoration: none; transition: color 0.2s; }
.footer-legal a:hover { color: #f9f7f4; }

/* ANIMATIONS */
.fade-up { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-up.visible { opacity: 1; transform: translateY(0); }

/* RESPONSIVE */
@media (max-width: 900px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 580px) {
  .footer-top { grid-template-columns: 1fr; }
  .btn-nav { display: none; }
}
