:root{
  --sm-ink:#17122f;
  --sm-ink2:#29203f;
  --sm-text:#47414f;
  --sm-muted:#756f7d;
  --sm-line:#e8e3eb;
  --sm-soft:#faf9fb;
  --sm-lilac:#f5f1f7;
  --sm-lilac2:#ece4f0;
  --sm-accent:#76508b;
  --sm-accent2:#a779b8;
  --sm-white:#fff;
  --sm-shadow:0 18px 55px rgba(23,18,47,.07);
}

.smap,
.smap *,
.smap *::before,
.smap *::after{
  box-sizing:border-box;
}

.smap{
  color:var(--sm-ink);
  background:#fff;
}

.smap a{
  color:inherit;
}

.smap button,
.smap input{
  font:inherit;
}

.smap__wrap{
  width:min(1180px,calc(100% - 40px));
  margin-inline:auto;
}

.smap-icon{
  width:23px;
  height:23px;
  flex:0 0 auto;
  fill:none;
  stroke:currentColor;
  stroke-width:1.6;
  stroke-linecap:round;
  stroke-linejoin:round;
}

/* crumbs */

.smap__crumbs{
  padding:23px 0 0;
  color:var(--sm-muted);
  font-size:14px;
}

.smap__crumbs a{
  text-decoration:none;
}

.smap__crumbs span{
  margin:0 7px;
}

/* common */

.smap__eyebrow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:0 0 13px;
  color:var(--sm-accent);
  font-size:12px;
  font-weight:800;
  letter-spacing:.11em;
  text-transform:uppercase;
}

.smap__eyebrow::before{
  content:"";
  width:27px;
  height:2px;
  flex:0 0 auto;
  background:currentColor;
}

.smap__section{
  padding:82px 0;
  scroll-margin-top:calc(var(--zp-fixed-header-h,93px) + 68px);
}

.smap__section--soft{
  background:var(--sm-soft);
}

.smap__section--lilac{
  background:var(--sm-lilac);
}

.smap__section--dark{
  color:#fff;
  background:var(--sm-ink);
}

.smap__head{
  display:grid;
  grid-template-columns:1fr minmax(280px,420px);
  gap:50px;
  align-items:end;
  margin-bottom:34px;
}

.smap__head h2{
  margin:0;
  font-size:clamp(31px,4vw,44px);
  line-height:1.08;
  letter-spacing:-.035em;
}

.smap__head > p{
  margin:0;
  color:var(--sm-muted);
  font-size:15px;
  line-height:1.7;
}

.smap__section--dark .smap__eyebrow{
  color:#dfc7e8;
}

.smap__section--dark .smap__head > p{
  color:#d4cedb;
}

.smap__btn{
  min-height:49px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 20px;
  color:#fff!important;
  background:var(--sm-ink);
  border:0;
  border-radius:999px;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  transition:.18s ease;
}

.smap__btn:hover{
  transform:translateY(-1px);
  background:#302548;
}

.smap__text-link{
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:var(--sm-accent)!important;
  text-decoration:none;
  font-size:14px;
  font-weight:800;
}

.smap__text-link::after{
  content:"→";
  transition:transform .18s ease;
}

.smap__text-link:hover::after{
  transform:translateX(4px);
}

/* hero */

.smap__hero{
  position:relative;
  overflow:hidden;
  padding:45px 0 92px;
  background:
    radial-gradient(
      circle at 91% 7%,
      rgba(167,121,184,.15),
      transparent 28%
    ),
    linear-gradient(
      180deg,
      #fff 0%,
      #faf9fb 100%
    );
}

.smap__hero::after{
  content:"";
  position:absolute;
  right:-250px;
  bottom:-390px;
  width:600px;
  height:600px;
  border:1px solid rgba(118,80,139,.10);
  border-radius:50%;
}

.smap__hero-grid{
  position:relative;
  z-index:2;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(310px,.55fr);
  gap:75px;
  align-items:center;
}

.smap__hero h1{
  margin:0;
  font-size:clamp(43px,5.4vw,66px);
  line-height:1.02;
  letter-spacing:-.048em;
}

.smap__hero-lead{
  max-width:760px;
  margin:21px 0 0;
  color:var(--sm-text);
  font-size:18px;
  line-height:1.7;
}

.smap__hero-links{
  border-top:1px solid var(--sm-line);
}

.smap__hero-link{
  display:grid;
  grid-template-columns:45px 1fr auto;
  gap:14px;
  align-items:center;
  min-height:84px;
  color:var(--sm-ink);
  border-bottom:1px solid var(--sm-line);
  text-decoration:none;
  transition:.18s ease;
}

.smap__hero-link:hover{
  color:var(--sm-accent);
  padding-left:4px;
}

