/* Страница «Франшиза» */
.hb-fr-in { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.hb-fr-sec { padding: 88px 0 0; }
.hb-fr-eyebrow { align-self: flex-start; display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; color: #C25B00; background: #FFF3E8; padding: 6px 14px; border-radius: 999px; }
.hb-fr-eyebrow-l { background: rgba(255, 255, 255, 0.12); color: #FFB070; }
.hb-fr-eyebrow-w { background: rgba(255, 255, 255, 0.2); color: #FFFFFF; }
.hb-fr-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.hb-fr-h1 { font-size: 46px; line-height: 1.06; }
.hb-fr-h1 span { color: #F87400; }
.hb-fr-h2 { font-size: 42px; line-height: 1.07; }
.hb-fr-h2 span { color: #F87400; }
.hb-fr-h3 { font-size: 20px; line-height: 1.2; }
.hb-fr-h4 { font-size: 20px; line-height: 1.25; }
.hb-fr-sub { margin: 0; max-width: 680px; font-size: 17px; line-height: 1.6; color: #5A5A5A; }
.hb-fr-sub-l { color: #CFCFCF; }
.hb-fr-p { margin: 0 0 16px; font-size: 17px; line-height: 1.7; color: #333333; }
.hb-fr-p strong { font-weight: 700; color: #212121; }
.hb-fr-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 28px; border-radius: 999px; font-weight: 700; font-size: 16px; text-align: center; text-decoration: none; font-family: inherit; cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s; align-self: flex-start; }
.hb-fr-f { background: #F87400; color: #FFFFFF; border: 0; }
.hb-fr-f:hover { background: #FF8A1F; color: #FFFFFF; }
.hb-fr-o { border: 1.5px solid rgba(255, 255, 255, 0.55); color: #FFFFFF; }
.hb-fr-o:hover { border-color: #F87400; color: #F87400; }
.hb-fr-w { background: #FFFFFF; color: #F87400; }
.hb-fr-w:hover { background: #212121; color: #FFFFFF; }
.hb-fr-center { display: flex; justify-content: center; margin-top: 36px; }
.hb-fr-link { margin-top: auto; font-weight: 700; color: #F87400; text-decoration: none; }
.hb-fr-link:hover { color: #E05F00; }
.hb-fr-ico { flex: none; width: 52px; height: 52px; border-radius: 16px; background: #FFF3E8; display: flex; align-items: center; justify-content: center; }
.hb-fr-ico svg { width: 26px; height: 26px; }

/* первый экран */
.hb-fr-hero { padding: 24px 0 0; }
.hb-fr-hero-grid { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); background: #212121; border-radius: 32px; overflow: hidden; color: #FFFFFF; }
.hb-fr-hero-tx { padding: 56px 48px; display: flex; flex-direction: column; gap: 22px; justify-content: center; }
.hb-fr-tag { align-self: flex-start; padding: 8px 16px; border-radius: 999px; border: 1.5px solid #F87400; color: #F87400; font-size: 13px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; }
.hb-fr-lead { margin: 0; font-size: 18px; line-height: 1.6; color: #D6D6D6; }
.hb-fr-btns { display: flex; flex-wrap: wrap; gap: 12px; padding-top: 4px; }
.hb-fr-hero-ph { position: relative; min-height: 460px; }
.hb-fr-hero-ph img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.hb-fr-stats { margin: 16px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hb-fr-stats li { background: #FFFFFF; border: 1px solid #F0E6DC; border-radius: 22px; padding: 20px 22px; display: flex; flex-direction: column; gap: 4px; }
.hb-fr-stats strong { font-size: 30px; font-weight: 700; line-height: 1.1; color: #F87400; }
.hb-fr-stats span { font-size: 14px; line-height: 1.4; color: #5A5A5A; }
.hb-fr-nav { display: flex; gap: 8px; margin-top: 16px; overflow-x: auto; scrollbar-width: none; padding-bottom: 4px; }
.hb-fr-nav::-webkit-scrollbar { display: none; }
.hb-fr-nav a { flex: none; padding: 10px 18px; border-radius: 999px; background: #F6F3F0; color: #212121; font-size: 14px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.hb-fr-nav a:hover { background: #FFF3E8; color: #F87400; }

/* о бренде */
.hb-fr-brand { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 48px; align-items: start; }
.hb-fr-brand .hb-fr-head { margin: 0; }
.hb-fr-text { display: flex; flex-direction: column; gap: 16px; }
.hb-fr-text p { margin: 0; font-size: 18px; line-height: 1.7; color: #333333; }
.hb-fr-text strong { font-weight: 700; color: #212121; }
.hb-fr-feats { margin: 36px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hb-fr-feats li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 24px; background: #FAF7F4; border: 1px solid #F0E6DC; font-size: 17px; font-weight: 700; line-height: 1.3; }

/* рынок */
.hb-fr-soft { background: #FAF7F4; padding: 88px 0; margin-top: 88px; border-top: 1px solid #F0E6DC; border-bottom: 1px solid #F0E6DC; }
.hb-fr-market { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hb-fr-market-tx { display: flex; flex-direction: column; gap: 8px; align-items: flex-start; }
.hb-fr-market-tx .hb-fr-head { margin-bottom: 20px; }
.hb-fr-market-tx .hb-fr-p { max-width: 640px; margin-top: 8px; }
.hb-fr-kpi { width: 100%; margin: 0 0 10px; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.hb-fr-kpi li { background: #FFFFFF; border: 1px solid #F0E6DC; border-radius: 22px; padding: 20px; display: flex; flex-direction: column; gap: 6px; }
.hb-fr-kpi strong { font-size: 28px; font-weight: 700; line-height: 1.1; color: #F87400; }
.hb-fr-kpi span { font-size: 14px; line-height: 1.4; color: #5A5A5A; }
.hb-fr-market-ph { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 14px; align-items: end; }
.hb-fr-market-ph img { width: 100%; height: auto; object-fit: cover; border-radius: 26px; display: block; }
.hb-fr-market-ph img:first-child { aspect-ratio: 3 / 4; margin-bottom: 46px; }
.hb-fr-market-ph img:last-child { aspect-ratio: 3 / 4.4; }

/* почему HAIRBOSS */
.hb-fr-bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hb-fr-bt { position: relative; border-radius: 28px; padding: 28px; display: flex; flex-direction: column; gap: 14px; min-height: 300px; overflow: hidden; }
.hb-fr-bt p { margin: 0; font-size: 15px; line-height: 1.6; color: #4A4A4A; }
.hb-fr-bt-or { background: #F87400; color: #FFFFFF; }
.hb-fr-bt-or img { margin-top: auto; align-self: center; max-width: 90%; max-height: 180px; width: auto; }
.hb-fr-bt-sand { background: #F3EEE8; }
.hb-fr-bt-sand img { margin-top: auto; align-self: center; max-width: 100%; max-height: 190px; width: auto; }
.hb-fr-bt-ph { color: #FFFFFF; justify-content: flex-end; }
.hb-fr-bt-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hb-fr-bt-ph::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 30%, rgba(0, 0, 0, 0.78) 100%); }
.hb-fr-bt-ph h3 { position: relative; z-index: 1; }
.hb-fr-bt-w { grid-column: span 2; }
.hb-fr-bt-dark { background: #212121; }

/* интерьер */
.hb-fr-dark { background: #212121; padding: 88px 0; margin-top: 88px; }
.hb-fr-dcards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.hb-fr-dc { background: #FFFFFF; border-radius: 28px; overflow: hidden; display: flex; flex-direction: column; }
.hb-fr-dc img { width: 100%; height: auto; aspect-ratio: 10 / 7; object-fit: cover; display: block; }
.hb-fr-dc > div { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 10px; }
.hb-fr-dc p { margin: 0; font-size: 15px; line-height: 1.6; color: #5A5A5A; }
.hb-fr-dc ul { margin: 4px 0 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
.hb-fr-dc li { position: relative; padding-left: 24px; font-size: 15px; font-weight: 600; line-height: 1.4; }
.hb-fr-dc li::before { content: ""; position: absolute; left: 0; top: 5px; width: 12px; height: 12px; border-radius: 50%; background: #F87400; }

/* что входит */
.hb-fr-inside { display: grid; grid-template-columns: minmax(0, 7fr) minmax(0, 4fr); gap: 20px; align-items: stretch; }
.hb-fr-ilist { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
.hb-fr-ilist li { display: flex; align-items: center; gap: 16px; padding: 20px 22px; border-radius: 24px; background: #FFFFFF; border: 1px solid #F0E6DC; font-size: 17px; font-weight: 700; line-height: 1.3; }
.hb-fr-price { background: #F87400; color: #FFFFFF; border-radius: 28px; padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.hb-fr-price p { margin: 0; font-size: 20px; line-height: 1.4; }
.hb-fr-price strong { font-weight: 800; }
.hb-fr-price .hb-fr-btn { margin-top: 10px; align-self: stretch; }

/* финансовая модель, почему выбирают: тёмные карточки с фото */
.hb-fr-fin, .hb-fr-why { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); background: #212121; color: #FFFFFF; border-radius: 32px; overflow: hidden; }
.hb-fr-fin-tx, .hb-fr-why-tx { padding: 48px; display: flex; flex-direction: column; gap: 20px; justify-content: center; }
.hb-fr-fin-tx p, .hb-fr-why-tx p { margin: 0; font-size: 17px; line-height: 1.6; color: #D6D6D6; }
.hb-fr-fin-ph, .hb-fr-why-ph { position: relative; min-height: 380px; display: flex; align-items: flex-end; justify-content: center; background: radial-gradient(circle at 50% 70%, rgba(248, 116, 0, 0.35), rgba(248, 116, 0, 0) 65%); }
.hb-fr-fin-ph img, .hb-fr-why-ph img { max-width: 100%; max-height: 520px; width: auto; height: auto; display: block; }
.hb-fr-kpi-d { margin: 0; }
.hb-fr-kpi-d li { background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.14); }
.hb-fr-kpi-d span { color: #BDBDBD; }
.hb-fr-checks { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 18px; }
.hb-fr-checks li { position: relative; padding-left: 34px; font-size: 17px; font-weight: 600; line-height: 1.35; }
.hb-fr-checks li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 24px; height: 24px; border-radius: 50%; background: #F87400; color: #FFFFFF; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; }

/* города */
.hb-fr-cities { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 6fr); gap: 40px; align-items: center; }
.hb-fr-cities .hb-fr-h4 { color: #FFFFFF; }
.hb-fr-chips { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 8px; }
.hb-fr-chips li { padding: 10px 16px; border-radius: 999px; background: rgba(255, 255, 255, 0.08); border: 1px solid rgba(255, 255, 255, 0.16); color: #FFFFFF; font-size: 14px; font-weight: 600; }
.hb-fr-map img { width: 100%; height: auto; display: block; }

/* для кого */
.hb-fr-whom { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: center; }
.hb-fr-whom .hb-fr-btn { margin-top: 10px; }
.hb-fr-whom-ph { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hb-fr-whom-ph img { width: 100%; height: auto; aspect-ratio: 3 / 4.2; object-fit: cover; border-radius: 26px; display: block; }
.hb-fr-whom-ph img:last-child { margin-top: 40px; }

/* шаги */
.hb-fr-steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.hb-fr-steps li { position: relative; display: flex; flex-direction: column; gap: 6px; }
.hb-fr-steps img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; border-radius: 22px; display: block; }
.hb-fr-n { margin-top: 10px; font-size: 14px; font-weight: 800; letter-spacing: 0.1em; color: #F87400; }
.hb-fr-steps strong { font-size: 18px; font-weight: 700; line-height: 1.25; color: #212121; }
.hb-fr-note { margin: 28px 0 0; padding: 18px 22px; border-radius: 20px; background: #FFF3E8; font-size: 16px; font-weight: 600; color: #212121; }

/* заявка */
.hb-fr-apply { padding-bottom: 88px; }
.hb-fr-band { background: linear-gradient(135deg, #FF8A1F 0%, #F87400 50%, #E05F00 100%); border-radius: 32px; padding: 48px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr); gap: 40px; align-items: center; color: #FFFFFF; }
.hb-fr-band-tx { display: flex; flex-direction: column; gap: 18px; }
.hb-fr-band-tx p { margin: 0; font-size: 17px; line-height: 1.6; color: rgba(255, 255, 255, 0.94); }
.hb-fr-band .hb-fr-h2 span { color: #212121; }
.hb-fr-band-tx ul { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.hb-fr-band-tx li { display: flex; align-items: center; gap: 10px; font-size: 16px; font-weight: 600; }
.hb-fr-band-tx li span { flex: none; width: 26px; height: 26px; border-radius: 50%; background: #FFFFFF; color: #F87400; font-weight: 800; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.hb-fr-form { background: #FFFFFF; color: #212121; border-radius: 26px; padding: 28px; display: flex; flex-direction: column; gap: 12px; box-shadow: 0 30px 60px rgba(120, 50, 0, 0.25); }
.hb-fr-form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.hb-fr-form input[type="text"], .hb-fr-form input[type="tel"], .hb-fr-form select { width: 100%; min-height: 52px; border-radius: 14px; border: 1px solid #E6D8CA; padding: 0 16px; font: inherit; font-size: 16px; background: #FFFFFF; color: #212121; }
.hb-fr-form input:focus, .hb-fr-form select:focus { outline: 3px solid rgba(248, 116, 0, 0.35); border-color: #F87400; }
.hb-fr-form .hb-fr-check { flex-direction: row; align-items: flex-start; gap: 10px; font-weight: 500; font-size: 13px; line-height: 1.45; color: #5A5A5A; }
.hb-fr-form .hb-fr-check input { flex: none; width: 20px; height: 20px; margin-top: 1px; accent-color: #F87400; }
.hb-fr-form button { min-height: 58px; border: 0; border-radius: 999px; background: #212121; color: #FFFFFF; font: inherit; font-weight: 800; font-size: 17px; cursor: pointer; }
.hb-fr-form button:hover { background: #000000; }
.hb-fr-note-s { font-size: 13px; color: #6B6B6B; text-align: center; line-height: 1.5; }
.hb-fr-note-s a { color: #F87400; font-weight: 700; }

.hb-fr-seo { padding: 72px 0; background: #FAF7F4; border-top: 1px solid #F0E6DC; }
.hb-fr-seo-grid { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.hb-fr-seo-grid p { margin: 0 0 14px; font-size: 16px; line-height: 1.75; color: #5A5A5A; }

/* карточки с фоном не наследуют боковые отступы обёртки */
.hb-fr-hero-grid { margin: 0; }

@media (max-width: 1100px) {
  .hb-fr-feats { grid-template-columns: 1fr; }
  .hb-fr-market { grid-template-columns: 1fr; gap: 32px; }
  .hb-fr-market-ph { max-width: 560px; }
  .hb-fr-bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .hb-fr-dcards { grid-template-columns: 1fr; }
  .hb-fr-dc { flex-direction: row; }
  .hb-fr-dc img { width: 42%; height: auto; aspect-ratio: auto; }
  .hb-fr-inside { grid-template-columns: 1fr; }
  .hb-fr-cities { grid-template-columns: 1fr; }
  .hb-fr-whom { grid-template-columns: 1fr; gap: 32px; }
  .hb-fr-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 900px) {
  .hb-fr-hero-grid, .hb-fr-band, .hb-fr-seo-grid, .hb-fr-brand, .hb-fr-fin, .hb-fr-why { grid-template-columns: 1fr; }
  .hb-fr-brand { gap: 24px; }
  .hb-fr-hero-ph { min-height: 260px; order: -1; }
  .hb-fr-hero-tx, .hb-fr-fin-tx, .hb-fr-why-tx { padding: 32px 24px; }
  .hb-fr-fin-ph, .hb-fr-why-ph { min-height: 300px; order: -1; }
  .hb-fr-fin-ph img, .hb-fr-why-ph img { max-height: 340px; }
  .hb-fr-band { padding: 28px 20px; gap: 24px; }
  .hb-fr-sec { padding-top: 56px; }
  .hb-fr-soft, .hb-fr-dark { padding: 56px 0; margin-top: 56px; }
  .hb-fr-apply { padding-bottom: 56px; }
  .hb-fr-h1 { font-size: 32px; }
  .hb-fr-h2 { font-size: 30px; }
  .hb-fr-ilist, .hb-fr-checks { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .hb-fr-in { padding: 0 16px; }
  .hb-fr-stats { grid-template-columns: 1fr; }
  .hb-fr-kpi { grid-template-columns: 1fr; }
  .hb-fr-btns .hb-fr-btn, .hb-fr-text .hb-fr-btn, .hb-fr-market-tx .hb-fr-btn, .hb-fr-whom .hb-fr-btn, .hb-fr-fin-tx .hb-fr-btn, .hb-fr-why-tx .hb-fr-btn, .hb-fr-center .hb-fr-btn { width: 100%; align-self: stretch; }
  .hb-fr-bento { grid-template-columns: 1fr; }
  .hb-fr-bt-w { grid-column: auto; }
  .hb-fr-bt { min-height: 260px; padding: 22px; }
  .hb-fr-dc { flex-direction: column; }
  .hb-fr-dc img { width: 100%; aspect-ratio: 10 / 7; }
  .hb-fr-steps { gap: 12px; }
  .hb-fr-steps strong { font-size: 15px; }
  .hb-fr-form { padding: 20px 16px; }
  .hb-fr-whom-ph img:last-child { margin-top: 24px; }
  .hb-fr-market-ph img:first-child { margin-bottom: 24px; }
}
