/* =========================================================
   ROOT VARIABLES (Design System)
   ========================================================= */

:root {
  --bg: #ffffff;
  --text: #111111;
  --muted: #666666;
  --line: #e5e7eb;
  --card: #f9fafb;
  --radius: 12px;
  --container: 1100px;
}


/* =========================================================
   BASE RESET
   ========================================================= */

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}


/* =========================================================
   LINKS
   ========================================================= */

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

a:hover {
  text-decoration: underline;
}


/* =========================================================
   LAYOUT WRAPPER
   ========================================================= */

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.main {
  padding: 40px 20px 70px;
}


/* =========================================================
   HEADER
   ========================================================= */

.site-header {
  position: sticky;
  top: 0;
  background: #ffffff;
  border-bottom: 1px solid var(--line);
  z-index: 50;
}

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

.brand {
  font-weight: 650;
  letter-spacing: 0.2px;
  white-space: nowrap;
}


/* =========================================================
   NAVIGATION
   ========================================================= */

.nav-list {
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-link {
  padding: 8px 10px;
  border-radius: 10px;
  color: var(--muted);
}

.nav-link:hover {
  background: #f3f4f6;
  color: var(--text);
  text-decoration: none;
}

.nav-link.is-active {
  background: #eef2f7;
  color: var(--text);
}


/* =========================================================
   HEADER ACTIONS
   ========================================================= */

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.lang-switch {
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: var(--muted);
  background: #ffffff;
}

.lang-switch:hover {
  color: var(--text);
  background: #f9fafb;
  text-decoration: none;
}


/* =========================================================
   BURGER MENU
   ========================================================= */

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #ffffff;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
}

.menu-toggle:hover {
  background: #f9fafb;
}

.menu-toggle span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

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

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

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

.mobile-menu {
  display: none;
  border-top: 1px solid var(--line);
  background: #ffffff;
}

.mobile-nav-list {
  list-style: none;
  padding: 12px 20px 18px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.mobile-nav-link {
  display: block;
  padding: 12px 14px;
  border-radius: 10px;
  color: var(--muted);
}

.mobile-nav-link:hover {
  background: #f3f4f6;
  color: var(--text);
  text-decoration: none;
}

.mobile-nav-link.is-active {
  background: #eef2f7;
  color: var(--text);
}

.mobile-lang-switch {
  border: 1px solid var(--line);
  background: #ffffff;
}


/* =========================================================
   TYPOGRAPHY HELPERS
   ========================================================= */

.muted {
  color: var(--muted);
}

.lead {
  font-size: 1.1rem;
  max-width: 70ch;
}


/* =========================================================
   GRID & CARD SYSTEM
   ========================================================= */

.grid {
  display: grid;
  gap: 16px;
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px;
}


/* =========================================================
   HERO (Home)
   ========================================================= */

.hero {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.hero-actions {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}


/* =========================================================
   BUTTONS
   ========================================================= */

.btn {
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: #111;
  color: #fff;
}

.btn:hover {
  background: #2b2b2b;
  text-decoration: none;
}

.btn--ghost {
  background: #fff;
  color: var(--text);
}

.btn--ghost:hover {
  background: #f3f4f6;
}


/* =========================================================
   ABOUT PAGE
   ========================================================= */

.about {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 36px;
  align-items: start;
  margin-top: 32px;
}

.about__image {
  display: flex;
}

.about__photo {
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid var(--line);
}

.about__content {
  max-width: 720px;
}

.about__cta a {
  font-weight: 500;
}


/* =========================================================
   CONTACT PAGE
   ========================================================= */

.contact-card {
  margin-top: 16px;
  padding: 22px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  max-width: 520px;

  display: flex;
  flex-direction: column;
  gap: 18px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.contact-item strong {
  font-weight: 650;
}


/* =========================================================
   SECTIONS (generic spacing blocks)
   ========================================================= */

.section {
  margin-top: 28px;
}

.home-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}


/* =========================================================
   FOOTER
   ========================================================= */

.site-footer {
  border-top: 1px solid var(--line);
  padding: 22px 0;
  color: var(--muted);
  background: #fafafa;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.footer-links a {
  color: var(--muted);
  margin-left: 14px;
}

.footer-links a:hover {
  color: var(--text);
  text-decoration: none;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 900px) {
  .nav--desktop {
    display: none;
  }

  .lang-switch--desktop {
    display: none;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .mobile-menu.is-open {
    display: block;
  }

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

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

  .about__image {
    justify-content: center;
  }

  .about__photo {
    width: 220px;
  }
}



.lang-link {
  text-decoration: none;
  color: inherit;
  opacity: 0.5;
  transition: all 0.2s ease;
}

.lang-link:hover {
  opacity: 1;
}

.lang-link.is-active {
  opacity: 1;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.2em;
}

.lang-separator {
  opacity: 0.4;
}