/* ================================================
   TIBOH BRAND SYSTEM v2 — Executive Blue
   Replaces tiboh.css. Based on Brand Book v2.0.
   Colors: Navy #0C214A | Blue #033AA8 | Corp #144B86
           Soft #DCEFFC | Surface #F6F9FC
   Fonts:  General Sans (display) · Inter (ui)
================================================ */

/* ---- Brand Variables ---- */
:root {
  --navy:    #0C214A;
  --blue:    #033AA8;
  --blue2:   #144B86;
  --soft:    #DCEFFC;
  --bg:      #F6F9FC;
  --surface: #FFFFFF;
  --line:    #D7E2EE;
  --text:    #10233F;
  --muted:   #5F718B;
  --success: #DFF4E8;
  --display: 'General Sans', sans-serif;
  --ui:      Inter, InterVariable, sans-serif;
  --shadow:  0 18px 48px rgba(12,33,74,.10);
  --r-lg: 30px;
  --r-md: 22px;
  --r-sm: 16px;
}

/* ---- Hide phone from navbar ---- */
.tiboh-navbar-phone,
.navbar-address { display: none !important; }

/* ---- SVG Logo Switching ---- */
.brand-lockup-light { display: none; }
.brand-lockup-dark  { display: block; }
.navbar-white .brand-lockup-dark  { display: none; }
.navbar-white .brand-lockup-light { display: block; }
/* Footer — всегда светлый логотип */
.tiboh-footer .brand-lockup-dark  { display: none; }
.tiboh-footer .brand-lockup-light { display: block; }
.brand-img, .brand-img-white { display: none !important; }
.brand-info { display: none !important; }
a.brand { display: flex; align-items: center; height: 100%; padding: 0 4px; }

/* ---- Global Font Override ---- */
body, .navbar, .menu, input, textarea, select, button {
  font-family: var(--ui) !important;
}
h1, h2, h3, h4, h5, .display-1, .display-2, .display-3,
.title-uppercase, .brand-name {
  font-family: var(--display) !important;
}

/* ---- style.css Global Overrides ---- */

/* Шаблон использует cyan #30cbde — везде заменяем на brand blue */
.text-primary                 { color: var(--blue) !important; }
a, a:visited                  { color: var(--blue); }
a:hover                       { color: var(--blue2); }
a.link-arrow                  { color: var(--blue) !important; }
a.link-arrow:hover            { color: var(--blue2) !important; }

/* Горизонтальные акцентные линии */
.hr-bottom  { background: var(--blue) !important; }
.title-hr   { background: var(--blue) !important; }

/* Подзаголовок над h1/h2 */
.subtitle-top { color: var(--muted); font-family: var(--ui) !important;
  font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 700; }

/* Список сервисов на главной */
.intro .title-uppercase { margin-bottom: 2.5rem !important; }
.service-list { margin-bottom: 1rem !important; }
.service-list li { margin-bottom: 0.17rem !important; }
.service-list li a { color: var(--text) !important; }
.service-list li a:hover { color: var(--blue) !important; }

/* Счётчик лет/проектов */
.experience-info .number { color: var(--line) !important; font-family: var(--display) !important; }
.experience-info .text   { color: var(--navy) !important; }

/* Точки декоративные */
.dots-image .dots::after, .dots-image-2 .dots::after { background-color: var(--soft) !important; }

/* Базовый цвет body текста */
body { color: var(--text) !important; }

/* Серые цвета шаблона — приводим к бренду */
.copy-bottom { color: rgba(255,255,255,.45) !important; }
.copy-bottom a { color: rgba(255,255,255,.45) !important; }
.copy-bottom a:hover { color: rgba(255,255,255,.8) !important; }

/* Вертикальный заголовок секции (INTRO, SERVICES и т.д.) */
.vertical-title span { color: rgba(255,255,255,.25) !important; border-color: rgba(255,255,255,.15) !important; }
.vertical-title.text-dark span { color: var(--muted) !important; border-color: var(--line) !important; }

/* Пагинация pagepiling */
#pp-nav li a span, .pp-tableCell .section-nav li a span { background: rgba(255,255,255,.4) !important; }
#pp-nav li a.active span, .pp-tableCell .section-nav li a.active span { background: var(--soft) !important; }

