:root {
  --bg-left: #004967;
  --bg-right: #24354a;
  --accent-green: #00a453;
  --accent-green-soft: #1ec967;
  --text-main: #ffffff;
  --text-muted: rgba(255, 255, 255, 0.65);
  --tab-circle-bg: #00a453;
  --tab-circle-bg-inactive: transparent;
  --tab-border-inactive: rgba(255, 255, 255, 0.3);
}

.tabs-layout-section {
  width: 100%;
  padding: 40px 60px;
  display: flex;
  flex-direction: column;
  gap: 32px;
  justify-content: center;
  background: linear-gradient(90deg, var(--bg-left), var(--bg-right));
  color: var(--text-main);
}

.tabs-layout-section .services-layout {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  gap: 48px;
}

.tabs-layout-section .section-title {
  margin: 0;
  font-size: 32px;
  font-weight: 700;
  color: var(--text-main);
}

/* Desktop tabs (vertical, left side) */
.tabs-layout-section .desktop-only {
  display: block;
}

.tabs-layout-section .services-left {
  display: flex;
  flex-direction: column;
}

.tabs-layout-section .tabs-desktop {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.tabs-layout-section .tabs-desktop .tab {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  align-items: center;
  gap: 16px;
  padding: 10px 18px 10px 0;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
}

.tabs-layout-section .tabs-desktop .tab::after {
  content: '';
  position: absolute;
  left: 32px;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0.4),
    rgba(255, 255, 255, 0)
  );
  opacity: 0.4;
}

.tabs-layout-section .tabs-arrow-desktop {
  margin-top: 32px;
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 64px;
  height: 64px;
}

.tabs-layout-section .tabs-arrow-desktop .arrow-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 127, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green-soft);
  transition: all 0.2s ease;
}

.tabs-layout-section .tabs-arrow-desktop .arrow-icon {
  width: 16px;
  height: 20px;
}

.tabs-layout-section .tabs-arrow-desktop:hover .arrow-circle {
  background-color: rgba(0, 0, 0, 0.15);
}

/* Mobile tabs container (horizontal, top) - Hidden on desktop */
.tabs-layout-section .mobile-only {
  display: none !important;
}

.tabs-layout-section .mobile-only.tabs-container {
  display: none !important;
}

/* Mobile-specific tab styles */
.tabs-layout-section .mobile-only .tabs-wrapper {
  flex: 1;
  overflow: hidden;
}

.tabs-layout-section .mobile-only .tabs {
  display: flex;
  flex-direction: row;
  gap: 24px;
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.tabs-layout-section .mobile-only .tabs::-webkit-scrollbar {
  display: none;
}

.tabs-layout-section .mobile-only .tab {
  position: relative;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 10px 18px;
  border: none;
  background: transparent;
  color: inherit;
  text-align: left;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}

.tabs-layout-section .mobile-only .tab::after {
  display: none;
}

.tabs-layout-section .tab-indicator {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid var(--tab-border-inactive);
  background-color: var(--tab-circle-bg-inactive);
  transition: all 0.25s ease;
}

.tabs-layout-section .tab-number {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-main);
}

.tabs-layout-section .tab-labels .tab-main {
  display: block;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-muted);
  letter-spacing: 0.01em;
}

.tabs-layout-section .tab.active .tab-indicator {
  background-color: var(--tab-circle-bg);
  border-color: var(--tab-circle-bg);
  box-shadow: 0 0 0 4px rgba(0, 164, 83, 0.4);
}

.tabs-layout-section .tab.active .tab-labels .tab-main {
  color: var(--text-main);
}

/* Mobile arrow styles */
.tabs-layout-section .mobile-only .tabs-arrow {
  padding: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  width: 48px;
  height: 48px;
  flex-shrink: 0;
}

.tabs-layout-section .mobile-only .arrow-circle {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(0, 255, 127, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-green-soft);
  transition: all 0.2s ease;
}

.tabs-layout-section .mobile-only .arrow-icon {
  width: 16px;
  height: 20px;
  display: block;
  color: var(--accent-green-soft);
}

.tabs-layout-section .mobile-only .tabs-arrow:hover .arrow-circle {
  background-color: rgba(0, 0, 0, 0.15);
}

.tabs-layout-section .services-right {
  display: block;
}

.tabs-layout-section .tab-content {
  display: none;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
}

.tabs-layout-section .tab-content.active {
  display: flex;
}

.tabs-layout-section .content-main {
  max-width: 520px;
}

.tabs-layout-section .content-text {
  margin: 0 0 24px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-muted);
}

.tabs-layout-section .content-text p {
  margin: 0 0 16px;
  color: var(--text-muted);
}

.tabs-layout-section .content-actions {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
}

.tabs-layout-section .btn {
  padding: 12px 28px;
  border-radius: 3px;
  border: 2px solid transparent;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.tabs-layout-section .btn.primary {
  background-color: var(--accent-green-soft);
  color: #00452c;
  border-color: var(--accent-green-soft);
}

.tabs-layout-section .btn.primary:hover {
  background-color: #26de75;
}

.tabs-layout-section .btn.outline {
  background-color: transparent;
  color: var(--accent-green-soft);
  border-color: var(--accent-green-soft);
}

.tabs-layout-section .btn.outline:hover {
  background-color: rgba(0, 255, 127, 0.12);
}

.tabs-layout-section .content-image {
  max-width: 600px;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 14px 45px rgba(0, 0, 0, 0.55);
}

.tabs-layout-section .content-image img {
  width: 100%;
  display: block;
  height: auto;
  object-fit: cover;
}

@media (max-width: 960px) {
  .tabs-layout-section {
    padding: 24px 16px 40px;
  }

  .tabs-layout-section .services-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  /* Hide desktop tabs, show mobile tabs */
  .tabs-layout-section .desktop-only {
    display: none;
  }

  .tabs-layout-section .mobile-only {
    display: flex !important;
  }

  .tabs-layout-section .mobile-only.tabs-container {
    display: flex !important;
    align-items: center;
    gap: 16px;
    width: 100%;
  }

  .tabs-layout-section .tab-content,
  .tabs-layout-section .tab-content.active {
    flex-direction: column;
  }

  .tabs-layout-section .content-main,
  .tabs-layout-section .content-image {
    max-width: 100%;
  }

  .tabs-layout-section .content-image {
    display: none;
  }

  .tabs-layout-section .section-title {
    font-size: 26px;
    margin-bottom: 8px;
  }

  .tabs-layout-section .mobile-only.tabs-container {
    gap: 12px;
  }

  .tabs-layout-section .mobile-only .tabs-arrow {
    width: 40px;
    height: 40px;
  }

  .tabs-layout-section .mobile-only .arrow-circle {
    width: 40px;
    height: 40px;
  }

  .tabs-layout-section .mobile-only .arrow-icon {
    width: 14px;
    height: 18px;
  }

  .tabs-layout-section .mobile-only .tab {
    gap: 12px;
    padding: 8px 12px;
  }

  .tabs-layout-section .tab-indicator {
    width: 44px;
    height: 44px;
  }

  .tabs-layout-section .tab-number {
    font-size: 18px;
  }

  .tabs-layout-section .tab-main {
    font-size: 14px;
  }
}

