.pt-problem-tabs {
  --pt-bg: #ffffff;
  --pt-text-main: #2e445c;
  --pt-text-head: #1b2d42;
  --pt-text-muted: #0d2344;
  --pt-border: rgba(27, 45, 66, 0.08);
  --pt-accent: #1b2d42;

  background: var(--pt-bg);
  padding: 90px 0;
  position: relative;
}

.pt-problem-tabs.is-light {
  --pt-bg: #1b2d42;
  --pt-text-main: #dbe4ee;
  --pt-text-head: #ffffff;
  --pt-text-muted: rgba(255, 255, 255, 0.8);
  --pt-border: rgba(255, 255, 255, 0.12);
  --pt-accent: #ffffff;
}

.pt-problem-tabs__title {
  font-family: 'Lora', serif !important;
  font-weight: 600 !important;
  font-size: 38px;
  line-height: 1.25;
  margin: 0;
  color: var(--pt-text-head);
  text-align: center;
  letter-spacing: -0.01em;
}

.pt-problem-tabs__lead {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 18px !important;
  line-height: 1.8 !important;
  letter-spacing: 0.01em !important;
  margin: 24px auto 0 auto;
  color: var(--pt-text-muted);
  text-align: center;
  font-weight: 400 !important;
  max-width: none;
}

.pt-problem-tabs__nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin: 48px 0 56px 0;
}

.pt-problem-tab {
  background: #ffffff;
  border: 1px solid var(--pt-border);
  border-radius: 50px;       
  padding: 14px 28px;        
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-transform: uppercase; 
  color: var(--pt-text-main);
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(27, 45, 66, 0.01);
  transition: all 0.4s cubic-bezier(.16, 1, .3, 1);
}

.pt-problem-tabs.is-light .pt-problem-tab {
  background: rgba(255, 255, 255, 0.02);
  color: rgba(255, 255, 255, 0.85);
}

.pt-problem-tab:hover {
  background: #ffffff;
  border-color: rgba(27, 45, 66, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 6px 15px rgba(27, 45, 66, 0.04);
}

.pt-problem-tabs.is-light .pt-problem-tab:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.25);
}

.pt-problem-tab.is-active {
  background: var(--pt-accent) !important;
  color: var(--pt-bg) !important;
  border-color: var(--pt-accent) !important;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(27, 45, 66, 0.08);
}

.pt-problem-tab-panel {
  display: none;
  gap: 64px;
  align-items: center;       
  opacity: 0;
  transform: translateY(12px);
  will-change: opacity, transform;
  transition: opacity 0.5s cubic-bezier(.16, 1, .3, 1), 
              transform 0.5s cubic-bezier(.16, 1, .3, 1);
}

.pt-problem-tab-panel.is-active {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.pt-problem-tab__image {
  flex: 0 0 33%;
  position: relative;
  overflow: hidden; 
  border-radius: 20px;
}

.pt-problem-tab__image img {
  width: 100%;
  height: auto;
  display: block;
  border: 1px solid rgba(27, 45, 66, 0.06);
  box-shadow: 0 15px 35px rgba(27, 45, 66, 0.04);
  transition: transform 0.6s cubic-bezier(.16, 1, .3, 1);
}

.pt-problem-tab-panel.is-active .pt-problem-tab__image img {
  transform: scale(1.02);
}

.pt-problem-tab__text {
  flex: 1;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.8 !important; 
  color: var(--pt-text-main);
  text-align: left;
  font-weight: 400 !important;
}

.pt-problem-tab__title {
  font-family: 'Lora', serif !important;
  font-weight: 600 !important;
  font-size: 24px;
  line-height: 1.3;
  color: var(--pt-text-head);
  margin: 0 0 24px 0;
}

.pt-problem-tab__title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--pt-accent);
  margin-top: 16px;
  border-radius: 2px;
}

.pt-problem-tab__description {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: var(--pt-text-head);
  margin: 0 0 24px 0;
  font-weight: 600 !important;
}

.pt-problem-tab__content p {
  margin: 0 0 18px 0;
}

.pt-problem-tab__content p:last-child {
  margin-bottom: 0;
}

.pt-problem-tab__cta {
  display: inline-flex;
  width: auto;
  padding: 8px 0;
  background: transparent !important;
  color: var(--pt-text-head) !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  text-decoration: none;
  align-items: center;
  justify-content: flex-start;
  transition: color 0.25s ease;
  margin-top: 36px;
}

.pt-problem-tab__cta::after {
    content: '→';
    display: inline-block;
    margin-left: 8px;
    font-size: 18px;
    transition: transform 0.25s cubic-bezier(.16, 1, .3, 1);
}

.pt-problem-tab__cta:hover {
  color: var(--pt-text-head);
}

.pt-problem-tab__cta:hover::after {
  transform: translateX(5px);
}

@media (max-width: 992px) {
  .pt-problem-tab-panel {
    gap: 40px;
  }
  .pt-problem-tab__title {
    font-size: 28px;
  }
}

@media (max-width: 900px) {
  .pt-problem-tabs {
    padding: 60px 0;
  }

  .pt-problem-tabs__title {
    font-size: 30px !important;
    text-align: left;
  }

  .pt-problem-tabs__lead {
    font-size: 15.5px !important;
    line-height: 1.6 !important;
    text-align: left;
    margin-top: 18px;
  }

  .pt-problem-tabs__nav {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    margin: 36px 0 40px 0;
  }

  .pt-problem-tab {
    width: 100%;
    text-align: left;
    padding: 16px 24px;
    font-size: 14px !important;
    border-radius: 30px;
    background: #ffffff;
    box-shadow: 0 2px 8px rgba(27, 45, 66, 0.02);
  }
  
  .pt-problem-tabs.is-light .pt-problem-tab {
    background: rgba(255, 255, 255, 0.04);
  }

  .pt-problem-tab::before {
    font-family: 'icomoon' !important;
    content: "\ea0b";
    margin-right: 12px;
    font-size: 12px;
    color: var(--pt-text-main);
    display: inline-block;
    transition: color 0.3s ease;
  }

  .pt-problem-tab.is-active::before {
    color: var(--pt-bg);
  }

  .pt-problem-tab-panel.is-active {
    flex-direction: column;
    gap: 32px;
  }

  .pt-problem-tab__image {
    flex: 0 0 100%;
    width: 100%;
    border-radius: 16px;
  }

  .pt-problem-tab-panel.is-active .pt-problem-tab__image img {
    transform: scale(1); 
  }

  .pt-problem-tab__title {
    font-size: 26px;
  }

  .pt-problem-tab__description,
  .pt-problem-tab__text {
    font-size: 15.5px !important;
    line-height: 1.6 !important;
  }

  .pt-problem-tab__cta {
    margin-top: 24px;
    font-size: 15.5px !important;
  }
}