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

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f4f7fb;
  color: #1f2933;
  line-height: 1.6;
}

.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

header {
  background: linear-gradient(135deg, #2563eb, #10b981);
  color: white;
  padding: 1rem 1rem 0.6rem;
}

.container {
  max-width: 980px;
  margin: 0 auto;
}

.top-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.logo-box {
  width: 60px;
  height: 60px;
  background: rgba(255,255,255,0.12);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 1px;
}

.logo-box span {
  text-align: center;
}

.title-block {
  flex: 1;
  min-width: 220px;
}

.title-block h1 {
  font-size: 1.4rem;
  margin-bottom: 0.1rem;
}

.title-block h2 {
  font-size: 0.9rem;
  font-weight: 400;
  opacity: 0.95;
}

.flags {
  margin-top: 0.2rem;
  font-size: 0.85rem;
  opacity: 0.95;
}

.tagline {
  margin-top: 0.25rem;
  font-size: 0.85rem;
  font-style: italic;
  opacity: 0.9;
}

/* nav */
nav {
  margin-top: 0.7rem;
}

nav ul {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 0;
}

nav a {
  color: #dbeafe;
  text-decoration: none;
  font-size: 0.85rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  border: 1px solid rgba(219,234,254,0.4);
}

nav a:hover {
  background: rgba(15,23,42,0.18);
}

nav a.active {
  background: white;
  color: #1f2937;
}

/* content */
main {
  flex: 1;
  padding: 1.3rem 1rem 2rem;
}

.card {
  background: white;
  border-radius: 18px;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
  padding: 1.4rem;
  margin-bottom: 1.5rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.7rem;
  color: #1f2937;
}

.card p {
  margin-bottom: 0.55rem;
  font-size: 0.96rem;
}

.card ul {
  margin-left: 1.2rem;
  margin-bottom: 0.4rem;
  font-size: 0.95rem;
}

.card ul li {
  margin-bottom: 0.3rem;
}

.section-title {
  font-size: 0.9rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #6b7280;
  margin-bottom: 0.35rem;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #eff6ff;
  color: #1d4ed8;
  margin-bottom: 0.4rem;
}

.badge span.icon {
  font-size: 0.9rem;
}

.grid {
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 1.6fr);
  gap: 1rem;
}

.highlight {
  background: #f0fdf4;
  border-left: 3px solid #22c55e;
  padding: 0.55rem 0.7rem;
  border-radius: 10px;
  font-size: 0.9rem;
  margin-top: 0.4rem;
}

.contacts p {
  margin-bottom: 0.25rem;
  font-size: 0.95rem;
}

.contacts a {
  color: #2563eb;
  text-decoration: none;
}

.contacts a:hover {
  text-decoration: underline;
}

/* forms */
form {
  display: grid;
  gap: 0.7rem;
}

label {
  font-size: 0.9rem;
  font-weight: 500;
  color: #111827;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  border: 1px solid #d1d5db;
  font-size: 0.92rem;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  border: none;
  background: #2563eb;
  color: white;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
}

button:hover,
.button:hover {
  background: #1d4ed8;
}

.small-note {
  font-size: 0.8rem;
  color: #6b7280;
  margin-top: 0.1rem;
}

/* footer */
footer {
  background: #0b1120;
  color: #e5e7eb;
  padding: 0.9rem 1rem;
  font-size: 0.8rem;
}

footer .footer-inner {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

footer a {
  color: #93c5fd;
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  header {
    padding: 0.9rem 0.9rem 0.6rem;
  }
  main {
    padding: 1.1rem 0.9rem 1.6rem;
  }
  .card {
    padding: 1.1rem;
  }
  .grid {
    grid-template-columns: minmax(0, 1fr);
  }
  .title-block h1 {
    font-size: 1.2rem;
  }
}
