:root {
  --bg: #f4f5f7;
  --bg-alt: #ffffff;
  --primary: #0b2140;
  --accent: #c2410c;
  --text: #111827;
  --muted: #6b7280;
  --radius: 18px;
  --shadow: 0 20px 45px rgba(15, 23, 42, 0.12);
}

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

body {
  font-family: system-ui, -apple-system, "Segoe UI", sans-serif;
  background: radial-gradient(circle at top left, #e5edff 0, #f9fafb 45%, #e5e7eb 100%);
  color: var(--text);
  line-height: 1.6;
}

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

.page {
  max-width: 1080px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 2.5rem;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background: linear-gradient(135deg, #a5c5f0 0%, #8bb3e8 100%);
  border-radius: var(--radius);
  margin-bottom: 1.25rem;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.08);
}

.brand h1 {
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--primary);
  font-weight: 700;
}

.brand span {
  display: block;
  font-size: 0.92rem;
  color: #1e3a5f;
  font-weight: 500;
  text-transform: none;
  letter-spacing: 0;
  margin-top: 0.15rem;
}

nav {
  display: flex;
  gap: 1.1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #1e3a5f;
  font-weight: 500;
}

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

.nav-lang {
  padding-left: 1rem;
  border-left: 1px solid rgba(15, 23, 42, 0.15);
}

.nav-lang a.active { font-weight: 700; color: var(--primary); }

.hero {
  background: var(--bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 2rem 2rem 2.2rem;
  margin-bottom: 0.5rem;
}

.hero .badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--muted);
  background: rgba(11, 33, 64, 0.05);
  border-radius: 999px;
  padding: 0.25rem 0.85rem;
  margin-bottom: 0.85rem;
}

.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

.hero h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
  color: var(--primary);
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero .lead {
  color: var(--muted);
  max-width: 42rem;
  font-size: 1rem;
}

.hero-meta {
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.88rem;
  color: var(--muted);
}

section { margin-top: 2.75rem; }

.section-title {
  font-size: 1.55rem;
  color: var(--primary);
  text-align: center;
  margin-bottom: 0.5rem;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  max-width: 40rem;
  margin: 0 auto 1.5rem;
  font-size: 0.92rem;
}

.activity-groups {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.activity-group {
  background: var(--bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.35rem 1.4rem;
}

.activity-group h4 {
  font-size: 0.95rem;
  color: var(--primary);
  margin-bottom: 0.65rem;
}

.activity-group ul {
  list-style: none;
  font-size: 0.86rem;
  color: var(--muted);
}

.activity-group li {
  padding: 0.35rem 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.activity-group li:last-child { border-bottom: none; }

.activity-group .code {
  font-weight: 600;
  color: var(--accent);
  margin-right: 0.35rem;
}

.main-activity {
  margin-top: 1.25rem;
  text-align: center;
  font-size: 0.9rem;
  color: var(--muted);
}

.main-activity strong { color: var(--primary); }

.legal-box {
  background: var(--bg-alt);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.5rem 1.6rem;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.25rem;
}

.legal-box p {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 0.35rem;
}

.legal-box strong { color: var(--text); }

footer {
  margin-top: 2.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid rgba(15, 23, 42, 0.08);
  font-size: 0.78rem;
  color: var(--muted);
}

footer p + p { margin-top: 0.4rem; }

@media (max-width: 720px) {
  header { flex-direction: column; align-items: flex-start; }
  .nav-lang { border-left: none; padding-left: 0; }
}
