/* ============================================================
   /razrabotka-brendbuka/ — разработка брендбука
   Все стили ограничены body.brandbook-page
   ============================================================ */

/* ---------- hero ---------- */
.brandbook-page .brb-hero .inner{max-width:1320px;padding-top:112px;padding-bottom:76px}
.brandbook-page .brb-hero-grid{display:block}
.brandbook-page .brb-hero-copy{max-width:none}
.brandbook-page .brb-hero h1{max-width:none}
.brandbook-page .brb-hero .sub{max-width:680px;margin-bottom:30px}
.brandbook-page .brb-hero .cta-row{margin-bottom:0}
.brandbook-page .brb-hero-tags{display:flex;flex-wrap:wrap;gap:8px;margin-top:26px}
.brandbook-page .brb-hero-tags span{display:inline-block;padding:6px 12px;border-radius:999px;border:1px solid rgba(255,255,255,.13);background:rgba(255,255,255,.05);color:#c8d0df;font-size:12px;font-weight:700;line-height:1.3}
.brandbook-page .brb-hero .trust{margin-top:24px}

/* ---------- что входит ---------- */
.brandbook-page .brb-included{position:relative;overflow:hidden;background:#0a0d14}
.brandbook-page .brb-included-grid{display:grid;grid-template-columns:minmax(0,1fr) 330px;gap:26px;align-items:start}
.brandbook-page .brb-check-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.brandbook-page .brb-check{display:flex;align-items:flex-start;gap:12px;padding:16px 16px 15px;border-radius:16px;border:1px solid var(--line);background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.015));box-shadow:0 18px 42px -38px rgba(0,0,0,.85);transition:transform .3s ease,border-color .3s ease}
.brandbook-page .brb-check:hover{transform:translateY(-3px);border-color:rgba(255,211,77,.35)}
.brandbook-page .brb-check-ic{display:grid;place-items:center;flex:none;width:36px;height:36px;border-radius:11px;background:var(--grad);color:#0a0d14;box-shadow:0 8px 18px -10px rgba(255,154,61,.7)}
.brandbook-page .brb-check-ic svg{width:18px;height:18px}
.brandbook-page .brb-check b{display:block;margin-bottom:3px;color:#fff;font-size:14px;font-weight:800;line-height:1.35}
.brandbook-page .brb-check p{margin:0;color:var(--muted);font-size:12.5px;line-height:1.5}
.brandbook-page .brb-need{padding:24px 22px 22px;border-radius:20px;border:1px solid rgba(255,211,77,.24);background:linear-gradient(160deg,rgba(255,211,77,.085),rgba(255,255,255,.02));box-shadow:0 24px 54px -42px #000}
.brandbook-page .brb-need h3{margin:0 0 16px;color:#fff;font-family:'Unbounded',Arial,sans-serif;font-size:18px;font-weight:700;line-height:1.3;letter-spacing:-.2px}
.brandbook-page .brb-need ol{list-style:none;display:grid;gap:12px;margin:0;padding:0}
.brandbook-page .brb-need li{display:flex;align-items:flex-start;gap:10px}
.brandbook-page .brb-need li > span{display:grid;place-items:center;flex:none;width:26px;height:26px;border-radius:8px;border:1px solid rgba(255,211,77,.22);background:rgba(255,211,77,.1);color:var(--gold);font-size:10px;font-weight:900;line-height:1}
.brandbook-page .brb-need b{display:block;color:#eef2f8;font-size:13px;font-weight:800;line-height:1.35}
.brandbook-page .brb-need small{display:block;margin-top:2px;color:#8a93a5;font-size:11.5px;line-height:1.4}
.brandbook-page .brb-need-note{margin:16px 0 0;padding-top:14px;border-top:1px solid rgba(255,255,255,.08);color:#8a93a5;font-size:11.5px;line-height:1.5}
.brandbook-page .brb-need-link{display:inline-flex;align-items:center;gap:7px;margin-top:14px;color:var(--gold);font-size:13px;font-weight:800;line-height:1.4;transition:color .2s ease}
.brandbook-page .brb-need-link svg{transition:transform .25s ease}
.brandbook-page .brb-need-link:hover{color:#ffe08a}
.brandbook-page .brb-need-link:hover svg{transform:translateX(4px)}
.brandbook-page .brb-included-note{max-width:900px;margin:22px auto 0;text-align:center;color:#8a93a5;font-size:13px;line-height:1.6}

/* ---------- пример документа ---------- */
.brandbook-page .brb-books{display:grid;grid-template-columns:repeat(2,1fr);gap:18px}
.brandbook-page .brb-book{position:relative;padding:20px 20px 18px;border-radius:20px;border:1px solid #e9edf5;background:#fff;box-shadow:0 18px 42px -36px rgba(30,40,70,.5);overflow:hidden;transition:transform .3s ease,border-color .3s ease}
.brandbook-page .brb-book::before{content:'';position:absolute;top:0;left:0;right:0;height:3px;background:var(--accent)}
.brandbook-page .brb-book:hover{transform:translateY(-4px);border-color:rgba(240,169,28,.5)}
.brandbook-page .brb-book-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}
.brandbook-page .brb-book-label{color:#15171c;font-size:12px;font-weight:900;letter-spacing:.06em;line-height:1.4;text-transform:uppercase}
.brandbook-page .brb-book-tag{color:#8a93a5;font-size:12px;font-weight:600;line-height:1.4}
.brandbook-page .brb-book-logo{display:flex;align-items:center;justify-content:center;height:96px;padding:12px 16px;border-radius:12px;border:1px solid #eef1f7;background:#f8fafd;overflow:hidden}
.brandbook-page .brb-book-logo img{display:block;max-width:100%;max-height:64px;width:auto;height:auto;object-fit:contain}
.brandbook-page .brb-book-logo img.is-avangard{transform:scale(1.45)}
.brandbook-page .brb-book-palette{display:grid;grid-template-columns:repeat(5,1fr);gap:5px;margin-top:12px}
.brandbook-page .brb-book-palette i{height:26px;border-radius:5px;background:var(--c);border:1px solid rgba(21,23,28,.08)}
.brandbook-page .brb-book-row{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-top:12px}
.brandbook-page .brb-book-type{display:flex;align-items:center;gap:9px}
.brandbook-page .brb-book-type b{font-family:'Unbounded',Arial,sans-serif;font-size:26px;font-weight:900;line-height:1;letter-spacing:-.5px;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent}
.brandbook-page .brb-book-type span{color:#5b6472;font-size:11.5px;font-weight:700;line-height:1.3}
.brandbook-page .brb-book-icons{display:flex;gap:6px}
.brandbook-page .brb-book-icons span{display:grid;place-items:center;width:30px;height:30px;border-radius:8px;background:#f1f4fa;color:#b8760a}
.brandbook-page .brb-book-icons svg{width:16px;height:16px}
.brandbook-page .brb-book-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:3px;margin-top:12px;height:22px}
.brandbook-page .brb-book-grid i{background:#eef1f7;border-radius:2px}
.brandbook-page .brb-book-templates{display:flex;flex-wrap:wrap;gap:6px;margin-top:12px}
.brandbook-page .brb-book-templates span{padding:4px 8px;border-radius:999px;background:#f1f4fa;color:#5b6472;font-size:11.5px;font-weight:700;line-height:1.3}
.brandbook-page .brb-preview-note{max-width:900px;margin:20px auto 0;text-align:center;color:#5b6472;font-size:14.5px;line-height:1.55}
/* ---------- цены ---------- */
.brandbook-page .brb-plans{display:grid;grid-template-columns:minmax(0,560px);justify-content:center;gap:18px;align-items:stretch}
.brandbook-page .brb-plan{display:flex;flex-direction:column;position:relative;padding:26px 22px 22px;border-radius:20px;border:1px solid #e9edf5;background:#fff;box-shadow:0 18px 42px -36px rgba(30,40,70,.5);transition:transform .3s ease,border-color .3s ease,box-shadow .3s ease}
.brandbook-page .brb-plan:hover{transform:translateY(-4px);border-color:rgba(240,169,28,.5);box-shadow:0 26px 50px -32px rgba(30,40,70,.45)}
.brandbook-page .brb-plan-tag{display:inline-block;align-self:flex-start;margin-bottom:12px;padding:4px 9px;border-radius:999px;background:#f1f4fa;color:#5b6472;font-size:11.5px;font-weight:800;letter-spacing:.05em;line-height:1.4;text-transform:uppercase}
.brandbook-page .brb-plan h3{margin:0 0 6px;color:#15171c;font-family:'Unbounded',Arial,sans-serif;font-size:20px;font-weight:700;line-height:1.3;letter-spacing:-.2px}
.brandbook-page .brb-plan-desc{min-height:54px;margin:0;color:#5b6472;font-size:14.5px;line-height:1.45}
.brandbook-page .brb-plan-price{margin:16px 0;padding-bottom:16px;border-bottom:1px solid #eef1f7}
.brandbook-page .brb-plan-price b{display:block;color:#15171c;font-family:'Unbounded',Arial,sans-serif;font-size:31px;font-weight:900;line-height:1.1;letter-spacing:-.6px}
.brandbook-page .brb-plan-price b small{font-size:17px;color:#5b6472}
.brandbook-page .brb-plan-price span{display:block;margin-top:5px;color:#8a93a5;font-size:13.5px;line-height:1.4}
.brandbook-page .brb-plan-list{display:grid;gap:8px;margin:0 0 20px;padding:0;list-style:none}
.brandbook-page .brb-plan-list li{display:flex;align-items:flex-start;gap:7px;color:#4b5565;font-size:14.5px;line-height:1.4}
.brandbook-page .brb-plan-list i{flex:none;color:#c98a12;font-size:13px;font-style:normal;font-weight:900;line-height:1.5}
.brandbook-page .brb-plan-cta{display:flex;align-items:center;justify-content:center;margin-top:auto;padding:12px 14px;border-radius:12px;background:#15171c;color:#fff;font-size:15px;font-weight:800;line-height:1.3;text-align:center;text-decoration:none;transition:background-color .25s ease,color .25s ease}
.brandbook-page .brb-plan-cta:hover{background:var(--grad);color:#0a0d14}
.brandbook-page .brb-plan--featured{border-color:#232936;background:linear-gradient(160deg,#15171c,#22262f);box-shadow:0 26px 54px -34px rgba(0,0,0,.9);transform:translateY(-4px)}
.brandbook-page .brb-plan--featured:hover{transform:translateY(-7px);border-color:rgba(255,211,77,.4);box-shadow:0 30px 58px -32px rgba(0,0,0,.95)}
.brandbook-page .brb-plan--featured .brb-plan-tag{border:1px solid rgba(255,255,255,.1);background:rgba(255,255,255,.06);color:#c8d0df}
.brandbook-page .brb-plan--featured h3,
.brandbook-page .brb-plan--featured .brb-plan-price b{color:#fff}
.brandbook-page .brb-plan--featured .brb-plan-desc,
.brandbook-page .brb-plan--featured .brb-plan-price span{color:#a7b2c4}
.brandbook-page .brb-plan--featured .brb-plan-price{border-color:rgba(255,255,255,.09)}
.brandbook-page .brb-plan--featured .brb-plan-price b small{color:var(--gold)}
.brandbook-page .brb-plan--featured .brb-plan-list li{color:#dbe3ef}
.brandbook-page .brb-plan--featured .brb-plan-list i{color:var(--gold)}
.brandbook-page .brb-plan--featured .brb-plan-cta{background:var(--grad);color:#0a0d14;box-shadow:0 12px 26px -12px rgba(255,154,61,.85)}
.brandbook-page .brb-plan--featured .brb-plan-cta:hover{filter:brightness(1.05)}
.brandbook-page .brb-price-note{max-width:900px;margin:24px auto 0;text-align:center;color:#5b6472;font-size:13px;line-height:1.6}
.brandbook-page .brb-price-cta{margin-top:34px;text-align:center}

/* ---------- примеры ---------- */
.brandbook-page .brb-examples-section{position:relative;overflow:hidden;background:#0b0f1a}
.brandbook-page .brb-examples{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}
.brandbook-page .brb-example{position:relative;display:flex;flex-direction:column;padding:20px 18px 18px;border-radius:20px;border:1px solid var(--line);background:linear-gradient(160deg,rgba(255,255,255,.055),rgba(255,255,255,.015));box-shadow:0 22px 50px -38px #000;overflow:hidden;transition:transform .3s ease,border-color .3s ease}
.brandbook-page .brb-example::before{content:'';position:absolute;top:0;left:0;right:0;height:2px;background:var(--grad);opacity:.8}
.brandbook-page .brb-example:hover{transform:translateY(-5px);border-color:rgba(255,211,77,.4)}
.brandbook-page .brb-example-head{display:flex;align-items:center;gap:12px;margin-bottom:14px}
.brandbook-page .brb-example-logo{display:flex;align-items:center;justify-content:center;flex:none;width:96px;height:64px;padding:8px;border-radius:10px;background:#fff;border:1px solid rgba(255,255,255,.12)}
.brandbook-page .brb-example-logo img{display:block;max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain}
.brandbook-page .brb-example-tag{display:inline-block;padding:4px 8px;border-radius:999px;border:1px solid rgba(255,211,77,.24);background:rgba(255,211,77,.1);color:var(--gold);font-size:10.5px;font-weight:800;letter-spacing:.05em;line-height:1.4;text-transform:uppercase}
.brandbook-page .brb-example h3{margin:5px 0 2px;color:#fff;font-family:'Unbounded',Arial,sans-serif;font-size:19px;font-weight:700;line-height:1.2;letter-spacing:-.3px}
.brandbook-page .brb-example-head p{margin:0;color:#8a93a5;font-size:12.5px;line-height:1.35}
.brandbook-page .brb-elements{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
.brandbook-page .brb-element{min-width:0;padding:9px 10px;border-radius:10px;border:1px solid rgba(255,255,255,.06);background:rgba(255,255,255,.03)}
.brandbook-page .brb-element > span{display:block;margin-bottom:5px;color:#8a93a5;font-size:10.5px;font-weight:800;letter-spacing:.06em;line-height:1.3;text-transform:uppercase}
.brandbook-page .brb-element--wide{grid-column:1/-1}
.brandbook-page .brb-el-palette{display:grid;grid-template-columns:repeat(5,1fr);gap:3px}
.brandbook-page .brb-el-palette i{height:18px;border-radius:3px;background:var(--c);border:1px solid rgba(255,255,255,.08)}
.brandbook-page .brb-el-type{display:block;color:#fff;font-family:'Unbounded',Arial,sans-serif;font-size:25px;font-weight:900;line-height:1;letter-spacing:-.4px}
.brandbook-page .brb-element small{display:block;margin-top:2px;color:#a7b2c4;font-size:10px;line-height:1.3}
.brandbook-page .brb-el-grid{display:grid;grid-template-columns:repeat(8,1fr);gap:2px;height:20px}
.brandbook-page .brb-el-grid i{background:rgba(255,255,255,.12);border-radius:2px}
.brandbook-page .brb-el-icons{display:flex;align-items:center;gap:5px;color:var(--gold)}
.brandbook-page .brb-el-icons svg{width:16px;height:16px}
.brandbook-page .brb-el-templates{display:flex;flex-wrap:wrap;gap:4px}
.brandbook-page .brb-el-templates i{padding:3px 6px;border-radius:999px;background:rgba(255,255,255,.06);color:#c8d0df;font-size:10.5px;font-style:normal;font-weight:700;line-height:1.3}
.brandbook-page .brb-example-result{margin:12px 0 0;padding-top:11px;border-top:1px solid rgba(255,255,255,.07);color:#a7b2c4;font-size:13px;line-height:1.45}
.brandbook-page .brb-example-result strong{color:#fff;font-weight:800}
.brandbook-page .brb-examples-note{max-width:900px;margin:22px auto 0;text-align:center;color:#8a93a5;font-size:15px;line-height:1.6}
/* ---------- FAQ ---------- */
.brandbook-page .faq-a a{color:#1a66c9;font-weight:700;text-decoration:underline;text-underline-offset:3px}
.brandbook-page .faq-a a:hover{color:#124a96}

/* ---------- форма ---------- */
.brandbook-page #contact{padding-top:84px}
.brandbook-page section[id],
.brandbook-page #contact{scroll-margin-top:96px}
.brandbook-page .form-package{margin:0 0 16px;padding:12px 16px;border-radius:12px;border:1px solid rgba(255,211,77,.3);background:rgba(255,211,77,.1);color:#eef2f8;font-size:14px;line-height:1.5}
.brandbook-page .form-package strong{color:var(--gold)}

/* ---------- адаптив ---------- */
@media(max-width:1100px){
  .brandbook-page .brb-included-grid{grid-template-columns:1fr;gap:20px}
  .brandbook-page .brb-need{max-width:none}
  .brandbook-page .brb-examples{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:980px){
  .brandbook-page .brb-hero .inner{padding-top:110px;padding-bottom:110px}
  .brandbook-page .brb-plans{grid-template-columns:1fr;max-width:560px;margin:0 auto}
  .brandbook-page .brb-plan--featured{transform:none}
  .brandbook-page .brb-plan--featured:hover{transform:translateY(-4px)}
  .brandbook-page .brb-plan-desc{min-height:0}
}
@media(max-width:760px){
  .brandbook-page .brb-check-grid{grid-template-columns:1fr}
  .brandbook-page .brb-books{grid-template-columns:1fr}
  .brandbook-page .brb-examples{grid-template-columns:1fr}
  .brandbook-page .brb-example{padding:22px 20px 20px}
}
@media(max-width:640px){
  .brandbook-page .brb-hero .inner{padding-top:100px;padding-bottom:52px}
  .brandbook-page .brb-hero-tags{margin-top:22px}
  .brandbook-page .brb-hero-tags span{font-size:11px;padding:5px 10px}
  .brandbook-page .brb-price-cta .btn{width:100%;justify-content:center}
  .brandbook-page .brb-price-note,
  .brandbook-page .brb-included-note{font-size:12px}
  .brandbook-page .brb-book{padding:18px 16px}
}
@media(max-width:440px){
  .brandbook-page .brb-plan{padding:22px 18px 20px}
  .brandbook-page .brb-plan-price b{font-size:29px}
  .brandbook-page .brb-check{padding:14px}
  .brandbook-page .brb-book{padding:16px 14px}
  .brandbook-page .brb-example{padding:18px 14px}
}
