:root {
  --bb-accent: #e65a43;
  --bb-accent-hover: #d74d36;
  --bb-dark: #111111;
  --bb-text: #333333;
  --bb-muted: #666666;
  --bb-light: #f4f4f4;
  --bb-card: #fafafa;
  --bb-white: #ffffff;
  --bb-border: #eeeeee;
  --bb-shadow: 0 10px 24px rgba(230, 90, 67, 0.20);
  --bb-soft-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', Arial, sans-serif;
  color: var(--bb-text);
  background: var(--bb-white);
}

a {
  color: inherit;
}

.bb-container {
  width: min(1200px, calc(100% - 32px));
  margin: 0 auto;
}

.bb-site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0,0,0,0.06);
}

.bb-site-header__wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 72px;
}

.bb-logo {
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
  color: var(--bb-dark);
  white-space: nowrap;
}

.bb-logo__accent {
  color: var(--bb-accent);
}

.bb-top-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  flex-wrap: wrap;
  justify-content: center;
}

.bb-top-nav a,
.bb-site-header__phone {
  text-decoration: none;
  font-weight: 600;
}

.bb-top-nav a:hover,
.bb-site-header__phone:hover {
  color: var(--bb-accent);
}

.bb-page-title {
  font-size: 46px;
  line-height: 1.12;
  font-weight: 800;
  color: var(--bb-dark);
  margin: 0 0 34px;
}

.bb-buyback-hero {
  padding: 46px 0 0;
}

.bb-buyback-hero__wrap {
  background: var(--bb-light);
  padding: 55px 30px;
}

.bb-buyback-hero__features {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  flex-wrap: nowrap;
  margin-bottom: 38px;
}

.bb-buyback-hero__item {
  width: 25%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.bb-buyback-hero__icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-buyback-hero__icon svg,
.bb-contact-icon svg {
  width: 34px;
  height: 34px;
  display: block;
  fill: var(--bb-accent);
}

.bb-buyback-hero__text {
  font-size: 19px;
  line-height: 1.2;
  font-weight: 500;
  color: #222222;
  margin: 0;
}

.bb-buyback-hero__btn,
.bb-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 250px;
  padding: 20px 36px;
  background: var(--bb-accent);
  color: var(--bb-white);
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  text-decoration: none;
  border-radius: 16px;
  box-shadow: var(--bb-shadow);
  transition: 0.25s ease;
}

.bb-buyback-hero__btn:hover,
.bb-contact-btn:hover {
  background: var(--bb-accent-hover);
  color: var(--bb-white);
  text-decoration: none;
  transform: translateY(-2px);
}

.bb-seo-block {
  background: var(--bb-white);
  padding: 70px 0;
}

.bb-seo-wrap {
  max-width: 1150px;
}

.bb-seo-subtitle {
  font-size: 24px;
  font-weight: 700;
  margin: 40px 0 20px;
  color: var(--bb-dark);
}

.bb-seo-text {
  font-size: 17px;
  line-height: 1.7;
  color: var(--bb-text);
  margin: 0 0 18px;
}

.bb-seo-highlight {
  background: var(--bb-light);
  border-left: 5px solid var(--bb-accent);
  padding: 20px 24px;
  border-radius: 10px;
  margin: 25px 0;
  font-size: 17px;
}

.bb-seo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin: 30px 0 0;
}

.bb-seo-card {
  background: var(--bb-card);
  padding: 22px;
  border-radius: 14px;
  text-align: center;
  transition: 0.3s;
  border: 1px solid var(--bb-border);
}

.bb-seo-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--bb-soft-shadow);
}

.bb-seo-icon {
  width: 52px;
  height: 52px;
  margin: 0 auto 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bb-seo-icon svg {
  width: 32px;
  height: 32px;
  fill: var(--bb-accent);
  display: block;
}

.bb-seo-card-title {
  font-size: 16px;
  font-weight: 600;
  color: #222;
  line-height: 1.35;
}

.bb-seo-benefits {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-top: 30px;
}

.bb-seo-benefit {
  background: #f7f7f7;
  padding: 20px;
  border-radius: 12px;
  font-size: 16px;
  color: var(--bb-text);
}

.bb-contact-block {
  background: var(--bb-light);
  padding: 60px 0;
}

.bb-contact-wrap {
  max-width: 700px;
  text-align: center;
}

.bb-contact-title {
  font-size: 30px;
  font-weight: 800;
  margin-bottom: 10px;
  color: var(--bb-dark);
}

.bb-contact-subtitle {
  font-size: 16px;
  color: var(--bb-muted);
  margin-bottom: 30px;
}

.bb-contact-phone {
  background: var(--bb-white);
  padding: 20px 30px;
  border-radius: 16px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 700;
  color: #222;
  margin-bottom: 30px;
  box-shadow: 0 6px 20px rgba(0,0,0,0.05);
}

.bb-contact-phone a {
  text-decoration: none;
}

@media (max-width: 1100px) {
  .bb-page-title {
    font-size: 38px;
  }

  .bb-buyback-hero__features {
    flex-wrap: wrap;
  }

  .bb-buyback-hero__item {
    width: calc(50% - 12px);
  }
}

@media (max-width: 900px) {
  .bb-seo-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .bb-seo-benefits {
    grid-template-columns: 1fr;
  }

  .bb-top-nav {
    display: none;
  }
}

@media (max-width: 767px) {
  .bb-page-title {
    font-size: 30px;
    line-height: 1.15;
    margin-bottom: 22px;
  }

  .bb-buyback-hero__wrap {
    padding: 35px 18px;
  }

  .bb-buyback-hero__features {
    gap: 18px;
  }

  .bb-buyback-hero__item {
    width: 100%;
  }

  .bb-buyback-hero__text {
    font-size: 18px;
  }

  .bb-buyback-hero__btn,
  .bb-contact-btn {
    width: 100%;
    min-width: auto;
    font-size: 22px;
    padding: 17px 24px;
  }

  .bb-site-header__wrap {
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
  }
}

@media (max-width: 600px) {
  .bb-seo-block,
  .bb-contact-block {
    padding: 40px 0;
  }

  .bb-seo-subtitle {
    font-size: 20px;
  }

  .bb-contact-title {
    font-size: 24px;
  }

  .bb-contact-phone {
    font-size: 18px;
    width: 100%;
    justify-content: center;
  }

  .bb-container {
    width: min(100% - 24px, 1200px);
  }
}
