:root {
  --bg: #0F172A;
  --surface: #1E293B;
  --surface-soft: #243247;
  --accent: #6366F1;
  --accent-hover: #7C80F7;
  --success: #10B981;
  --text: #F1F5F9;
  --muted: #94A3B8;
  --border: #334155;
  --shadow: 0 12px 30px rgba(2, 6, 23, 0.35);
  --radius: 14px;
  --max: 1180px;
  --h-font: "Segoe UI", "Tahoma", sans-serif;
  --b-font: "Segoe UI", "Verdana", sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
  background: radial-gradient(1200px 600px at 80% -10%, rgba(99, 102, 241, 0.25), transparent 65%),
    radial-gradient(900px 500px at 0% 0%, rgba(16, 185, 129, 0.15), transparent 60%),
    var(--bg);
  color: var(--text);
  font-family: var(--b-font);
  line-height: 1.6;
  scroll-behavior: smooth;
}

a {
  color: var(--text);
  text-decoration: none;
}

img {
  max-width: 100%;
  height: auto;
}

.container {
  width: min(100% - 2rem, var(--max));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  backdrop-filter: blur(8px);
  background: rgba(15, 23, 42, 0.9);
  border-bottom: 1px solid rgba(51, 65, 85, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 0;
  gap: 1rem;
}

.logo {
  font-family: var(--h-font);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.logo span {
  color: var(--accent);
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.nav a {
  color: var(--muted);
  font-size: 0.96rem;
}

.nav a:hover {
  color: var(--text);
}

.hero {
  padding: 5rem 0 3.2rem;
  animation: fadeUp 0.8s ease;
}

.badge {
  display: inline-block;
  padding: 0.25rem 0.7rem;
  border: 1px solid rgba(99, 102, 241, 0.4);
  border-radius: 999px;
  color: #C7D2FE;
  font-size: 0.84rem;
  margin-bottom: 1rem;
}

h1,
h2,
h3 {
  font-family: var(--h-font);
  margin-top: 0;
}

h1 {
  font-size: clamp(1.9rem, 4.5vw, 3.1rem);
  line-height: 1.15;
  margin-bottom: 1rem;
}

.lead {
  color: var(--muted);
  max-width: 760px;
}

.cta-row {
  margin-top: 1.4rem;
  display: flex;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  border: 1px solid transparent;
  border-radius: 10px;
  padding: 0.74rem 1rem;
  font-weight: 600;
}

.btn-primary {
  background: linear-gradient(120deg, var(--accent), #4F46E5);
  color: #fff;
}

.btn-primary:hover {
  background: linear-gradient(120deg, var(--accent-hover), var(--accent));
}

.btn-ghost {
  border-color: var(--border);
  color: var(--text);
}

.section {
  padding: 2.5rem 0;
}

.section h2 {
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
  margin-bottom: 0.8rem;
}

.grid {
  display: grid;
  gap: 1rem;
}

.services-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.card {
  background: linear-gradient(165deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem;
  box-shadow: var(--shadow);
}

.service-card {
  transform: translateY(8px);
  opacity: 0;
  animation: reveal 0.65s ease forwards;
}

.service-card:nth-child(2) { animation-delay: 0.08s; }
.service-card:nth-child(3) { animation-delay: 0.14s; }
.service-card:nth-child(4) { animation-delay: 0.2s; }
.service-card:nth-child(5) { animation-delay: 0.26s; }
.service-card:nth-child(6) { animation-delay: 0.32s; }

.service-card h3 {
  margin-bottom: 0.5rem;
}

.muted {
  color: var(--muted);
}

.check-list {
  padding-left: 1.1rem;
  margin: 0;
}

.check-list li {
  margin-bottom: 0.45rem;
}

.why-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.form-wrap {
  display: grid;
  gap: 1rem;
  grid-template-columns: 1fr;
}

.form {
  background: rgba(30, 41, 59, 0.95);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem;
}

label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 0.35rem;
}

input,
select,
textarea {
  width: 100%;
  background: #0B1223;
  border: 1px solid #334155;
  color: var(--text);
  border-radius: 10px;
  padding: 0.68rem 0.75rem;
  margin-bottom: 0.9rem;
  font: inherit;
}

textarea {
  min-height: 120px;
  resize: vertical;
}

.site-footer {
  margin-top: 2rem;
  border-top: 1px solid rgba(51, 65, 85, 0.7);
  padding: 1.2rem 0 1.6rem;
  color: var(--muted);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.8rem;
}

.small {
  font-size: 0.88rem;
}

.footer-links,
.legal-links {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-top: 0.85rem;
}

.footer-meta p,
.footer-legal-note p {
  margin: 0.35rem 0;
}

.footer-legal-note {
  padding-top: 1rem;
}

.cookie-banner {
  position: fixed;
  inset-inline: 1rem;
  bottom: 1rem;
  z-index: 1000;
}

.cookie-banner__inner {
  width: min(100%, 980px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr auto;
  gap: 1rem;
  align-items: center;
  background: rgba(15, 23, 42, 0.96);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 18px;
  box-shadow: var(--shadow);
  padding: 1rem 1.1rem;
}

.cookie-copy strong {
  display: block;
  margin-bottom: 0.35rem;
}

.cookie-copy p {
  margin: 0;
  color: var(--muted);
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: flex-end;
}

.consent-row {
  margin: 0.5rem 0 1rem;
}

.consent-check {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  margin: 0;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.5;
}

.consent-check input {
  width: auto;
  margin: 0.2rem 0 0;
}

.consent-check a,
.cookie-copy a,
.footer-links a,
.legal-links a,
.footer-meta a,
.doc-card a,
.case-link-inline {
  color: #c7d2fe;
}

.case-card-link {
  padding: 0;
  overflow: hidden;
}

.case-link {
  display: block;
  height: 100%;
  padding: 1.3rem;
  transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.case-link:hover {
  transform: translateY(-2px);
  background: rgba(36, 50, 71, 0.55);
}

.case-company {
  color: #e2e8f0;
  font-weight: 600;
  margin-top: -0.15rem;
}

.case-bullets {
  margin: 0.9rem 0 0;
  padding-left: 1.2rem;
  color: var(--muted);
}

.case-bullets li + li {
  margin-top: 0.35rem;
}

.case-cta {
  display: inline-block;
  margin-top: 1rem;
  color: #c7d2fe;
  font-weight: 600;
}

.doc-page,
.case-page {
  padding: 4rem 0;
}

.doc-card,
.case-hero {
  background: linear-gradient(165deg, var(--surface), var(--surface-soft));
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 1.4rem;
  box-shadow: var(--shadow);
}

.case-hero {
  margin-bottom: 1rem;
}

.doc-card h1,
.doc-card h2,
.doc-card h3 {
  margin-bottom: 0.8rem;
}

.doc-card p,
.doc-card li {
  color: var(--muted);
}

.doc-card + .doc-card {
  margin-top: 1rem;
}

.doc-note {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  border-radius: 12px;
  border: 1px solid rgba(148, 163, 184, 0.18);
  background: rgba(15, 23, 42, 0.42);
}

.doc-list,
.doc-card ul,
.doc-card ol {
  padding-left: 1.2rem;
}

.stack-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.stack-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(99, 102, 241, 0.16);
  color: #c7d2fe;
  font-size: 0.84rem;
}

.doc-grid {
  display: grid;
  gap: 1rem;
}

@keyframes reveal {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 760px) {
  .form-wrap {
    grid-template-columns: 1.2fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

@media (max-width: 759px) {
  .cookie-banner__inner {
    grid-template-columns: 1fr;
  }

  .cookie-actions {
    justify-content: stretch;
  }

  .cookie-actions .btn {
    width: 100%;
    text-align: center;
  }
}
