/* Base */
:root{
  --max: 1100px;
  --pad: 18px;
  --r: 6px;
  --b: 1px solid rgba(0,0,0,.10);
  --accent: #0b7a3b;
}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  font-size:14px;
  line-height:1.5;
  color:#111;
}
input, select, textarea{font:inherit}

a{color:inherit; font-size:inherit}
.container{max-width:var(--max); margin:0 auto; padding:0 var(--pad)}
header{position:sticky; top:0; background:#fff; border-bottom:var(--b); z-index:10}
.nav{display:flex; gap:14px; align-items:center; justify-content:space-between; padding:14px 0}
.brand{font-weight:700; letter-spacing:.2px; text-decoration:none}
.menu{
  display:flex;
  gap:12px;
  flex-wrap:nowrap;
  white-space:nowrap;
  justify-content:center;
}
.menu a{
  position:relative;
  padding:6px 8px 8px;
  border-radius:2px;
  text-decoration:none;
  font-size:15px;
}
.menu a:hover{background:rgba(0,0,0,.05)}
.cta{display:inline-block; padding:10px 14px; border-radius:6px; border:var(--b); text-decoration:none}
.cta.primary{background:#0b7a3b; color:#fff; border:1px solid #0b7a3b}
.cta.primary:hover{filter:brightness(.95)}
.cta.ghost:hover{background:rgba(0,0,0,.05)}
.hero{padding:34px 0}
.h-grid{display:grid; grid-template-columns: 1.4fr .6fr; gap:18px; align-items:start}
h1{font-size:34px; line-height:1.15; margin:0 0 12px}
.lead{font-size:18px; margin:0 0 16px; color:rgba(0,0,0,.75)}
.card{
  border:var(--b);
  border-radius:var(--r);
  padding:16px;
  background:#fff;
}
.grid{display:grid; gap:14px}
.grid-4{grid-template-columns:repeat(4,1fr)}
.grid-3{grid-template-columns:repeat(3,1fr)}
.grid-2{grid-template-columns:repeat(2,1fr)}
.video-wrap{position:relative; border:var(--b); border-radius:var(--r); overflow:hidden; background:rgba(0,0,0,.03)}
.video-wrap::before{content:""; display:block; padding-top:56.25%}
.video-wrap iframe{position:absolute; inset:0; width:100%; height:100%; border:0}
.video-placeholder{position:absolute; inset:0; display:flex; flex-direction:column; justify-content:center; gap:8px; padding:18px; background:linear-gradient(180deg, rgba(11,122,59,.06), rgba(0,0,0,.02))}
.video-badge{display:inline-flex; align-self:flex-start; padding:6px 10px; border-radius:6px; border:var(--b); background:#fff; font-size:13px}
.video-title{font-weight:700; font-size:18px}
.kicker{font-size:12px; letter-spacing:.14em; text-transform:uppercase; color:rgba(0,0,0,.55); margin:0 0 8px}
/* тонкая разделительная линия под заголовком карточки */
.card-rule{height:1px; background:rgba(0,0,0,0.08); margin:8px 0 12px}
h2{font-size:24px; margin:0 0 10px}
h3{font-size:16px; margin:0 0 6px}
p{margin:0 0 10px}
.small{font-size:14px; color:rgba(0,0,0,.75)}
.badge{display:inline-block; padding:6px 10px; border-radius:6px; border:var(--b); font-size:13px; margin-right:8px}
section{padding:26px 0}
.sep{border-top:var(--b)}
.actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:10px}
.list{margin:10px 0 0; padding-left:18px}
.list li{margin:6px 0}
.two-col{display:grid; grid-template-columns:1fr 1fr; gap:14px}
.footer{padding:22px 0; border-top:var(--b); background:#fff}
.footer-grid{display:grid; grid-template-columns: 1.2fr .8fr; gap:18px}
.footer a{text-decoration:none}
.footer a:hover{text-decoration:underline}
.accordion button{
  width:100%;
  text-align:left;
  border:none;
  background:transparent;
  padding:14px 14px;
  font:inherit;
  cursor:pointer;
  display:flex;
  justify-content:space-between;
  align-items:center;
}
.accordion .item{border:var(--b); border-radius:var(--r); overflow:hidden}
.accordion .panel{display:none; padding:0 14px 14px}
.accordion .item[aria-expanded="true"] .panel{display:block}
.form-grid{display:grid; gap:10px}
input, textarea, select{
  width:100%;
  padding:12px 12px;
  border-radius:6px;
  border:var(--b);
  font:inherit;
}
textarea{min-height:110px; resize:vertical}
@media (max-width: 980px){
  .h-grid{grid-template-columns:1fr}
  .grid-4{grid-template-columns:repeat(2,1fr)}
}
@media (max-width: 560px){
  h1{font-size:28px}
  .grid-4,.grid-3,.grid-2{grid-template-columns:1fr}
  header{position:static}
}



.nav{gap:14px}
.menu{
  display:flex;
  gap:12px;
  flex-wrap:nowrap;
  white-space:nowrap;
  justify-content:center;
}
.nav-right{display:flex; gap:10px; align-items:center; justify-content:flex-end; flex-wrap:wrap}
.worktime{
  display:flex; gap:8px; align-items:center;
  padding:8px 10px; border-radius:6px; border:var(--b);
  font-size:13px; white-space:nowrap;
}
.wt-label{font-weight:700}
.wt-time{color:rgba(0,0,0,.75)}

.shout{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border-radius:4px;
  border:1px solid rgba(0,0,0,.12);
  text-decoration:none;
  font-size:12px;
  white-space:nowrap;
}
.shout:hover{background:rgba(0,0,0,.05)}

/* Active menu item */
.menu a.active{
  background:transparent;
  border:none;
  font-weight:600;
}
.menu a.active::after{
  content:"";
  position:absolute;
  left:8px; right:8px;
  bottom:0;
  height:2px;
  background:#0b7a3b;
}
.menu a[aria-current="page"]{font-weight:700}
@media (max-width: 980px){
  .nav{flex-direction:column; align-items:stretch}
  .menu{
  display:flex;
  gap:12px;
  flex-wrap:nowrap;
  white-space:nowrap;
  justify-content:center;
}
  .nav-right{justify-content:flex-start}
}



.tagline{
  margin:4px 0 0;
  padding:4px 10px;
  width:100%;
  text-align:center;
  font-size:13px;
  color:rgba(0,0,0,.70);
  border-radius:0;
  background:linear-gradient(90deg,
    rgba(11,122,59,.10),
    rgba(11,122,59,.05),
    rgba(11,122,59,.10)
  );
  border:none;
}

.nav{gap:14px}
.menu{
  display:flex;
  gap:12px;
  flex-wrap:nowrap;
  white-space:nowrap;
  justify-content:center;
}
.menu a{
  position:relative;
  padding:6px 8px 8px;
  border-radius:2px;
  text-decoration:none;
  font-size:15px;
}
.menu a.active{
  background:transparent;
  border:none;
  font-weight:600;
}
.menu a.active::after{
  content:"";
  position:absolute;
  left:8px; right:8px;
  bottom:0;
  height:2px;
  background:#0b7a3b;
}

.nav-right{display:flex; gap:12px; align-items:center; justify-content:flex-end; flex-wrap:wrap}
.worktime{
  display:flex; gap:8px; align-items:center;
  padding:0;
  border:none;
  border-radius:0;
  font-size:13px;
  color:rgba(0,0,0,.75);
  white-space:nowrap;
}
.wt-ico{opacity:.85}

.shout{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border-radius:4px;
  border:1px solid rgba(0,0,0,.12);
  text-decoration:none;
  font-size:12px;
  white-space:nowrap;
}
.shout:hover{background:rgba(0,0,0,.05)}

@media (max-width: 980px){
  .nav{flex-direction:column; align-items:stretch}
  .menu{
  display:flex;
  gap:12px;
  flex-wrap:nowrap;
  white-space:nowrap;
  justify-content:center;
}
  .nav-right{justify-content:flex-start}
  .tagline{
  margin:4px 0 0;
  padding:4px 10px;
  width:100%;
  text-align:center;
  font-size:13px;
  color:rgba(0,0,0,.70);
  border-radius:0;
  background:linear-gradient(90deg,
    rgba(11,122,59,.10),
    rgba(11,122,59,.05),
    rgba(11,122,59,.10)
  );
  border:none;
}
}

/* Header: compact center + tagline with green gradient */
.nav{
  display:flex;
  gap:14px;
  align-items:flex-start;
  justify-content:space-between;
}

.brand{
  display:flex;
  align-items:center;
  gap:10px;
  text-decoration:none;
}

.brand-logo{
  width:44px; height:44px;
  object-fit:cover;
  border-radius:4px;
}

.brand-title{font-weight:800; letter-spacing:.2px; line-height:1.05; display:block}

.nav-center{
  flex: 1 1 auto;
  display:flex;
  flex-direction:column;
  align-items:center;
  min-width:0;
}

.menu{
  display:flex;
  gap:12px;
  flex-wrap:nowrap;
  white-space:nowrap;
  justify-content:center;
}

.menu a{
  position:relative;
  padding:6px 8px 8px;
  border-radius:2px;
  text-decoration:none;
  font-size:15px;
}

.menu a:hover{background:rgba(0,0,0,.04)}

/* Active menu item: thin green underline */
.menu a.active{
  background:transparent;
  border:none;
  font-weight:600;
}
.menu a.active::after{
  content:"";
  position:absolute;
  left:8px; right:8px;
  bottom:0;
  height:2px;
  background:#0b7a3b;
}

/* Tagline: tight spacing + gradient on menu width */
.tagline{
  margin:4px 0 0;
  padding:4px 10px;
  width:100%;
  text-align:center;
  font-size:13px;
  color:rgba(0,0,0,.70);
  border-radius:0;
  background:linear-gradient(90deg,
    rgba(11,122,59,.10),
    rgba(11,122,59,.05),
    rgba(11,122,59,.10)
  );
  border:none;
}

.nav-right{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:flex-end;
  flex-wrap:wrap;
}

/* Worktime: not button-like */
.worktime{
  display:flex;
  gap:8px;
  align-items:center;
  padding:0;
  border:none;
  border-radius:0;
  font-size:12px;
  color:rgba(0,0,0,.75);
  white-space:nowrap;
}

/* Shout: small corners */
.shout{
  display:inline-flex;
  gap:8px;
  align-items:center;
  padding:6px 10px;
  border-radius:4px;
  border:1px solid rgba(0,0,0,.12);
  text-decoration:none;
  font-size:12px;
  white-space:nowrap;
}
.shout:hover{background:rgba(0,0,0,.04)}

@media (max-width: 980px){
  .nav{flex-direction:column; align-items:stretch}
  .nav-center{align-items:flex-start}
  .menu{
  display:flex;
  gap:12px;
  flex-wrap:nowrap;
  white-space:nowrap;
  justify-content:center;
}
  .tagline{
  margin:4px 0 0;
  padding:4px 10px;
  width:100%;
  text-align:center;
  font-size:13px;
  color:rgba(0,0,0,.70);
  border-radius:0;
  background:linear-gradient(90deg,
    rgba(11,122,59,.10),
    rgba(11,122,59,.05),
    rgba(11,122,59,.10)
  );
  border:none;
}
  .nav-right{justify-content:flex-start}
}


/* Flow: per-node icons */
.flow-node{position:relative}
.flow-icon{
  position:absolute;
  left:14px;
  top:14px;
  width:18px;
  height:18px;
  background-color: rgba(18, 122, 74, 0.95);
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  -webkit-mask-size:contain;
  mask-repeat:no-repeat;
  mask-position:center;
  mask-size:contain;
  opacity:0.9;
}
/* ensure title aligns with icon */
.flow-title{padding-left:26px}

.flow-icon--pack{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M6%202h9l3%203v17H6V2zm9%201.5V6h2.5L15%203.5zM8%209h8v2H8V9zm0%204h8v2H8v-2zm0%204h6v2H8v-2z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M6%202h9l3%203v17H6V2zm9%201.5V6h2.5L15%203.5zM8%209h8v2H8V9zm0%204h8v2H8v-2zm0%204h6v2H8v-2z%22/%3E%3C/svg%3E"); }
.flow-icon--criteria{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M4%206h10v2H4V6zm14%200h2v2h-2V6zM4%2011h6v2H4v-2zm10%200h6v2h-6v-2zM4%2016h14v2H4v-2zm16%200h0%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M4%206h10v2H4V6zm14%200h2v2h-2V6zM4%2011h6v2H4v-2zm10%200h6v2h-6v-2zM4%2016h14v2H4v-2zm16%200h0%22/%3E%3C/svg%3E"); }
.flow-icon--select{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M10%204a6%206%200%20104.47%2010.03l4.25%204.24%201.41-1.41-4.24-4.25A6%206%200%200010%204zm0%202a4%204%200%20110%208%204%204%200%20010-8z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M10%204a6%206%200%20104.47%2010.03l4.25%204.24%201.41-1.41-4.24-4.25A6%206%200%200010%204zm0%202a4%204%200%20110%208%204%204%200%20010-8z%22/%3E%3C/svg%3E"); }
.flow-icon--comm{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M4%204h16v10H7l-3%203V4zm2%202v6.17L6.17%2012H18V6H6zm4%2010h10v4l-3-3H10v-1z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M4%204h16v10H7l-3%203V4zm2%202v6.17L6.17%2012H18V6H6zm4%2010h10v4l-3-3H10v-1z%22/%3E%3C/svg%3E"); }
.flow-icon--interview{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M12%2012a4%204%200%20100-8%204%204%200%20000%208zm-7%209v-1a6%206%200%200112%200v1H5zm14-9h3v-2h-3V7h-2v3h-3v2h3v3h2v-3z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M12%2012a4%204%200%20100-8%204%204%200%20000%208zm-7%209v-1a6%206%200%200112%200v1H5zm14-9h3v-2h-3V7h-2v3h-3v2h3v3h2v-3z%22/%3E%3C/svg%3E"); }
.flow-icon--offer{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M6%202h9l3%203v17H6V2zm9%201.5V6h2.5L15%203.5zM9.5%2014.5l-1.4%201.4L6%2013.8l1.4-1.4%202.1%202.1%205.1-5.1%201.4%201.4-6.5%206.2z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M6%202h9l3%203v17H6V2zm9%201.5V6h2.5L15%203.5zM9.5%2014.5l-1.4%201.4L6%2013.8l1.4-1.4%202.1%202.1%205.1-5.1%201.4%201.4-6.5%206.2z%22/%3E%3C/svg%3E"); }
.flow-icon--start{ -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M9%204h6a2%202%200%20012%202v2h3a2%202%200%20012%202v6a2%202%200%2001-2%202h-2v2H4v-2H2a2%202%200%2001-2-2V10a2%202%200%20012-2h3V6a2%202%200%20012-2zm0%202v2h6V6H9zm-7%206v4h20v-4H2z%22/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M9%204h6a2%202%200%20012%202v2h3a2%202%200%20012%202v6a2%202%200%2001-2%202h-2v2H4v-2H2a2%202%200%2001-2-2V10a2%202%200%20012-2h3V6a2%202%200%20012-2zm0%202v2h6V6H9zm-7%206v4h20v-4H2z%22/%3E%3C/svg%3E"); }


/* --- Restore sticker cards + process flow layout (patch) --- */

/* Sticker sections: "Кому подходит" / "Кому не подойдёт" */
.sticker-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap:16px;
  margin-top:14px;
}
@media (max-width: 820px){
  .sticker-grid{ grid-template-columns: 1fr; }
}
.sticker{
  position:relative;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:10px;
  padding:18px 18px 16px 46px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
  background: #fff;
}
.sticker-grid--ok .sticker{
  background: linear-gradient(180deg, rgba(22,163,74,0.08), rgba(22,163,74,0.02));
  border-color: rgba(22,163,74,0.18);
}
.sticker-grid--no .sticker{
  background: linear-gradient(180deg, rgba(239,68,68,0.06), rgba(239,68,68,0.015));
  border-color: rgba(239,68,68,0.16);
}
.sticker-title{
  margin:0 0 8px 0;
  font-size:16px;
  line-height:1.25;
}
.sticker p{ margin:0; }
.sticker::before{
  content:"";
  position:absolute;
  left:16px;
  top:18px;
  width:18px;
  height:18px;
  background-color: rgba(18, 122, 74, 0.95);
  -webkit-mask-repeat:no-repeat;
  -webkit-mask-position:center;
  -webkit-mask-size:contain;
  mask-repeat:no-repeat;
  mask-position:center;
  mask-size:contain;
  opacity:0.9;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M9%2016.2l-3.5-3.5L4%2014.2l5%205%2011-11-1.5-1.5z%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M9%2016.2l-3.5-3.5L4%2014.2l5%205%2011-11-1.5-1.5z%22/%3E%3C/svg%3E");
}
.sticker-grid--no .sticker::before{
  background-color: rgba(220, 38, 38, 0.95);
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M12%202C6.48%202%202%206.48%202%2012s4.48%2010%2010%2010%2010-4.48%2010-10S17.52%202%2012%202zm5%2011H7v-2h10v2z%22/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2024%2024%22%3E%3Cpath%20fill%3D%22black%22%20d%3D%22M12%202C6.48%202%202%206.48%202%2012s4.48%2010%2010%2010%2010-4.48%2010-10S17.52%202%2012%202zm5%2011H7v-2h10v2z%22/%3E%3C/svg%3E");
}
/* light "tape" accent */
.sticker::after{
  content:"";
  position:absolute;
  top:-8px;
  left:22px;
  width:72px;
  height:18px;
  border-radius:6px;
  background: rgba(0,0,0,0.03);
  border:1px solid rgba(0,0,0,0.06);
  transform: rotate(-2deg);
}
/* subtle playful rotations (only on wide screens) */
@media (min-width: 821px){
  .sticker-grid .sticker:nth-child(3n+1){ transform: rotate(-0.6deg); }
  .sticker-grid .sticker:nth-child(3n+2){ transform: rotate(0.4deg); }
  .sticker-grid .sticker:nth-child(3n){ transform: rotate(-0.2deg); }
}

/* Process flow layout */
.flow{ margin-top:14px; }
.flow-row{
  display:flex;
  flex-wrap:wrap;
  gap:16px;
  align-items:stretch;
}
.flow-node{
  position:relative;
  background:#fff;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:10px;
  padding:18px 18px 16px 46px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
  flex:1 1 220px;
  min-width: 220px;
}
.flow-node--finish{
  background: linear-gradient(180deg, rgba(22,163,74,0.08), rgba(22,163,74,0.02));
  border-color: rgba(22,163,74,0.18);
}
.flow-title{ font-weight:700; margin:0 0 8px 0; padding-left:0; }
.flow-text{ margin:0; }
.flow-opt{
  margin-top:10px;
  padding:10px 12px;
  border:1px dashed rgba(0,0,0,0.18);
  border-radius:10px;
  font-size:13px;
  color: rgba(0,0,0,0.72);
  background: rgba(0,0,0,0.015);
}
/* arrows between nodes */
.flow-arrow{
  display:flex;
  align-items:center;
  justify-content:center;
  width:26px;
  flex:0 0 26px;
}
.flow-arrow::before{
  content:"";
  display:block;
  width:16px;
  height:2px;
  background: rgba(18,122,74,0.55);
  border-radius:2px;
  position:relative;
}
.flow-arrow::after{
  content:"";
  display:block;
  width:0;height:0;
  border-top:5px solid transparent;
  border-bottom:5px solid transparent;
  border-left:7px solid rgba(18,122,74,0.55);
  margin-left:-2px;
}
/* hide arrows on small screens to prevent awkward wraps */
@media (max-width: 980px){
  .flow-arrow{ display:none; }
}

/* Branch (after interviews) */
.flow-branch{
  margin-top:14px;
  background: rgba(0,0,0,0.015);
  border:1px solid rgba(0,0,0,0.06);
  border-radius:12px;
  padding:14px;
}
.flow-branch-title{
  font-weight:700;
  margin-bottom:10px;
}
.flow-branch-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap:10px;
}
@media (max-width: 820px){
  .flow-branch-grid{ grid-template-columns: 1fr; }
}
.flow-mini{
  padding:10px 12px;
  border-radius:10px;
  border:1px solid rgba(0,0,0,0.08);
  text-align:center;
  font-weight:700;
}
.flow-mini--ok{ background: rgba(22,163,74,0.08); border-color: rgba(22,163,74,0.18); }
.flow-mini--wait{ background: rgba(245,158,11,0.10); border-color: rgba(245,158,11,0.22); }
.flow-mini--no{ background: rgba(239,68,68,0.06); border-color: rgba(239,68,68,0.16); }
.flow-branch-note{
  margin-top:10px;
  color: rgba(0,0,0,0.76);
  font-size:14px;
  line-height:1.45;
}


/* --- Конструктор пакета (режим + зарплата + опции) --- */
#pakety .constructor{ 
  font-size:14px; /* unify typography inside the constructor (was mixed 14/15) */
}
.constructor{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
}
@media (max-width: 640px){
  .constructor{ grid-template-columns: 1fr; }
}

.constructor-left, .constructor-right{
  display:flex;
  flex-direction:column;
  gap:16px;
}

/* Слева (ШАГ 1 → конфигурация → стоимость) — более плотные отступы */
#pakety .constructor-left{
  gap:8px;
}

/* Справа (зарплата → доп. опции) — тоже плотнее, чтобы не было «пустоты» между карточками */
#pakety .constructor-right{
  gap:8px;
}

#pakety .config-card .summary{ padding-top:0; }

/* Подсветка “Ваша конфигурация” — мягкий светло‑зелёный фон */
#pakety .config-card{
  background: rgba(22,163,74,0.06);
  border-color: rgba(22,163,74,0.20);
}

/* Более компактный межстрочный интервал в “Ваша конфигурация” */
#pakety .config-card [data-summary-line],
#pakety .config-card [data-summary-long]{
  line-height:1.2;
}

/* Сократить вертикальные промежутки между строками в “Ваша конфигурация” */
#pakety .config-card [data-summary-salary]{
  margin-top:0 !important;
}
#pakety .config-card [data-summary-long]{
  margin-top:4px !important;
}
#pakety .price-card .price-box{ padding:0; border:none; background:transparent; }
#pakety .price-card .price{
  font-size:20px;
  font-weight:700;
  line-height:1.1;
  margin-top:2px;
}
.choice-chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:10px;
}

