.tp-hero-7-carousel {
  position: relative;
  width: 100%;
  background: var(--tp-common-black);
}

/* Header overlays the hero at every viewport, then becomes solid when sticky. */
.tp-header-height {
  position: absolute;
  z-index: 100;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
}

.tp-header-height .tp-header-area {
  position: relative;
  z-index: 100;
}

.tp-header-height #header-sticky:not(.header-sticky) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.tp-header-logo-light {
  display: block;
}

.tp-header-logo-dark {
  display: none;
}

#header-sticky:not(.header-sticky) .tp-main-menu nav > ul > li > a,
#header-sticky:not(.header-sticky) .tp-menu-dropdown nav ul li.active > a,
#header-sticky:not(.header-sticky) .tp-menu-dropdown nav ul li.active > a::after,
#header-sticky:not(.header-sticky) .tp-menu-dropdown nav > ul > li:hover.has-dropdown > a::after,
#header-sticky:not(.header-sticky) .tp-header-login-btn {
  color: var(--tp-common-white);
}

#header-sticky:not(.header-sticky) .tp-menu-dropdown nav ul li.active > a {
  background: transparent;
}

#header-sticky:not(.header-sticky) .tp-header-search .tp-input {
  border-color: rgba(255, 255, 255, 0.34);
  background: rgba(247, 242, 242, 0.9);
  box-shadow: 0 8px 24px rgba(7, 21, 22, 0.1);
}

#header-sticky:not(.header-sticky) .tp-header-toogle {
  border-color: rgba(255, 255, 255, 0.48);
  background: rgba(7, 21, 22, 0.14);
}

#header-sticky:not(.header-sticky) .tp-header-toogle span {
  background: var(--tp-common-white);
}

#header-sticky.header-sticky {
  border-bottom: 1px solid var(--tp-border-1);
  background: rgba(247, 242, 242, 0.94);
  box-shadow: 0 10px 30px rgba(7, 21, 22, 0.09);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

#header-sticky.header-sticky .tp-header-logo-light {
  display: none;
}

#header-sticky.header-sticky .tp-header-logo-dark {
  display: block;
}

#header-sticky.header-sticky .tp-header-toogle {
  border-color: var(--tp-border-1);
  background: transparent;
}

#header-sticky.header-sticky .tp-header-toogle span {
  background: var(--tp-common-black);
}

.tp-header-main-search {
  flex: 1 1 auto;
  min-width: 0;
}

.tp-header-main-search .tp-input {
  width: 100% !important;
  height: 38px !important;
  padding-right: 9px;
  padding-left: 34px;
  font-size: 11px;
}

.tp-header-main-search .tp-header-search-btn {
  left: 13px;
}

.tp-header-main-search .tp-header-typing-wrap {
  left: 35px;
  display: flex;
  align-items: center;
  max-width: calc(100% - 43px);
  white-space: nowrap;
  overflow: hidden;
  pointer-events: none;
}

.tp-header-main-search .tp-header-typing-wrap::before {
  margin-right: 3px;
  color: var(--tp-grey-2);
  content: "Search";
  font-family: var(--tp-ff-body);
  font-size: 11px;
}

.tp-header-main-search .tp-header-typing-wrap span {
  font-size: 11px;
}

.tp-header-main-search .tp-input::placeholder {
  color: transparent;
}

@media (min-width: 1200px) {
  .tp-header-main-search {
    flex: 0 0 auto;
  }

  .tp-header-main-search .tp-input {
    width: 240px !important;
    padding-left: 44px;
    font-size: 13px;
  }

  .tp-header-main-search .tp-header-search-btn {
    left: 20px;
  }

  .tp-header-main-search .tp-header-typing-wrap {
    left: 115px;
    display: block;
    max-width: calc(100% - 125px);
  }

  .tp-header-main-search .tp-header-typing-wrap::before {
    content: none;
  }

  .tp-header-main-search .tp-header-typing-wrap span {
    font-size: 13px;
  }

  .tp-header-main-search .tp-input::placeholder {
    color: var(--tp-grey-2);
  }

  #header-sticky.header-sticky .tp-main-menu nav > ul > li > a {
    color: var(--tp-common-black);
  }

  #header-sticky.header-sticky .tp-menu-dropdown nav ul li.active > a,
  #header-sticky.header-sticky .tp-menu-dropdown nav ul li.active > a::after,
  #header-sticky.header-sticky .tp-main-menu nav > ul > li:hover > a,
  #header-sticky.header-sticky .tp-menu-dropdown nav > ul > li:hover.has-dropdown > a::after {
    color: var(--tp-theme-1);
  }

  #header-sticky.header-sticky .tp-menu-dropdown nav ul li.active > a {
    background: transparent;
  }

  #header-sticky.header-sticky .tp-header-login-btn {
    color: var(--tp-common-black);
  }
}

