/*
Theme Name: Vega
Theme URI: https://freelancehunt.com/freelancer/Framework.html
Author: Vitaliy
Version: 9999
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: vega
Tags: custom-theme, starter
*/
/*
.missoin__row.reverse {
  flex-direction: row-reverse;
}*/
blockquote.qbvote__block {
  border-radius: 30px;
  background: #F4F7FF;
  padding: 40px 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 40px 0 0;
}

@media screen and (max-width: 768px) {
  blockquote.qbvote__block {
    padding: 20px 20px;
  }
}

/* Заголовок (перший елемент у цитаті) */
blockquote.qbvote__block p:first-child {
  color: #000;
  font-family: Gilroy, sans-serif;
  font-size: clamp(23px, 2.5vw, 35px);
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  position: relative;
  margin-bottom: 10px;
  padding-bottom: 10px;
}

blockquote.qbvote__block p:first-child::before {
  content: '';
  background: #FF6200;
  width: 83px;
  height: 1px;
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Інші абзаци */
blockquote.qbvote__block p:not(:first-child) {
  color: #000;
  font-family: Gilroy, sans-serif;
  font-size: clamp(18px, 2vw, 23px);
  font-style: normal;
  font-weight: 300;
  line-height: normal;
}


.reg__block .btn__primary,
.ask__block .btn__primary{
    color: #fff!important;
}

.error-404 {
    max-width: 800px;
    margin: 2rem auto;
    padding: 2rem;
    text-align: center;
}

.error-404 .page-title {
    font-size: clamp(23px, 2.5vw, 35px);
    margin-bottom: 1rem;
}

.error-404 .page-content {
    margin-top: 2rem;
}

.error-404 .widget {
    margin: 2rem 0;
    text-align: left;
}

.error-404 .widgettitle {
    border-bottom: 1px solid #eee;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

.error-404 .search-form {
    max-width: 500px;
    margin: 0 auto;
}
/* Стилі для сторінки пошуку */
.search-page .page__title span {
    color: #0073aa;
    font-weight: normal;
}

.no-posts {
    text-align: center;
    padding: 40px 0;
    grid-column: 1 / -1;
}

.no-posts p {
    margin-bottom: 15px;
    font-size: 18px;
}

.post__meta {
    margin-top: 10px;
    font-size: 14px;
    color: #666;
}

.post__meta span {
    margin-right: 15px;
}

.post__meta .post__cat {
    color: #0073aa;
}
/* Стилі для сторінки пошуку Help Center */
.help-search-results {
    margin-top: 30px;
}

.help-article {
    border-bottom: 1px solid #eee;
    padding: 20px 0;
    margin-bottom: 20px;
}

.help-article h2 {
    margin-bottom: 10px;
}

.help-article .excerpt {
    margin-bottom: 15px;
    color: #555;
}

.no-results {
    padding: 40px 0;
    text-align: center;
}

.sub-menu{
  flex-direction: column;
}


.toc__toggle {
    display: none;
    border: none;
    cursor: pointer;
}

/* Тільки на мобільних */
@media (max-width: 768px) {
    .toc__toggle {
        display: block;
    }

    .toc__side {
        display: none;
    }

    .toc__side.active {
        display: block;
    }
}

/* SEO page templates */
.seo-page {
  --seo-accent: #FF6200;
  --seo-blue: #1E79CA;
  --seo-text: #160901;
  --seo-muted: #5f5f5f;
  --seo-line: #E8E8E8;
  color: var(--seo-text);
}

.seo-page .container {
  max-width: 1280px;
}

.seo-page section {
  margin: 0;
  padding: 0;
}

.seo-page .grums {
  margin-bottom: 34px;
}

.seo-hero {
  padding: 50px 0 !important;
  background: linear-gradient(180deg, #FFF 0%, #FAFAFA 100%);
  border-bottom: 1px solid var(--seo-line);
}

.seo-landing-hero {
  position: relative;
  overflow-x: clip;
  overflow-y: visible;
  min-height: 0;
  padding: 72px 0 58px !important;
  border-bottom: 0;
  background:
    radial-gradient(circle at 76% 44%, rgba(30, 121, 202, 0.22) 0, rgba(30, 121, 202, 0.12) 25%, transparent 46%),
    linear-gradient(135deg, #EAF4FF 0%, #F7FBFF 58%, #FFFFFF 100%);
}

.seo-page--country .seo-landing-hero {
  background:
    radial-gradient(circle at 78% 42%, rgba(255, 98, 0, 0.18) 0, rgba(255, 98, 0, 0.09) 25%, transparent 47%),
    linear-gradient(135deg, #EDF6FF 0%, #FFF7F0 100%);
}

.seo-page--transport .seo-landing-hero,
.seo-page--shipment_type .seo-landing-hero {
  background:
    radial-gradient(circle at 78% 42%, rgba(0, 158, 119, 0.18) 0, rgba(0, 158, 119, 0.08) 27%, transparent 47%),
    linear-gradient(135deg, #EAF7F4 0%, #F7FBFF 100%);
}

.seo-page--product .seo-landing-hero {
  background:
    radial-gradient(circle at 76% 44%, rgba(30, 121, 202, 0.25) 0, rgba(30, 121, 202, 0.12) 27%, transparent 48%),
    linear-gradient(135deg, #EAF4FF 0%, #F2F7FF 100%);
}

.seo-page--faq_article .seo-landing-hero {
  background:
    radial-gradient(circle at 78% 42%, rgba(47, 75, 112, 0.18) 0, rgba(47, 75, 112, 0.08) 28%, transparent 48%),
    linear-gradient(135deg, #EEF4FA 0%, #FFFFFF 100%);
}

.seo-landing-hero::after {
  content: "";
  position: absolute;
  right: -12vw;
  bottom: -80px;
  width: 66vw;
  height: 210px;
  background: rgba(255, 255, 255, 0.62);
  transform: rotate(-6deg);
  transform-origin: right bottom;
  pointer-events: none;
}

.seo-landing-hero .container {
  position: relative;
  z-index: 1;
}

.seo-landing-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(360px, 0.72fr);
  gap: 52px;
  align-items: center;
}

.seo-landing-hero__content {
  max-width: 780px;
}

.seo-landing-hero__stats {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  min-height: 270px;
  align-items: stretch;
}

.seo-landing-hero__stats::before {
  content: "";
  position: absolute;
  inset: -22px 0;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.72) 0 28%, transparent 28% 52%, rgba(255, 255, 255, 0.48) 52% 74%, transparent 74%),
    radial-gradient(circle at 75% 18%, rgba(30, 121, 202, 0.16), transparent 42%);
  opacity: 0.9;
  pointer-events: none;
}

.seo-landing-stat {
  position: relative;
  display: flex;
  min-height: 122px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 18px 18px;
  overflow: hidden;
  border-radius: 26px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 24px 58px rgba(36, 38, 73, 0.10);
  text-align: center;
}

.seo-landing-stat__value {
  color: #393079;
  font-size: clamp(34px, 3vw, 48px);
  font-weight: 700;
  line-height: 1;
}

.seo-landing-stat__unit {
  margin-top: 10px;
  color: #B8B4D0;
  font-size: clamp(18px, 1.65vw, 24px);
  font-weight: 700;
  line-height: 1.1;
}

.seo-landing-stat__label {
  margin-top: 10px;
  color: #858585;
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.28;
}

.seo-landing-calc {
  position: relative;
  margin-top: 54px;
  transform: translateY(28px);
  border-radius: 10px;
  background: #FFF;
  padding: 1px;
  border: 1px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 42px 100px rgba(22, 9, 1, 0.24),
    0 18px 42px rgba(30, 121, 202, 0.14),
    0 2px 0 rgba(255, 255, 255, 0.88) inset;
  z-index: 3;
}

.seo-landing-calc .search__form {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  align-items: stretch;
}

.seo-landing-calc .search__form__input {
  flex: 1;
  width: 100%;
  position: relative;
  overflow: visible;
  color: #A0A0A0;
  font-family: Gilroy;
  font-size: 17px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

.seo-landing-calc .search__form__input + .search__form__input {
  border-left: 0;
}

.seo-landing-calc .search__form__input::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 100%;
  background: #E2E2E2;
}

.seo-landing-calc .search__form__input:first-child::after {
  display: none;
}

.seo-landing-calc .input__group {
  padding: 13px 18px;
}

.seo-landing-calc .label {
  color: #000;
  font-family: Gilroy;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  text-align: left;
}

.seo-landing-calc .btn__primary {
  display: block;
  max-width: 240px;
  width: 100%;
  border-radius: 8px;
  background: #1E79CA;
}

.seo-landing-calc .mapboxgl-ctrl-geocoder,
.seo-landing-calc .mapboxgl-ctrl-geocoder .suggestions {
  box-shadow: none;
  border: 0;
  background: transparent;
}

.seo-landing-calc .geocoder {
  position: static;
}

.seo-landing-calc .flag-container {
  position: absolute !important;
  left: 18px !important;
  top: 42px !important;
  z-index: 2;
  transform: none !important;
}

.seo-landing-calc .flag-container img {
  display: block;
  width: 21px !important;
  margin-top: 0;
}

.seo-landing-calc .geocoder.locked .mapboxgl-ctrl-geocoder {
  padding-left: 32px;
}

.seo-landing-calc .suggestions,
.seo-landing-calc .mapboxgl-ctrl-geocoder .suggestions,
.seo-landing-calc .mapboxgl-ctrl-geocoder--suggestions {
  top: calc(100% + 14px) !important;
  left: 0 !important;
  width: min(520px, calc(100vw - 48px)) !important;
  max-height: 310px;
  padding: 14px 0;
  overflow-y: auto;
  border: 1px solid rgba(26, 38, 65, 0.10);
  border-radius: 14px;
  background: #FFF;
  box-shadow: 0 24px 64px rgba(26, 38, 65, 0.16) !important;
  z-index: 50 !important;
}

.seo-landing-calc .suggestions > li > a,
.seo-landing-calc .mapboxgl-ctrl-geocoder--suggestion {
  display: block;
  padding: 18px 28px;
  color: #34383F;
  font-size: 21px;
  line-height: 1.25;
}

.seo-landing-calc .suggestions > li > a:hover,
.seo-landing-calc .suggestions > li.active > a,
.seo-landing-calc .mapboxgl-ctrl-geocoder--suggestion:hover {
  background: #F1F3F8;
}

.seo-landing-calc .mapboxgl-ctrl-geocoder--input {
  height: auto;
  padding-left: 0 !important;
  color: #A0A0A0;
  font-size: 16px;
  font-family: Gilroy;
}

.seo-landing-calc .mapboxgl-ctrl-geocoder--input::placeholder {
  color: #A0A0A0;
}

.seo-landing-calc .mapboxgl-ctrl-geocoder--icon-search {
  display: none;
}

.seo-hero h1 {
  max-width: 920px;
  margin: 0 0 14px;
  color: #000;
  font-size: clamp(34px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.12;
}

.seo-hero__intro {
  max-width: 960px;
  color: var(--seo-text);
  font-size: clamp(18px, 1.45vw, 21px);
  line-height: 1.55;
}

.seo-hero__intro p {
  margin-bottom: 0;
}

.seo-hero .btn__group {
  margin-top: 22px;
}

.seo-page .seo-service-showcase {
  padding: 27px 0 24px;
  background: #FFF;
}

.seo-service-showcase__panel {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 0.36fr) minmax(0, 0.64fr);
  gap: 34px;
  align-items: center;
  min-height: 560px;
  overflow: hidden;
  border: 1px solid rgba(30, 121, 202, 0.18);
  border-radius: 28px;
  background:
    radial-gradient(circle at 77% 28%, rgba(122, 190, 255, 0.24), transparent 34%),
    linear-gradient(135deg, #EAF5FF 0%, #F5FAFF 48%, #E9F3FF 100%);
  padding: clamp(34px, 5vw, 76px) clamp(28px, 5vw, 78px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.seo-service-showcase__panel::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(112deg, rgba(255, 255, 255, 0.34) 0 43%, transparent 43% 100%),
    linear-gradient(170deg, transparent 0 58%, rgba(255, 255, 255, 0.44) 58% 100%);
  pointer-events: none;
}

.seo-service-showcase__copy,
.seo-service-showcase__visual {
  position: relative;
  z-index: 1;
}

.seo-service-showcase__copy {
  max-width: 430px;
  display: grid;
  gap: 14px;
}

.seo-service-showcase__item {
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  border: 1px solid rgba(30, 121, 202, 0.52);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.54);
  padding: 18px 22px;
  box-shadow: 0 10px 24px rgba(30, 121, 202, 0.08);
  transition: border-color 0.28s ease, background-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease;
}

.seo-service-showcase__item:first-child {
  border-top: 1px solid rgba(30, 121, 202, 0.52);
}

.seo-service-showcase__item-head {
  display: flex;
  width: 100%;
  padding: 0;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.seo-service-showcase__item + .seo-service-showcase__item {
  margin-top: 0;
}

.seo-service-showcase__title {
  color: #1F2024;
  font-size: clamp(24px, 1.95vw, 32px);
  font-weight: 700;
  line-height: 1.12;
}

.seo-service-showcase__item p {
  max-height: 220px;
  margin: 10px 0 0;
  overflow: hidden;
  color: #2D2E33;
  font-size: clamp(15px, 1.05vw, 17px);
  line-height: 1.35;
  opacity: 1;
  transform: translateY(0);
  transition: max-height 0.38s ease, margin-top 0.38s ease, opacity 0.28s ease, transform 0.34s ease;
}

.seo-service-showcase__item.is-active p {
  max-height: 220px;
  margin-top: 10px;
  opacity: 1;
  transform: translateY(0);
}

.seo-service-showcase__item.is-active,
.seo-service-showcase__item:hover {
  border-color: rgba(30, 121, 202, 0.82);
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 34px rgba(30, 121, 202, 0.13);
  transform: translateY(-2px) scale(1.025);
  animation: seoServiceFloat 0.7s ease both;
}

@keyframes seoServiceFloat {
  0% {
    transform: translateY(0) scale(1);
  }
  45% {
    transform: translateY(-4px) scale(1.03) rotate(-0.45deg);
  }
  100% {
    transform: translateY(-2px) scale(1.025);
  }
}

.seo-service-showcase__visual {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

.seo-laptop {
  position: relative;
  width: min(100%, 830px);
  padding-bottom: 38px;
}

.seo-laptop__screen {
  position: relative;
  overflow: hidden;
  border: 7px solid #17181B;
  border-bottom-width: 12px;
  border-radius: 18px 18px 12px 12px;
  background: #E9EEF5;
  box-shadow: 0 28px 70px rgba(25, 28, 38, 0.22);
  aspect-ratio: 16 / 9.7;
}

.seo-laptop__screen::before {
  content: "";
  position: absolute;
  top: 7px;
  left: 50%;
  z-index: 2;
  width: 52px;
  height: 8px;
  border-radius: 0 0 10px 10px;
  background: #050608;
  transform: translateX(-50%);
}

.seo-laptop__slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: saturate(0.96);
  opacity: 0;
  transform: scale(1.025);
  transition: opacity 0.42s ease, transform 0.58s ease;
}

.seo-laptop__slide.is-active {
  opacity: 1;
  transform: scale(1);
}

.seo-laptop__slide:nth-child(2) {
  object-position: center 34%;
  filter: saturate(1.02) brightness(1.02);
}

.seo-laptop__slide:nth-child(3) {
  object-position: center 58%;
  filter: saturate(0.94) contrast(1.03);
}

.seo-laptop__base {
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 82%;
  height: 34px;
  border-radius: 0 0 42px 42px;
  background: linear-gradient(180deg, #D9D9DA, #AEB0B3);
  box-shadow: 0 18px 28px rgba(30, 34, 42, 0.18);
  transform: translateX(-50%);
}

.seo-laptop__base::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 23%;
  height: 12px;
  border-radius: 0 0 18px 18px;
  background: #C8C9CB;
  transform: translateX(-50%);
}

.seo-body {
  padding: 54px 0 20px !important;
}

.seo-body h2 {
  margin: 34px 0 12px;
  color: #000;
  font-size: clamp(26px, 2.3vw, 34px);
  font-weight: 700;
  line-height: 1.2;
}

.seo-body h2:first-child {
  margin-top: 0;
}

.seo-body h3 {
  margin: 24px 0 8px;
  color: #000;
  font-size: clamp(20px, 1.7vw, 25px);
  font-weight: 700;
  line-height: 1.25;
}

.seo-body p,
.seo-faq p {
  color: var(--seo-text);
  font-size: clamp(17px, 1.35vw, 20px);
  line-height: 1.6;
}

.seo-body a,
.seo-faq a {
  color: var(--seo-blue);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

.seo-body table {
  width: 100%;
  margin: 18px 0 30px;
  border-spacing: 0;
  border-collapse: separate;
  overflow: hidden;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #FFF;
  font-size: clamp(16px, 1.2vw, 18px);
}

.seo-body th,
.seo-body td {
  padding: 14px 16px;
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--seo-line);
  line-height: 1.35;
}

.seo-body th {
  background: #F6F8FA;
  color: #000;
  font-weight: 700;
  white-space: nowrap;
}

.seo-body td {
  color: var(--seo-text);
  font-weight: 400;
}

.seo-body tr:last-child td {
  border-bottom: 0;
}

.seo-faq {
  padding: 30px 0 20px !important;
}

.seo-faq .section__title,
.seo-related .section__title {
  margin-bottom: 20px;
  text-align: left;
  font-size: clamp(28px, 2.6vw, 38px);
  font-weight: 700;
}

.seo-page .accordion {
  border-top: 1px solid var(--seo-line);
}

.seo-page .accordion-item {
  padding: 20px 0;
}

.seo-page .accordion-title {
  padding-right: 60px;
  font-size: clamp(18px, 1.5vw, 22px);
  line-height: 1.35;
}

.seo-page .accordion-title::after,
.seo-page .accordion-item.open .accordion-title::after {
  width: 36px;
  height: 36px;
  background-size: 36px 36px;
}

.seo-page .accordion-content {
  width: 100%;
  padding-top: 14px;
}

.seo-cta-repeat {
  padding: 40px 0 50px !important;
}

.seo-cta-repeat .container {
  padding: 26px 30px;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #FAFAFA;
}

.seo-related {
  padding: 10px 0 70px !important;
}

.seo-related .services__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.seo-related .services__item {
  min-height: 0;
  border: 1px solid var(--seo-line);
  border-radius: 8px;
  background: #FFF;
}

.seo-related .services__data {
  padding: 18px 20px;
}

.seo-related .services__title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.35;
}

.seo-related .services__title a {
  color: #000;
  text-decoration: none;
}

.seo-related .services__title a:hover {
  color: var(--seo-accent);
}

@media screen and (max-width: 992px) {
  .seo-page .grums {
    margin-bottom: 18px;
  }

  .seo-hero {
    padding: 35px 0 !important;
  }

  .seo-landing-hero {
    min-height: 0;
    padding: 34px 0 44px !important;
  }

  .seo-landing-hero::after {
    display: none;
  }

  .seo-landing-hero__grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .seo-landing-hero__stats {
    min-height: 0;
    gap: 14px;
  }

  .seo-landing-hero__stats::before {
    inset: -10px;
  }

  .seo-landing-stat {
    min-height: 96px;
    border-radius: 18px;
    padding: 14px 12px;
  }

  .seo-landing-calc {
    margin-top: 34px;
    transform: none;
  }

  .seo-landing-calc .search__form {
    flex-direction: column;
    gap: 0;
  }

  .seo-landing-calc .search__form__input + .search__form__input {
    border-left: 0;
    border-top: 1px solid #E2E2E2;
  }

  .seo-landing-calc .search__form__input::after {
    display: none;
  }

  .seo-landing-calc .btn__primary {
    max-width: none;
    border-radius: 5px;
  }

  .seo-page .seo-service-showcase {
    padding: 42px 0 12px;
  }

  .seo-service-showcase__panel {
    grid-template-columns: 1fr;
    gap: 28px;
    min-height: 0;
    border-radius: 18px;
    padding: 28px 18px 34px;
  }

  .seo-service-showcase__copy {
    max-width: none;
  }

  .seo-service-showcase__item {
    min-height: 128px;
    padding: 16px;
    border-radius: 14px;
  }

  .seo-service-showcase__title {
    font-size: 24px;
  }

  .seo-service-showcase__item p {
    margin-top: 8px;
    font-size: 15px;
  }

  .seo-laptop {
    width: 100%;
    padding-bottom: 24px;
  }

  .seo-laptop__screen {
    border-width: 5px;
    border-bottom-width: 9px;
    border-radius: 14px 14px 10px 10px;
  }

  .seo-laptop__base {
    height: 22px;
  }

  .seo-body {
    padding: 35px 0 12px !important;
  }

  .seo-body table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .seo-body th,
  .seo-body td {
    min-width: 150px;
    padding: 12px 14px;
  }

  .seo-related .services__list {
    grid-template-columns: 1fr;
  }
}

@media screen and (max-width: 576px) {
  .seo-hero h1 {
    font-size: 30px;
  }

  .seo-hero__intro,
  .seo-body p,
  .seo-faq p {
    font-size: 17px;
  }

  .seo-cta-repeat .container {
    padding: 22px 18px;
  }

  .seo-page .btn__primary {
    width: 100%;
  }
}
