:root{
  --bg:#000; --surface:#11161b; --text:#e8edf2; --muted:#98a3ad; --line:rgba(255,255,255,.08);
  --blue:#2f6bff; --cyan:#00f7ff; --green:#17e88b;
}
*{box-sizing:border-box}

* {
  -webkit-tap-highlight-color: transparent;
}
html,body{height:100%}
body{margin:0; background:var(--bg); color:var(--text); font-family:'Inter',system-ui,-apple-system,Segoe UI,Roboto,Arial,Helvetica,sans-serif}
h1,h2,h3{font-family: 'Inter', sans-serif}
.container{max-width:1450px; margin:0 auto; padding:0 5.5vw}

a {
  color: #fff;
  text-decoration: none;
}

/* HERO (сетка поверх текста, лого поверх сетки) */
.hero{position:relative; padding:5px 0; min-height:380px;}


.hero .container {
  max-width: 1600px;
}
.grid-overlay{position:absolute; top: 0; bottom: 0; left: 0; right: 0; opacity: .9; background-size: 98%!important; background:url("../images/grid-hero.png") right -30% bottom -70px no-repeat;
 mix-blend-mode:screen; pointer-events:none; z-index:3}
.hero-inner{position:relative; z-index:5}
.hero-logo{width:min(330px,40vw); display:block; height:auto; filter:drop-shadow(0 12px 40px rgba(0,0,0,.55)); z-index:4; position:relative;
}



.logo-area {
  display: grid;
  grid-template-columns: 5% 4% 80% 9%;

  padding-bottom: 140px;
  
  justify-content: space-between; /* Распихивает колонки по краям */

  align-items: center;
}

.logo-area img {
  width: 83%;
}

.hero-title-block {
  min-height: 110px;
  padding-top: 25px;

  text-align: center;
}