.choice-chips a.chip{
  text-decoration:none;
  display:inline-flex;
  align-items:center;
}
.hero-nav{
  margin-top:14px;
}
.chip{
  appearance:none;
  border:1px solid rgba(0,0,0,0.14);
  background:#fff;
  color:rgba(0,0,0,0.9);
  padding:8px 10px;
  border-radius:6px;
  cursor:pointer;
  font-size:14px;
  line-height:1.1;
}
.chip:hover{
  border-color: rgba(0,0,0,0.22);
}
.chip.is-active{
  border-color: rgba(22,163,74,0.65);
  box-shadow: 0 0 0 2px rgba(22,163,74,0.12) inset;
}
.sub-chips .chip{
  font-size:13px;
}
.mode-hint{
  margin-top:12px;
  border:1px solid rgba(0,0,0,0.08);
  border-radius:8px;
  padding:12px;
  background: rgba(0,0,0,0.02);
}
.summary-left{
  border-top:1px solid rgba(0,0,0,0.08);
  padding-top:12px;
}
/* Доп. опции — стабильные строки (чекбокс + текст) */
#pakety .opt-list{ display:flex; flex-direction:column; gap:10px; width:100%; }
#pakety .opt-list label.opt{
  width:100%;
  display:grid;
  grid-template-columns: 18px 1fr auto;
  column-gap:12px;
  align-items:start;
  padding:12px 14px;
  border:1px solid rgba(0,0,0,0.10);
  border-radius:6px;
  background:#fff;
  cursor:pointer;
  text-align:left;
}
#pakety .opt-list label.opt input[type="checkbox"]{ margin:2px 0 0 0; }
#pakety .opt-list .opt__text{ line-height:1.35; overflow-wrap:break-word; }
.opt__price{ white-space:nowrap; font-weight:600; color:rgba(0,0,0,0.65); justify-self:end; }

