:root {
  --blue: #0b3d91;
  --blue-light: #1e5bb8;
  --red: #c41e3a;
  --bg: #fff;
  --strip-bg: #f1f5f9;
  --white: #fff;
  --text: #0f172a;
  --muted: #475569;
  --border: #e2e8f0;
  --radius: 4px;
  --font: "Inter", system-ui, sans-serif;
  --font-display: "Plus Jakarta Sans", system-ui, sans-serif;
}

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

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

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

.container { width: min(1040px, 92vw); margin-inline: auto; }

.header-wrap {
  background: var(--blue);
  color: var(--white);
  -webkit-clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 28px), 0 100%);
  padding-bottom: 2rem;
}

.site-header { padding: 0; }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  padding: 1rem 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  line-height: 1.2;
  color: var(--white);
  text-decoration: none;
}

.brand:hover { text-decoration: none; opacity: 0.95; }

.brand-logo {
  display: block;
  height: 130px;
  width: auto;
  max-width: min(550px, 75vw);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: -0.03em;
}

.site-nav {
  display: flex;
  gap: 1.25rem;
  flex-wrap: wrap;
  align-items: center;
}

.site-nav a {
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.88rem;
  text-decoration: none;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--white);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.lang-switch {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 6px;
  overflow: hidden;
  border: none;
  padding: 0;
}

.lang-switch a {
  padding: 0.35rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-decoration: none;
}

.lang-switch a.active {
  background: var(--red);
  color: var(--white);
}

.lang-partner {
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  padding: 0.35rem 0.7rem;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.2);
}

.lang-partner:hover {
  text-decoration: underline;
}

.page-hero {
  padding: 0 0 2.5rem;
  background: transparent;
  color: inherit;
}

.page-hero .container {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: end;
}

.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  max-width: 22ch;
}

.page-hero .lead {
  font-size: 1.05rem;
  max-width: 42ch;
  opacity: 0.92;
  margin-bottom: 0.75rem;
}

.page-hero .domain-hint {
  font-size: 0.82rem;
  opacity: 0.75;
}

.hero-deco {
  width: 100px;
  height: 100px;
  background: var(--red);
  transform: rotate(12deg);
  opacity: 0.9;
  flex-shrink: 0;
}

.hero-strip {
  background: var(--strip-bg);
  padding: 2.5rem 0;
  margin-top: -1rem;
}

.hero-strip:empty { display: none; }

.hero-strip-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
}

.hero-strip-item {
  background: var(--white);
  border-left: 5px solid var(--blue-light);
  padding: 1.25rem 1.35rem;
}

.hero-strip-item strong {
  font-family: var(--font-display);
  display: block;
  font-size: 1.1rem;
  margin-bottom: 0.25rem;
  color: var(--text);
}

.hero-strip-item span {
  font-size: 0.88rem;
  color: var(--muted);
}

main,
.page-main-wrap {
  flex: 1;
  padding: 3rem 0;
}

.section-block { margin-bottom: 2.5rem; }

.section-block h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.section-block h2::before {
  content: "";
  width: 32px;
  height: 4px;
  background: var(--red);
  flex-shrink: 0;
}

.prose p { margin-bottom: 1rem; color: var(--muted); max-width: 62ch; }

.prose h2 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  color: var(--blue);
  margin: 1.5rem 0 0.75rem;
}

.prose h2::before { display: none; }

.card-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: repeat(2, 1fr);
}

.card {
  position: relative;
  padding: 1.75rem;
  background: var(--blue);
  color: var(--white);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0.5rem;
  border: none;
  border-radius: 0;
}

.card-alt {
  background: #f8fafc;
  color: var(--text);
  border: 2px solid var(--blue);
}

.card h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  margin: 0;
  color: inherit;
}

.card h3 a {
  color: inherit;
  text-decoration: none;
}

.card h3 a:hover { text-decoration: underline; }

.card p {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-bottom: 0.5rem;
  flex: 1;
}

.card .card-link {
  color: inherit;
  font-weight: 700;
  font-size: 0.85rem;
  text-decoration: underline;
  text-underline-offset: 3px;
  margin-top: 0.25rem;
}

.badge {
  align-self: flex-start;
  font-size: 0.65rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  background: var(--red);
  color: var(--white);
  padding: 0.25rem 0.5rem;
  border-radius: 0;
  width: auto;
  margin: 0 0 0.25rem;
}

.card-alt .badge,
.badge-preview {
  background: var(--blue);
  color: var(--white);
}

.contact-list { list-style: none; }

.contact-list li { margin-bottom: 0.75rem; }

.contact-list strong {
  display: block;
  font-size: 0.9rem;
  color: var(--muted);
  margin-bottom: 0.15rem;
}

.contact-list a {
  font-weight: 600;
  color: var(--blue);
}

.note {
  font-size: 0.95rem;
  color: var(--muted);
  margin-top: 1rem;
  max-width: 62ch;
}

.site-footer {
  background: var(--text);
  color: #94a3b8;
  padding: 1.5rem 0;
  font-size: 0.85rem;
  border-top: none;
}

.site-footer a { color: #cbd5e1; }

.nav-toggle {
  display: none;
  background: rgba(255, 255, 255, 0.15);
  border: none;
  color: var(--white);
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .brand-logo {
    height: 120px;
    max-width: min(500px, 90vw);
  }
  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 0.5rem;
  }
  .site-nav.open { display: flex; }
  .page-hero .container {
    grid-template-columns: 1fr;
  }
  .hero-deco { display: none; }
  .hero-strip-inner { grid-template-columns: 1fr; }
  .card-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero-strip-inner { grid-template-columns: 1fr; }
}