.smap__hero-link-icon{
  width:42px;
  height:42px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--sm-accent);
  background:var(--sm-lilac);
  border-radius:13px;
}

.smap__hero-link strong{
  font-size:16px;
}

.smap__hero-link span:last-child{
  color:#9d95a1;
  font-size:20px;
}

/* search */

.smap__search-zone{
  position:relative;
  z-index:20;
  margin-top:-38px;
}

.smap__search-panel{
  padding:14px;
  background:#fff;
  border:1px solid var(--sm-line);
  border-radius:20px;
  box-shadow:var(--sm-shadow);
}

.smap__search{
  position:relative;
}

.smap__search-icon{
  position:absolute;
  left:19px;
  top:50%;
  transform:translateY(-50%);
  color:var(--sm-accent);
  pointer-events:none;
}

.smap__search-input{
  width:100%;
  min-height:62px;
  padding:0 58px 0 55px;
  color:var(--sm-ink);
  background:var(--sm-soft);
  border:1px solid transparent;
  border-radius:14px;
  outline:none;
  font-size:16px;
  transition:.18s ease;
}

.smap__search-input:focus{
  background:#fff;
  border-color:#bca1c8;
  box-shadow:0 0 0 4px rgba(118,80,139,.08);
}

.smap__search-clear{
  position:absolute;
  right:14px;
  top:50%;
  width:35px;
  height:35px;
  display:none;
  align-items:center;
  justify-content:center;
  transform:translateY(-50%);
  color:#6f6875;
  background:#eee8f1;
  border:0;
  border-radius:50%;
  cursor:pointer;
}

.smap__search-clear.is-visible{
  display:flex;
}

.smap__search-status{
  min-height:18px;
  margin:9px 5px 0;
  color:var(--sm-muted);
  font-size:12px;
}

/* quick nav */

.smap__quick-wrap{
  position:relative;
  z-index:15;
  padding-top:19px;
}

.smap__quick{
  position:sticky;
  top:var(--zp-fixed-header-h,93px);
  display:flex;
  gap:6px;
  overflow-x:auto;
  padding:9px;
  background:rgba(250,249,251,.95);
  border:1px solid var(--sm-line);
  border-radius:14px;
  backdrop-filter:blur(14px);
  scrollbar-width:none;
}

.smap__quick::-webkit-scrollbar{
  display:none;
}

.smap__quick a{
  flex:0 0 auto;
  padding:9px 13px;
  color:#625b68;
  background:#fff;
  border:1px solid var(--sm-line);
  border-radius:999px;
  text-decoration:none;
  white-space:nowrap;
  font-size:12px;
  font-weight:750;
  transition:.17s ease;
}

.smap__quick a:hover,
.smap__quick a.is-active{
  color:#fff;
  background:var(--sm-ink);
  border-color:var(--sm-ink);
}

/* service groups */

.smap__service-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:17px 42px;
}

.smap-group{
  min-width:0;
  padding:0 0 28px;
  border-bottom:1px solid var(--sm-line);
}

.smap-group--wide{
  grid-column:1/3;
}

.smap-group.is-hidden{
  display:none;
}

.smap-group__head{
  display:grid;
  grid-template-columns:45px 1fr;
  gap:15px;
  align-items:center;
  margin-bottom:10px;
}

.smap-group__icon{
  width:43px;
  height:43px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:var(--sm-accent);
  background:var(--sm-lilac);
  border-radius:13px;
}

.smap-group h3{
  margin:0;
  font-size:20px;
  line-height:1.25;
}

.smap-group__desc{
  margin:3px 0 0;
  color:var(--sm-muted);
  font-size:13px;
}

.smap-links{
  margin:0;
  padding:0;
  list-style:none;
}

.smap-links li{
  margin:0;
}

.smap-link{
  min-height:46px;
  display:grid;
  grid-template-columns:1fr auto;
  gap:14px;
  align-items:center;
  padding:9px 2px;
  color:var(--sm-text);
  border-bottom:1px solid #f0ecf1;
  text-decoration:none;
  font-size:14px;
  line-height:1.4;
  transition:.16s ease;
}

.smap-link::after{
  content:"→";
  color:#b0a7b4;
  transition:transform .16s ease,color .16s ease;
}

.smap-link:hover{
  color:var(--sm-accent);
}

.smap-link:hover::after{
  color:var(--sm-accent);
  transform:translateX(4px);
}

.smap-link.is-hidden{
  display:none;
}

/* hall of important pages */

.smap__feature-links{
  display:grid;
  grid-template-columns:1.1fr .9fr .9fr;
  border-top:1px solid var(--sm-line);
  border-left:1px solid var(--sm-line);
}