.hero-copy{background:transparent; border:none; padding:0; margin-top:10px}
.hero-title{font-weight:600; text-transform:uppercase; letter-spacing:.01em; margin:0; line-height:1.25; font-size:clamp(28px,6vw,40px); color:#dfe6eb; }
.hero-subtitle{font-size:clamp(11px,2vw,18px); margin:0; font-weight:100; letter-spacing:.08em; text-transform:uppercase; color:#c1d4dc;}
.tiles-row{display:grid; grid-auto-flow:column; justify-content:center; margin-top: 210px; transform: scale(96%); }
.tile{background:var(--cyan); border-radius:8px; box-shadow:  3px 3px 3px black; border: 2px #333; cursor: pointer; transition: all 0.4s ease;}
.tile {width:230px;height:130px; border: 1px solid #aaa;}
.tile.t2{ margin-top: 45px; margin-left: -10px;}

.tile.t3{margin-left: -25px; margin-top: -15px;}

.tile.t4{margin-top: -150px; margin-left: -80px;}

.tile.t5{    margin-top: -260px; margin-left: -270px;}


.tile.t6{    margin-top: -280px;margin-left: -450px; }

.tile.t7{margin-top: -210px; margin-left: -650px; }

.tile.t8{margin-top: -110px;  margin-left: -760px;}

.tile:hover {
  transform: scale(1.2);
  filter: brightness(150%);
}


/* SERVICES — макет как на изначальном */
.services{display:grid; gap:0; margin-bottom: 50px; overflow: hidden;}

.services a {
  border-bottom: 1px dashed;
}
.service{
  display:grid;
  grid-template-columns:minmax(380px, 820px) minmax(200px, 1fr);

  gap:30px;
  padding:56px 5vw;
  border-top:1px solid var(--line);
  background:#12161a;
}


.service .chip-group {
  margin-top: -70px;
  margin-bottom: 70px;
}

.service.dark{background:#12161a}
.service.blue{background:#999D9E}
.service.cyan{background:#B9CADD}
.service.green{background:#D2D2D2}
.service .service-text h2{font-weight:600; font-size:clamp(30px,4.6vw,51px); margin:0 0 100px; line-height: 95%;}
.service .service-text p, .service .service-text ul{margin:0 0 5px; line-height: 1.4; font-size: 17.5px;}
.service .bullets{margin:8px 0 0; padding-left:18px; color:var(--muted)}
.service .service-media{height:300px; border-radius:8px}
.service .service-media.skeleton{background:#cfe9f1}
.service.blue .service-media{background:#cfe0f8}
.service.cyan .service-media{background:#bfeff3}
.service.green .service-media{background:#c6f6e3}
.service.cyan .service-text, .service.green .service-text{color:#001b15}
.service.cyan .service-text p, .service.green .service-text p{color:#001b15}


h2{margin-bottom: 30px; font-size: clamp(30px,5vw,40px)}

/* BLOG */
/* .blog{padding:48px 5vw} */

.blog .card:hover {
    transform: scale(1.01);
}
/* .cards{display:grid; grid-template-columns:repeat(3,minmax(220px,1fr)); gap:20px; padding-bottom: 50px;} */
.card{background:#12161a; border:1px solid var(--line); border-radius:10px; padding:16px}
.card .thumb{height:120px; background:var(--muted); border-radius:12px; margin-bottom:12px}
.card h3{margin:0 0 6px; font-size:18px}
.card p{margin:0 0 10px; color:var(--muted)}
.card .link{color:var(--cyan); text-decoration:none; font-weight:600}

.card .time {
  padding-bottom: 5px;
  font-size: 12px;
  text-align: right;
}

/* PROJECTS */
.projects{padding:16px 5vw 60px}

.project-list{display:grid; grid-template-columns:repeat(3, minmax(260px,1fr)); gap:22px}

.project-list img:hover {
  transform: scale(1.01);
}
.project .thumb{height:180px; background:var(--cyan); border-radius:16px; margin-bottom: 20px;}

.project .release_dates {
  font-style: italic;
  font-size: clamp(14px, 1vw, 16px);
  float: right;
  font-weight: 400;

  margin-top: 10px;
}

.project .release_dates .title {
  color: var(--muted);
}
.project p {
  margin:0;
  color:var(--muted);
}

.project h3{margin:0 0 6px; font-size:18px}

.project {
  position: relative;
}
.center{text-align:center; margin-top:16px}
.btn{display:inline-flex; align-items:center; justify-content:center; padding:10px 16px; border-radius:12px; border:1px solid var(--line); text-decoration:none; color:var(--text); font-weight:600}
.btn.ghost{background:transparent}
.btn.primary{background:#22ff97; color:#001b15; border:none; font-weight:800}

/* CTA */
.cta{background:#777b7e; padding:56px 5vw}
.cta-inner{max-width:1200px; margin:0 auto}
.cta h2{font-size: clamp(28px,6vw,44px); margin:0}

/* ICON BUTTONS */
.icon-buttons{float: right;}
.icon-buttons .icons{display:flex; justify-content:center; gap:20px; flex-wrap:wrap; margin-top: -10px;}
.icon-buttons img{width:70px; height:70px; display:block; transition:transform .2s ease}
.icon-buttons a:hover img{transform:scale(1.1)}

/* FORM */
.form-wrap {
  margin: 20px 0;
}
.form-card{max-width:1200px; margin:0 auto; padding:22px 22px 0 }
.form-card h2{margin:0 0 14px; font-size: clamp(22px,3vw,32px)}
.group{margin-bottom:14px}
.group > label{display:block; margin-bottom:6px; color:var(--muted)}
.chips{display:flex; flex-wrap:wrap; gap:8px}
.chip{display:inline-flex; align-items:center; gap:6px; padding:6px 10px; border:1px solid var(--line); border-radius:999px; cursor:pointer; user-select:none}
.chip input{appearance:none; width:12px; height:12px; border:1px solid var(--line); border-radius:50%; display:inline-block}
.chip input:checked{background:var(--cyan)}
.grid2{display:grid; grid-template-columns:1fr 1fr; gap:12px; margin-bottom:12px}
.field label{display:block; margin:8px 0 6px; color:var(--muted)}
.field input,.field textarea{width:100%; padding:10px 12px; border-radius:12px; border:1px solid var(--line); background:#0b0e12; color:var(--text)}

/* FOOTER */
.footer{border-top:1px solid var(--line); padding:20px 5vw 10px; text-align:center; color:var(--muted)}
.socials{margin-bottom:8px}
.dot{display:inline-block; width:10px; height:10px; border-radius:50%; background:var(--cyan); margin:0 6px; opacity:.7}
.mini-brand{display:flex; gap:8px; align-items:center; justify-content:center; margin-bottom:6px}


/* Shift the content below so Services starts under grid overlay */
.hero{padding-bottom:0}
.services{position:relative; z-index:5}

.services img:hover {
  transform: scale(1.01);
}

.icon-buttons .container{
  max-width:none;
  padding-left:0;
  padding-right:0;
}

.hero-card img,
.service-media img,
.thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: inherit;
}

.tile img,
.service-media img,
.projects .project img,
.thumb img,
.skeleton img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  border-radius:8px;
}

/* Sticky overlapping services */
.services-stack{
  position: relative;
  padding: 0;
}
.service-panel{ position: relative; margin: 0;}
.service-panel .service{
  position: sticky;
  margin: 0 auto;
  box-shadow: 0 24px 60px rgba(0,0,0,.35);
  transform-origin: center top;
  transition: transform .25s ease, opacity .25s ease;
  gap: 80px;
}
/* stacking order increases downwards */
.service-panel:nth-child(1) .service{ z-index: 10; }
.service-panel:nth-child(2) .service{ z-index: 11; }
.service-panel:nth-child(3) .service{ z-index: 12; }
.service-panel:nth-child(4) .service{ z-index: 13; }



.service-panel.closed {
  height: 210px;

}

.service-panel.closed .service-media {
  height: 120px;

  transition: height 500ms ease;
}

:root {
  interpolate-size: allow-keywords;
}

.service-panel {
  transition: height 1000ms ease;
}

.service-panel .service-media {

  transition: height 500ms ease;
}

/* tighten spacing from old rules */
.services-stack .service{ padding: 45px 5.5vw 90px; }


/* Collapsible form slider */
.form-collapsible{
  overflow: hidden;
  transition: max-height .5s ease, opacity .4s ease, transform .5s ease;
  max-height: 0;
  opacity: 0;
  transform: translateY(-8px);
}
.form-collapsible.open{
  max-height: 1200px; /* enough for the form */
  opacity: 1;
  transform: translateY(0);
}

.cta{
  cursor: pointer;
}


/* === Chips that fully fill when selected === */
.chip-group{ display:flex; flex-wrap:wrap; gap:10px; margin-top:10px; }
.chip-group input[type="checkbox"]{ position:absolute; opacity:0; width:1px; height:1px; overflow:hidden; }
.chip-group>span, .chip-group .chip{
  display:inline-flex; align-items:center; justify-content:center;
  padding:8px 14px; border-radius:999px; border:3px solid #aaa;
  font-size:16px; letter-spacing:.04em;
  background:transparent; cursor:pointer;
  transition:background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
  user-select:none;
}
.chip-group input[type="checkbox"]:checked + .chip{
  background:var(--green);
  color:#001b15;
  border-color:var(--green);
  box-shadow:0 6px 20px rgba(23,232,139,.35), inset 0 1px 0 rgba(255,255,255,.25);
}
.chip-group>span:hover, .chip-group .chip:hover{ 
  
    box-shadow:0 3px 12px rgba(108,247,194,.18); 
    background: #26ff86;
    border-color: #26ff86;
    color: #000;
    transform: translateY(-1px);


}
.form-card .field{ margin:14px 0; }
.form-card label{ display:block; font-size:18px; color:var(--muted); margin-bottom:6px; }
.form-card input[type="text"], .form-card input[type="email"], .form-card textarea{
  width:100%; background:#0b0f14; border:1px solid var(--line); color:var(--text);
  border-radius:10px; padding:10px 12px;
}
.form-card .h-captcha{
  display:block; padding:10px 18px; border-radius:10px; background:var(--green); color:#001b15;
  border:0; font-weight:600; cursor:pointer;
  width: 500px;
  max-width: 100%;
  text-align: center;
  margin: 50px auto;
}


/* --- Update: single-select radios in Budget group behave like chips --- */
.chip-group input[type="radio"]{ position:absolute; opacity:0; width:1px; height:1px; overflow:hidden; }
.chip-group input[type="radio"]:checked + .chip{
  background:var(--green);
  color:#001b15;
  border-color:var(--green);
  box-shadow:0 6px 20px rgba(23,232,139,.35), inset 0 1px 0 rgba(255,255,255,.25);
}

/* --- Form heading like mock --- */
.form-card .form-title{
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  font-weight: 700;
  font-size: clamp(40px, 8vw, 60px);
  line-height: 1.15;
  letter-spacing: .01em;
  color: #cfe2f2;
  margin: 6px 0 16px;
  text-align: center;
}

/* --- Send button wide & pill --- */
.h-captcha{
  width: 100%;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 16px;
}


/* --- collapsible form slider --- */
.form-collapsible{ overflow:hidden; transition:max-height .5s ease; max-height: 0; }
.form-collapsible.open{ max-height: 1200px; }
.cta .cta-inner, .cta h2, .cta a{ cursor:pointer; }

.cta h2 {
  padding-left: 25px;
}

.btn.is-loading,
button.is-loading {
  opacity: .7;
  pointer-events: none;
}


.langs-switch {
  /*position: absolute; */
  top: 0;
  right: 10px;
  list-style: none;
}

.langs-switch li{
  display: inline-block;
  margin-right: 20px;
}

.form-errors {
  display: none;
  margin: 0 0 16px;
  padding: 12px 14px;
  border: 1px solid #d33;
  background: #ffecec;
  color: #b20000;
  border-radius: 8px;
  line-height: 1.4;
}
.form-errors.is-visible { display: block; }
.form-errors ul { margin: 8px 0 0; padding-left: 18px; }

.is-invalid input,
.is-invalid textarea,
input.is-invalid,
textarea.is-invalid {
  outline: 2px solid #d33;
  outline-offset: 2px;
}


/* Контейнер */
.bubbles {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(16px,3vw,40px);
  max-width: 1320px;
  z-index: 9;

  height: 0;

  margin: 0 auto;
  top: 0;


}

/* Сама «пузырьковая» плашка */
.bubble {
  position: relative;
  background: #26ff86; /* можно заменить на var(--accent) */
  color: #03140f;
  font-weight: 700;
  font-size: clamp(12px,1.6vw,14px);
  line-height: 1;
  padding: 10px 14px;
  border: 0;
  border-radius: 9999px;
  box-shadow:
    0 0 0 1px rgba(0,0,0,.18) inset;
  cursor: pointer;
  transform: translateZ(0);
}


/* «Ушко» */
.bubble::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 17px;
  height: 17px;
  background: inherit;
  transform: translateY(-50%) rotate(45deg);
  z-index: -1;
}

/* Hover */
.bubble:hover {
  filter: brightness(1.03);
  box-shadow:
    0 0 0 1px rgba(0,0,0,.18) inset,
    0 10px 30px rgba(38,255,134,.45);
}

.bubble--left {
  margin-top: -530px;
}

.bubble--right {
  margin-top: -210px;
  margin-left: 10px;
}

/* Левое ушко — смотрит влево */
.bubble--left::after {
  right: 3px;
  transform: rotate(99deg);
  top: 19px;
}

/* Правое ушко — смотрит вправо */
.bubble--right::after {
  left: 2px;
  top: 54%;
  transform: rotate(78deg);
}


/* Кнопка "На главную" */
.home-button {
  position: fixed;
  top: 44px;
  left: 17px;
  z-index: 1000;

  display: inline-flex;
  align-items: center;

  padding: 12px;
  line-height: 100%;

  font-family: inherit;
  font-size: 32px;
  font-weight: 800;

  color: #fff;

  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 6px;
  backdrop-filter: blur(2px);
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);

  transition: all 0.4s ease;
  cursor: pointer;
}

.home-button::before {
  content: '';
  display: inline-block;
  width: 0; 
  height: 0;
  border-top: 6px solid transparent;
  border-bottom: 6px solid transparent;
  border-right: 8px solid currentColor; /* стрелка влево */
}

.home-button:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.25);
}

.home-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

/* --- Тултип сверху --- */
.tooltip-top::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%; /* над кнопкой */
  left: 50%;
  transform: translateX(-50%) translateY(-8px);
  background: rgba(0,0,0,0.85);
  color: #fff;
  padding: 6px 10px;
  font-size: 13px;
  white-space: nowrap;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  font-weight: 200;
}

.tooltip-top::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  border-width: 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.3s ease;
}

/* --- Тултип снизу --- */
.tooltip-bottom::after {
  content: attr(data-tooltip);
  position: absolute;
  top: 100%; /* под кнопкой */
  left: 50%;
  transform: translateX(-10px) translateY(8px);
  background: #fff;
  color: #000;
  padding: 6px 10px;
  font-size: 12px;

  line-height: 15px;
  white-space: nowrap;
  border-radius: 5px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
  text-transform: none;

  z-index: 9999;
  font-size: 9px;
  line-height: normal;
}

.tooltip-bottom::before {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  border-width: 6px;
  border-style: solid;
  border-color: #fff transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.5s ease;

  transform: rotate(180deg) translateY(3px);

  z-index: 9999;
}

/* Ховер */
.tooltip:hover::after,
.tooltip:hover::before {
  opacity: 1;
  transition-delay: .7s;
  z-index: 9999;
}

.tooltip-left::after {
  right: 50%;
  left:auto;
  transform: translateX(25px) translateY(8px);
}


main.container .entry .aligncenter {
  display: block;
  margin: 10px auto;
}


main.container {
  margin: 0 auto 0;
  max-width: 1450px;
  line-height: 1.4;
  font-size: 18px;
}

main.container h1 {
  font-size: clamp(40px,4.6vw,50px);
  margin: 90px 0 80px;
}


main.container > article {
  margin-bottom: 80px;
}

main.container .meta img {
  width: 100%;
  height: 100%;

  max-width: 100%;
}




main.container .meta {
  width: 70%;
  margin: 60px auto;
  position: relative;
}

main.container .entry img{
  margin: 10px 10px 10px 0;
}


.project-type-badge {
  position: absolute;
  top: 10px;
  right: 10px;

  background: #448e6d;
  color: #fff;

  padding: 8px;       /* внутренние поля 10px */
  border-radius: 8px;
  font: 600 13px/1.2 'Inter';

  box-shadow: 0 2px 8px rgba(0,0,0,.12);
  white-space: nowrap; /* не переносить текст */
  z-index: 2;
}


.tile .project-type-badge {
  display: none;

  padding: 5px;
  font: 400 11px/1.1 'Inter';
}

.tile:hover .project-type-badge {
  display: block;
}

.projects .project { display: none; transition: display 0.4s allow-discrete, max-height 0.4s ease-in-out;}

.projects .project:nth-child(-n+6) { display: block; }

.projects {
  transition: max-height 0.4s ease;
}

.show-more {
  margin: 0 auto;
  background: var(--green);
  font-size: 18px;

  padding: 12px 18px;
  border: none;

  margin-top: 30px;
  cursor: pointer;
  display: flex;
  justify-content: center; /* по горизонтали */
  align-items: center; 

  border-radius: 16px;
  font-weight: 600;

}

.hero {
 padding-bottom: 150px;
}

.wp-video {
  margin-bottom: 30px;
}



.our-projects {
  display: grid;
  grid-template-columns: 37% 63%;

  height: 45%;

  z-index: 0;

  align-content:start;

  position: absolute;

  right: 2%;
  top: -200%;

  align-items: start;

  justify-items: end;

  color: var(--muted);

  display: none;

}

.our-projects h3 {

  margin: 0;

  justify-self: start;

  font-size: clamp(13px, 2vw, 18px);
}

.wp-singular .hero {
  margin-bottom: 10px;
}





/* RESPONSIVE */
@media (max-width:1100px){
  .tile {width:170px;height:100px}

  .tile.t1 {
    margin-left: 10px;
  }

  .tile.t2 {
    margin-top: 110px;
    margin-left: -78px;
  }

  .tile.t3  {
    margin-top: 50px;
  }

  .tile.t3  {
    margin-top: 40px;

    margin-left: -60px;
  }

  .tile.t4 {
    margin-top: -70px;

    margin-left: -150px;
  }

  .tile.t5 {
    margin-top: -150px;
  }

  .tile.t6 {
    margin-left: -370px;

    margin-top: -100px;
  }

  .tile.t7 {
    display: none;
  }

  .tile.t8 {
    display: none;
  }
  .service{grid-template-columns:1fr; gap:18px; padding:36px 5vw;}
  .service .service-media{height:180px}
  /* .cards{grid-template-columns:1fr} */
  .project-list{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}

  .service .service-text p, .service .service-text ul {
    line-height: 1.4;
  }

  .services-stack .service{grid-template-columns:.65fr .35fr; gap:0;}

  .service .chip-group {
    margin-top: -40px;
    margin-bottom: 40px;
  }

  
  main.container .meta {
    width: 100%;
  }


  .our-projects {
    width: 48vw;

    height: 54%;
    top: -28%;
  }

  .services-stack .service{ padding: 40px 5vw; height: 700px; gap: 0}

  .services-stack .service{grid-template-columns:1fr; gap:18px; padding:36px 5vw;}

  .logo-area img {
    width: 18%;
  }

  main.container h1 {
    font-size: clamp(34px,4vw,50px);
    margin: 20px 0;
  }

  .bubbles {
    display: none;
  }

  .bubbles{ gap: 14px;}
  .bubble::after{ width: 10px; height: 10px; }
  .bubble--left::after{ left: 4px; }

  .tiles-row {
    margin: 120px 0 0;
  }

  .hero {
    min-height: 360px;
    padding-top: 30px;
  }

  
  .bubble--left {
    margin-top: -2000px;
  }


  .bubble--right {
    margin-top: -225px;
    margin-right: 0;

    float: right;
  }


  .bubble--right::after{ left: 3px; top: 22px }


  .services-stack .service{ padding: 30px 5vw; height: 800px; }

  .service .service-text h2 {
    margin-bottom: 80px;
  }



  .hero-title-block {
    height: 135px;
    overflow: hidden;

    margin-top: 30px;
    
  }



  .hero-title-block .hero-title {
    margin-bottom: 5px;
  }

  .logo-area img {
    margin-bottom: 12px;
  }


  .logo-area {
    padding-bottom: 70px;
    display: block;
  }

  .grid-overlay{background-position:  right -30% bottom}

  .service-panel.closed {
    height: 90px;
  }

  .cta-inner h2 {
    display: none;
  }

  .cta-inner .icon-buttons {
    float: none;
    padding-bottom: 0;
  }

  .cta {
    padding-top: 30px;
    padding-bottom: 30px;
  }
}


.h-with-arc{
  position: absolute;

  bottom: 20%;
  display:inline-block;
  padding-right: .5em;
  
  --arc-height: 50px;   /* диаметр дуги */
  --arc-weight: 200px;   /* диаметр дуги */
  --arc-width: 3px;   /* толщина линии */
  --arc-color: var(--muted);  /* цвет стрелки */

  left: 8%;

  font-size: 20px;

  color: var(--muted);
}

/* Дуга — вверх */
.h-with-arc::after{
  content:"";
  position: absolute;
  left: 100%;               /* от правого края заголовка */
  top: 50%;
  width: var(--arc-weight);
  height: var(--arc-height);
  border: var(--arc-width) dashed   var(--arc-color);
  border-radius: 50%;
  /* показываем только нижнюю половину → получится дуга вверх */
  clip-path: inset(50% 0 0 0);
  transform: translateY(-85%) rotate(-12deg);
  box-sizing: border-box;
}

/* Наконечник — сверху справа */
.h-with-arc::before{
  content:"";
  position: absolute;
  left: calc(100% + var(--arc-weight) - 9px); /* правая точка дуги */
  top: calc(50% - var(--arc-height)/2 - 16px); /* верх дуги */
  width: 12px;
  height: 12px;
  border: var(--arc-width) solid var(--arc-color);
  border-left: 0;
  border-bottom: 0;
  transform: rotate(-45deg);
  box-sizing: border-box;
}

.hero-main {
  position: relative;
}


.mini-brand img {
  width: min(190px, 25vw);
}






.technologies-page {
  max-width: 1200px;
  margin: 0 auto;
  padding: 80px 24px;
}

.technologies-intro {
  max-width: 900px;
  margin-bottom: 80px;
}

.technologies-intro h1 {
  font-size: clamp(42px, 6vw, 80px);
  line-height: 1.1;
  margin-bottom: 24px;
}

.technologies-intro p {
  font-size: 20px;
  line-height: 1.6;
  opacity: .7;
}

.technology-group {
  padding: 35px 0;
  border-top: 1px solid rgba(128,128,128,.3);
}

.technology-group h2 {
  font-size: clamp(24px, 3vw, 36px);
  margin-bottom: 25px;
}

.technologies-cta {
  margin-top: 80px;
  padding: 60px;
  background: #171b19;
  border-radius: 24px;
  color: #fff;
}

.technologies-cta h2 {
  font-size: clamp(28px, 4vw, 48px);
  margin-bottom: 20px;
}

.technologies-cta p {
  max-width: 900px;
  line-height: 1.6;
  color: #aaa;
}




.wp-singular .hero {
  padding-bottom: 0;
  min-height: 140px;
}

.wp-singular .grid-overlay{
  background-position:  right -30% bottom -120px;
}

.wp-singular .logo-area {
  padding-bottom: 50px;
}

@media (max-width: 768px) {
  .technologies-cta {
      padding: 35px 25px;
  }

  .wp-singular .grid-overlay{
    background-position:  right -30% bottom;
  }

  .wp-singular .hero {
    padding-bottom: 0;
    min-height: 490px;
  }
}
