/* Firebird Group — Geist + Inter typography overlay */

:root {
  --fb-font: "Geist Sans", Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  --fb-body-size: 1.125rem;
  --fb-body-lh: 1.58;
  --fb-small-size: 0.9375rem;
  --fb-section-title: clamp(2.25rem, 4vw, 3rem);
  --fb-card-title: clamp(1.25rem, 2vw, 1.5rem);
  --fb-product-inbox: #e8f0fa;
  --fb-product-campaign: #fdf0e6;
  --fb-product-connected: #eef8e6;
  --fb-product-festos: #f0ebf8;
  --fb-product-web: #e6f9fc;
}

body {
  font-family: var(--fb-font);
  font-size: var(--fb-body-size);
  font-weight: 400;
  line-height: var(--fb-body-lh);
}

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: var(--fb-font);
}

.font-weight-light { font-weight: 400 !important; }
.font-weight-normal { font-weight: 400 !important; }
.font-weight-medium { font-weight: 600 !important; }
.font-weight-bold { font-weight: 600 !important; }

#home #baseContent .fs-2.fs-xl-3.font-weight-bold {
  font-weight: 800 !important;
  font-size: clamp(1.5rem, 3vw, 2rem);
  line-height: 1.25;
}

#home #baseContent .fs-1.fs-xl-2 {
  font-size: clamp(1.125rem, 2vw, 1.35rem);
  line-height: var(--fb-body-lh);
}

/* Desna navigacija — ne sme da nasledi hero font override */
#gridNav .sidebar-item h2 {
  font-size: 1.333rem;
  font-weight: 300;
  line-height: 1.2;
}

#gridNav .sidebar-item .fb-nav-subheading {
  line-height: 1.45;
}

@media (max-width: 991.98px) {
  #gridNav .sidebar-item h2 {
    font-size: 1.85rem !important;
    line-height: 1.15;
  }

  #gridNav .sidebar-item .fb-nav-subheading {
    font-size: 1.05rem !important;
  }
}

@media (min-width: 1200px) {
  #gridNav .sidebar-item h2 {
    font-size: 1.777rem;
  }
}

@media (min-width: 1480px) {
  #gridNav .sidebar-item h2 {
    font-size: 2.369rem;
  }
}

.page-content h2.fs-2,
.page-content h2.fs-sm-3,
.page-content .fs-2.fs-sm-3 {
  font-weight: 700;
  font-size: var(--fb-section-title);
  line-height: 1.2;
}

.page-content h3.fs-3 {
  font-weight: 600;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  line-height: 1.3;
}

.page-content h4,
.page-content h5.fb-card-title {
  font-weight: 600;
  font-size: var(--fb-card-title);
  line-height: 1.35;
  letter-spacing: 0.01em;
  text-transform: none;
}

.page-content .lead {
  font-size: var(--fb-body-size);
  font-weight: 400;
  line-height: var(--fb-body-lh);
}

.page-content .text-600,
.page-content p:not(.lead):not(.fs--1) {
  line-height: var(--fb-body-lh);
}

.page-content .hr-ornate + .lead,
.page-content .hr-ornate + p.lead {
  margin-top: 1.75rem !important;
}

.btn,
button[type="submit"] {
  font-family: var(--fb-font);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.01em;
}

.page-footer p,
.fs--1 {
  font-size: var(--fb-small-size);
  line-height: 1.5;
}

.why-firebird-card .fb-card-title {
  font-size: var(--fb-card-title);
}

.why-firebird-card .text-600 {
  font-size: 1.2rem;
  line-height: var(--fb-body-lh);
}

/* Card grids — centered icons/text; row gap samo za tech stack */
.fb-card-grid > [class*="col-"] {
  text-align: center;
}

.fb-card-grid > [class*="col-"] img {
  display: inline-block;
}

.fb-tech-stack-grid {
  row-gap: 2rem;
}

.tech-stack-card {
  min-height: 100%;
  border-color: rgba(0, 0, 0, 0.08) !important;
}

.tech-stack-card--channels {
  background-color: #e8f2fc;
  border-color: rgba(24, 119, 242, 0.18) !important;
}

.tech-stack-card--ai {
  background-color: #ede8f8;
  border-color: rgba(103, 58, 183, 0.18) !important;
}

