.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: rgba(63, 120, 224, 0.08);
  border-radius: 50rem;
  padding: 3px;
  border: 1px solid rgba(63, 120, 224, 0.15);
}

.lang-btn {
  padding: 4px 12px;
  font-size: 0.75rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: #60697b;
  border-radius: 50rem;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  line-height: 1.4;
}

.lang-btn.active {
  background: #3f78e0;
  color: #fff;
}

.lang-btn:hover:not(.active) {
  color: #3f78e0;
}

/* Hero — tighter spacing below header */
#home .hero-section {
  padding-top: 1.25rem;
  padding-bottom: 3rem;
}

@media (min-width: 768px) {
  #home .hero-section {
    padding-top: 1.75rem;
    padding-bottom: 3.5rem;
  }
}

#home .hero-section .display-1 {
  line-height: 1.15;
}

/* Site logo (header, mobile menu, footer) */
.site-logo-link {
  display: inline-block;
  line-height: 0;
  max-width: 100%;
}

.site-logo {
  height: 6.5rem;
  width: auto;
  max-width: 440px;
  object-fit: contain;
}

.site-logo-link--offcanvas {
  background: #fff;
  border-radius: 0.35rem;
  padding: 0.5rem 0.75rem;
}

.site-logo--footer {
  height: auto;
  max-width: 180px;
  max-height: none;
}