/* ---- Buttons ---- */
.btn-yellow, .btn-upper.btn.btn-yellow {
  background: var(--blue) !important;
  color: #fff !important;
  border-color: var(--blue) !important;
  border-radius: 12px !important;
  font-family: var(--ui) !important;
  letter-spacing: .06em !important;
}
.btn-yellow:hover, .btn-upper.btn.btn-yellow:hover {
  background: var(--blue2) !important;
  border-color: var(--blue2) !important;
}

/* ---- Desktop Dropdown Nav ---- */
.tiboh-desktop-nav { float: right; margin-right: 0; }
.tiboh-desktop-nav > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 2px;
}

/* All nav items — единый padding и высота */
.tiboh-desktop-nav > ul > li > a {
  display: flex; align-items: center; height: 34px;
  padding: 0 14px;
  font-size: 11px; letter-spacing: 1.3px; text-transform: uppercase;
  color: var(--text); text-decoration: none; transition: color .15s;
  font-family: var(--ui) !important; font-weight: 600; white-space: nowrap;
  border: 1px solid transparent; border-radius: 10px;
}
.tiboh-desktop-nav > ul > li > a:hover { color: var(--blue); }

/* Get Started — filled primary, двойной отступ от Contact */
.tiboh-desktop-nav li.tdnav-cta { margin-left: 14px; }
.tiboh-desktop-nav li.tdnav-cta > a {
  background: var(--blue); color: #fff !important;
  border-color: var(--blue);
}
.tiboh-desktop-nav li.tdnav-cta > a:hover { background: var(--blue2); border-color: var(--blue2); }

/* Sign In — ghost outline, двойной отступ от Get Started и до ≡ */
.tiboh-desktop-nav li.tdnav-signin { margin-left: 14px; margin-right: 14px; }
.tiboh-desktop-nav li.tdnav-signin > a {
  color: var(--navy) !important;
  border-color: var(--line);
}
.tiboh-desktop-nav li.tdnav-signin > a:hover { border-color: var(--blue); color: var(--blue) !important; }

/* Sign Up — soft filled */
.tiboh-desktop-nav li.tdnav-signup > a {
  background: var(--soft); color: var(--navy) !important;
  border-color: rgba(12,33,74,.12);
}
.tiboh-desktop-nav li.tdnav-signup > a:hover { background: var(--bg); }

/* navbar-white overrides для Sign In / Sign Up */
.navbar-white .tiboh-desktop-nav li.tdnav-signin > a {
  border-color: rgba(255,255,255,.3); color: #fff !important;
}
.navbar-white .tiboh-desktop-nav li.tdnav-signin > a:hover {
  border-color: rgba(255,255,255,.7);
}
.navbar-white .tiboh-desktop-nav li.tdnav-signup > a {
  background: rgba(255,255,255,.12); color: #fff !important;
  border-color: rgba(255,255,255,.25);
}
.navbar-white .tiboh-desktop-nav li.tdnav-signup > a:hover {
  background: rgba(255,255,255,.2);
}