#pakety .opt-list label.opt:hover{ border-color: rgba(0,0,0,0.18); }
#pakety .opt-list label.opt:has(input:checked){ border-color: rgba(14, 122, 60, 0.55); background: rgba(14, 122, 60, 0.04); }

/* Удалены старые каскадные overrides для step-3 opt — теперь единые правила выше */


/* Step 1: configuration price + CTA (left column) */
#pakety .summary-left .price-cta{
  display:flex;
  gap:12px;
  align-items:flex-end;
  justify-content:space-between;
  flex-wrap:wrap;
}

/* === Constructor #pakety — local overrides (stable + аккуратно) === */

/* Price card: no inner рамка вокруг цены */
#pakety .price-card .price-box{
  border: none !important;
  padding: 0 !important;
  background: transparent !important;
}

/* Options card: checkbox | title | price in ONE line */
#pakety .step-opts .opt-list{
  display:flex;
  flex-direction:column;
  gap:10px;
}
#pakety .step-opts label.opt{
  width:100% !important;
  display:grid !important;
  grid-template-columns: 18px 1fr auto;
  column-gap:12px;
  align-items:center;
  padding:12px 14px !important;
  border:1px solid rgba(0,0,0,0.10) !important;
  border-radius:6px !important;
  background:#fff !important;
  cursor:pointer;
  text-align:left !important;
}
#pakety .step-opts label.opt input[type="checkbox"]{
  margin:0 !important;
}
#pakety .step-opts .opt__text{
  min-width:0;
  line-height:1.35;
}
#pakety .step-opts .opt__price,
#pakety .step-opts [data-opt-price]{
  justify-self:end;
  white-space:nowrap;
  font-weight:600;
  color: rgba(0,0,0,0.70);
}

