:root {
  --ft-blue: #01459b;
  --ft-blue-dark: #003375;
  --ft-blue-soft: #eaf2fb;
  --ft-green: #9bc600;
  --ft-green-dark: #7fa800;
  --ft-ink: #202933;
  --ft-muted: #66717e;
  --ft-line: #e5e9ef;
  --ft-light: #f5f7fa;
  --ft-dark: #252b2f;
}

body {
  color: var(--ft-ink);
  background: #fff;
}

a {
  color: inherit;
}

a:hover {
  color: var(--ft-blue);
}

.ft-topbar {
  display: none !important;
}

.ft-navbar-wrap {
  background: #fff;
  border-bottom: 1px solid rgba(1, 69, 155, 0.12);
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 4px 18px rgba(9, 26, 48, 0.06);
}

.ft-navbar {
  min-height: 76px;
  padding: 0;
}

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

.ft-navbar-wrap .navbar-nav {
  gap: 2px;
}

.ft-navbar-wrap .navbar-nav .nav-link {
  color: #1e2a36 !important;
  font-size: 14px !important;
  font-weight: 700;
  letter-spacing: 0;
  padding: 28px 13px !important;
  text-transform: uppercase;
  opacity: 1 !important;
  visibility: visible !important;
  white-space: nowrap;
}

.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-blue) !important;
}

.ft-navbar .navbar-toggler {
  border: 1px solid var(--ft-line);
  border-radius: 4px;
  padding: 8px 10px;
}

.ft-lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  margin-left: 14px;
  border-radius: 999px;
  border: 0;
  background: var(--ft-blue);
  color: #fff !important;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  text-transform: uppercase;
}

.ft-lang:hover,
.ft-lang:focus {
  background: var(--ft-blue-dark);
  color: #fff !important;
}

.ft-lang img {
  width: 18px;
  height: 18px;
}

.ft-navbar .dropdown-menu {
  border: 0;
  border-radius: 4px;
  margin-top: 8px;
  box-shadow: 0 12px 32px rgba(10, 27, 44, 0.14);
}

.ft-navbar .dropdown-item {
  color: var(--ft-ink);
  font-size: 14px;
  padding: 9px 16px;
}

.ft-navbar .dropdown-item:hover {
  color: var(--ft-blue);
  background: var(--ft-blue-soft);
}

.ft-hero {
  position: relative;
  overflow: hidden;
}

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

.ft-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(0, 33, 74, 0.68), rgba(0, 52, 115, 0.22) 50%, rgba(0, 26, 58, 0.26));
  pointer-events: none;
}

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

.ft-hero__text {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  color: #fff;
  padding: 0 16px;
}

.ft-hero__text h1 {
  font-size: clamp(2.4rem, 5vw, 5.4rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0;
  margin: 0 0 16px;
  text-transform: uppercase;
  text-shadow: 0 8px 28px rgba(0, 0, 0, 0.28);
}

.ft-hero__text h2 {
  display: inline-block;
  color: #d9edff;
  font-size: clamp(1rem, 1.5vw, 1.35rem);
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
  text-transform: uppercase;
}

.ft-hero__text p {
  max-width: 680px;
  margin: 18px auto 0;
  color: rgba(255, 255, 255, 0.92);
  font-size: 16px;
  line-height: 1.7;
}

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

.ft-hero .swiper-button-prev::after,
.ft-hero .swiper-button-next::after {
  font-size: 24px;
}

.ft-hero .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  border-radius: 0;
  background: #fff;
  opacity: 0.55;
}

.ft-hero .swiper-pagination-bullet-active {
  opacity: 1;
  background: var(--ft-green);
}

.ft-section {
  padding: 72px 0;
}

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

.ft-section--blue {
  background: var(--ft-blue);
  color: #fff;
}

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

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

.ft-section__title {
  color: var(--ft-blue);
  font-size: clamp(1.75rem, 2.4vw, 2.55rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: 0;
  margin: 0;
  text-transform: uppercase;
}

.ft-section--blue .ft-section__title {
  color: #fff;
}

.ft-section__bar {
  width: 72px;
  height: 4px;
  background: var(--ft-green);
  margin-top: 14px;
}

.ft-section__head.center .ft-section__bar {
  margin-left: auto;
  margin-right: auto;
}

.ft-section__desc {
  max-width: 850px;
  color: var(--ft-muted);
  font-size: 16px;
  line-height: 1.8;
  margin: 18px 0 0;
}

.ft-section__head.center .ft-section__desc {
  margin-left: auto;
  margin-right: auto;
}

.ft-section--blue .ft-section__desc {
  color: rgba(255, 255, 255, 0.82);
}

.ft-btn,
.ft-btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 22px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: 0.18s ease;
}