.tiboh-desktop-nav li.has-drop { position: relative; }
.tiboh-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0;
  background: #fff; min-width: 230px;
  box-shadow: var(--shadow); z-index: 10000;
  padding: 8px 0; border-top: 2px solid var(--blue);
  border-radius: 0 0 var(--r-sm) var(--r-sm);
}
.tiboh-desktop-nav li.has-drop:hover .tiboh-dropdown-menu { display: block; }
.tiboh-dropdown-menu li { list-style: none; }
.tiboh-dropdown-menu li a {
  display: block; padding: 9px 20px;
  font-size: 13px; color: var(--text); text-decoration: none;
  font-family: var(--ui) !important; font-weight: 400;
  transition: color .15s, background .15s;
}
.tiboh-dropdown-menu li a:hover { color: var(--blue); background: var(--bg); }
.tiboh-navbar-phone { float: right; margin-right: 20px; font-size: 11px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); line-height: 1; white-space: nowrap; }
.tiboh-navbar-phone a { color: var(--muted); text-decoration: none; }
.tiboh-navbar-phone a:hover { color: var(--blue); }
.navbar-2 .navbar-address { float: right !important; margin-left: 0 !important; margin-right: 24px; }
.navbar-white .navbar-address a { color: rgba(255,255,255,.85) !important; }
.navbar-white .tiboh-desktop-nav > ul > li > a { color: rgba(255,255,255,.9) !important; }
.navbar-white .tiboh-desktop-nav > ul > li > a:hover { color: #fff !important; }
.navbar-white .tiboh-desktop-nav li.tdnav-cta > a { background: rgba(255,255,255,.15); color: #fff !important; border: 1px solid rgba(255,255,255,.3); }
.navbar-white .tiboh-desktop-nav li.tdnav-cta > a:hover { background: rgba(255,255,255,.25); }
.navbar-white .tiboh-navbar-phone a { color: rgba(255,255,255,.85) !important; }

/* ---- Stats Banner ---- */
.tiboh-stats { background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 100%); padding: 56px 0; }
.tiboh-stat-item { text-align: center; padding: 16px 12px; }
.tiboh-stat-number {
  font-family: var(--display) !important; font-size: 52px;
  color: var(--soft); line-height: 1; display: block;
}
.tiboh-stat-label {
  font-size: 11px; letter-spacing: 2px; text-transform: uppercase;
  color: rgba(255,255,255,.55); margin-top: 8px; display: block;
  font-family: var(--ui) !important;
}

/* ---- Why Tiboh Section ---- */
.tiboh-why-grid { margin-top: 32px; }
.tiboh-why-item {
  padding: 28px; border: 1px solid var(--line); margin-bottom: 24px;
  border-radius: var(--r-sm); background: var(--surface);
  box-shadow: var(--shadow);
}
.tiboh-why-item .tiboh-why-icon { font-size: 28px; color: var(--blue); margin-bottom: 14px; display: block; }
.tiboh-why-item h4 { margin-top: 0; font-size: 16px; color: var(--navy); font-family: var(--display) !important; }
.tiboh-why-item p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 0; }

/* ---- Product Cards Grid ---- */
.tiboh-product-card {
  border: 1px solid var(--line); padding: 32px 28px; margin-bottom: 28px;
  background: var(--surface); border-radius: var(--r-md);
  box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .25s;
  display: flex; flex-direction: column;
}
.tiboh-product-card:hover { box-shadow: 0 24px 56px rgba(12,33,74,.16); transform: translateY(-3px); }
.tiboh-product-card .tiboh-card-num {
  font-family: var(--display) !important; font-size: 44px;
  color: var(--soft); line-height: 1; margin-bottom: 10px;
}
.tiboh-product-card h3 { margin-top: 0; font-size: 17px; margin-bottom: 6px; color: var(--navy); font-family: var(--display) !important; }
.tiboh-product-card .tiboh-card-price {
  color: var(--blue); font-weight: 700; font-size: 15px;
  margin: 0 0 14px; letter-spacing: .5px;
}
.tiboh-product-card p { font-size: 13px; color: var(--muted); line-height: 1.7; flex: 1; margin-bottom: 20px; }
.tiboh-card-link {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue); text-decoration: none; font-weight: 600;
}
.tiboh-card-link:hover { color: var(--blue2); }
.tiboh-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.tiboh-tag {
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  padding: 4px 12px; border: 1px solid var(--line); color: var(--blue);
  background: var(--bg); border-radius: 999px; font-weight: 600;
}

/* ---- Process Steps ---- */
.tiboh-process { counter-reset: step; }
.tiboh-step {
  position: relative; padding: 24px 20px 24px 72px;
  border-left: 2px solid var(--line); margin-bottom: 4px;
}
.tiboh-step:last-child { border-left-color: transparent; }
.tiboh-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  position: absolute; left: -16px; top: 24px;
  width: 32px; height: 32px; background: var(--surface);
  font-family: var(--display) !important; font-size: 20px;
  color: var(--blue); line-height: 32px; text-align: center;
  border: 1px solid var(--line); border-radius: 8px;
}
.tiboh-step h4 { margin-top: 0; font-size: 16px; color: var(--navy); font-family: var(--display) !important; }
.tiboh-step p { font-size: 14px; color: var(--muted); margin-bottom: 0; }