/* Larger logo in top navbar — compact vertical padding */
.navbar.classic .navbar-brand {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

header.wrapper.bg-light {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

@media (min-width: 992px) {
  .site-logo {
    height: 7.5rem;
    max-width: 520px;
  }
}

@media (max-width: 575.98px) {
  .site-logo {
    height: 5rem;
    max-width: 100%;
  }
}

.client-logo {
  max-height: 3.5rem;
  width: auto;
  object-fit: contain;
}

.client-logo-wrap {
  cursor: pointer;
  text-decoration: none;
  color: inherit;
}

.client-logo-wrap:hover {
  opacity: 0.85;
}

.client-logo-bg {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #343f52;
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgba(52, 63, 82, 0.15);
}

.client-logo-wide {
  max-height: 2.75rem;
  max-width: 100%;
}

@media (min-width: 992px) {
  .client-logo-wide {
    max-height: 3.25rem;
  }
}

/* Client logo tooltips — text only, no background */
.tooltip.client-tooltip .tooltip-inner {
  background: transparent;
  color: #343f52;
  box-shadow: none;
  padding: 0.25rem 0.5rem;
  font-weight: 600;
  font-size: 0.8rem;
  max-width: 220px;
  text-align: center;
}

.tooltip.client-tooltip-wide .tooltip-inner {
  max-width: 280px;
  font-size: 0.75rem;
  line-height: 1.35;
}

.tooltip.client-tooltip.bs-tooltip-top .tooltip-arrow,
.tooltip.client-tooltip.bs-tooltip-bottom .tooltip-arrow,
.tooltip.client-tooltip.bs-tooltip-start .tooltip-arrow,
.tooltip.client-tooltip.bs-tooltip-end .tooltip-arrow {
  display: none;
}

@media (min-width: 992px) {
  .client-logo {
    max-height: 4rem;
  }
}

/* Testimonials — abstract person icon instead of photos */
.testimonial-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 3rem;
  height: 3rem;
  min-width: 3rem;
  min-height: 3rem;
  padding: 0;
  border-radius: 50%;
  border: 1px solid transparent;
  box-sizing: border-box;
  overflow: hidden;
}

.testimonial-avatar .uil {
  font-size: 1.4rem;
  line-height: 1;
}

.testimonial-avatar--1 {
  background: rgba(63, 120, 224, 0.14);
  border-color: rgba(63, 120, 224, 0.22);
  color: #3f78e0;
}

.testimonial-avatar--2 {
  background: rgba(94, 185, 240, 0.18);
  border-color: rgba(94, 185, 240, 0.28);
  color: #3ba8d8;
}

.testimonial-avatar--3 {
  background: rgba(96, 93, 186, 0.14);
  border-color: rgba(96, 93, 186, 0.24);
  color: #605dba;
}

.testimonial-avatar--4 {
  background: rgba(69, 196, 160, 0.16);
  border-color: rgba(69, 196, 160, 0.26);
  color: #3aab8c;
}

.testimonial-avatar--5 {
  background: rgba(84, 168, 199, 0.16);
  border-color: rgba(84, 168, 199, 0.26);
  color: #4699b8;
}

.testimonial-avatar--6 {
  background: rgba(160, 124, 197, 0.14);
  border-color: rgba(160, 124, 197, 0.24);
  color: #8f6bb5;
}

/* Product & project catalog cards */
.catalog-card {
  background: #fff;
  border-radius: 1rem;
  overflow: hidden;
  box-shadow: 0 0.25rem 1.75rem rgba(30, 34, 40, 0.08);
  border: 1px solid rgba(164, 174, 198, 0.2);
}

.catalog-card__hero {
  padding: 2rem 2rem 1.75rem;
  color: #fff;
}

.catalog-card--hr .catalog-card__hero {
  background: linear-gradient(135deg, #3f78e0 0%, #5eb9f0 55%, #605dba 100%);
}

.catalog-card--sitepat .catalog-card__hero {
  background: linear-gradient(135deg, #2d6a4f 0%, #40916c 50%, #52b788 100%);
}

.catalog-card--portfolio .catalog-card__hero {
  background: linear-gradient(135deg, #605dba 0%, #7c74c9 50%, #9490d8 100%);
}

.catalog-card--minimal .catalog-card__hero {
  padding: 2rem 2rem 1.75rem;
}

.catalog-card__body--image {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 2rem;
  line-height: 0;
  background: #fff;
}

.catalog-card__body--image.catalog-card__body--image-only {
  padding-bottom: 1rem;
}

.catalog-card__image-link {
  display: flex;
  justify-content: center;
  line-height: 0;
}

.catalog-card__image {
  max-width: 100%;
  width: auto;
  height: auto;
  display: block;
  object-fit: contain;
  margin: 0 auto;
}

.catalog-card__footer {
  display: flex;
  justify-content: center;
  padding: 1rem 2.5rem 1.25rem;
  margin-top: 0.25rem;
  background: #fff;
  border-top: 1px solid rgba(164, 174, 198, 0.22);
}

.catalog-card__footer .catalog-card__links {
  justify-content: center;
  margin: 0.25rem 1.25rem 0;
  padding: 0.25rem 0 0;
  width: 100%;
}

.catalog-card__brand {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.catalog-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 1rem;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.28);
  flex-shrink: 0;
}

.catalog-card__icon .uil {
  font-size: 2rem;
  line-height: 1;
}

.catalog-card__logo {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  border-radius: 0.75rem;
  background: rgba(255, 255, 255, 0.92);
  flex-shrink: 0;
}

.catalog-card__logo--dark {
  background: #343f52;
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.catalog-card__logo img {
  max-height: 3rem;
  max-width: 10rem;
  width: auto;
  object-fit: contain;
}

.catalog-card__category {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.9;
  margin-bottom: 0.35rem;
}

.catalog-card__title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  margin-bottom: 0;
  color: #fff;
}

.catalog-card__client {
  font-size: 0.85rem;
  margin: 0.35rem 0 0;
  opacity: 0.92;
  max-width: 36rem;
}

.catalog-card__tagline {
  color: rgba(255, 255, 255, 0.95);
}

.catalog-card__body {
  padding: 2rem 2.5rem 2rem;
  background: #fff;
}

.catalog-card__links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.75rem;
  padding-top: 0.35rem;
}

@media (max-width: 575.98px) {
  .catalog-card__hero,
  .catalog-card__body {
    padding: 1.5rem 1.5rem 1.75rem;
  }

  .catalog-card--minimal .catalog-card__hero {
    padding: 1.5rem;
  }

  .catalog-card__body--image {
    padding: 1.5rem !important;
  }

  .catalog-card__body--image.catalog-card__body--image-only {
    padding-bottom: 0.75rem !important;
  }

  .catalog-card__footer {
    padding: 0.85rem 1.75rem 1.1rem;
    margin-top: 0.15rem;
  }

  .catalog-card__footer .catalog-card__links {
    margin: 0.15rem 0.75rem 0;
    padding-top: 0.15rem;
  }

  .catalog-card__brand {
    flex-direction: column;
    align-items: flex-start;
  }

  .catalog-card__links .btn {
    width: 100%;
    justify-content: center;
  }
}