.ft-btn {
  background: var(--ft-blue);
  color: #fff !important;
  border: 1px solid var(--ft-blue);
}

.ft-btn:hover {
  background: var(--ft-blue-dark);
  color: #fff !important;
}

.ft-btn-outline {
  color: var(--ft-blue) !important;
  border: 1px solid var(--ft-blue);
  background: #fff;
}

.ft-btn-outline:hover {
  background: var(--ft-blue);
  color: #fff !important;
}

.ft-card-grid,
.tsty-product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.ft-card,
.tsty-product-card {
  display: block;
  color: inherit;
  background: #fff;
  border: 1px solid var(--ft-line);
  border-radius: 2px;
  overflow: hidden;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ft-card:hover,
.tsty-product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(1, 69, 155, 0.34);
  box-shadow: 0 16px 34px rgba(9, 32, 60, 0.12);
}

.ft-card__img,
.tsty-product-card__img {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  overflow: hidden;
}

.ft-card__img img,
.tsty-product-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: transform 0.2s ease;
}

.ft-card:hover .ft-card__img img,
.tsty-product-card:hover .tsty-product-card__img img {
  transform: scale(1.03);
}

.ft-card__label,
.tsty-product-card__title {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 14px;
  background: #f1f3f6;
  color: var(--ft-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
  word-break: break-word;
}

.ft-card:hover .ft-card__label,
.tsty-product-card:hover .tsty-product-card__title {
  background: var(--ft-blue);
  color: #fff;
}

.ft-about {
  position: relative;
  background: #fff;
}

.ft-about__image {
  position: relative;
  min-height: 420px;
  overflow: hidden;
}

.ft-about__image img {
  width: 100%;
  height: 100%;
  min-height: 420px;
  object-fit: cover;
  display: block;
}

.ft-about__stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.ft-about__stat {
  border-left: 4px solid var(--ft-green);
  padding: 10px 16px;
  background: var(--ft-light);
}

.ft-about__num {
  color: var(--ft-blue);
  font-size: 36px;
  font-weight: 800;
  line-height: 1;
}

.ft-about__label {
  color: var(--ft-muted);
  font-size: 14px;
  margin-top: 6px;
}

.ft-solution-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.ft-solution {
  position: relative;
  min-height: 230px;
  overflow: hidden;
  color: #fff;
  text-decoration: none;
}

.ft-solution img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.24s ease;
}

.ft-solution::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 30, 70, 0.06), rgba(0, 40, 90, 0.74));
}

.ft-solution span {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 20px;
  z-index: 2;
  font-size: 19px;
  font-weight: 800;
  line-height: 1.25;
  text-transform: uppercase;
}

.ft-solution:hover {
  color: #fff;
}

.ft-solution:hover img {
  transform: scale(1.06);
}

.ft-cert {
  background: #fff;
  border: 1px solid var(--ft-line);
  padding: 26px;
}

.ft-cert img {
  width: 100%;
  display: block;
}

.ft-blog-section {
  padding: 72px 0;
  background: #fff;
}

.ft-blog-list {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 28px;
}

.ft-blog-card {
  height: 100%;
  background: #fff;
  border: 1px solid var(--ft-line);
  overflow: hidden;
}

.ft-blog-card__img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.ft-blog-card__body {
  padding: 20px;
}

.ft-blog-card__date {
  color: var(--ft-blue);
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.ft-blog-card__title {
  color: var(--ft-ink);
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
  margin: 0 0 10px;
}

.ft-blog-card__title a {
  color: inherit;
  text-decoration: none;
}

.ft-blog-card__summary {
  color: var(--ft-muted);
  font-size: 14px;
  line-height: 1.7;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ft-blog-card__link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--ft-blue);
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.ft-blog-side {
  display: grid;
  gap: 14px;
}

.ft-blog-mini {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--ft-line);
  color: inherit;
  text-decoration: none;
}

