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

:root {
  --bg-page: #f4f4f5;
  --bg-shell: #f9fafb;
  --bg-panel: #ffffff;
  --bg-soft: #f3f4f6;
  --border-soft: #e5e7eb;
  --border-strong: #d1d5db;
  --accent-main: #2563eb;
  --accent-alt: #0ea5e9;
  --accent-warm: #f97316;
  --text-main: #0f172a;
  --text-muted: #6b7280;
  --radius-lg: 20px;
  --radius-md: 14px;
  --shadow-soft: 0 18px 40px rgba(15,23,42,0.06);
  --font-sans: system-ui, -apple-system, BlinkMacSystemFont, "Inter", "Segoe UI", sans-serif;
}

html, body {
  height: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--text-main);
  background:
    radial-gradient(circle at top left, #dbeafe 0, transparent 55%),
    radial-gradient(circle at bottom right, #fee2e2 0, transparent 55%),
    var(--bg-page);
  line-height: 1.6;
}

/* GLOBAL LAYOUT */

.app-frame {
  min-height: 100vh;
  max-width: 1280px;
  margin: 1.2rem auto;
  padding: 0.75rem;
  border-radius: 26px;
  background: var(--bg-shell);
  box-shadow:
    0 24px 80px rgba(15,23,42,0.14),
    0 0 0 1px rgba(148,163,184,0.35);
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 1.2rem;
}

@media (max-width: 880px) {
  .app-frame {
    grid-template-columns: minmax(0, 1fr);
    margin: 0;
    border-radius: 0;
    box-shadow: none;
  }
}

/* SIDE PANEL */

.side-panel {
  border-radius: 22px;
  background: var(--bg-panel);
  padding: 1.15rem 1rem 1.2rem;
  display: flex;
  flex-direction: column;
  gap: 1.2rem;
  border: 1px solid var(--border-soft);
}

.brand-block {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 14px;
  background: conic-gradient(from 200deg, #2563eb, #0ea5e9, #f97316, #2563eb);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  color: #f9fafb;
  box-shadow: 0 12px 28px rgba(37,99,235,0.25);
}

.brand-mark a {
  color: inherit;
  text-decoration: none;
}

.brand-title {
  font-size: 1.02rem;
  font-weight: 650;
}

.brand-subtitle {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.side-tagline {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.side-nav {
  border-radius: 16px;
  background: var(--bg-soft);
  padding: 0.6rem 0.55rem;
}

.nav-heading {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  margin-bottom: 0.3rem;
  padding-inline: 0.4rem;
}

.nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.nav-list a {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.32rem 0.55rem;
  border-radius: 999px;
  font-size: 0.82rem;
  color: var(--text-muted);
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, transform 0.12s ease;
}

.nav-bullet {
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: var(--border-soft);
}

.nav-list a:hover {
  background: #ffffff;
  color: var(--accent-main);
  transform: translateX(1px);
}

.nav-list a:hover .nav-bullet {
  background: var(--accent-main);
}

.nav-list a.nav-primary {
  font-weight: 600;
}

.side-meta {
  margin-top: auto;
  padding-top: 0.7rem;
  border-top: 1px dashed var(--border-soft);
  font-size: 0.8rem;
  color: var(--text-muted);
}

.side-meta strong {
  display: block;
  font-size: 0.8rem;
  margin-bottom: 0.15rem;
}

.side-meta a {
  color: var(--accent-main);
  text-decoration: none;
}

.side-meta a:hover {
  text-decoration: underline;
}

@media (max-width: 880px) {
  .side-panel {
    flex-direction: row;
    align-items: center;
    padding: 0.8rem 1rem;
  }
  .side-tagline,
  .side-meta {
    display: none;
  }
  .nav-heading {
    display: none;
  }
  .side-nav {
    flex: 1;
    background: transparent;
    padding: 0;
  }
  .nav-list {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.15rem;
  }
  .nav-list a {
    font-size: 0.8rem;
    padding-inline: 0.65rem;
  }
  .nav-bullet {
    display: none;
  }
}

/* MAIN COLUMN */

.main-shell {
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.top-strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.4rem 0.2rem 0.7rem;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.top-strip span.badge-geo {
  padding: 0.18rem 0.6rem;
  border-radius: 999px;
  background: #eff6ff;
  color: #1e40af;
  border: 1px solid #bfdbfe;
}

.top-strip span.badge-geo strong {
  font-weight: 600;
}

.top-strip a {
  color: var(--accent-main);
  text-decoration: none;
  font-weight: 500;
}

.top-strip a:hover {
  text-decoration: underline;
}

.page-inner {
  flex: 1;
  padding: 0.1rem 0.2rem 1.8rem;
}

/* HERO SECTION */

.hero-layout {
  border-radius: var(--radius-lg);
  background: radial-gradient(circle at 0 0, #dbeafe 0, transparent 55%),
              radial-gradient(circle at 100% 100%, #fee2e2 0, transparent 55%),
              var(--bg-panel);
  border: 1px solid var(--border-soft);
  padding: 1.4rem 1.4rem 1.5rem;
  box-shadow: var(--shadow-soft);
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.1rem;
}

@media (max-width: 960px) {
  .hero-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}

.hero-main {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.hero-label {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--text-muted);
}

.hero-title {
  font-size: clamp(1.9rem, 2.7vw, 2.4rem);
  line-height: 1.1;
}

.hero-title span.highlight {
  background: linear-gradient(120deg, #2563eb, #f97316);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-lead {
  font-size: 0.98rem;
  color: var(--text-muted);
}

.hero-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.75rem;
  margin-top: 0.6rem;
}

.hero-metric {
  border-radius: 14px;
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(209,213,219,0.9);
  padding: 0.7rem 0.8rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.hero-metric strong {
  display: block;
  font-size: 0.98rem;
  color: var(--text-main);
}

.hero-actions {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  align-items: center;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1.4rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  background: linear-gradient(120deg, #2563eb, #0ea5e9);
  color: #f9fafb;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  box-shadow: 0 18px 40px rgba(37,99,235,0.25);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.86rem;
  color: #1d4ed8;
  text-decoration: none;
}

.btn-link span.icon {
  width: 18px;
  height: 18px;
  border-radius: 999px;
  border: 1px solid #cbd5f5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

.hero-side {
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  gap: 0.8rem;
}

.hero-visual {
  border-radius: 16px;
  background: #0f172a;
  padding: 0.7rem;
  border: 1px solid #111827;
}

.hero-visual img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.hero-form {
  border-radius: 16px;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  padding: 0.8rem 0.9rem 0.9rem;
  font-size: 0.82rem;
}

.hero-form h2 {
  font-size: 0.95rem;
  margin-bottom: 0.15rem;
}

.hero-form p {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.hero-form label {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.hero-form input,
.hero-form textarea {
  width: 100%;
  margin-top: 0.16rem;
  margin-bottom: 0.5rem;
  padding: 0.45rem 0.6rem;
  border-radius: 11px;
  border: 1px solid var(--border-soft);
  background: #f9fafb;
  color: var(--text-main);
  font: inherit;
  font-size: 0.86rem;
}

.hero-form textarea {
  resize: vertical;
  min-height: 64px;
}

/* GENERIC SECTIONS */

.section {
  margin-bottom: 2.1rem;
}

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.4rem;
  margin-bottom: 1.45rem;
}

.section-kicker {
  font-size: 0.76rem;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.section-kicker::before {
  content: "";
  width: 24px;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(120deg, #2563eb, #f97316);
}

.section-title {
  font-size: 1.35rem;
}

.section-intro {
  font-size: 0.95rem;
  color: var(--text-muted);
  max-width: 34rem;
}

/* CARD GRID */

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
}

.card {
  border-radius: var(--radius-md);
  background: var(--bg-panel);
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-soft);
  padding: 0.85rem 0.95rem 0.9rem;
}

.card-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #6b21a8;
  margin-bottom: 0.3rem;
}

.card h3 {
  font-size: 0.98rem;
  margin-bottom: 0.3rem;
}

.card p {
  font-size: 0.9rem;
  color: var(--text-muted);
}

/* CONTENT LAYOUT FOR INNER PAGES */

.content-layout {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2.1fr);
  gap: 1.9rem;
}

.content-main h1,
.content-main h2 {
  margin-bottom: 0.6rem;
}

.content-main h1 {
  font-size: 1.5rem;
}

.content-main h2 {
  font-size: 1.1rem;
}

.content-main p {
  margin-bottom: 0.8rem;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.content-main ul,
.content-main ol {
  margin-left: 1.3rem;
  margin-bottom: 0.8rem;
}

.content-main li {
  margin-bottom: 0.25rem;
}

.aside-box {
  border-radius: var(--radius-md);
  background: var(--bg-soft);
  border: 1px solid var(--border-soft);
  padding: 0.9rem 1rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  box-shadow: var(--shadow-soft);
}

.aside-box h3 {
  font-size: 0.96rem;
  margin-bottom: 0.45rem;
  color: var(--text-main);
}

.illustration {
  width: 100%;
  border-radius: var(--radius-md);
  border: 1px dashed var(--border-soft);
  padding: 0.75rem;
  background: #ffffff;
  margin-bottom: 0.85rem;
}

.illustration img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 10px;
}

.illustration figcaption {
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

/* GENERIC FORMS */

form label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
}

form input,
form textarea {
  width: 100%;
  margin-top: 0.18rem;
  margin-bottom: 0.7rem;
  padding: 0.5rem 0.7rem;
  border-radius: 11px;
  border: 1px solid var(--border-soft);
  background: #f9fafb;
  color: var(--text-main);
  font: inherit;
  font-size: 0.9rem;
}

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

/* FOOTER */

.site-footer {
  margin-top: auto;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.site-footer a {
  color: #1d4ed8;
  text-decoration: none;
}

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

/* COOKIES BANNER */

.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  background: #020617;
  color: #e5e7eb;
  font-size: 0.8rem;
  padding: 0.7rem 1.2rem;
  border-top: 1px solid rgba(15,23,42,0.7);
}

.cookie-banner-inner {
  max-width: 1120px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.cookie-banner a {
  color: #bfdbfe;
  text-decoration: underline;
}

.cookie-banner button {
  border-radius: 999px;
  border: none;
  padding: 0.35rem 1.1rem;
  font-size: 0.78rem;
  cursor: pointer;
  background: linear-gradient(120deg, #2563eb, #0ea5e9);
  color: #f9fafb;
  font-weight: 600;
}

/* RESPONSIVE ADJUSTMENTS */

@media (max-width: 720px) {
  .section-header {
    flex-direction: column;
  }
  .content-layout {
    grid-template-columns: minmax(0, 1fr);
  }
}