#pakety .step-opts label.opt:hover{
  border-color: rgba(0,0,0,0.18) !important;
}

/* Selected state */
#pakety .step-opts label.opt:has(input:checked){
  border-color: rgba(14, 122, 60, 0.55) !important;
  background: rgba(14, 122, 60, 0.04) !important;
}
#pakety .summary-left .price-box{
  padding:10px 12px;
  border:1px solid rgba(0,0,0,0.10);
  border-radius:6px;
  background:#fff;
}
#pakety .summary-left .price{
  font-size:20px;
  font-weight:700;
  line-height:1.1;
  margin-top:2px;
}


/* Lead form: compact summary block */
.config-summary-wrap{margin-top:12px}
.config-summary{
  border:1px solid #e8e8e8;
  border-radius:12px;
  padding:12px;
  background:#fbfbfb;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:10px 14px;
}
.config-summary .cfg-item{display:flex; flex-direction:row; align-items:baseline; justify-content:flex-start; gap:6px; min-width:0}
.config-summary .cfg-k{font-size:14px; font-weight:600; color:#111827; white-space:nowrap}
.config-summary .cfg-k:after{content:':'; margin-left:2px; color:#111827}
.config-summary .cfg-v{font-size:14px; font-weight:400; color:#111827; line-height:1.25; text-align:left; min-width:0; word-break:break-word}
.config-summary .cfg-total .cfg-v{font-size:16px; font-weight:700}
@media (max-width:720px){
  .config-summary{grid-template-columns:1fr}
}
.visually-hidden{
  position:absolute !important;
  height:1px; width:1px;
  overflow:hidden;
  clip:rect(1px, 1px, 1px, 1px);
  white-space:nowrap;
}


/* Lead form: actions row with total */
.form-actions{display:flex; align-items:center; gap:14px; margin-top:8px}
.form-actions .cta.primary{flex:1}
.form-total{flex:0 0 auto; font-size:14px; color:#111827; white-space:nowrap}
.form-total__label{color:#6b7280; font-weight:600; margin-right:4px}
.form-total__value{font-weight:900; font-size:18px}
@media (max-width:720px){
  .form-actions{flex-direction:column; align-items:stretch}
  .form-total{order:-1; text-align:right}
}

/* Options: disabled state */
.opt.is-disabled{opacity:.55}
.opt.is-disabled input{cursor:not-allowed}



/* Альтернатива услуге */
#alternativa{font-size:14px}
#alternativa p,
#alternativa li,
#alternativa .small,
#alternativa .alt-price,
#alternativa .alt-quote-sign{font-size:14px; line-height:1.35}

#alternativa .alt-lead{margin:10px 0 14px; text-align:justify}
#alternativa .alt-lead p{margin:0 0 8px}

#alternativa .alt-mark{
  background: rgba(46, 204, 113, .16);
  padding: 2px 6px;
  border-radius: 4px;
}

#alternativa .alt-grid{margin-top:12px}
#alternativa .alt-card h3{margin:0 0 6px}
#alternativa .alt-card ul{margin:8px 0 0; padding-left:0; list-style:none}
#alternativa .alt-links li{margin:4px 0}

#alternativa a{color:var(--accent); font-weight:400; text-decoration:underline}
#alternativa a:visited{color:var(--accent)}
#alternativa .alt-price{color:#111; font-weight:400}

#alternativa .alt-card--pink{border-color: rgba(255, 0, 0, .18); background: rgba(255, 0, 0, .05)}
#alternativa .alt-card--yellow{background: rgba(255, 204, 0, .12); border-color: rgba(255, 204, 0, .25)}

#alternativa .alt-quote{margin-top:8px; padding:12px; border:var(--b); border-radius:10px; background:#fff}
#alternativa .alt-quote p{margin:0 0 8px}
#alternativa .alt-quote-sign{font-weight:700}

#alternativa .alt-vacancies{grid-column:1 / -1}
#alternativa .alt-vac-cat{background: rgba(255,255,255,.55)}
#alternativa .alt-vac-cat h4{margin:0 0 8px; font-size:16px}
#alternativa .alt-vac-list{display:flex; flex-direction:column; gap:6px}
#alternativa .alt-vac-row{
  display:grid;
  grid-template-columns: 1fr auto;
  column-gap: 10px;
  align-items: baseline;
}
#alternativa .alt-vac-sal{white-space:nowrap; color:#111; font-size:14px}

#alternativa .alt-vac-more{
  display:inline-flex;
  align-items:center;
  width: fit-content;
  padding:2px 6px;
  border:1px solid rgba(46, 204, 113, .22);
  border-radius:6px;
  text-decoration:none;
  background: transparent;
  font-size:14px;
}
#alternativa .alt-vac-more:hover{background: rgba(46, 204, 113, .06)}


/* --- ALT section: icon lists + vacancy typography tweaks (local) --- */
#alt { font-size: 14px; }
#alt .alt-lead p { text-align: justify; }

#alt .alt-links--icons{
  list-style: none;
  padding-left: 0;
  margin: 0;
}

#alt .alt-links--icons .alt-li{
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 2px 0;
  line-height: 1.25;
}