.smap-feature{
  min-height:190px;
  display:flex;
  flex-direction:column;
  padding:24px;
  background:#fff;
  border-right:1px solid var(--sm-line);
  border-bottom:1px solid var(--sm-line);
  text-decoration:none;
  transition:.18s ease;
}

.smap-feature:hover{
  color:var(--sm-accent);
  background:#fff;
}

.smap-feature small{
  margin-bottom:auto;
  color:#9b939f;
  font-size:10px;
  font-weight:800;
  letter-spacing:.08em;
  text-transform:uppercase;
}

.smap-feature strong{
  display:block;
  margin-bottom:7px;
  font-size:20px;
}

.smap-feature span{
  color:var(--sm-muted);
  font-size:13px;
  line-height:1.55;
}

/* blog */

.smap__articles{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:0 40px;
}

.smap__article-link{
  min-height:65px;
  display:grid;
  grid-template-columns:36px 1fr auto;
  gap:13px;
  align-items:center;
  color:var(--sm-text);
  border-bottom:1px solid var(--sm-line);
  text-decoration:none;
  transition:.17s ease;
}

.smap__article-num{
  color:#a49ca8;
  font-size:11px;
  font-weight:800;
}

.smap__article-link strong{
  font-size:14px;
  line-height:1.4;
}

.smap__article-link::after{
  content:"→";
  color:#aaa1ae;
}

.smap__article-link:hover{
  color:var(--sm-accent);
}

/* help */

.smap__help-grid{
  display:grid;
  grid-template-columns:repeat(5,1fr);
  border-top:1px solid #ded3e3;
  border-left:1px solid #ded3e3;
}

.smap-help{
  min-height:160px;
  padding:20px;
  background:rgba(255,255,255,.78);
  border-right:1px solid #ded3e3;
  border-bottom:1px solid #ded3e3;
  text-decoration:none;
  transition:.17s ease;
}

.smap-help:hover{
  background:#fff;
  color:var(--sm-accent);
}

.smap-help__icon{
  width:39px;
  height:39px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:25px;
  color:var(--sm-accent);
  background:#fff;
  border-radius:12px;
}

.smap-help strong{
  display:block;
  margin-bottom:5px;
  font-size:15px;
}

.smap-help span{
  color:var(--sm-muted);
  font-size:12px;
  line-height:1.5;
}

/* geography */

.smap__geo{
  display:grid;
  grid-template-columns:1fr auto;
  gap:45px;
  align-items:center;
}

.smap__geo h2{
  margin:0;
  max-width:720px;
  font-size:clamp(31px,4vw,44px);
  line-height:1.08;
  letter-spacing:-.035em;
}

.smap__geo p{
  max-width:710px;
  margin:15px 0 0;
  color:#d3cdd9;
  line-height:1.7;
}

.smap__geo-actions{
  display:flex;
  flex-direction:column;
  gap:10px;
  min-width:210px;
}

.smap__section--dark .smap__btn{
  color:var(--sm-ink)!important;
  background:#fff;
}

.smap__section--dark .smap__text-link{
  color:#e4cbea!important;
}

/* current local pages */

.smap-current{
  margin-top:33px;
  overflow:hidden;
  border:1px solid rgba(255,255,255,.14);
  border-radius:16px;
}

.smap-current summary{
  position:relative;
  display:block;
  padding:17px 50px 17px 18px;
  color:#fff;
  cursor:pointer;
  list-style:none;
  font-size:14px;
  font-weight:750;
}

.smap-current summary::-webkit-details-marker{
  display:none;
}

.smap-current summary::after{
  content:"+";
  position:absolute;
  right:15px;
  top:50%;
  width:28px;
  height:28px;
  display:flex;
  align-items:center;
  justify-content:center;
  transform:translateY(-50%);
  background:rgba(255,255,255,.10);
  border-radius:50%;
}

.smap-current[open] summary::after{
  content:"−";
}

.smap-current__body{
  padding:0 18px 18px;
}

.smap-current__grid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:6px 18px;
}

.smap-current__grid a{
  padding:8px 0;
  color:#d4ceda;
  border-bottom:1px solid rgba(255,255,255,.09);
  text-decoration:none;
  font-size:12px;
  line-height:1.4;
}

.smap-current__grid a:hover{
  color:#fff;
}

/* studio / partners */

.smap__split{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:18px;
}

.smap-panel{
  min-height:300px;
  padding:29px;
  background:#fff;
  border:1px solid var(--sm-line);
  border-radius:22px;
}

.smap-panel--accent{
  background:var(--sm-lilac);
  border-color:#dfd3e5;
}

.smap-panel__icon{
  width:44px;
  height:44px;
  display:flex;
  align-items:center;
  justify-content:center;
  margin-bottom:24px;
  color:var(--sm-accent);
  background:#fff;
  border:1px solid var(--sm-line);
  border-radius:13px;
}

