:root {
  --violet: #6B4E8E;
  --violet-dark: #523a6e;
  --violet-light: #a98cc9;
  --anthracite: #2E2E38;
  --anthracite-light: #3d3d49;
  --orange: #E8823D;
  --orange-dark: #d46f2c;
  --bg: #F8F7F4;
  --white: #FFFFFF;
  --text: #2B2B2B;
  --muted: #6d6d78;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(46, 46, 56, .10);
  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Poppins', var(--font-body);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img, svg { max-width: 100%; display: block; }

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

h1, h2, h3, h4, .h1, .h2, .h3 {
  font-family: var(--font-display);
  color: var(--anthracite);
  line-height: 1.25;
  letter-spacing: -.01em;
  font-weight: 700;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); }
h3 { font-size: 1.2rem; }

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

section { padding: 80px 0; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .8rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--violet);
  margin-bottom: 14px;
}

.center { text-align: center; }
.center .eyebrow { text-align: center; }

.lead { font-size: 1.15rem; color: var(--muted); }

p + p { margin-top: 14px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1rem;
  padding: 15px 28px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease, color .15s ease;
  text-decoration: none;
  line-height: 1.2;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn--accent {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 130, 61, .35);
}
.btn--accent:hover { background: var(--orange-dark); }

.btn--ghost {
  border-color: rgba(255, 255, 255, .65);
  color: #fff;
  background: transparent;
}
.btn--ghost:hover { background: rgba(255, 255, 255, .12); }

.btn--violet {
  background: var(--violet);
  color: #fff;
  box-shadow: 0 8px 20px rgba(107, 78, 142, .35);
}
.btn--violet:hover { background: var(--violet-dark); }

.btn--outline {
  border-color: var(--violet);
  color: var(--violet);
}
.btn--outline:hover { background: var(--violet); color: #fff; }

.btn--sm { padding: 10px 20px; font-size: .9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--violet);
  box-shadow: 0 2px 14px rgba(46, 46, 56, .18);
}

.nav {
  width: min(1140px, 92%);
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 74px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.5rem;
}
.logo:hover { text-decoration: none; }

.logo-mark { width: 42px; height: 42px; flex: none; }