#alt .alt-links--icons .alt-ico{
  flex: 0 0 16px;
  width: 16px;
  text-align: center;
  font-size: 14px;
  line-height: 1;
  margin-top: 1px;
}

#alt .alt-links--icons a{
  font-size: 14px;
  font-weight: 400;
}

#alt .alt-links--icons .alt-price{
  font-size: 14px;
  font-weight: 400;
}

/* Keep vacancy title + salary in one row */
#alt .alt-vac-row{
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: baseline;
}

#alt .alt-vac-row a{
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 400;
  font-size: 14px;
}

#alt .alt-vac-sal{
  white-space: nowrap;
  font-size: 14px;
}

/* "Ещё N вакансий" — subtle, no pill */
#alt .alt-vac-more{
  display: inline;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: none;
  font-weight: 400;
  font-size: 14px;
  text-decoration-thickness: 1px;
}


/* Альтернатива: иконки вместо маркеров */
#alternativa .alt-card ul{list-style:none;margin:10px 0 0;padding:0}
#alternativa .alt-li{display:flex;align-items:flex-start;gap:8px;margin:6px 0;line-height:1.25}
#alternativa .alt-ico{display:inline-flex;align-items:center;justify-content:center;flex:0 0 16px;color:var(--accent,#0a8a3a);margin-top:2px}
#alternativa .alt-ico svg{display:block}
#alternativa .alt-price{margin-left:6px;white-space:nowrap;color:#222;font-weight:400}
#alternativa .alt-li a{flex:0 1 auto}
#alternativa .alt-li .alt-price{flex:0 0 auto}
/* Вакансии: строка вакансия + зарплата в одну линию */
#alternativa .vac-line{display:flex;align-items:baseline;justify-content:space-between;gap:10px}
#alternativa .vac-salary{white-space:nowrap}


