/**
 * FlashArmy B2B Landing - Постачання для державних і корпоративних замовників
 * Colors: orange #FF8C00, dark #31363D, light bg #F5F7FA, text #212529
 */
.fa-b2b {
  font-family: "Roboto", sans-serif;
  box-sizing: border-box;
}

.fa-b2b *,
.fa-b2b *::before,
.fa-b2b *::after {
  box-sizing: border-box;
}

/* ----- Hero ----- */
.fa-b2b .fa-b2b__hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.fa-b2b .fa-b2b__hero-bg {
  position: absolute;
  inset: 0;
  background: #31363d url("../assets/images/hero.png") center/cover no-repeat;
  z-index: 0;
}

.fa-b2b .fa-b2b__hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(49, 54, 61, 0.92) 0%, rgba(49, 54, 61, 0.4) 60%, transparent 100%);
  z-index: 1;
}

.fa-b2b .fa-b2b__hero-container {
  position: relative;
  z-index: 3;
}

.fa-b2b .fa-b2b__hero-col {
  max-width: 580px;
}

@media (max-width: 767.98px) {
  .fa-b2b .fa-b2b__hero-col {
    text-align: center;
  }
}

.fa-b2b .fa-b2b__hero-title {
  color: #fff;
  font-size: clamp(1.625rem, 4vw, 2.75rem); /* 26px (min), 44px (max) */
  font-weight: 600;
  line-height: 1.1;
  text-transform: uppercase;
  margin-bottom: 30px;
}

.fa-b2b .fa-b2b__cta-btn {
  display: inline-block;
  padding: 1rem 2rem;
  background: #ff8c00;
  color: #fff !important;
  font-weight: 600;
  font-size: clamp(1rem, 4vw, 1.125rem);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  border-radius: 4px;
  line-height: 1.3;
  white-space: nowrap;
  transition:
    background 0.2s,
    transform 0.15s;
}

@media (min-width: 992px) {
  .fa-b2b .fa-b2b__cta-btn {
    padding: 26px 65px;
  }
}

.fa-b2b .fa-b2b__cta-btn:hover {
  background: #e67e00;
  color: #fff !important;
  transform: translateY(-1px);
}

.min-vh-60 {
  min-height: 60vh;
}

/* ----- Sections ----- */
.fa-b2b .fa-b2b__section {
  padding: 2rem 0;
  color: #212529;
}

.fa-b2b .fa-b2b__section-title {
  font-size: clamp(1.25rem, 2.5vw, 36px);
  font-weight: 600;
  margin-bottom: 1rem;
  color: #212529;
}

.fa-b2b .fa-b2b__section-title--orange {
  color: #ff8c00;
}
.fa-b2b .fa-b2b__who-section-text {
  font-size: clamp(1rem, 1.5vw, 22px);
  font-weight: 400;
  line-height: 1.3;
  color: #495057;
  max-width: 500px;
}
.fa-b2b .fa-b2b__who-section-text-highlight {
  font-weight: 700;
  color: #000000;
}

.fa-b2b .fa-b2b__section-text {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.6;
  color: #495057;
}
.fa-b2b .fa-b2b__section-text {
  font-size: 1rem;
  line-height: 1.6;
  color: #495057;
}
.fa-b2b .fa-b2b__direct-text-highlight {
  font-weight: 700;
  color: #000000;
}