.ft-blog-mini img {
  width: 132px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.ft-blog-mini strong {
  display: block;
  color: var(--ft-ink);
  font-size: 15px;
  line-height: 1.45;
}

.ft-blog-mini span {
  display: block;
  color: var(--ft-muted);
  font-size: 13px;
  margin-top: 8px;
}

.tsty-inner-hero {
  position: relative;
  min-height: 260px;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--ft-blue-dark);
}

.tsty-inner-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.78;
}

.tsty-inner-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 35, 82, 0.84), rgba(0, 68, 155, 0.32));
}

.tsty-inner-hero__content {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #fff;
}

.tsty-inner-hero h1 {
  font-size: clamp(2.2rem, 4vw, 4.5rem);
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
}

.tsty-breadcrumb {
  padding: 22px 0;
  color: var(--ft-muted);
  font-size: 14px;
}

.tsty-breadcrumb a {
  color: var(--ft-muted);
  text-decoration: none;
}

.tsty-breadcrumb a:hover,
.tsty-breadcrumb .active {
  color: var(--ft-blue);
}

.tsty-page {
  background: var(--ft-light);
  padding: 0 0 70px;
}

.tsty-layout {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 34px;
  align-items: start;
}

.tsty-sidebar {
  background: #fff;
  border: 1px solid var(--ft-line);
}

.tsty-sidebar__title {
  background: var(--ft-blue);
  color: #fff;
  font-size: 20px;
  font-weight: 800;
  padding: 18px 22px;
  text-transform: uppercase;
}

.tsty-sidebar__list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tsty-sidebar__list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 52px;
  padding: 12px 20px;
  border-bottom: 1px solid var(--ft-line);
  color: var(--ft-ink);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-decoration: none;
}

.tsty-sidebar__list a::after {
  content: ">";
  color: var(--ft-green);
  font-weight: 800;
}

.tsty-sidebar__list a:hover,
.tsty-sidebar__list a.active {
  color: var(--ft-blue);
  background: var(--ft-blue-soft);
}

.tsty-sidebar__block + .tsty-sidebar__block {
  margin-top: 24px;
}

.tsty-side-product {
  display: grid;
  grid-template-columns: 86px 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 18px;
  border-bottom: 1px solid var(--ft-line);
  text-decoration: none;
}

.tsty-side-product img {
  width: 86px;
  aspect-ratio: 1;
  object-fit: contain;
  background: #fff;
}

.tsty-side-product span {
  color: var(--ft-ink);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.35;
}

.tsty-side-product:hover span {
  color: var(--ft-blue);
}

.tsty-content-panel {
  background: #fff;
  border: 1px solid var(--ft-line);
  padding: 28px;
}

.tsty-empty {
  padding: 70px 20px;
  text-align: center;
  color: var(--ft-muted);
}

.pagination {
  gap: 8px;
}

.pagination .page-link {
  min-width: 38px;
  border-color: var(--ft-line);
  color: var(--ft-ink);
  text-align: center;
}

.pagination .page-link:hover,
.pagination .page-item span.page-link {
  background: var(--ft-blue);
  border-color: var(--ft-blue);
  color: #fff;
}

.tsty-detail-hero {
  background: #fff;
  border: 1px solid var(--ft-line);
  padding: 30px;
}

.tsty-gallery__main {
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--ft-line);
  background: #fff;
  overflow: hidden;
}

.tsty-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 18px;
  transition: opacity 0.15s ease;
}

.tsty-gallery__thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 14px;
}

.tsty-gallery__thumb {
  aspect-ratio: 1;
  border: 1px solid var(--ft-line);
  background: #fff;
  cursor: pointer;
  overflow: hidden;
}

.tsty-gallery__thumb.active,
.tsty-gallery__thumb:hover {
  border-color: var(--ft-blue);
  box-shadow: 0 0 0 2px rgba(1, 69, 155, 0.12);
}

.tsty-gallery__thumb img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 8px;
}

.tsty-detail-title {
  color: var(--ft-ink);
  font-size: clamp(1.7rem, 2.5vw, 2.5rem);
  font-weight: 800;
  line-height: 1.22;
  margin: 0 0 18px;
}