#alternativa .vac-more{display:inline-block;padding:2px 6px;border:1px solid rgba(10,138,58,.35);border-radius:6px;font-size:14px;line-height:1.2;text-decoration:none}
#alternativa .vac-more:hover{text-decoration:underline}



/* === Fixed header + helpers === */
header.site-header{
  position:fixed;
  top:0; left:0; right:0;
  z-index:1000;
}
body.has-fixed-header{ padding-top: var(--header-h, 0px); }

/* Back to top */
#back-to-top{
  position:fixed;
  right:18px;
  bottom:18px;
  width:44px;
  height:44px;
  border-radius:999px;
  border:var(--b);
  background:#fff;
  box-shadow:0 8px 20px rgba(0,0,0,.08);
  font-size:20px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  opacity:0;
  pointer-events:none;
  transform:translateY(6px);
  transition:opacity .2s ease, transform .2s ease;
}
#back-to-top.show{
  opacity:1;
  pointer-events:auto;
  transform:translateY(0);
}

/* Cookie consent (compact) */
#cookie-consent{
  position:fixed;
  left:50%;
  transform:translateX(-50%);
  bottom:16px;
  z-index:1001;
}
#cookie-consent .cookie-box{
  max-width:520px;
  width:calc(100vw - 32px);
  border:var(--b);
  border-radius:12px;
  background:#fff;
  box-shadow:0 12px 30px rgba(0,0,0,.10);
  padding:12px 12px;
  display:flex;
  gap:12px;
  align-items:flex-start;
}
#cookie-consent .cookie-text{ font-size:13px; line-height:1.35; }
#cookie-consent .cookie-btn{
  flex:0 0 auto;
  padding:10px 14px;
  border-radius:10px;
  border:var(--b);
  background:#0f7a3a;
  color:#fff;
  font-weight:600;
  cursor:pointer;
}

/* === Experience section layout (photo + quotes left, text right) === */
.exp-grid{
  display:grid;
  grid-template-columns: 320px 1fr;
  gap:22px;
  align-items:start;
}
@media (max-width: 980px){
  .exp-grid{ grid-template-columns: 1fr; }
}
.exp-left .card{ padding:14px; }
.exp-photo{
  width:100%;
  max-width:260px;
  aspect-ratio:1/1;
  border-radius:999px;
  object-fit:cover;
  display:block;
  margin:0 auto 10px;
}
.exp-name{ margin:0; font-weight:700; }
.exp-role{ margin:6px 0 0; font-weight:400; }
.exp-role p{ margin:6px 0; }
.exp-quotes{ margin-top:12px; display:grid; grid-template-columns:1fr; gap:8px; }
.exp-quote{
  border:var(--b);
  border-radius:10px;
  padding:10px 12px;
  background: #f7fbf9;
  display:flex;
  align-items:flex-start;
  gap:6px;
}
.exp-quote.q-strong{ background:#eef7f2; }
.exp-quote .qmark{
  font-size:18px;
  line-height:1.1;
  color:#6aa57f;
  font-weight:700;
  flex:0 0 auto;
  margin-top:1px;
}
.exp-quote p{ margin:0; }
.exp-right .card p{ margin:0 0 5px; }
.exp-right .card p:last-child{ margin-bottom:0; }

/* Как мы работаем */
#kak-my-rabotaem .work-steps{margin-top:16px}
#kak-my-rabotaem .work-step-card{position:relative}
#kak-my-rabotaem .work-step-card{border:1px solid rgba(0,0,0,.10)}
#kak-my-rabotaem .work-step-card:before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:4px;
  background:var(--accent);
  border-radius:var(--r) 0 0 var(--r);
}
#kak-my-rabotaem .work-step-head{display:flex; gap:12px; align-items:flex-start; margin-bottom:10px}
#kak-my-rabotaem .work-step-icon{
  width:42px; height:42px; flex:0 0 42px;
  border-radius:12px;
  display:flex; align-items:center; justify-content:center;
  background:rgba(0,0,0,.03);
  border:1px solid rgba(0,0,0,.08);
  color:var(--accent);
}
#kak-my-rabotaem .work-step-svg{width:22px; height:22px; fill:none; stroke:currentColor; stroke-width:2; stroke-linecap:round; stroke-linejoin:round}
#kak-my-rabotaem .work-step-kicker{
  display:inline-block;
  font-size:12px;
  letter-spacing:.14em;
  text-transform:uppercase;
  color:rgba(0,0,0,.65);
  margin:0 0 4px;
  position:relative;
  padding-bottom:6px;
}
#kak-my-rabotaem .work-step-kicker:after{
  content:"";
  position:absolute;
  left:0; bottom:0;
  width:72px;
  height:2px;
  background:var(--accent);
  border-radius:2px;
}
#kak-my-rabotaem .work-step-card h3{margin:0 0 6px; font-size:16px}
#kak-my-rabotaem .work-step-card p{margin:0}
#kak-my-rabotaem .work-step-wide{grid-column:1 / -1}


