:root {
  --ink: #1b1230;
  --muted: #5c5270;
  --violet: #6d28d9;
  --violet-deep: #4c1d95;
  --violet-hot: #7c3aed;
  --night: #160826;
  --lilac: #f3eeff;
  --paper: #fbf9ff;
  --line: rgba(76, 29, 149, 0.14);
  --white: #fff;
  --shadow: 0 18px 50px rgba(46, 16, 101, 0.12);
  --radius: 22px;
  --serif: "Fraunces", "Times New Roman", serif;
  --sans: "Manrope", "Segoe UI", sans-serif;
  --header: 117px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background:
    linear-gradient(90deg, #5b21b6 0 7px, transparent 7px),
    var(--paper);
  line-height: 1.65;
  padding-bottom: 84px;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--violet-deep); }
button, input, select, textarea { font: inherit; }
h1, h2, h3, h4 { font-family: var(--serif); font-weight: 560; letter-spacing: -0.03em; line-height: 1.15; }
p { margin: 0 0 1rem; }

.skip {
  position: absolute; left: 12px; top: -40px; background: #fff; padding: 8px 12px; z-index: 20;
}
.skip:focus { top: 12px; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.container { width: min(1140px, calc(100% - 40px)); margin-inline: auto; }

.topbar {
  background: var(--night);
  color: #efe9ff;
  font-size: 0.92rem;
}
.topbar-inner, .header-inner, .hero-grid, .split, .contact-grid, .footer-grid {
  display: flex; justify-content: space-between; gap: 24px; align-items: center;
}
.topbar-inner { min-height: 42px; }
.topbar p { margin: 0; }
.topbar a { color: #fff; text-decoration: none; font-weight: 700; }
.topbar-links { display: flex; gap: 16px; }

.site-header {
  position: sticky; top: 0; z-index: 30;
  background: rgba(251, 249, 255, 0.92);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line);
}
.header-inner { min-height: var(--header); padding-top: 0; padding-bottom: 0; }
.brand {
  display: flex; align-items: center; gap: 14px;
  height: var(--header); margin: 0; padding: 0;
  text-decoration: none; color: inherit; flex: 0 0 auto;
}
.brand-mark { width: 136px; height: 78px; max-width: none; flex: none; }
.brand-text {
  display: flex; flex-direction: column; justify-content: center; gap: 6px;
  border-left: 2px solid var(--violet); padding-left: 14px; min-width: 0;
}
.brand strong {
  display: block; font-family: "Oswald", "Arial Narrow", sans-serif;
  font-weight: 600; font-size: 2rem; line-height: 0.95; letter-spacing: 0.01em;
  color: var(--violet-deep);
}
.brand small {
  display: block; color: #5b21b6;
  font-size: 0.84rem; font-weight: 700; line-height: 1.28; letter-spacing: 0.005em;
}
.site-nav { display: flex; align-items: center; gap: 4px; }
.site-nav a {
  text-decoration: none; color: var(--ink); font-weight: 700; font-size: 0.92rem;
  padding: 8px 8px; border-radius: 999px; white-space: nowrap;
}
.site-nav a[aria-current="page"] { background: var(--lilac); color: var(--violet-deep); }
.nav-call {
  background: var(--violet) !important; color: #fff !important; margin-left: 6px;
}
.nav-toggle {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line);
  background: #fff; padding: 0;
}
.nav-toggle i { display: block; width: 18px; height: 2px; background: var(--ink); margin: 4px auto; }