.tech-stack-card--web {
  background-color: #e8eef6;
  border-color: rgba(51, 102, 153, 0.16) !important;
}

.tech-stack-card--connected {
  background-color: #e8f5ee;
  border-color: rgba(22, 128, 73, 0.18) !important;
}

.tech-stack-card--data {
  background-color: #fdf0e8;
  border-color: rgba(217, 119, 6, 0.16) !important;
}

.tech-stack-card--channels .tech-stack-chip {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(24, 119, 242, 0.2);
  color: #1e4a7a;
}

.tech-stack-card--ai .tech-stack-chip {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(103, 58, 183, 0.2);
  color: #4a3478;
}

.tech-stack-card--web .tech-stack-chip {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(51, 102, 153, 0.2);
  color: #2c4a66;
}

.tech-stack-card--connected .tech-stack-chip {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(22, 128, 73, 0.2);
  color: #1f5c3a;
}

.tech-stack-card--data .tech-stack-chip {
  background: rgba(255, 255, 255, 0.72);
  border-color: rgba(217, 119, 6, 0.2);
  color: #7c4512;
}

.tech-stack-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.65rem 1rem;
  padding: 0.5rem 0.25rem;
}

.tech-stack-logos img {
  height: 28px;
  width: auto;
  max-width: 88px;
  object-fit: contain;
  opacity: 0.88;
  filter: grayscale(15%);
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.tech-stack-logos img:hover {
  opacity: 1;
  filter: none;
}

.tech-stack-chip {
  display: inline-flex;
  align-items: center;
  padding: 0.35rem 0.65rem;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: #444;
  background: #fafafa;
  white-space: nowrap;
}

.why-firebird-card {
  background-color: #f6f7f5;
  border-radius: 0.25rem;
  padding: 1.75rem 1.5rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.why-firebird-card img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.product-card {
  position: relative;
  text-align: left;
  min-height: 16rem;
  padding: 1.5rem 1.25rem;
  overflow: hidden;
}

.product-card__content {
  position: relative;
  z-index: 2;
  max-width: 62%;
}

.product-card__visual {
  position: absolute;
  right: 0.35rem;
  bottom: 0.35rem;
  max-width: 44%;
  max-height: 58%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
}

.product-card .fb-product-link,
.product-card .fb-product-link:hover,
.product-card .fb-product-link:focus {
  text-decoration: none !important;
}

.product-card .fb-product-link::after,
.product-card .fb-product-label::after {
  content: " →";
}

.product-card--inbox {
  background-color: var(--fb-product-inbox);
}

.product-card--inbox .fb-product-link {
  color: #1e4a7a;
}

.product-card--campaign {
  background-color: var(--fb-product-campaign);
}

.product-card--campaign .fb-product-link {
  color: #9a4a12;
}

.product-card--connected {
  background-color: var(--fb-product-connected);
}

.product-card--connected .fb-product-label {
  color: #1f5c3a;
}

.product-card--festos {
  background-color: var(--fb-product-festos);
}

.product-card--festos .fb-product-link {
  color: #5c3d8f;
}

.product-card--web {
  background-color: var(--fb-product-web);
}

.product-card--web .fb-product-link {
  color: #0d6e8a;
}

.fb-card-grid .product-card h4,
.fb-card-grid .product-card p {
  text-align: left;
}

.fb-contact-phone-link {
  white-space: nowrap;
}

/* Contact — adresa levo, telefoni desno; ikona + tekst u istom redu */
#contact .fb-contact-phone-col {
  width: 178px;
  min-width: 178px;
}

#contact .fb-contact-phone-col .col-12 > .row {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
}

#contact .fb-contact-phone-col .col-12 > .row > .col-1 {
  flex: 0 0 auto;
  width: auto;
  max-width: none;
  padding-left: 0;
  padding-right: 0;
}

#contact .fb-contact-phone-col .col-12 > .row > .col.pl-0 {
  flex: 1 1 auto;
  width: auto;
  max-width: none;
  min-width: 0;
  padding-left: 0;
}

.sticky-area .page-title {
  font-family: var(--fb-font);
  font-weight: 300;
  margin-bottom: 0;
}

@media (min-width: 992px) {
  .sticky-area .page-title {
    font-size: 3.157rem;
    line-height: 1.1;
  }
}