/* --- Services page --- */
#services-catalog .services-intro{max-width:860px}
#services-catalog .services-grid{display:grid;grid-template-columns:1fr;gap:16px}
#services-catalog .service-card{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(260px,.85fr);gap:18px;align-items:start}
#services-catalog .service-head{display:flex;justify-content:space-between;gap:14px;align-items:flex-start;margin-bottom:8px}
#services-catalog .service-title{display:flex;gap:10px;align-items:flex-start}
#services-catalog .service-icon{font-size:22px;line-height:1;display:inline-flex;align-items:center;justify-content:center;min-width:24px}
#services-catalog .service-price{white-space:nowrap;font-weight:700;font-size:18px}
#services-catalog .service-benefit{margin-top:10px;padding:12px;border-radius:6px;border:1px solid rgba(11,122,59,.18);background:rgba(11,122,59,.05)}
#services-catalog .service-benefit-title{display:block;margin:0 0 6px;font-size:12px;letter-spacing:.12em;text-transform:uppercase;color:#0b7a3b}
#services-catalog .service-media{display:grid;gap:10px}
#services-catalog .service-image{min-height:230px;border:1px dashed rgba(0,0,0,.18);border-radius:6px;background:linear-gradient(180deg, rgba(11,122,59,.06), rgba(0,0,0,.02));display:flex;align-items:center;justify-content:center;padding:18px;text-align:center}
#services-catalog .service-image span{max-width:220px;font-size:14px;color:rgba(0,0,0,.62)}
#services-catalog .service-actions{display:flex;gap:10px;flex-wrap:wrap;margin-top:14px}
#services-catalog .service-meta{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:8px}
#services-catalog .service-meta .badge{margin-right:0}
#services-faq .accordion{margin-top:12px}
#services-order .order-grid{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(280px,.9fr);gap:18px;align-items:start}
#services-order .services-pick{display:grid;gap:10px}
#services-order .service-check{display:grid;grid-template-columns:auto 1fr auto;gap:10px;align-items:start;padding:12px;border:1px solid rgba(0,0,0,.10);border-radius:6px;background:#fff}
#services-order .service-check input{width:auto;margin-top:3px}
#services-order .service-check.is-selected{border-color:rgba(11,122,59,.35);background:rgba(11,122,59,.05)}
#services-order .service-check__title{font-weight:700;margin:0 0 2px}
#services-order .service-check__price{font-weight:700;white-space:nowrap}
#services-order .service-check__text{font-size:14px;color:rgba(0,0,0,.72)}
#services-order .order-summary{display:grid;gap:10px;position:sticky;top:90px}
#services-order .summary-box{display:grid;gap:10px}
#services-order .summary-lines{display:grid;gap:8px}
#services-order .summary-line{display:grid;grid-template-columns:1fr auto;gap:8px;font-size:14px;padding-bottom:8px;border-bottom:1px solid rgba(0,0,0,.08)}
#services-order .summary-line:last-child{border-bottom:none;padding-bottom:0}
#services-order .summary-total{display:flex;justify-content:space-between;gap:10px;font-weight:700;font-size:18px;padding-top:6px;border-top:1px solid rgba(0,0,0,.08)}
#services-order .summary-selected{padding:12px;border-radius:6px;background:rgba(0,0,0,.03)}
#services-order .summary-selected strong{display:block;margin-bottom:6px}
#services-order .summary-selected ul{margin:0;padding-left:18px}
#services-order .summary-selected li{margin:4px 0}
#services-order .summary-selected.is-empty ul{display:none}
#services-order .summary-selected.is-empty .summary-empty{display:block}
#services-order .summary-empty{display:none;color:rgba(0,0,0,.65)}
#services-order .form-note{margin:0}
@media (max-width: 900px){
  #services-catalog .service-card,
  #services-order .order-grid{grid-template-columns:1fr}
  #services-order .order-summary{position:static}
}