@media (min-width: 1400px) {
  .tp-header-main-search .tp-input {
    width: 305px !important;
  }
}

.tp-hero-7-carousel .swiper-wrapper {
  height: auto;
}

.tp-hero-7-slide {
  position: relative;
  display: flex;
  min-height: 460px;
  align-items: center;
  padding: 54px 0 82px;
  background-position: center;
  background-size: cover;
  box-sizing: border-box;
  overflow: hidden;
}

.tp-hero-7-slide::before {
  position: absolute;
  z-index: 1;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, rgba(5, 18, 22, 0.42) 0%, rgba(5, 18, 22, 0.64) 100%);
}

.tp-hero-7-slide .container {
  position: relative;
  z-index: 2;
}

.tp-hero-7-carousel-content {
  max-width: 970px;
  margin: 0 auto;
}

.tp-hero-7-carousel-subtitle {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-bottom: 12px;
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.14em;
  line-height: 1.2;
  text-transform: uppercase;
  font-family: var(--tp-ff-body);
}

.tp-hero-7-carousel-subtitle::before,
.tp-hero-7-carousel-subtitle::after {
  width: 18px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.8;
}

.tp-hero-7-carousel .tp-hero-title {
  margin-bottom: 14px;
  font-size: clamp(34px, 10.5vw, 44px);
  line-height: 1.02;
  letter-spacing: -0.04em;
}

.tp-hero-7-carousel .tp-hero-title br {
  display: block;
}

.tp-hero-7-carousel-description {
  max-width: 670px;
  margin: 0 auto 20px;
  padding: 0 12px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 14px;
  line-height: 1.5;
  font-family: var(--tp-ff-p);
}

.tp-hero-7-carousel-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 13px 21px;
  border: 1px solid #fff;
  border-radius: 999px;
  color: var(--tp-common-black);
  background: var(--tp-common-white);
  font-size: 14px;
  font-weight: 600;
  font-family: var(--tp-ff-body);
  line-height: 1;
  transition: color 0.3s ease, background-color 0.3s ease, transform 0.3s ease;
}

.tp-hero-7-carousel-btn:hover {
  border-color: var(--tp-theme-1);
  color: var(--tp-common-white);
  background: var(--tp-theme-1);
  transform: translateY(-2px);
}

.tp-hero-7-carousel-btn svg {
  color: var(--tp-theme-1);
  transition: transform 0.3s ease;
}

.tp-hero-7-carousel-btn:hover svg {
  color: var(--tp-common-white);
  transform: translateX(3px);
}

.tp-hero-7-carousel-prev,
.tp-hero-7-carousel-next {
  position: absolute;
  z-index: 10;
  top: auto;
  bottom: 48px;
  display: flex;
  width: 36px;
  height: 36px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 50%;
  color: #fff;
  background: rgba(7, 21, 22, 0.22);
  transform: none;
  transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease;
}

.tp-hero-7-carousel-prev {
  left: 14px;
}

.tp-hero-7-carousel-next {
  right: 14px;
}

.tp-hero-7-carousel-prev:hover,
.tp-hero-7-carousel-next:hover {
  border-color: var(--tp-theme-1);
  color: var(--tp-common-white);
  background: var(--tp-theme-1);
}

.tp-hero-7-carousel-pagination {
  position: absolute;
  z-index: 10;
  right: 0;
  bottom: 35px !important;
  left: 0;
  display: flex;
  justify-content: center;
  gap: 10px;
}

.tp-hero-7-carousel-pagination .swiper-pagination-bullet {
  position: relative;
  width: 18px;
  height: 3px;
  margin: 0 !important;
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.55);
  opacity: 1;
  transition: width 0.3s ease, background-color 0.3s ease;
}

.tp-hero-7-carousel-pagination .swiper-pagination-bullet-active {
  width: 34px;
  background: #fff;
}