.logo-text em {
  font-style: italic;
  font-weight: 700;
  color: var(--orange);
  letter-spacing: .02em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  font-family: var(--font-display);
  font-size: .95rem;
  font-weight: 500;
}
.nav-links a { color: rgba(255, 255, 255, .92); }
.nav-links a:hover { color: #fff; text-decoration: none; }
.nav-links .btn { color: #fff; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: rgba(255, 255, 255, .12);
  border: none;
  border-radius: 10px;
  cursor: pointer;
  padding: 10px;
}
.nav-toggle span { height: 2.5px; background: #fff; border-radius: 3px; transition: .25s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(circle at 85% 15%, rgba(169, 140, 201, .25), transparent 45%),
    radial-gradient(circle at 8% 90%, rgba(232, 130, 61, .18), transparent 40%),
    linear-gradient(135deg, var(--violet-dark), var(--violet) 55%, #7d5f9f);
  color: #fff;
  overflow: hidden;
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  align-items: center;
  gap: 56px;
  padding: 88px 0;
}
.hero h1 { color: #fff; margin: 12px 0 18px; }
.hero p { color: rgba(255, 255, 255, .88); max-width: 56ch; }
.hero .eyebrow { color: var(--orange); }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.hero-art { position: relative; }
.hero-art svg { width: 100%; height: auto; }

.hero-badge {
  position: absolute;
  bottom: 18px;
  right: 10px;
  background: #fff;
  color: var(--anthracite);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .85rem;
  padding: 10px 16px;
  border-radius: 999px;
  box-shadow: var(--shadow);
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    radial-gradient(circle at 88% 20%, rgba(169, 140, 201, .28), transparent 45%),
    linear-gradient(135deg, var(--violet-dark), var(--violet) 60%, #7d5f9f);
  color: #fff;
}
.page-hero-inner { padding: 72px 0; }
.page-hero h1 { color: #fff; margin: 10px 0 16px; }
.page-hero p { color: rgba(255, 255, 255, .88); max-width: 62ch; }
.page-hero .eyebrow { color: var(--orange); }

/* ---------- Cards ---------- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 1px solid rgba(46, 46, 56, .06);
}

.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }

.icon-badge {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: rgba(107, 78, 142, .12);
  margin-bottom: 18px;
}
.icon-badge svg { width: 30px; height: 30px; }
.icon-badge--orange { background: rgba(232, 130, 61, .14); }

.value-card h3 { margin-bottom: 8px; }
.value-card p { color: var(--muted); font-size: .97rem; }

/* ---------- Stats ---------- */
.stats {
  background: var(--anthracite);
  color: #fff;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 2.8rem);
  color: var(--orange);
}
.stat-label { color: rgba(255, 255, 255, .85); margin-top: 4px; font-size: .97rem; }

/* ---------- Split / feature ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 56px;
}
.split-art svg { width: 100%; height: auto; }
.split h2 { margin-bottom: 16px; }

.section-alt { background: #fff; }

/* ---------- Persons ---------- */
.person-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: var(--shadow);
  text-align: center;
}
.person-avatar {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  background: var(--violet);
  display: grid;
  place-items: center;
  margin: 0 auto 16px;
  color: #fff;
}
.person-avatar svg { width: 44px; height: 44px; }
.person-card h3 { margin-bottom: 4px; }
.person-role { color: var(--orange); font-family: var(--font-display); font-weight: 600; font-size: .9rem; }

/* ---------- Steps ---------- */
.step-card { position: relative; }
.step-num {
  position: absolute;
  top: -18px;
  left: 26px;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: var(--orange);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  display: grid;
  place-items: center;
  box-shadow: 0 6px 16px rgba(232, 130, 61, .4);
}

/* ---------- Info box ---------- */
.info-box {
  background: rgba(107, 78, 142, .08);
  border: 1px solid rgba(107, 78, 142, .22);
  border-left: 5px solid var(--violet);
  border-radius: 14px;
  padding: 26px 28px;
  margin-top: 30px;
}
.info-box h3 { color: var(--violet); margin-bottom: 10px; }
.info-box ul { list-style: none; }
.info-box li { padding: 6px 0; border-bottom: 1px dashed rgba(107, 78, 142, .25); }
.info-box li:last-child { border-bottom: none; }

/* ---------- Article (legal pages) ---------- */
.article { max-width: 820px; }
.article h2 { margin: 46px 0 14px; color: var(--violet); }
.article h2:first-of-type { margin-top: 6px; }
.article ul, .article ol { padding-left: 22px; margin-top: 12px; }
.article li { margin: 8px 0; }

.article table { width: 100%; border-collapse: collapse; margin-top: 16px; }
.article th, .article td { text-align: left; padding: 13px 16px; border-bottom: 1px solid rgba(46, 46, 56, .12); vertical-align: top; }
.article th { font-family: var(--font-display); font-size: .95rem; color: var(--anthracite); white-space: nowrap; }
.article tr:last-child td, .article tr:last-child th { border-bottom: none; }

/* ---------- Forms ---------- */
.form-card { background: #fff; border-radius: var(--radius); padding: 34px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-family: var(--font-display); font-weight: 600; font-size: .95rem; margin-bottom: 7px; }
.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid rgba(46, 46, 56, .2);
  border-radius: 12px;
  font: inherit;
  color: var(--text);
  background: var(--bg);
}
.form-group textarea { min-height: 150px; resize: vertical; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none;
  border-color: var(--violet);
  box-shadow: 0 0 0 3px rgba(107, 78, 142, .15);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }

.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chips label {
  border: 1.5px solid rgba(46, 46, 56, .25);
  border-radius: 999px;
  padding: 9px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .92rem;
  cursor: pointer;
  transition: .15s;
}
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips input:checked + span,
.chips label:has(input:checked) { background: var(--orange); border-color: var(--orange); color: #fff; }
.chips label:hover { border-color: var(--orange); }

.radio-row { display: flex; gap: 16px; flex-wrap: wrap; }
.radio-row label { display: inline-flex; align-items: center; gap: 8px; cursor: pointer; }
.radio-row input { accent-color: var(--orange); width: 18px; height: 18px; }

/* ---------- FAQ ---------- */
.faq-item {
  background: #fff;
  border: 1px solid rgba(46, 46, 56, .1);
  border-radius: 14px;
  padding: 20px 24px;
  margin-bottom: 12px;
}
.faq-item summary {
  cursor: pointer;
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--anthracite);
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; font-size: 1.4rem; color: var(--violet); }
.faq-item[open] summary::after { content: "−"; }
.faq-item p { margin-top: 12px; color: var(--muted); }

/* ---------- Map ---------- */
.map-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid rgba(46, 46, 56, .1);
  height: 400px;
}
.map-wrap .leaflet-container { height: 100%; width: 100%; font: inherit; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(120deg, var(--orange), #f09a5c);
  color: #fff;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 26px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; }
.cta-inner .btn { background: var(--anthracite); color: #fff; }
.cta-inner .btn:hover { background: #000; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--violet-dark);
  color: rgba(255, 255, 255, .88);
  padding: 64px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}
.site-footer h4 { color: #fff; font-size: 1rem; margin-bottom: 16px; }
.site-footer a { color: rgba(255, 255, 255, .85); }
.site-footer a:hover { color: #fff; }
.footer-brand p { margin-top: 14px; max-width: 34ch; }
.footer-col ul { list-style: none; }
.footer-col li { margin: 9px 0; }

.social-row { display: flex; gap: 12px; margin-top: 20px; }
.social-row a {
  width: 42px; height: 42px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  display: grid;
  place-items: center;
  transition: background .15s;
}
.social-row a:hover { background: var(--orange); }
.social-row svg { width: 20px; height: 20px; }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  padding: 24px 0;
  font-size: .9rem;
}
.footer-bottom a { color: rgba(255, 255, 255, .8); }
.footer-bottom a:hover { color: #fff; }

/* ---------- Cookie notice ---------- */
.cookie-notice {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--anthracite);
  color: #fff;
  padding: 18px 0;
  z-index: 200;
  box-shadow: 0 -8px 24px rgba(0, 0, 0, .2);
  transform: translateY(110%);
  transition: transform .35s ease;
}
.cookie-notice.show { transform: translateY(0); }
.cookie-inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: space-between; }
.cookie-inner p { font-size: .95rem; margin: 0; }
.cookie-actions { display: flex; gap: 10px; }
.cookie-actions .btn { padding: 10px 20px; font-size: .9rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 34px; }
  .hero-inner { grid-template-columns: 1fr; padding: 64px 0; gap: 40px; }
  .hero-art { max-width: 480px; }
}

@media (max-width: 900px) {
  .nav-toggle { display: flex; }
  .nav-links {
    position: absolute;
    top: 74px;
    left: 0;
    right: 0;
    background: var(--violet-dark);
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 10px 5vw 22px;
    display: none;
    box-shadow: 0 18px 30px rgba(0, 0, 0, .25);
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px 6px; border-bottom: 1px solid rgba(255, 255, 255, .12); }
  .nav-links .btn { border-bottom: none; justify-content: center; margin-top: 14px; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  section { padding: 60px 0; }
  .grid-4, .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 26px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .page-hero-inner { padding: 56px 0; }
}