.smap-panel h2{
  margin:0 0 12px;
  font-size:27px;
  line-height:1.15;
}

.smap-panel p{
  margin:0 0 21px;
  color:var(--sm-muted);
  line-height:1.65;
}

.smap-panel .smap-links{
  margin-top:10px;
}

/* documents */

.smap__docs{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  border-top:1px solid var(--sm-line);
  border-left:1px solid var(--sm-line);
}

.smap-doc{
  min-height:105px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  padding:19px;
  border-right:1px solid var(--sm-line);
  border-bottom:1px solid var(--sm-line);
  text-decoration:none;
  transition:.17s ease;
}

.smap-doc:hover{
  color:var(--sm-accent);
  background:var(--sm-soft);
}

.smap-doc small{
  color:#9c94a0;
  font-size:10px;
  font-weight:750;
}

.smap-doc strong{
  font-size:16px;
  line-height:1.35;
}

/* no result */

.smap__empty{
  display:none;
  margin:38px 0 0;
  padding:28px;
  text-align:center;
  background:var(--sm-soft);
  border:1px solid var(--sm-line);
  border-radius:18px;
}

.smap__empty.is-visible{
  display:block;
}

.smap__empty strong{
  display:block;
  margin-bottom:6px;
  font-size:18px;
}

.smap__empty p{
  margin:0;
  color:var(--sm-muted);
}

/* final */

.smap__final{
  padding:80px 0;
  color:#fff;
  background:
    radial-gradient(
      circle at 88% 20%,
      rgba(168,121,186,.42),
      transparent 30%
    ),
    var(--sm-ink);
}

.smap__final-inner{
  max-width:830px;
}

.smap__final h2{
  margin:0;
  font-size:clamp(32px,4.5vw,47px);
  line-height:1.07;
  letter-spacing:-.04em;
}

.smap__final p{
  max-width:690px;
  margin:19px 0 27px;
  color:#d8d2df;
  font-size:16px;
  line-height:1.7;
}

.smap__final-actions{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  gap:18px;
}

.smap__final .smap__btn{
  color:var(--sm-ink)!important;
  background:#fff;
}

.smap__final .smap__text-link{
  color:#e5cfec!important;
}

/* search filtering */

[data-map-section].is-hidden,
[data-map-block].is-hidden{
  display:none!important;
}

/* responsive */

@media(max-width:1020px){

  .smap__hero-grid,
  .smap__head,
  .smap__geo{
    grid-template-columns:1fr;
    gap:31px;
  }

  .smap__hero-links{
    max-width:670px;
  }

  .smap__help-grid{
    grid-template-columns:repeat(3,1fr);
  }

  .smap-current__grid{
    grid-template-columns:repeat(2,1fr);
  }

}

@media(max-width:780px){

  .smap__wrap{
    width:min(100% - 28px,1180px);
  }

  .smap__hero{
    padding:34px 0 79px;
  }

  .smap__hero h1{
    font-size:clamp(37px,10vw,51px);
  }

  .smap__hero-lead{
    font-size:16px;
  }

  .smap__search-zone{
    margin-top:-31px;
  }

  .smap__section{
    padding:64px 0;
  }

  .smap__service-grid,
  .smap__articles,
  .smap__split,
  .smap__docs{
    grid-template-columns:1fr;
  }

  .smap-group--wide{
    grid-column:auto;
  }

  .smap__feature-links{
    grid-template-columns:1fr;
  }

  .smap-feature{
    min-height:135px;
  }

  .smap__help-grid{
    grid-template-columns:repeat(2,1fr);
  }

  .smap__geo-actions{
    align-items:flex-start;
  }

}

@media(max-width:520px){

  .smap__search-input{
    font-size:14px;
  }

  .smap__help-grid{
    grid-template-columns:1fr;
  }

  .smap-help{
    min-height:auto;
  }

  .smap-current__grid{
    grid-template-columns:1fr;
  }

  .smap__final-actions{
    align-items:flex-start;
    flex-direction:column;
  }

}

@media(prefers-reduced-motion:reduce){

  .smap *,
  .smap *::before,
  .smap *::after{
    transition:none!important;
    scroll-behavior:auto!important;
  }

}

/* ===== site integration ===== */
html{scroll-padding-top:96px}
body.home-layout-ref > main.smap{
  width:100%;
  max-width:none;
  margin-left:0;
  margin-right:0;
  box-sizing:border-box;
  padding-bottom:0;
}
.smap a{text-decoration:none}
.smap .znews__btn,
.smap .smap__btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}

.smap__section--soft,
.smap__section--lilac,
.smap__section--dark,
.smap__final{
  width:100%;
  max-width:none;
  box-sizing:border-box;
}