/* ---- CTA Dark Section ---- */
.tiboh-cta-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 52%, var(--blue) 100%);
  padding: 80px 0; text-align: center; position: relative; overflow: hidden;
}
.tiboh-cta-dark::after {
  content: ''; position: absolute; right: -100px; top: -100px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220,239,252,.08) 0%, transparent 70%);
  pointer-events: none;
}
.tiboh-cta-dark h2 { color: #fff; margin-bottom: 14px; font-family: var(--display) !important; }
.tiboh-cta-dark p { color: rgba(255,255,255,.72); font-size: 16px; max-width: 560px; margin: 0 auto 32px; }
.tiboh-cta-dark .btn-outline-light {
  border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.9); background: rgba(255,255,255,.08);
  padding: 10px 28px; margin-left: 12px; display: inline-block; letter-spacing: 1.5px;
  text-transform: uppercase; font-size: 11px; font-weight: 600;
  text-decoration: none; transition: all .2s; border-radius: 10px;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tiboh-cta-dark .btn-outline-light:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.15); }

/* ---- FAQ ---- */
.tiboh-faq { border-top: 1px solid var(--line); margin-top: 32px; }
.tiboh-faq-item { border-bottom: 1px solid var(--line); }
.tiboh-faq-q {
  padding: 18px 44px 18px 0; cursor: pointer;
  font-size: 15px; font-weight: 600; color: var(--navy);
  position: relative; user-select: none; font-family: var(--display) !important;
}
.tiboh-faq-q::after {
  content: '+'; position: absolute; right: 0; top: 50%;
  transform: translateY(-50%); font-size: 22px; color: var(--blue);
  font-weight: 300; line-height: 1;
}
.tiboh-faq-item.open .tiboh-faq-q::after { content: '−'; }
.tiboh-faq-a {
  display: none; padding: 0 0 20px;
  font-size: 14px; color: var(--muted); line-height: 1.85;
}
.tiboh-faq-item.open .tiboh-faq-a { display: block; }