.hero { padding: 42px 0 20px; }
.hero-grid { align-items: stretch; }
.hero-copy { flex: 1.15; }
.eyebrow {
  display: inline-flex; gap: 8px; align-items: center;
  color: var(--violet-deep); font-weight: 800; letter-spacing: 0.08em;
  text-transform: uppercase; font-size: 0.78rem; margin-bottom: 12px;
}
.hero h1 { font-size: clamp(2.4rem, 5vw, 4.4rem); margin: 0 0 16px; }
.hero h1 em { font-style: italic; color: var(--violet); }
.lead { font-size: 1.12rem; color: var(--muted); max-width: 46rem; }
.hero-actions, .cta-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 48px; padding: 0 18px; border-radius: 999px; text-decoration: none;
  font-weight: 800; border: 1px solid transparent;
}
.btn-primary { background: var(--violet); color: #fff; }
.btn-ghost { background: #fff; color: var(--violet-deep); border-color: var(--line); }
.btn-wa { background: #128C7E; color: #fff; }
.hero-panel {
  flex: 0.85; background: var(--night); color: #fff; border-radius: 32px; padding: 22px;
  box-shadow: var(--shadow); min-height: 420px; display: flex; flex-direction: column; justify-content: flex-end;
  position: relative; overflow: hidden;
}
.hero-panel img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.72; }
.hero-panel figcaption, .hero-card {
  position: relative; background: rgba(22, 8, 38, 0.78); border-radius: 18px; padding: 16px 18px;
}
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 28px; }
.stat {
  background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 14px 16px;
}
.stat strong { display: block; font-family: var(--serif); font-size: 1.35rem; }
.stat span { color: var(--muted); font-size: 0.88rem; }

.section { padding: 64px 0; }
.section-head { max-width: 680px; margin-bottom: 28px; }
.section-head h2, .page-hero h1 { font-size: clamp(2rem, 4vw, 3.2rem); margin: 0 0 10px; }
.muted { color: var(--muted); }

.cards { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.card {
  grid-column: span 4; background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px; text-decoration: none; color: inherit; min-height: 180px;
  display: flex; flex-direction: column; gap: 8px; transition: transform .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); border-color: #c4b5fd; }
.card h3 { margin: 0; font-size: 1.45rem; }
.card p { margin: 0; color: var(--muted); }
.card .more { margin-top: auto; font-weight: 800; color: var(--violet); }
.wide { grid-column: span 6; }

.band {
  background: linear-gradient(160deg, #3b0764, #6d28d9 55%, #8b5cf6);
  color: #fff; border-radius: 32px; padding: 36px;
}
.band a { color: #fff; }
.band .muted, .band p { color: #efe9ff; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 18px; }
.step { background: rgba(255,255,255,.08); border-radius: 18px; padding: 16px; }
.step b { display: block; font-family: var(--serif); font-size: 1.4rem; }

.region-grid, .article-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.region, .article-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line);
  text-decoration: none; color: inherit; display: flex; flex-direction: column;
}
.region { padding: 22px; }
.article-card img { aspect-ratio: 16/9; object-fit: cover; width: 100%; }
.article-card div, .region { padding: 18px 18px 20px; }
.article-card h3, .region h3 { margin: 6px 0; font-size: 1.4rem; }
.kicker { color: var(--violet); font-weight: 800; font-size: 0.82rem; letter-spacing: .04em; text-transform: uppercase; }

.page-hero { padding: 42px 0 10px; }
.crumbs { display: flex; flex-wrap: wrap; gap: 8px; color: var(--muted); font-size: 0.92rem; margin-bottom: 12px; }
.crumbs a { color: var(--muted); }

.layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; align-items: start; padding-bottom: 50px; }
.prose { font-size: 1.05rem; }
.prose h2 { font-size: 1.85rem; margin: 1.6rem 0 .6rem; }
.prose h3 { font-size: 1.3rem; margin: 1.2rem 0 .4rem; }
.prose ul, .prose ol { margin: 0 0 1rem; padding-left: 1.2rem; }
.figure { margin: 0 0 18px; }
.figure img, .figure-inline img { width: 100%; border-radius: 22px; object-fit: cover; }
.figure-inline { margin: 1.4rem 0; }
.figure a { display: block; }
.side {
  position: sticky; top: calc(var(--header) + 16px);
  background: #fff; border: 1px solid var(--line); border-radius: 24px; padding: 18px;
}
.side h2 { font-size: 1.35rem; margin: 0 0 8px; }
.side a { display: block; padding: 7px 0; text-decoration: none; font-weight: 700; }
.side .btn { width: 100%; margin-top: 8px; }

.faq details {
  background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 12px 16px; margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 800; }
.faq p { margin: 8px 0 0; color: var(--muted); }

.contact-grid { align-items: stretch; }
.contact-card, .map-wrap {
  flex: 1; background: #fff; border-radius: 28px; border: 1px solid var(--line); padding: 22px;
}
.map-wrap { padding: 0; overflow: hidden; min-height: 380px; }
.map-wrap iframe { width: 100%; height: 100%; min-height: 380px; border: 0; }
.form { display: grid; gap: 12px; margin-top: 12px; }
.form label { display: grid; gap: 6px; font-weight: 700; }
.form input, .form select, .form textarea {
  width: 100%; border: 1px solid var(--line); border-radius: 14px; padding: 12px 14px; background: var(--lilac);
}
.meta-list { list-style: none; padding: 0; margin: 0 0 12px; }
.meta-list li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.meta-list span { display: block; color: var(--muted); font-size: 0.82rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; }

.site-footer { background: var(--night); color: #efe9ff; padding: 48px 0 24px; }
.footer-grid { align-items: flex-start; }
.site-footer h2 { font-size: 1.15rem; margin: 0 0 10px; }
.site-footer a { color: #fff; text-decoration: none; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 6px 0; }
.footer-note { color: #d6ccf5; max-width: 28rem; }
.brand-footer { height: auto; align-items: flex-start; }
.brand-footer .brand-mark { width: 98px; height: 56px; }
.brand-footer .brand-text { border-left-color: rgba(255, 255, 255, 0.4); }
.brand-footer strong { color: #fff; font-size: 1.35rem; }
.brand-footer small { color: #ddd6fe; font-size: 0.78rem; max-width: 16rem; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.12); margin-top: 26px; padding-top: 14px; }
.footer-bottom p { margin: 0; color: #c4b5fd; }
.footer-credit { margin-top: 8px; font-size: 0.92rem; }

.dock {
  position: fixed; left: 16px; right: 16px; bottom: 14px; z-index: 40;
  display: none; gap: 10px;
}
.dock a {
  flex: 1; text-align: center; text-decoration: none; color: #fff; font-weight: 800;
  border-radius: 999px; min-height: 52px; display: flex; align-items: center; justify-content: center;
}
.dock-call { background: var(--violet); }
.dock-wa { background: #128C7E; }

.lightbox { border: 0; padding: 0; background: transparent; width: min(1000px, 94vw); }
.lightbox::backdrop { background: rgba(22, 8, 38, .82); }
.lightbox img { width: 100%; border-radius: 18px; }
.lightbox-close {
  position: absolute; right: 8px; top: -42px; background: #fff; border: 0; border-radius: 999px; padding: 8px 12px; font-weight: 800;
}

.service-block { scroll-margin-top: 100px; padding: 22px 0; border-top: 1px solid var(--line); }
.link-row { display: flex; flex-wrap: wrap; gap: 8px; }
.pill {
  display: inline-flex; text-decoration: none; background: var(--lilac); color: var(--violet-deep);
  border-radius: 999px; padding: 8px 12px; font-weight: 800;
}

@media (max-width: 980px) {
  .hero-grid, .split, .contact-grid, .footer-grid, .layout, .region-grid, .article-grid { display: grid; }
  .hero-grid, .contact-grid, .footer-grid { grid-template-columns: 1fr; }
  .layout { grid-template-columns: 1fr; }
  .region-grid, .article-grid, .steps { grid-template-columns: 1fr 1fr; }
  .card, .wide { grid-column: span 6; }
  .side { position: static; }
  .nav-toggle { display: inline-block; }
  .site-nav {
    display: none; position: absolute; left: 16px; right: 16px; top: calc(100% + 8px);
    background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 10px;
    flex-direction: column; align-items: stretch; box-shadow: var(--shadow);
  }
  .site-nav.open { display: flex; }
  .header-inner { position: relative; }
  .dock { display: flex; }
  .topbar-inner { align-items: flex-start; padding: 8px 0; flex-direction: column; gap: 4px; }
}

@media (max-width: 680px) {
  .region-grid, .article-grid, .steps, .stat-row { grid-template-columns: 1fr; }
  .card, .wide { grid-column: span 12; }
  .container { width: min(1140px, calc(100% - 28px)); }
  body { background: var(--paper); }
}
