:root {
  --ft-orange: #ef7d31;
  --ft-orange-dark: #d96a22;
  --ft-black: #111111;
  --ft-gray: #666666;
  --ft-light: #f5f5f5;
}

/* Top bar */
.ft-topbar {
  background: var(--ft-black);
  color: #fff;
  font-size: 13px;
  line-height: 1;
  padding: 10px 0;
}

.ft-topbar a {

  text-decoration: none;
}

.ft-topbar a:hover {
  color: var(--ft-orange);
}

.ft-topbar__contacts {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px;
}

.ft-topbar__contacts span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.ft-topbar__right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
}

/* Main nav */
.ft-navbar-wrap {
  background: #fff;
  border-bottom: 1px solid #e8e8e8;
  position: sticky;
  top: 0;
  z-index: 1030;
}

.ft-navbar-wrap .ft-navbar.navbar-light {
  --bs-navbar-color: #222222;
  --bs-navbar-hover-color: var(--ft-orange);
  --bs-navbar-active-color: var(--ft-orange);
  --bs-nav-link-color: #222222;
  --bs-nav-link-hover-color: var(--ft-orange);
}

.ft-navbar {
  padding: 0;
}

.ft-navbar .navbar-brand img {
  height: 48px;
  width: auto;
}

.ft-navbar-wrap .navbar-nav .nav-link,
.ft-navbar-wrap .navbar-nav .nav-link.dropdown-toggle {
  color: #222222 !important;
  font-size: 14px !important;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 22px 18px !important;
  text-transform: none;
  opacity: 1 !important;
  visibility: visible !important;
}

.ft-navbar-wrap .navbar-nav .nav-link:hover,
.ft-navbar-wrap .navbar-nav .nav-link.active,
.ft-navbar-wrap .navbar-nav .nav-link.show {
  color: var(--ft-orange) !important;
}

.ft-navbar .dropdown-menu {
  border: none;
  border-radius: 0;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  margin-top: 0;
}

.ft-navbar .dropdown-item {
  font-size: 14px;
  padding: 10px 20px;
}

.ft-navbar .dropdown-item:hover {
  background: #fff5ee;
  color: var(--ft-orange);
}

.ft-navbar .navbar-toggler {
  border-color: #ddd;
}

.ft-navbar-wrap .nav-hover-effect {
  color: #222 !important;
}

.ft-navbar-wrap .nav-hover-effect:hover {
  color: var(--ft-orange) !important;
}

@media (max-width: 1199.98px) {
  .ft-navbar-wrap .navbar-collapse {
    background: #fff;
    padding: 12px 0;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  }

  .ft-navbar-wrap .navbar-nav .nav-link {
    padding: 10px 16px !important;
  }
}

/* Hero */
.ft-hero {
  position: relative;
}

.ft-hero .swiper-slide img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  display: block;
}

.ft-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.ft-hero__text {
  color: #fff;
  max-width: 560px;
  padding: 0 15px;
}

.ft-hero__text h1 {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.ft-hero__text h2 {
  font-size: clamp(1.1rem, 2.2vw, 1.6rem);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.ft-hero__text p {
  font-size: 15px;
  opacity: 0.95;
  margin: 0;
}

.ft-hero .swiper-button-prev,
.ft-hero .swiper-button-next {
  color: #fff;
}

/* Intro */
.ft-intro {
  padding: 60px 0;
}

.ft-intro__left h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.ft-intro__left p {
  font-style: italic;
  color: var(--ft-gray);
  margin: 0;
}

.ft-intro__right {
  border-left: 4px solid var(--ft-orange);
  padding-left: 28px;
}

.ft-intro__right p {
  color: #444;
  line-height: 1.8;
  margin-bottom: 1rem;
}

.ft-intro__readmore {
  color: var(--ft-orange);
  font-weight: 600;
  text-decoration: none;
}

.ft-intro__readmore:hover {
  color: var(--ft-orange-dark);
}

.ft-intro__phones {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.ft-btn-phone {
  background: var(--ft-orange);
  color: #fff !important;
  border: none;
  border-radius: 4px;
  padding: 14px 28px;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  display: inline-block;
}

.ft-btn-phone:hover {
  background: var(--ft-orange-dark);
  color: #fff;
}

/* Section titles */
.ft-section {
  padding: 56px 0;
}

.ft-section--gray {
  background: var(--ft-light);
}

.ft-section__head {
  margin-bottom: 32px;
}

.ft-section__title {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.ft-section__title::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 32px;
  background: var(--ft-orange);
  flex-shrink: 0;
}

.ft-section__desc {
  color: var(--ft-gray);
  max-width: 900px;
  line-height: 1.7;
  margin: 0;
}

/* Product / application cards */
.ft-card-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}

.ft-card {
  display: block;
  text-decoration: none;
  color: inherit;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
  transition: transform 0.2s, box-shadow 0.2s;
}

.ft-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.ft-card__img {
  aspect-ratio: 1;
  overflow: hidden;
}

.ft-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ft-card__label {
  background: var(--ft-orange);
  color: #fff;
  text-align: center;
  padding: 12px 8px;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.3;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
}
/* CTA bar */
.ft-cta-bar {
  background: var(--ft-black);
  color: #fff;
  text-align: center;
  padding: 28px 20px;
  font-size: 1.15rem;
}

.ft-cta-bar a {
  color: var(--ft-orange);
  font-weight: 600;
  text-decoration: none;
}

.ft-cta-bar a:hover {
  text-decoration: underline;
}

/* Blog section */
.ft-blog-section {
  padding: 56px 0 64px;
  background: #fff;
}

.ft-blog-section .ft-section__title {
  justify-content: center;
}

.ft-blog-section .ft-section__title::before {
  display: none;
}

.ft-blog-section .ft-section__head {
  text-align: center;
}

.ft-blog-card {
  height: 100%;
}

.ft-blog-card__img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.ft-blog-card__body {
  background: #fff;
  border: 1px solid #eee;
  border-top: none;
  padding: 16px;
  min-height: 180px;
  position: relative;
}

.ft-blog-card__date {
  font-size: 13px;
  color: #999;
  margin-bottom: 8px;
}

.ft-blog-card__title {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ft-blog-card__summary {
  font-size: 14px;
  color: #666;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ft-blog-card__link {
  color: var(--ft-orange);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  margin-top: 12px;
  display: inline-block;
}

@media (max-width: 991px) {
  .ft-card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ft-hero .swiper-slide img {
    height: 360px;
  }
}

@media (max-width: 575px) {
  .ft-card-grid {
    grid-template-columns: 1fr;
  }

  .ft-intro__phones {
    flex-direction: column;
  }
}