/* ---- Product Hero ---- */
.tiboh-product-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 52%, var(--blue) 100%);
  padding: 80px 0 70px; color: #fff; position: relative; overflow: hidden;
}
.tiboh-product-hero::after {
  content: ''; position: absolute; right: -80px; top: -80px;
  width: 320px; height: 320px; border-radius: 50%;
  background: radial-gradient(circle, rgba(220,239,252,.08) 0%, transparent 70%);
  pointer-events: none;
}
.tiboh-product-hero h1 { color: #fff; font-size: 40px; line-height: 1.15; margin-top: 0; font-family: var(--display) !important; }
.tiboh-product-hero .tiboh-hero-price {
  font-family: var(--display) !important; color: var(--soft);
  font-size: 26px; margin: 18px 0 10px; display: block;
}
.tiboh-product-hero .tiboh-hero-retainer { color: rgba(255,255,255,.55); font-size: 14px; margin-bottom: 20px; }
.tiboh-product-hero p.lead { color: rgba(255,255,255,.82); font-size: 16px; line-height: 1.75; max-width: 580px; }
.tiboh-product-hero .tiboh-hero-btns { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.tiboh-hero-badge {
  display: inline-block; background: rgba(220,239,252,.15); border: 1px solid rgba(220,239,252,.35);
  color: var(--soft); font-size: 10px; letter-spacing: 2px; text-transform: uppercase;
  padding: 5px 14px; margin-bottom: 20px; border-radius: 999px;
}
.tiboh-product-right-col { padding-top: 20px; }
.tiboh-product-stats { display: flex; gap: 28px; flex-wrap: wrap; margin-top: 32px; }
.tiboh-product-stat-n { font-family: var(--display) !important; font-size: 36px; color: var(--soft); line-height: 1; }
.tiboh-product-stat-l { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: rgba(255,255,255,.55); margin-top: 4px; }
.tiboh-outline-white-btn {
  border: 1px solid rgba(255,255,255,.3); color: rgba(255,255,255,.9);
  background: rgba(255,255,255,.08); padding: 9px 22px; font-size: 11px;
  letter-spacing: 1.5px; text-transform: uppercase; text-decoration: none;
  display: inline-block; transition: all .2s; font-weight: 600;
  border-radius: 10px; backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.tiboh-outline-white-btn:hover { border-color: rgba(255,255,255,.7); background: rgba(255,255,255,.18); }

/* ---- Comparison Table ---- */
.tiboh-compare { width: 100%; border-collapse: collapse; font-size: 14px; margin: 24px 0; border-radius: var(--r-sm); overflow: hidden; }
.tiboh-compare thead tr { background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 100%); }
.tiboh-compare thead th { padding: 14px 16px; color: #fff; text-align: left; font-weight: 600; font-size: 13px; font-family: var(--ui) !important; }
.tiboh-compare tbody tr:nth-child(even) { background: var(--bg); }
.tiboh-compare tbody td { padding: 12px 16px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.tiboh-compare td.tiboh-col-tiboh { background: rgba(220,239,252,.3) !important; font-weight: 600; color: var(--navy); }
.tiboh-check { color: #1B8C58; font-weight: 700; font-size: 15px; }
.tiboh-cross { color: #C0392B; font-weight: 700; }
.tiboh-half { color: var(--blue2); font-weight: 700; }

/* ---- Blog / Insights ---- */
.tiboh-blog-card {
  border: 1px solid var(--line); background: var(--surface); margin-bottom: 28px;
  border-radius: var(--r-md); overflow: hidden;
  box-shadow: var(--shadow);
  transition: box-shadow .2s, transform .2s;
}
.tiboh-blog-card:hover { box-shadow: 0 24px 56px rgba(12,33,74,.14); transform: translateY(-2px); }
.tiboh-blog-card-img {
  width: 100%; height: 190px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 100%);
  display: flex; align-items: center; justify-content: center; overflow: hidden;
}
.tiboh-blog-card-img .tiboh-card-icon { font-size: 48px; color: var(--soft); opacity: .5; }
.tiboh-blog-card-body { padding: 28px 24px; }
.tiboh-blog-cat { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); margin-bottom: 8px; font-weight: 700; }
.tiboh-blog-card h3 { font-size: 18px; line-height: 1.4; margin: 0 0 12px; font-family: var(--display) !important; }
.tiboh-blog-card h3 a { color: var(--navy); text-decoration: none; }
.tiboh-blog-card h3 a:hover { color: var(--blue); }
.tiboh-blog-card p { font-size: 13px; color: var(--muted); line-height: 1.7; margin-bottom: 16px; }
.tiboh-blog-meta { font-size: 12px; color: var(--muted); }
.tiboh-read-more {
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue); text-decoration: none; font-weight: 600;
}
.tiboh-read-more:hover { color: var(--blue2); }

/* ---- Article Pages ---- */
.tiboh-article-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 52%, var(--blue) 100%);
  padding: 72px 0 56px; color: #fff;
}
.tiboh-article-hero .tiboh-article-cat { font-size: 11px; letter-spacing: 2px; text-transform: uppercase; color: var(--soft); margin-bottom: 16px; font-weight: 700; }
.tiboh-article-hero h1 { color: #fff; font-size: 34px; line-height: 1.3; max-width: 740px; margin-bottom: 16px; font-family: var(--display) !important; }
.tiboh-article-hero .tiboh-article-meta { color: rgba(255,255,255,.55); font-size: 13px; }
.tiboh-article-body { font-size: 15px; line-height: 1.9; color: var(--text); }
.tiboh-article-body h2 { font-size: 24px; margin-top: 52px; margin-bottom: 18px; color: var(--navy); font-family: var(--display) !important; }
.tiboh-article-body h3 { font-size: 19px; margin-top: 36px; margin-bottom: 12px; color: var(--navy); font-family: var(--display) !important; }
.tiboh-article-body p { margin-bottom: 22px; }
.tiboh-article-body ul, .tiboh-article-body ol { padding-left: 24px; margin-bottom: 22px; }
.tiboh-article-body li { margin-bottom: 8px; }
.tiboh-article-body blockquote {
  border-left: 3px solid var(--blue); padding: 16px 24px;
  background: var(--bg); font-style: italic; margin: 32px 0; color: var(--muted);
  border-radius: 0 var(--r-sm) var(--r-sm) 0;
}
.tiboh-callout { background: var(--bg); border: 1px solid var(--line); padding: 24px; margin: 32px 0; border-radius: var(--r-sm); }
.tiboh-callout-title { font-weight: 700; font-size: 14px; margin-bottom: 8px; color: var(--blue); }
.tiboh-article-body table { width: 100%; border-collapse: collapse; margin: 28px 0; font-size: 14px; border-radius: var(--r-sm); overflow: hidden; }
.tiboh-article-body th { background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 100%); color: #fff; padding: 12px 14px; text-align: left; font-weight: 600; }
.tiboh-article-body td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: top; }
.tiboh-article-body tr:nth-child(even) td { background: var(--bg); }
.tiboh-article-sidebar { position: sticky; top: 80px; }
.tiboh-toc-box { background: var(--bg); border: 1px solid var(--line); padding: 24px; margin-bottom: 28px; border-radius: var(--r-sm); }
.tiboh-toc-box h5 { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-top: 0; margin-bottom: 14px; font-family: var(--ui) !important; }
.tiboh-toc-box ol { margin: 0; padding-left: 20px; }
.tiboh-toc-box li { margin-bottom: 6px; }
.tiboh-toc-box a { font-size: 13px; color: var(--blue); text-decoration: none; }
.tiboh-toc-box a:hover { text-decoration: underline; }
.tiboh-article-cta-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 100%);
  padding: 28px; color: #fff; margin-bottom: 28px; border-radius: var(--r-md);
}
.tiboh-article-cta-box h5 { color: #fff; margin-top: 0; font-size: 16px; font-family: var(--display) !important; }
.tiboh-article-cta-box p { color: rgba(255,255,255,.65); font-size: 13px; line-height: 1.7; margin-bottom: 16px; }
.tiboh-article-cta-box .btn-yellow { width: 100%; text-align: center; display: block; }

/* ---- Enterprise Footer ---- */
.tiboh-footer {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 100%);
  padding: 64px 0 0;
}
.tiboh-footer-grid { display: flex; flex-wrap: wrap; gap: 0; margin-bottom: 48px; }
.tiboh-fc { padding: 0 20px 32px 0; }
.tiboh-fc:first-child { min-width: 220px; flex: 1.5; }
.tiboh-fc { min-width: 140px; flex: 1; }
.tiboh-footer-logo .brand-name { color: #fff !important; }
.tiboh-footer-logo .brand-text { color: rgba(255,255,255,.45) !important; }
.tiboh-footer-tagline { font-size: 13px; color: rgba(255,255,255,.55); margin: 14px 0 18px; line-height: 1.65; max-width: 200px; }
.tiboh-footer-socials { display: flex; gap: 8px; }
.tiboh-footer-socials a {
  width: 34px; height: 34px; border: 1px solid rgba(255,255,255,.15);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.55); font-size: 15px; text-decoration: none;
  transition: all .2s;
}
.tiboh-footer-socials a:hover { border-color: var(--soft); color: var(--soft); }
.tiboh-fh { font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 16px; font-weight: 600; }
.tiboh-fl { list-style: none; padding: 0; margin: 0; }
.tiboh-fl li { margin-bottom: 9px; }
.tiboh-fl a { font-size: 13px; color: rgba(255,255,255,.55); text-decoration: none; transition: color .2s; }
.tiboh-fl a:hover { color: var(--soft); }
.tiboh-footer-addr { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.85; font-style: normal; }
.tiboh-footer-addr a { color: rgba(255,255,255,.55); text-decoration: none; }
.tiboh-footer-addr a:hover { color: var(--soft); }
.tiboh-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.1); padding: 20px 0;
  display: flex; justify-content: space-between; align-items: center;
  font-size: 12px; color: rgba(255,255,255,.35); flex-wrap: wrap; gap: 8px;
}
.tiboh-footer-bottom a { color: rgba(255,255,255,.35); text-decoration: none; }
.tiboh-footer-bottom a:hover { color: rgba(255,255,255,.7); }