/* === Books page === */
.page-books .hero{padding:42px 0 28px}
.page-books .books-hero__grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(260px,.65fr);gap:18px;align-items:start}
.page-books .books-hero__note{padding:18px}
.page-books .books-mini-list{margin:10px 0 0;padding-left:18px}
.page-books .books-mini-list li{margin:8px 0}
.page-books .section-title{display:flex;gap:12px;align-items:flex-start;margin-bottom:18px}
.page-books .section-title--small{margin-bottom:0}
.page-books .section-title__icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 42px;width:42px;height:42px;border-radius:12px;background:rgba(11,122,59,.08);color:#0b7a3b;border:1px solid rgba(11,122,59,.12)}
.page-books .section-title__icon svg{width:22px;height:22px;display:block}
.page-books .section-title h2{margin:0 0 4px}
.page-books .books-section{padding:30px 0}
.page-books .books-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.page-books .book-card{display:grid;grid-template-columns:180px minmax(0,1fr);gap:16px;border:var(--b);border-radius:14px;padding:16px;background:#fff;box-shadow:0 10px 24px rgba(0,0,0,.03)}
.page-books .book-cover{display:block;text-decoration:none}
.page-books .book-cover img{display:block;width:100%;aspect-ratio:3/4;object-fit:cover;border-radius:10px;border:1px solid rgba(0,0,0,.08);background:#f7f7f7}
.page-books .book-card__body{display:flex;flex-direction:column;align-items:flex-start;min-width:0}
.page-books .book-format{display:inline-flex;align-items:center;gap:8px;padding:6px 10px;border-radius:999px;background:rgba(11,122,59,.08);color:#0b7a3b;border:1px solid rgba(11,122,59,.12);font-size:13px;font-weight:600;margin-bottom:10px}
.page-books .book-format--audio{background:rgba(14,94,173,.08);color:#0e5ead;border-color:rgba(14,94,173,.14)}
.page-books .book-format__icon{display:inline-flex;width:16px;height:16px}
.page-books .book-format__icon svg{width:16px;height:16px;display:block}
.page-books .book-card h3{font-size:20px;line-height:1.22;margin:0 0 8px}
.page-books .book-author{font-size:14px;color:rgba(0,0,0,.74);margin:0 0 10px}
.page-books .book-author span:first-child{font-weight:600;color:#111}
.page-books .book-card p[itemprop="description"]{color:rgba(0,0,0,.82);margin:0 0 14px}
.page-books .book-card .cta{margin-top:auto}
.page-books .footer-grid--single{grid-template-columns:1fr}
.page-books #back-to-top{bottom:22px}

@media (max-width: 980px){
  .page-books .books-hero__grid{grid-template-columns:1fr}
  .page-books .books-grid{grid-template-columns:1fr}
}

@media (max-width: 700px){
  .page-books .hero{padding:28px 0 22px}
  .page-books .book-card{grid-template-columns:1fr}
  .page-books .book-cover{max-width:220px}
}

@media (max-width: 560px){
  .page-books .section-title{gap:10px}
  .page-books .section-title__icon{flex-basis:38px;width:38px;height:38px;border-radius:10px}
  .page-books .book-card{padding:14px}
  .page-books .book-card h3{font-size:18px}
  .page-books .book-cover{max-width:none}
}


/* --- Mobile header + menu fix --- */
.nav-toggle,
.menu-toggle{
  display:none;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border:1px solid rgba(0,0,0,.12);
  border-radius:4px;
  background:#fff;
  color:#111;
  cursor:pointer;
}
.nav-toggle-box,
.menu-toggle-box{
  display:inline-flex;
  width:16px;
  height:14px;
  flex-direction:column;
  justify-content:space-between;
}
.nav-toggle-box span,
.menu-toggle-box span{
  display:block;
  width:100%;
  height:2px;
  background:#111;
  border-radius:2px;
  transition:transform .2s ease, opacity .2s ease;
}
.nav-toggle-text,
.menu-toggle-text{font-size:12px; line-height:1;}

@media (max-width: 820px){
  :root{ --pad: 14px; }
  header{position:static;}
  .nav{
    display:grid;
    grid-template-columns:minmax(0,1fr) auto;
    align-items:center;
    gap:10px 12px;
    padding:12px 0;
  }
  .brand{min-width:0;}
  .brand-title{font-size:15px; line-height:1.1;}
  .brand-logo{width:34px; height:34px;}
  .nav-toggle,
  .menu-toggle{display:inline-flex; justify-self:end;}
  .nav-center{display:block; grid-column:1 / -1; order:3;}
  .nav-right{display:none !important;}
  .menu,
  #site-menu{
    display:none;
    width:100%;
    margin-top:8px;
    padding:8px;
    border:1px solid rgba(0,0,0,.08);
    border-radius:8px;
    background:#fff;
    flex-direction:column;
    align-items:stretch;
    gap:4px;
    white-space:normal;
    box-shadow:0 10px 24px rgba(0,0,0,.04);
  }
  .menu.menu-open,
  #site-menu.menu-open{
    display:flex !important;
  }
  .menu a,
  #site-menu a{
    position:relative;
    display:flex;
    align-items:center;
    width:100%;
    min-height:42px;
    padding:9px 12px 9px 42px;
    border-radius:6px;
    font-size:14px;
    font-weight:500;
    line-height:1.3;
    text-decoration:none;
    background:transparent;
  }
  .menu a:hover,
  #site-menu a:hover{background:#f5f8f6;}
  .menu a::before,
  #site-menu a::before{
    content:"";
    position:absolute;
    left:12px;
    top:50%;
    width:18px;
    text-align:center;
    font-size:14px;
    line-height:1;
    transform:translateY(-50%);
    opacity:.9;
  }
  #site-menu a[href*="kursy"],
  .menu a[href*="kursy"]{}
  #site-menu a[href*="kursy"]::before,
  .menu a[href*="kursy"]::before{content:"🎓";}
  #site-menu a[href*="mini-produkty"]::before,
  .menu a[href*="mini-produkty"]::before{content:"🧩";}
  #site-menu a[href*="instrumenty"]::before,
  .menu a[href*="instrumenty"]::before{content:"🛠";}
  #site-menu a[href*="poisk-raboty-za-vas"]::before,
  .menu a[href*="poisk-raboty-za-vas"]::before{content:"🎯";}
  #site-menu a[href*="knigi"]::before,
  .menu a[href*="knigi"]::before{content:"📘";}
  #site-menu a[href*="uslugi"]::before,
  .menu a[href*="uslugi"]::before{content:"🤝";}
  .menu a.active,
  #site-menu a.active{
    background:#f3f8f4;
    color:#0b7a3b;
    font-weight:600;
  }
  .menu a.active::after,
  #site-menu a.active::after{
    content:"";
    position:absolute;
    left:0;
    top:8px;
    bottom:8px;
    width:3px;
    border-radius:3px;
    background:var(--accent);
  }
  .tagline{
    margin-top:8px;
    padding:6px 10px;
    font-size:12px;
    line-height:1.35;
  }
  .hero{padding:24px 0;}
  h1{font-size:26px; line-height:1.15; margin-bottom:14px;}
  .lead{font-size:16px;}
  p{margin:0 0 12px;}
  .card{padding:14px;}
  .two-col{grid-template-columns:1fr;}
  .actions{gap:8px;}
}

@media (max-width: 560px){
  .nav{gap:8px 10px;}
  .brand-title{font-size:14px;}
  .brand-logo{width:30px; height:30px;}
  .nav-toggle,
  .menu-toggle{padding:7px 9px;}
  .nav-toggle-text,
  .menu-toggle-text{font-size:11px;}
  .menu,
  #site-menu{padding:7px; gap:3px;}
  .menu a,
  #site-menu a{padding:8px 10px 8px 38px; font-size:13px; min-height:38px;}
  .menu a::before,
  #site-menu a::before{left:10px; width:16px; font-size:13px;}
}

/* Карточка = колонка */
.container.grid .card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Блок с кнопкой уезжает вниз */
.container.grid .card .actions {
  margin-top: auto;
}
