@import url('https://fonts.googleapis.com/css2?family=Lexend+Deca:wght@400;600;700&family=Nunito+Sans:wght@400;500;600;700&display=swap');

:root {
  --max: 980px;
  --accent: #166a9e;
  --accent-hover: #0f4a72;
  --bg: #faf9f5;
  --bg-header: #f5f2ee;
  --text: #1a3a4d;
  --text-secondary: #3d5a6f;
  --border: #E0D5C9;
}

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

body {
  font-family: 'Nunito Sans', system-ui, -apple-system, Segoe UI, sans-serif;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg);
}

/* HEADER & NAVIGATION */
header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-header);
  position: sticky;
  top: 0;
  z-index: 100;
}

nav {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  padding: 16px 20px;
  max-width: var(--max);
  margin: 0 auto;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: var(--text);
  font-weight: 600;
  font-size: 15px;
  transition: color 0.2s ease;
  white-space: nowrap;
}

nav a:hover {
  color: var(--accent);
  text-decoration: none;
}

.nav-links {
  display: flex;
  flex-wrap: nowrap;
  gap: 20px;
  align-items: center;
  flex: 1;
}

.nav-spacer {
  flex: 1;
}

.lang-links {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
}

.lang-link {
  font-size: 14px !important;
  font-weight: 500 !important;
  color: var(--text-secondary) !important;
  white-space: nowrap;
  font-style: normal;
  text-align: center;
}

.lang-link.active {
  font-weight: 700 !important;
  color: var(--accent) !important;
}

/* HAMBURGER BUTTON */
.hamburger {
  display: none;
  background: var(--bg-header);
  border: 1.5px solid var(--border);
  font-size: 20px;
  cursor: pointer;
  color: var(--text);
  padding: 7px 14px;
  border-radius: 6px;
  transition: background 0.2s ease, border-color 0.2s ease;
  line-height: 1;
  font-weight: 700;
}

.hamburger::after {
  content: ' MENU';
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.5px;
  vertical-align: middle;
}

.hamburger:hover {
  background: var(--border);
  border-color: var(--text-secondary);
}

.hamburger:active {
  background: var(--border);
  transform: scale(0.97);
}

/* MAIN CONTENT */
main {
  max-width: var(--max);
  margin: 0 auto;
  padding: 16px 20px;
}

.hero-section {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  padding: 6px 0 28px;
  align-items: center;
}

@media (max-width: 780px) {
  .hero-section {
    grid-template-columns: 1fr;
  }
}

h2 {
  margin: 0 0 10px;
  font-family: 'Lexend Deca', 'Nunito Sans', sans-serif;
  font-size: 48px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.2;
}

.subtitle {
  margin: 0 0 18px;
  font-size: 18px;
  color: var(--accent);
}

.motto {
  color: var(--accent);
  font-size: 36px;
  max-width: 90%;
  line-height: 1.4;
}

.subtitle.motto {
  font-size: 36px;
}

.hero-section p {
  margin-bottom: 16px;
  color: var(--text-secondary);
  font-size: 16.5px;
  line-height: 1.55;
}

.hero-section img {
  max-width: 100%;
  height: auto;
  border-radius: 16px;
  border: 3px solid var(--border);
  box-shadow: 0 4px 20px rgba(44, 32, 24, 0.08);
  transition: box-shadow 0.3s ease;
}

.hero-section img:hover {
  box-shadow: 0 6px 28px rgba(44, 32, 24, 0.14);
}

.hero-portrait {
  width: 70%;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

/* SECTIONS */
section {
  margin: 36px 0 16px;
  background: transparent;
}

section h3 {
  margin: 0 0 16px;
  font-family: 'Lexend Deca', 'Nunito Sans', sans-serif;
  font-size: 32px;
  font-weight: 600;
  color: var(--text);
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
}

section h4 {
  margin: 24px 0 12px;
  font-size: 18px;
  font-weight: 700;
  color: var(--accent);
}

section p {
  margin: 0 0 14px;
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.55;
}

section ul {
  margin: 0 0 14px;
  padding-left: 1.5em;
  color: var(--text-secondary);
}

section ul li {
  margin-bottom: 6px;
}

/* SEO META KEYWORDS - HIDDEN */
.seo-keywords {
    display: none;
    visibility: hidden;
    height: 0;
    width: 0;
    font-size: 0;
}

/* BUTTONS */
.cta-button {
  display: inline-block;
  padding: 11px 24px;
  border-radius: 8px;
  border: none;
  text-decoration: none;
  color: #fff;
  font-family: 'Nunito Sans', system-ui, sans-serif;
  font-weight: 700;
  font-size: 15px;
  cursor: pointer;
  background: var(--accent);
  transition: background 0.25s ease, transform 0.15s ease, box-shadow 0.25s ease;
  margin-top: 18px;
  box-shadow: 0 2px 8px rgba(139, 105, 84, 0.25);
}

.cta-button:hover {
  background: var(--accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(139, 105, 84, 0.35);
}

.cta-button a {
  color: #fff;
  text-decoration: none;
}

/* FOOTER */
footer {
  border-top: 1px solid var(--border);
  background: var(--bg-header);
  margin-top: 40px;
  padding: 20px 20px;
  color: var(--text-secondary);
  font-size: 14px;
  text-align: center;
}

footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

footer a:hover {
  color: var(--accent-hover);
  text-decoration: underline;
}

.small {
  font-size: 14px;
  color: var(--text-secondary);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  nav {
    flex-wrap: wrap;
    gap: 0;
    padding: 10px 16px;
    position: relative;
  }

  .hamburger {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    width: 100%;
    padding-top: 8px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
  }

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

  .nav-links a {
    padding: 10px 0;
    font-size: 15px;
    width: 100%;
    border-bottom: 1px solid var(--border);
  }

  .nav-links a:last-child {
    border-bottom: none;
  }

  .nav-spacer {
    display: none;
  }

  .lang-links {
    width: 100%;
    justify-content: center;
    border-top: 1px solid var(--border);
    padding: 8px 0;
    margin-top: 4px;
    gap: 4px;
  }

  .lang-link {
    padding: 4px 10px;
  }

  .hero-section {
    gap: 20px;
    padding: 2px 0 20px;
  }

  h2 {
    font-size: 34px;
  }

  main {
    padding: 10px 16px 20px;
  }

  section h3 {
    font-size: 26px;
  }
}

@media (max-width: 480px) {
  nav {
    gap: 10px;
    padding: 12px 14px;
  }

  h2 {
    font-size: 26px;
  }

  main {
    padding: 8px 14px 16px;
  }

  section h3 {
    font-size: 22px;
  }

  .cta-button {
    width: 100%;
    text-align: center;
  }

  .hero-section {
    gap: 16px;
    padding: 0 0 16px;
  }
}