.tp-hero-7-carousel-shape {
  position: absolute;
  z-index: 4;
  bottom: -2px;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.tp-hero-7-carousel .swiper-slide .tp-hero-7-carousel-subtitle,
.tp-hero-7-carousel .swiper-slide .tp-hero-title,
.tp-hero-7-carousel .swiper-slide .tp-hero-7-carousel-description,
.tp-hero-7-carousel .swiper-slide .tp-hero-7-carousel-btn {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.tp-hero-7-carousel .swiper-slide-active .tp-hero-7-carousel-subtitle,
.tp-hero-7-carousel .swiper-slide-active .tp-hero-title,
.tp-hero-7-carousel .swiper-slide-active .tp-hero-7-carousel-description,
.tp-hero-7-carousel .swiper-slide-active .tp-hero-7-carousel-btn {
  opacity: 1;
  transform: translateY(0);
}

.tp-hero-7-carousel .swiper-slide-active .tp-hero-title {
  transition-delay: 0.1s;
}

.tp-hero-7-carousel .swiper-slide-active .tp-hero-7-carousel-description {
  transition-delay: 0.2s;
}

.tp-hero-7-carousel .swiper-slide-active .tp-hero-7-carousel-btn {
  transition-delay: 0.3s;
}

@media (min-width: 576px) {
  .tp-hero-7-slide {
    min-height: 540px;
    padding: 90px 0 110px;
  }

  .tp-hero-7-carousel-subtitle {
    gap: 10px;
    margin-bottom: 18px;
    font-size: 12px;
    letter-spacing: 0.16em;
  }

  .tp-hero-7-carousel-subtitle::before,
  .tp-hero-7-carousel-subtitle::after {
    width: 26px;
  }

  .tp-hero-7-carousel .tp-hero-title {
    margin-bottom: 18px;
    font-size: 52px;
  }

  .tp-hero-7-carousel-description {
    margin-bottom: 28px;
    padding: 0 18px;
    font-size: 16px;
    line-height: 1.6;
  }

  .tp-hero-7-carousel-btn {
    min-height: 50px;
    padding: 14px 24px;
    font-size: 15px;
  }

  .tp-hero-7-carousel-prev,
  .tp-hero-7-carousel-next {
    bottom: 68px;
    width: 40px;
    height: 40px;
  }

  .tp-hero-7-carousel-prev {
    left: 18px;
  }

  .tp-hero-7-carousel-next {
    right: 18px;
  }

  .tp-hero-7-carousel-pagination {
    bottom: 52px !important;
  }
}

@media (min-width: 768px) {
  .tp-hero-7-slide {
    min-height: 650px;
    padding: 145px 0 150px;
  }

  .tp-hero-7-carousel .tp-hero-title {
    font-size: clamp(52px, 6.25vw, 100px);
    line-height: 0.98;
  }

  .tp-hero-7-carousel-prev,
  .tp-hero-7-carousel-next {
    top: 50%;
    bottom: auto;
    width: 44px;
    height: 44px;
    transform: translateY(-50%);
  }

  .tp-hero-7-carousel-prev {
    left: 18px;
  }

  .tp-hero-7-carousel-next {
    right: 18px;
  }

  .tp-hero-7-carousel-pagination {
    bottom: 72px !important;
  }
}

@media (min-width: 992px) {
  .tp-hero-7-slide {
    min-height: 760px;
    padding: 185px 0 180px;
  }

  .tp-hero-7-carousel-prev,
  .tp-hero-7-carousel-next {
    width: 50px;
    height: 50px;
  }

  .tp-hero-7-carousel-prev {
    left: 34px;
  }

  .tp-hero-7-carousel-next {
    right: 34px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .tp-hero-7-carousel .swiper-slide .tp-hero-7-carousel-subtitle,
  .tp-hero-7-carousel .swiper-slide .tp-hero-title,
  .tp-hero-7-carousel .swiper-slide .tp-hero-7-carousel-description,
  .tp-hero-7-carousel .swiper-slide .tp-hero-7-carousel-btn {
    transition: none;
  }
}

.tp-quick-links-area {
  padding: 14px 0 0;
}

.tp-quick-links-panel {
  padding: 0px;
  border-radius: 16px;
  background: var(--tp-common-white);
  box-shadow: 0 18px 50px rgba(7, 21, 22, 0.08);
}

.tp-quick-links-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
}

.tp-quick-link-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 98px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 13px 3px 9px;
  border: 1px solid var(--tp-border-1);
  border-radius: 11px;
  color: var(--tp-common-black);
  background: var(--tp-common-white);
  box-shadow: 0 8px 24px rgba(7, 21, 22, 0.05);
  text-align: center;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
}

.tp-quick-link-card:hover {
  border-color: var(--tp-theme-1);
  color: var(--tp-common-black);
  background: var(--tp-common-white);
  box-shadow: 0 14px 30px rgba(7, 21, 22, 0.11);
  transform: translateY(-4px);
}

.tp-quick-link-icon {
  display: flex;
  width: 46px;
  height: 46px;
  align-items: center;
  justify-content: center;
  margin-bottom: 5px;
  border-radius: 50%;
  background: rgba(253, 70, 33, 0.08);
  transition: transform 0.3s ease;
}

.tp-quick-link-card:hover .tp-quick-link-icon {
  transform: scale(1.08) rotate(-3deg);
}

.tp-quick-link-icon img {
  width: 31px;
  height: 31px;
  object-fit: contain;
  image-rendering: auto;
}

.tp-quick-link-icon img.tp-quick-link-generated {
  width: 40px;
  height: 40px;
}

.tp-quick-link-title {
  max-width: 100%;
  font-size: 11px;
  font-weight: 500;
  font-family: var(--tp-ff-body);
  line-height: 1.25;
}

.tp-quick-link-arrow {
  position: absolute;
  top: 9px;
  right: 9px;
  color: var(--tp-theme-1);
  display: none;
  font-size: 15px;
  line-height: 1;
  opacity: 0;
  transform: translate(-5px, 5px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tp-quick-link-card:hover .tp-quick-link-arrow {
  opacity: 1;
  transform: translate(0, 0);
}

.tp-quick-link-badge {
  position: absolute;
  z-index: 2;
  top: 5px;
  left: 50%;
  padding: 3px 6px;
  border-radius: 999px;
  color: #fff;
  background: var(--tp-theme-1);
  font-size: 7px;
  font-weight: 700;
  font-family: var(--tp-ff-body);
  letter-spacing: 0.06em;
  line-height: 1;
  text-transform: uppercase;
  transform: translateX(-50%);
}

.tp-quick-link-badge-deal {
  background: var(--tp-common-red);
}

.tp-quick-link-badge-process {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: var(--tp-common-black);
  background: color-mix(in srgb, var(--tp-common-black) 82%, white);
}

.tp-quick-link-badge-process::before {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  content: "";
  background: var(--tp-common-yellow);
  box-shadow: 0 0 0 2px rgba(255, 179, 0, 0.18);
}

.tp-quick-link-card.is-coming-soon {
  cursor: not-allowed;
  filter: saturate(0.86);
}

.tp-quick-link-card.is-coming-soon:hover {
  border-color: rgba(7, 21, 22, 0.08);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: none;
  transform: none;
}

.tp-quick-link-card.is-coming-soon:hover .tp-quick-link-icon {
  transform: none;
}

@media (min-width: 768px) {
  .tp-quick-links-area {
    padding-top: 38px;
  }

  .tp-quick-links-panel {
    padding: 14px;
    border-radius: 20px;
  }

  .tp-quick-links-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
  }

  .tp-quick-link-card {
    min-height: 132px;
    padding: 20px 10px 15px;
    border-radius: 14px;
  }

  .tp-quick-link-icon {
    width: 58px;
    height: 58px;
    margin-bottom: 8px;
  }

  .tp-quick-link-icon img {
    width: 38px;
    height: 38px;
  }

  .tp-quick-link-icon img.tp-quick-link-generated {
    width: 49px;
    height: 49px;
  }

  .tp-quick-link-title {
    font-size: 15px;
  }

  .tp-quick-link-badge {
    top: 8px;
    padding: 4px 8px;
    font-size: 8px;
  }
}

@media (min-width: 992px) {
  .tp-quick-links-panel {
    padding: 18px;
    border-radius: 24px;
  }

  .tp-quick-links-grid {
    gap: 12px;
  }

  .tp-quick-link-card {
    min-height: 142px;
  }

  .tp-quick-link-icon {
    width: 64px;
    height: 64px;
    margin-bottom: 9px;
  }

  .tp-quick-link-icon img {
    width: 42px;
    height: 42px;
  }

  .tp-quick-link-icon img.tp-quick-link-generated {
    width: 54px;
    height: 54px;
  }

  .tp-quick-link-title {
    font-size: 16px;
  }

  .tp-quick-link-arrow {
    display: block;
    top: 14px;
    right: 14px;
  }

  .tp-quick-link-badge {
    top: 10px;
    padding: 4px 9px;
    font-size: 9px;
  }
}

@media (max-width: 360px) {
  .tp-quick-links-panel {
    padding: 8px;
  }

  .tp-quick-links-grid {
    gap: 4px;
  }

  .tp-quick-link-card {
    min-height: 92px;
  }

  .tp-quick-link-title {
    font-size: 10px;
  }
}