.fa-b2b .fa-b2b__section-text.text-center {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

/* ----- Хто ми: image + text ----- */
.fa-b2b .fa-b2b__who-row {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.fa-b2b .fa-b2b__who-img-wrap {
  flex: 1 1 50%;
  min-height: 320px;
  overflow: hidden;
}

.fa-b2b .fa-b2b__who-img {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: center;
  display: block;
}

.fa-b2b .fa-b2b__who-text {
  flex: 1 1 50%;
  padding: 2rem 0;
  display: flex;
  flex-direction: row;
  align-items: stretch;
  justify-content: space-between;
}

@media (max-width: 991.98px) {
  .fa-b2b .fa-b2b__who-img-wrap {
    flex: 1 1 100%;
    min-height: 260px;
  }
  .fa-b2b .fa-b2b__who-img {
    min-height: 260px;
  }
  .fa-b2b .fa-b2b__who-text {
    flex: 1 1 100%;
    flex-direction: column;
    padding: 1.5rem 0;
  }
}

/* ----- Участь у тендерах: logo cards ----- */
.fa-b2b .fa-b2b__tenders-title {
  margin-bottom: 2rem;
}

.fa-b2b .fa-b2b__tenders-intro {
  text-align: start;
}

.fa-b2b .fa-b2b__why-title {
  text-align: start;
}

@media (min-width: 992px) {
  .fa-b2b .fa-b2b__tenders-title,
  .fa-b2b .fa-b2b__why-title {
    text-align: center;
  }
  .fa-b2b .fa-b2b__tenders-intro {
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }
}

/* Одна сітка: 3 картки + ряд "та інші компанії" | інфоблок — однаково розтягуються */
.fa-b2b .fa-b2b__tenders-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  align-items: stretch;
}

.fa-b2b .fa-b2b__tender-card {
  background: #e9ecef;
  min-height: 200px;
  padding: 2rem;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.fa-b2b .fa-b2b__tender-card img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

/* Нижній ряд: "та інші компанії" — 1 колонка, інфоблок — 2 колонки */
.fa-b2b .fa-b2b__tenders-other {
  grid-column: span 1;
  min-height: 200px;
  padding: 2rem;
  border: 1px solid #212529;
  border-radius: 8px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

.fa-b2b .fa-b2b__tenders-other-text {
  font-size: clamp(1rem, 1.5vw, 20px);
  font-weight: 500;
  color: #212529;
}

.fa-b2b .fa-b2b__tenders-info {
  grid-column: span 2;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 200px;
  gap: 1rem;
  padding: 2rem;
  background: #ffe4cc;
  border-radius: 8px;
  box-sizing: border-box;
}

.fa-b2b .fa-b2b__tenders-info-icon {
  flex-shrink: 0;
  align-self: flex-start;
  width: 43px;
  height: 43px;
  border-radius: 8px;
  background: #ff8c00;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #000000;
  font-size: 20px;
  font-weight: 700;
  line-height: 1;
}

.fa-b2b .fa-b2b__tenders-info-icon::before {
  content: "!";
}

.fa-b2b .fa-b2b__tenders-info-text {
  flex: 1;
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 20px);
  line-height: 1.5;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: start;
}

@media (max-width: 767.98px) {
  .fa-b2b .fa-b2b__tenders-grid {
    grid-template-columns: 1fr;
  }
  .fa-b2b .fa-b2b__tenders-other,
  .fa-b2b .fa-b2b__tenders-info {
    grid-column: span 1;
  }
}

/* ----- Прямий договір: text + image on orange ----- */
.fa-b2b .fa-b2b__direct-row {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 1rem;
}

.fa-b2b .fa-b2b__direct-text {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 280px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fa-b2b .fa-b2b__direct-img-wrap {
  flex: 1 1 calc(50% - 0.5rem);
  min-width: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 320px;
}

.fa-b2b .fa-b2b__direct-img {
  max-width: 100%;
  max-height: 320px;
  object-fit: contain;
}

@media (min-width: 992px) {
  .fa-b2b .fa-b2b__direct-img-wrap {
    min-height: 400px;
  }
  .fa-b2b .fa-b2b__direct-img {
    max-height: 380px;
  }
}

@media (max-width: 991.98px) {
  .fa-b2b .fa-b2b__direct-text {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .fa-b2b .fa-b2b__direct-img-wrap {
    flex: 1 1 100%;
    min-height: 260px;
  }
}

/* ----- Чому обирають: two columns ----- */
.fa-b2b .fa-b2b__why-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}

.fa-b2b .fa-b2b__card {

  height: 100%;
}

.fa-b2b .fa-b2b__card-text {
  font-size: 0.95rem;
  line-height: 1.5;
  color: #495057;
  margin: 0;
}

.fa-b2b .fa-b2b__card-text-highlight {
  font-weight: 700;
  color: #000000;
}
@media (max-width: 767.98px) {
  .fa-b2b .fa-b2b__why-cards {
    grid-template-columns: 1fr;
  }
}

/* ----- Contact (стиль як у лендінгу 1: закруглення, відступи, фон) ----- */
.fa-b2b .fa-b2b__contact {
  padding: 2rem 0 100px;
  color: #212529;
}

.fa-b2b .fa-b2b__contact-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: stretch;
}

@media (max-width: 991.98px) {
  .fa-b2b .fa-b2b__contact-row {
    flex-direction: column;
    gap: 0;
  }
}


.fa-b2b .fa-b2b__contact-panel {
  flex: 1 1 100%;
  padding: 27px 30px;
  min-height: 280px;
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

@media (min-width: 992px) {
  .fa-b2b .fa-b2b__contact-panel {
    flex: 1 1 calc(50% - 1rem);
  }
}

.fa-b2b .fa-b2b__contact-panel--left {
  background: #343a40;
  color: #fff;
  padding: 65px 73px;
}

.fa-b2b .fa-b2b__contact-panel--right {
  background: #ff8c00;
  color: #000000;
}

.fa-b2b .fa-b2b__contact-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: #fff;
}

.fa-b2b .fa-b2b__contact-intro {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

.fa-b2b .fa-b2b__contact-name {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.fa-b2b .fa-b2b__contact-role {
  font-size: 1rem;
  margin-bottom: 1rem;
  opacity: 0.95;
}

.fa-b2b .fa-b2b__contact-link {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #000000 !important;
}

.fa-b2b .fa-b2b__contact-link:hover {
  color: #000000 !important;
  opacity: 0.9;
}

.fa-b2b .fa-b2b__contact-icon {
  flex-shrink: 0;
  width: 30px;
  height: 30px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
}

.fa-b2b .fa-b2b__contact-icon--email {
  background-image: url("data:image/svg+xml,%3Csvg width='33' height='37' viewBox='0 0 33 37' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cg clip-path='url(%23clip0_95_51)'%3E%3Cpath d='M20.7515 19.6123L18.0693 22.6559C16.9816 23.8903 15.0678 23.9169 13.9566 22.6559L11.2742 19.6123L1.64044 30.5426C1.99904 30.7301 2.39443 30.842 2.81477 30.842H29.2111C29.6314 30.842 30.0267 30.7302 30.3852 30.5426L20.7515 19.6123Z' fill='%23000'/%3E%3Cpath d='M29.2111 5.37622H2.81476C2.39442 5.37622 1.99904 5.48813 1.64056 5.67566L11.9349 17.3562C11.9356 17.357 11.9364 17.3572 11.9371 17.3579C11.9378 17.3587 11.9379 17.3598 11.9379 17.3598L15.2852 21.1577C15.6407 21.5598 16.3852 21.5598 16.7408 21.1577L20.0873 17.3604C20.0873 17.3604 20.0882 17.3587 20.0888 17.3579C20.0888 17.3579 20.0903 17.357 20.091 17.3562L30.3852 5.67559C30.0267 5.48799 29.6314 5.37622 29.2111 5.37622Z' fill='%23000'/%3E%3Cpath d='M0.299367 7.15967C0.113842 7.58396 0 8.05494 0 8.55944V27.6589C0 28.1634 0.113717 28.6344 0.299304 29.0587L9.94979 18.1095L0.299367 7.15967Z' fill='%23000'/%3E%3Cpath d='M31.7265 7.15942L22.0762 18.1094L31.7265 29.0587C31.9121 28.6344 32.0259 28.1634 32.0259 27.6588V8.55934C32.0259 8.05469 31.9121 7.58371 31.7265 7.15942Z' fill='%23000'/%3E%3C/g%3E%3Cdefs%3E%3CclipPath id='clip0_95_51'%3E%3Crect width='32.0259' height='36.2182' fill='white'/%3E%3C/clipPath%3E%3C/defs%3E%3C/svg%3E");
}

.fa-b2b .fa-b2b__contact-icon--phone {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23000'%3E%3Cpath d='M6.62 10.79c1.44 2.83 3.76 5.14 6.59 6.59l2.2-2.2c.27-.27.67-.36 1.02-.24 1.12.37 2.33.57 3.57.57.55 0 1 .45 1 1V20c0 .55-.45 1-1 1-9.39 0-17-7.61-17-17 0-.55.45-1 1-1h3.5c.55 0 1 .45 1 1 0 1.25.2 2.45.57 3.57.11.35.03.74-.25 1.02l-2.2 2.2z'/%3E%3C/svg%3E");
}

.fa-b2b .fa-b2b__contact-social {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.fa-b2b .fa-b2b__social-link {
  display: inline-flex;
  width: 40px;
  height: 40px;
}

.fa-b2b .fa-b2b__social-link img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

@media (max-width: 991.98px) {
  .fa-b2b .fa-b2b__hero {
    min-height: 400px;
  }
  .fa-b2b .fa-b2b__contact-panel {
    flex: 1 1 100%;
  }
  .fa-b2b .fa-b2b__contact-panel--left {
    padding: 2rem 1.5rem;
  }
  .fa-b2b .fa-b2b__contact-panel--right {
    padding: 1.5rem;
  }
  .fa-b2b .fa-b2b__contact-link {
    font-size: 0.95rem;
    word-break: break-all;
  }
  .fa-b2b .fa-b2b__contact-icon {
    width: 24px;
    height: 24px;
  }
}

@media (max-width: 575.98px) {
  .fa-b2b .fa-b2b__contact-panel {
    padding: 1.25rem;
    min-height: auto;
  }
  .fa-b2b .fa-b2b__contact-panel--left {
    padding: 1.5rem 1.25rem;
  }
}