/* ---- Legal Pages ---- */
.tiboh-legal h2 { font-size: 17px; font-weight: 700; margin-top: 44px; margin-bottom: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--navy); font-family: var(--display) !important; }
.tiboh-legal h3 { font-size: 15px; font-weight: 600; margin-top: 28px; margin-bottom: 8px; color: var(--text); }
.tiboh-legal p, .tiboh-legal li { font-size: 14px; line-height: 1.9; color: var(--muted); }
.tiboh-legal ul { padding-left: 24px; margin-bottom: 16px; }
.tiboh-legal li { margin-bottom: 7px; }
.tiboh-legal-eff { font-size: 13px; color: var(--muted); margin-bottom: 36px; padding-bottom: 20px; border-bottom: 1px solid var(--line); }
.tiboh-toc-legal { background: var(--bg); border: 1px solid var(--line); padding: 22px 26px; margin-bottom: 40px; border-radius: var(--r-sm); }
.tiboh-toc-legal h5 { margin-top: 0; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.tiboh-toc-legal ol { margin: 0; padding-left: 20px; column-count: 2; column-gap: 24px; }
.tiboh-toc-legal li { margin-bottom: 5px; break-inside: avoid; }
.tiboh-toc-legal a { font-size: 13px; color: var(--blue); text-decoration: none; }
.tiboh-toc-legal a:hover { text-decoration: underline; }

/* ---- Inline Lead Form ---- */
.tiboh-lead-form { background: var(--bg); border: 1px solid var(--line); padding: 36px; border-radius: var(--r-md); }
.tiboh-lead-form h3 { margin-top: 0; font-size: 20px; color: var(--navy); font-family: var(--display) !important; }
.tiboh-lead-form p { font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.tiboh-lead-form .form-group { margin-bottom: 14px; }
.tiboh-lead-form input, .tiboh-lead-form textarea, .tiboh-lead-form select {
  width: 100%; padding: 12px 16px; border: 1px solid var(--line);
  background: var(--surface); font-family: var(--ui) !important;
  font-size: 13px; color: var(--text); box-sizing: border-box;
  border-radius: 12px; transition: border-color .15s;
}
.tiboh-lead-form input:focus, .tiboh-lead-form textarea:focus, .tiboh-lead-form select:focus {
  outline: none; border-color: var(--blue);
}
.tiboh-lead-form textarea { min-height: 110px; }
.tiboh-form-success { background: var(--success); border: 1px solid rgba(27,140,88,.3); padding: 14px 18px; margin-top: 14px; font-size: 14px; color: #1B7A4A; display: none; border-radius: 10px; }
.tiboh-form-error { background: #FCE4E4; border: 1px solid rgba(192,57,43,.25); padding: 14px 18px; margin-top: 14px; font-size: 14px; color: #C0392B; display: none; border-radius: 10px; }

/* ---- Page Header ---- */
.tiboh-page-hero {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 52%, var(--blue) 100%);
  padding: 64px 0 56px;
}
.tiboh-page-hero h1 { color: #fff; margin-top: 0; margin-bottom: 12px; font-family: var(--display) !important; }
.tiboh-page-hero p { color: rgba(255,255,255,.72); font-size: 15px; max-width: 620px; margin-bottom: 0; }
.tiboh-page-hero .tiboh-breadcrumb { font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,.4); margin-bottom: 16px; }
.tiboh-page-hero .tiboh-breadcrumb a { color: var(--soft); text-decoration: none; }

/* ---- Section variants ---- */
.section-light { background: var(--bg); }
.section-dark {
  background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 100%);
  color: #fff;
}
.section-dark .info-title { color: rgba(255,255,255,.45) !important; }
.section-dark .title-hr { border-color: rgba(255,255,255,.15) !important; }
.section-dark h2, .section-dark h3, .section-dark h4 { color: #fff; }
.section-dark p { color: rgba(255,255,255,.7); }

/* ---- Tech Stack Badges ---- */
.tiboh-tech-stack { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; margin-top: 24px; }
.tiboh-stack-item {
  border: 1px solid var(--line); padding: 8px 18px;
  font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue); background: var(--bg); font-weight: 700;
  border-radius: 999px;
}

/* ---- Services page pricing cards ---- */
.tiboh-pricing-card {
  border: 1px solid var(--line); padding: 36px 32px; margin-bottom: 30px;
  background: var(--surface); position: relative;
  border-radius: var(--r-md); box-shadow: var(--shadow);
  transition: box-shadow .25s, transform .2s;
}
.tiboh-pricing-card:hover { box-shadow: 0 24px 56px rgba(12,33,74,.16); transform: translateY(-2px); }
.tiboh-pricing-card.tiboh-featured { border-color: var(--blue); border-width: 2px; }
.tiboh-featured-tag {
  position: absolute; top: -1px; right: 28px;
  background: var(--blue); color: #fff; font-size: 10px;
  letter-spacing: 2px; text-transform: uppercase; padding: 5px 14px;
  font-weight: 600; border-radius: 0 0 8px 8px;
}
.tiboh-card-num-badge {
  display: inline-flex; width: 36px; height: 36px;
  background: var(--navy); border-radius: 10px;
  color: var(--soft); font-family: var(--display) !important; font-size: 16px;
  align-items: center; justify-content: center;
  margin-bottom: 16px; font-weight: 800;
}
.tiboh-pricing-card h3 { margin-top: 0; font-size: 20px; margin-bottom: 4px; color: var(--navy); font-family: var(--display) !important; }
.tiboh-price { font-family: var(--display) !important; font-size: 28px; color: var(--blue); margin: 12px 0 4px; display: block; }
.tiboh-price-note { font-size: 12px; color: var(--muted); margin-bottom: 16px; display: block; }
.tiboh-pricing-card p { font-size: 14px; color: var(--muted); line-height: 1.75; margin-bottom: 18px; }
.tiboh-pricing-card ul { padding-left: 0; margin-bottom: 24px; list-style: none; }
.tiboh-pricing-card ul li { font-size: 13px; color: var(--text); padding: 5px 0 5px 20px; border-bottom: 1px solid var(--line); position: relative; }
.tiboh-pricing-card ul li:last-child { border-bottom: none; }
.tiboh-pricing-card ul li::before { content: '→'; position: absolute; left: 0; color: var(--blue); font-size: 11px; }
.tiboh-card-actions { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.tiboh-card-actions .btn-yellow { font-size: 11px; letter-spacing: 1.5px; padding: 9px 20px; }
.tiboh-card-learn { font-size: 11px; letter-spacing: 1.5px; text-transform: uppercase; color: var(--blue); text-decoration: none; font-weight: 600; }
.tiboh-card-learn:hover { color: var(--blue2); }
.tiboh-retainer-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 8px; border-radius: var(--r-sm); overflow: hidden; }
.tiboh-retainer-table thead tr { background: linear-gradient(135deg, var(--navy) 0%, var(--blue2) 100%); }
.tiboh-retainer-table th { padding: 13px 16px; color: #fff; text-align: left; font-weight: 600; font-size: 12px; letter-spacing: .5px; }
.tiboh-retainer-table td { padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--text); }
.tiboh-retainer-table tr:last-child td { border-bottom: none; }
.tiboh-retainer-table tr:nth-child(even) td { background: var(--bg); }
.tiboh-retainer-plan { font-weight: 700; color: var(--navy); }
.tiboh-retainer-price { font-family: var(--display) !important; font-size: 18px; color: var(--blue); white-space: nowrap; }

/* ---- Responsive ---- */
@media (max-width: 991px) {
  .tiboh-desktop-nav { display: none !important; }
  .tiboh-navbar-phone { display: none !important; }
  .tiboh-footer-grid { flex-direction: column; }
  .tiboh-fc { min-width: 100%; padding-right: 0; }
  .tiboh-toc-legal ol { column-count: 1; }
}
@media (max-width: 767px) {
  .tiboh-stat-number { font-size: 40px; }
  .tiboh-product-hero h1 { font-size: 28px; }
  .tiboh-article-hero h1 { font-size: 24px; }
  .tiboh-article-body h2 { font-size: 20px; }
  .tiboh-cta-dark .btn-outline-light { margin-left: 0; margin-top: 10px; }
  .tiboh-footer-bottom { flex-direction: column; text-align: center; }
}

/* ---- Section-5 contact — поднимаем контент выше ---- */
.section-5 .vertical-centred { padding-top: 9rem !important; }

/* ---- Preloader spinner — cyan → brand blue ---- */
.double-bounce1, .double-bounce2 {
  background-color: var(--blue) !important;
}

/* ---- Scrollbar ---- */
::-webkit-scrollbar-thumb {
  background: var(--blue2) !important;
  border-radius: 4px;
}
::-webkit-scrollbar-track {
  background: var(--bg);
}

/* ---- Text selection ---- */
::selection {
  background-color: var(--soft) !important;
  color: var(--navy) !important;
}
::-moz-selection {
  background-color: var(--soft) !important;
  color: var(--navy) !important;
}