.tsty-detail-summary {
  color: var(--ft-muted);
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.tsty-contact-lines {
  display: grid;
  gap: 12px;
  margin-bottom: 24px;
}

.tsty-contact-lines a,
.tsty-contact-lines span {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ft-ink);
  font-weight: 700;
  text-decoration: none;
}

.tsty-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.tsty-section-title {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--ft-blue);
  font-size: 28px;
  font-weight: 800;
  margin: 0 0 22px;
  text-transform: uppercase;
}

.tsty-section-title::before {
  content: "";
  width: 6px;
  height: 30px;
  background: var(--ft-green);
  flex: 0 0 auto;
}

.tsty-article {
  color: var(--ft-ink);
  font-size: 16px;
  line-height: 1.85;
}

.tsty-article img {
  max-width: 100%;
  height: auto;
}

.tsty-message {
  background: #fff;
  border: 1px solid var(--ft-line);
  padding: 30px;
}

.tsty-message .form-control {
  min-height: 44px;
  border-radius: 2px;
  border-color: var(--ft-line);
}

.tsty-message textarea.form-control {
  min-height: 128px;
}

.tsty-contact-strip {
  background: var(--ft-blue);
  color: #fff;
  padding: 34px 0;
}

.tsty-contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.tsty-contact-strip h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2vw, 2rem);
  font-weight: 800;
}

.tsty-contact-strip p {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.82);
}

.tsty-contact-strip .ft-btn {
  background: var(--ft-green);
  border-color: var(--ft-green);
  color: #102030 !important;
}

.tsty-contact-strip .ft-btn:hover {
  background: #fff;
  border-color: #fff;
}

.tsty-footer {
  background: var(--ft-dark);
  color: rgba(255, 255, 255, 0.78);
  padding: 56px 0 24px;
}

.tsty-footer a {
  color: rgba(255, 255, 255, 0.78);
  text-decoration: none;
}

.tsty-footer a:hover {
  color: #fff;
}

.tsty-footer__logo {
  max-height: 54px;
  width: auto;
  margin-bottom: 18px;
}

.tsty-footer h5 {
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  margin: 0 0 18px;
  text-transform: uppercase;
}

.tsty-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tsty-footer li {
  margin-bottom: 10px;
}

.tsty-footer__line {
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.12);
  margin: 34px 0 20px;
}

.tsty-fixed-tools {
  position: fixed;
  right: 18px;
  top: 46%;
  z-index: 999;
  display: grid;
  gap: 8px;
}

.tsty-fixed-tools a {
  width: 48px;
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--ft-blue);
  color: #fff;
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.18);
}

.tsty-fixed-tools a:hover {
  background: var(--ft-green);
  color: #102030;
}

@media (max-width: 1199.98px) {
  .ft-navbar-wrap .navbar-collapse {
    background: #fff;
    padding: 8px 0 16px;
    border-top: 1px solid var(--ft-line);
  }

  .ft-navbar-wrap .navbar-nav .nav-link {
    padding: 11px 0 !important;
  }

  .ft-lang {
    margin-left: 0;
    margin-top: 10px;
  }
}

@media (max-width: 991.98px) {
  .ft-hero .swiper-slide img {
    height: 470px;
  }

  .ft-card-grid,
  .tsty-product-grid,
  .ft-solution-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ft-blog-list,
  .tsty-layout {
    grid-template-columns: 1fr;
  }

  .tsty-sidebar {
    order: 2;
  }

  .tsty-contact-strip__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 575.98px) {
  .ft-navbar {
    min-height: 64px;
  }

  .ft-navbar .navbar-brand img {
    height: 40px;
  }

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

  .ft-section,
  .ft-blog-section {
    padding: 50px 0;
  }

  .ft-card-grid,
  .tsty-product-grid,
  .ft-solution-grid,
  .ft-about__stats {
    grid-template-columns: 1fr;
  }

  .ft-blog-mini {
    grid-template-columns: 100px 1fr;
  }

  .ft-blog-mini img {
    width: 100px;
  }

  .tsty-inner-hero {
    min-height: 210px;
  }

  .tsty-content-panel,
  .tsty-detail-hero,
  .tsty-message {
    padding: 20px;
  }

  .tsty-gallery__thumbs {
    grid-template-columns: repeat(3, 1fr);
  }

  .tsty-fixed-tools {
    display: none;
  }
}
