:root {
  --bg: #ffffff;
  --bg-alt: #f5f5f2;
  --text: #1a1a1a;
  --text-muted: #555555;
  --accent: #0a4d68;
  --accent-light: #1e88a8;
  --border: #e5e5e0;
  --max-width: 980px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

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

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

header {
  border-bottom: 1px solid var(--border);
  padding: 20px 0;
  background: var(--bg);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 28px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

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

.logo-text {
  font-weight: 600;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--text);
}

nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
}

nav a {
  color: var(--text-muted);
  font-size: 15px;
  transition: color 0.2s;
}

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

.lang-switch {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 500;
}

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

.lang-switch a:hover {
  color: var(--accent);
  text-decoration: none;
}

.lang-switch .current {
  color: var(--text);
}

.lang-switch .sep {
  color: var(--border);
}

.hero {
  padding: 100px 0 80px;
  border-bottom: 1px solid var(--border);
}

.hero h1 {
  font-size: 44px;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 24px;
  max-width: 760px;
}

.hero .lead {
  font-size: 20px;
  color: var(--text-muted);
  max-width: 700px;
  margin-bottom: 32px;
}

.cta {
  display: inline-block;
  background: var(--accent);
  color: #ffffff;
  padding: 12px 24px;
  border-radius: 4px;
  font-weight: 500;
  font-size: 15px;
  transition: background 0.2s;
}

.cta:hover {
  background: var(--accent-light);
  text-decoration: none;
}

section.content {
  padding: 80px 0;
  border-bottom: 1px solid var(--border);
}

section.content.alt {
  background: var(--bg-alt);
}

section.content h2 {
  font-size: 28px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 24px;
}

section.content p {
  color: var(--text-muted);
  margin-bottom: 16px;
  max-width: 740px;
}

.expertise-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 32px;
  margin-top: 40px;
}

.expertise-card h3 {
  font-size: 18px;
  font-weight: 600;
  margin-bottom: 12px;
  color: var(--accent);
}

.expertise-card p {
  font-size: 16px;
  color: var(--text-muted);
}

.services-list {
  margin-top: 40px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 28px;
}

.service-item h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--text);
}

.service-item p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 0;
}

.timeline {
  margin-top: 32px;
}

.timeline-item {
  padding: 18px 0;
  border-bottom: 1px solid var(--border);
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
}

.timeline-item:last-child {
  border-bottom: none;
}

.timeline-period {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
}

.timeline-content h3 {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 2px;
}

.timeline-content .org {
  font-size: 14px;
  color: var(--text-muted);
}

.credentials {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}

.credentials p {
  font-size: 15px;
  margin-bottom: 10px;
  max-width: 100%;
}

.credentials strong {
  color: var(--text);
  display: inline-block;
  min-width: 130px;
}

.contact-info {
  margin-top: 24px;
}

.contact-info p {
  font-size: 17px;
  color: var(--text);
  margin-bottom: 8px;
}

.contact-info .label {
  color: var(--text-muted);
  font-size: 14px;
  display: inline-block;
  width: 110px;
}

main {
  padding: 60px 0 80px;
}

main h1 {
  font-size: 32px;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin-bottom: 40px;
}

main h2 {
  font-size: 18px;
  font-weight: 600;
  margin-top: 32px;
  margin-bottom: 12px;
  color: var(--text);
}

main p {
  color: var(--text-muted);
  margin-bottom: 14px;
  max-width: 740px;
  font-size: 16px;
}

footer {
  padding: 40px 0;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  border-top: 1px solid var(--border);
}

footer p { margin-bottom: 4px; }

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

@media (max-width: 720px) {
  .container { padding: 0 20px; }

  header { padding: 14px 0; }

  .logo img { height: 30px; }
  .logo-text { font-size: 16px; }

  .header-right { gap: 16px; }

  nav ul { gap: 14px; }
  nav a { font-size: 13px; }

  .hero { padding: 56px 0 48px; }
  .hero h1 { font-size: 30px; }
  .hero .lead { font-size: 16px; }

  section.content { padding: 48px 0; }
  section.content h2 { font-size: 22px; }
  section.content p { font-size: 15px; }

  .services-list { gap: 22px; margin-top: 28px; }

  .timeline-item {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 16px 0;
  }
  .timeline-period { font-size: 13px; }
  .timeline-content h3 { font-size: 15px; }
  .timeline-content .org { font-size: 14px; }

  .credentials strong { display: block; min-width: 0; margin-bottom: 2px; }
  .credentials p { font-size: 14px; }

  .contact-info .label { width: auto; display: block; margin-bottom: 2px; }
  .contact-info p { font-size: 15px; }

  main { padding: 44px 0 60px; }
  main h1 { font-size: 26px; margin-bottom: 28px; }
  main h2 { font-size: 16px; }
  main p { font-size: 15px; }
}

@media (max-width: 480px) {
  .header-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
  .header-right {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  nav ul {
    flex-wrap: wrap;
    gap: 10px 16px;
  }
  .hero { padding: 44px 0 40px; }
  .hero h1 { font-size: 26px; }
}
